Skip to content

Repository comprises of usage/implementation of different object tracking methods

Notifications You must be signed in to change notification settings

zephyr2403/object_tracking-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Tracking

Approach Used:

  • Mean Shift : Meanshift can be given a target to track, it calculates the color histogram of the target area, and then keep sliding the tracking window to the closest match (cluster center) .
  • CAMShift : Just using mean shift won't change the window size if the target moves away or towards the camera, use CAMshift to update the size of window.
  • Via Homography: Find the keypoints from the target and main windom, after keypoints matching utilise homography to find the target window in the main window.

Requirements:

  • Python 2.7
  • opencv
  • Object Tracking with homography requires SIFT which is in opencv-contrib.

Usage

  • Run via python filename.py
  • Select a rectangular window (with help of mouse) which you want to track and hit Enter.

Result

Tracking notebook.

MeanShift

CamShift

Via Homography

About

Repository comprises of usage/implementation of different object tracking methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages