-
Clone this Repository
https://github.com/TalalAhmed311/Object-Tracking-Counter
-
Clone the Yolov5 Repository this Object-Tracking-Counter Folder
!git clone https://github.com/ultralytics/yolov5
-
Download DeepSort file from the link given below and paste the deep_sort folder in Object-Tracking-Counter Folder
https://drive.google.com/drive/folders/1vjE8z5OVP1ybfaIey3BDBE7Q7SYfYePh?usp=sharing
-
Run this command in CLI in the same folder
python tracker.py --source video.mp4 --weights yolov5s.pt --show-vid
If you want to save your video then add --save-vid command it wil save your video into runs folder