/python-opencv-object-tracking-algorithms

🕵️‍♂️ Object Tracking Algorithms with OpenCV

Primary LanguagePython

🕵️‍♂️ Object Tracking Algorithms with OpenCV

  1. BOOSTING
  2. MIL
  3. KCF
  4. TLD
  5. MEDIANFLOW
  6. GOTURN
  7. MOSSE
  8. CSRT

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 pip install -r requirements

  • Download and extract goturn.caffemodel and goturn.prototxt files from this link for run GOTURN Algorithm.

  • Put these files in to the project directory.

Usage

  • run python main.py