This project uses OpenVINO and centroid tracking algorithm to count cars in Real Time
Video Demo
- OpenCV
- OpenVINO
- Go to installed location of OpenVINO and find the bin folder
- Run the command
setupvars.bat
in the command prompt, which will initilaize the OpenVINO environment - Go to the project location and run the command:
python cars_count.py -v test_video.mp4 -b ./FP32/vehicle-detection-adas-0002.bin -x ./FP32/vehicle-detection-adas-0002.xml
Note that the bin & xml files here are according to version 2019, which may not be compatible with your version of OpenVINO. For more info, refer this blog that I wrote for this project.