Thanks dhruvsheth-ai and also sorry about the delay @ferrix - been swamped with logistics stuff these past weeks.
Thank you for the kind words, and I'm glad it worked out of the box well for you. And super cool on http://www.maps.wecity.it/en. I'd love to make a bike-mounted solution that reports to your system for real-time risk assessment and reporting based on position/time/day/condition/etc.
In terms of an example for what you are building here, we have a start, but it's a bit initial currently, and we will be making it better using our Gen2 system, once Gen2 is a bit better/further along:
https://github.com/luxonis/depthai-experiments#people-tracker-here
This application counts how many people went upwards / downwards / leftwards / rightwards in the video stream, allowing you to receive an information about how many people went into a room or went through a corridor.
So actually if you change the model used, and then the logic to count per class (car, bicycle, and person), you should be able to use it as a basis for your counter.
Thoughts?
Thanks,
Brandon