Simple Real Time Car Detection app using feed from Youtube livestream to count vehicles.
Simple Traffic Counter using Yolov5 and SORT algorithm
- Python 3.9.13
- OpenCV
- PyTorch
- VidGear
- Create virtual environment
python -m venv enviro - Activate the virtual environment
.\enviro\Scripts\activate - Install dependencies
pip install -r requirements.txt - Clone yolov5
git clone https://github.com/ultralytics/yolov5 - Run live.py using
python live.py <URL>
