Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.06 KB

README.md

File metadata and controls

41 lines (32 loc) · 1.06 KB

Car counting with OpenCV and Deep Learning

Set up environment

cd Car_counting_MobileNetSSD
.\env\Scripts\activate.bat
pip install -r requirements.txt

Run the script

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

Usages

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)

Credit

Adrian Rosebrok - Pyimagesearch: OpenCV Vehicle Detection, Tracking, and Speed Estimation

License

License

MIT License