opendatacam / opendatacam

An open source tool to quantify the world
https://opendata.cam
MIT License
1.59k stars 279 forks source link

pathfinder (by class) - Feature #532

Open maddust opened 2 years ago

maddust commented 2 years ago

hi, i have seen this feature in other (non-open source) object detection projects and it would be nice to be able to select the pathfinder to track by classes as an option. i see some very useful use cases about this feature such as :

origin and destination Retail costumers behavior or (hot zones) Pedestrian and bike safety analysis or any trajectories analysis by a specific class

the pathfinder as is right now is a very useful tool to visualize ID changes and to place count lines in ideal spots within the video. Don't know how hard it will be to implement this as an option in the config file, just a suggestion

Examples below:

Yellow = pedestrians Red = Bikes

pathfinder-by-class heatmap
vsaw commented 2 years ago

Makes sense. Probaly not going to fit this into v4 but I'll keep it around, maybe it can make it into v5 ;-)

Thanks for the suggestion and apologies for the slow response.