roboflow / zero-shot-object-tracking

Object tracking implemented with the Roboflow Inference API, DeepSort, and OpenAI CLIP.
https://blog.roboflow.com/zero-shot-object-tracking/
GNU General Public License v3.0
362 stars 64 forks source link

How to count the number of objects with this tracker #12

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, I hope you are doing well it's a great contribution. I want to use this tracker to count the number of objects in frames How can I do that? Please help me with that

SibiAkkash commented 2 years ago

len(tracker.tracks) would give number of active tracks for a particular frame