/Vehicle-tracking

Vehicle tracking yolov5 + deepsort

Primary LanguagePython

Vehicle tracking with Yolov5 + Deep Sort with PyTorch

Full result video HERE

The detections are generated by YOLOv5 are passed to Deep Sort algorithm which tracks the objects.

Before running the tracker

Python 3.7.12

pip install -r requirements.txt

Config

settings/

config.yml deepsort.yml db_config.yml

Running tracker

cd application\main
python app_track.py

Saving result

Results can be save to databse: upload_db in file config.yml

FastAPI

cd application\main
uvicorn app_API:app --host 0.0.0.0 --port 8000 --reload