This project uses YOLOv8 and deepSORT algorithm to do visual object tracking.
Python virtual environment is not required but highly recommended. First, make sure the Python version is at least 3.9.
$ python3 --version
Python 3.9.16
Then activate the virtual environment and install all the required packages.
$ pwd
/Users/username/src/VisualObjectTracking
$ python3 -m venv env
$ source env/bin/activate
$ pip install --upgrade pip setuptools wheel
$ pip install -r requirements.txt
Put your interesting video in the folder and modify the following line in the object_tracker.py
video_path = "YOUR_VIDEO_PATH"
Then run this file.
$ python object_tracker.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.