How to separate line crossing counts based on object classes in nvdsanalytics test application

Hello everyone,

I am running deepstream-nvdsanalytics-test application in “source/apps/sample_apps/”. I am counting objects of different classes crossing defined line (line count).

My query is, can I seperate total count based on classes? For example if 4 objects crossed the line lets say 2 persons and 2 cars then how can I get the separate count of cars and people who crossed the line?

I tried looking into metadata (specifically in frame_user_meta_list) to get count based on classes but didn’t found any.

Thank you in advance

• Hardware Platform (GPU)
• DeepStream Version - 5.0(Docker)
• NVIDIA GPU Driver Version 440.33.01

Please Refer to deepstream-test1 application to count the objects based on class ID