NVIDIA-AI-IOT / deepstream-occupancy-analytics

This is a sample application for counting people entering/leaving in a building using NVIDIA Deepstream SDK, Transfer Learning Toolkit (TLT), and pre-trained models. This application can be used to build real-time occupancy analytics applications for smart buildings, hospitals, retail, etc. The application is based on deepstream-test5 sample application.
MIT License
221 stars 73 forks source link

Which class id cross the line? #65

Open ooobelix opened 1 year ago

ooobelix commented 1 year ago

Hi!

Is it possible to know the class id who cross the line? I have found some information into NvDsObjectMeta and std::unordered_map<int, uint32_t> objCnt but this is all class id detected on the current frame.

The goal for example is to count the cars and the bus.

Thanks for your help!