cd Car_counting_MobileNetSSD
.\env\Scripts\activate.bat
pip install -r requirements.txt
Without saving processed footage:
python car_counting.py -v test_video.mp4
Saving processed footage:
python car_counting.py -v test_video.mp4 -s True
optional arguments:
-h, --help show this help message and exit
-v VIDEO, --video VIDEO
Path to input video
-c CONFIG, --config CONFIG
Path to the input configuration file
-s SAVE, --save SAVE Save processed video (True/False)
Adrian Rosebrok - Pyimagesearch: OpenCV Vehicle Detection, Tracking, and Speed Estimation