Skip to content

Andriamahay11master/object-tracking-opencv

Repository files navigation

Overview

This project evaluates the robustness of classical visual object tracking algorithms under challenging visual conditions. Three OpenCV-based trackers (CSRT, KCF, MedianFlow, and MIL) are compared across multiple benchmark sequences under baseline, occlusion, and noise scenarios. Performance is evaluated using average IoU, success rate, and frames per second (FPS).

Arborescence of the project

project/ ├── data/OTB/ # OTB sequences (img/ + groundtruth_rect.txt) ├── trackers.py # Tracker initialization ├── degradation.py # Occlusion and noise simulation ├── metrics.py # IoU computation ├── analysis.py # Analysis of IoU and success rate ├── plot.py # Plot average IoU and success rate ├── run_experiment.py # Main experiment script ├── results/ # CSV result files ├── requirements.txt └── README.md

Software requirements

-Python 3.8+ -OpenCV 4.5+ (with contrib modules) -NumPy -Pandas

pip install -r requirements.txt

Run the program

Navigate to the project directory

cd project

To run the main experiment

python run_experiment.py

To make analysis of average IoU and sucess rate

python analysis.py

To see the plot of results

python plot.py

Output

The following files are generated:

  • baseline_results.csv
  • occlusion_results.csv
  • noise_results.csv
  • fps_results.csv
  • Summary tables used for analysis and reporting

About

Comparison of three trackers from OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages