🕵️♂️ Object Tracking Algorithms with OpenCV
Running Sample With KCF
Input | Output |
---|---|
Installation
-
Clone the repo to your local machine
git clone https://github.com/zumrudu-anka/python-opencv-object-tracking-algorithms.git
-
Go to the project folder
-
Run
python -m venv venv
for create virtual environment which name is venv -
Activate the virtual environment:
For Windows:
- Run
venv\Scripts\activate
For Linux:
- Run
source venv/bin/activate
- Run
-
Run
pip install -r requirements
-
Download and extract
goturn.caffemodel
andgoturn.prototxt
files from this link for run GOTURN Algorithm. -
Put these files in to the project directory.
Usage
- run
python main.py