This project is about counting vehicles in a video. In first glance, it looks like detecting vehicles and counting them would lead us to what we want. However, this is true only for images and not videos. In videos, the whole process, i.e., object detection, will be repeated on each frame and therefore if our video has say 30 frames per second, each vehicle will be counted 30 times in each second of the video and it is obviously wrong. So, in addition to object detection, we need to have a technique to determine if we have already counted a vehicle and this could be achieved by tracking vehicles.
L.A.traffic.camera.mp4
Cluttered.Env.mp4
This project is done by mainly using these three packages:
To run this project, you can follow the instructions written in the Counting vehicles.ipynb
notebook.
Fastest way to contact me is by shooting me an email at: milad.goudarzi@mail.polimi.it