saimj7 / People-Counting-in-Real-Time

People Counting in Real-Time with an IP camera.
MIT License
528 stars 263 forks source link

Issue in Tracking people and reassigning of new id to the same people #31

Closed rishabh316 closed 2 years ago

rishabh316 commented 3 years ago

Hey, i am running this counter on the cctv footage of my office and this counter is assigning different ids to the same person again and again when they comes in the frame, is there any solution to this problem? Your reply is awaited.

saimj7 commented 3 years ago

Hi, as you see we are just counting persons and do not remember their features, so it will actually count everyone. One idea I can think of is assigning unique ID's per person but then we should also work on the accuracy of our data, model. The top-down view is hard to identify unique persons. One example: https://stackoverflow.com/questions/20145076/pedestrian-detection-with-unique-identifier

rishabh316 commented 3 years ago

yeah you were right about the accuracy of top down view. Should i use Kalman filter for detection or to improve accuracy or what other solution might help? And thanks for the reply sir.

saimj7 commented 2 years ago

No straightforward answer, I guess you should go with trial and error, find the approach that performs the best :)