Skip to content

📽️🖥️ Track objects on your camera or on a video.

License

Notifications You must be signed in to change notification settings

MasterERTS/cv-object-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Object Tracking with opencv

Using the SURF detector and FLANN matchers, track objects from a selected area in a video or on your camera.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About the Project

Originally a lab from a computer vision introduction, the hardcoded tracking of the white ball in the video was meant to highlight the method. Pushed it further by selecting an area with a simple mouse drag and release callback, then added the camera one.

Setup

Required dependencies are opencv with the contribs package. There's a gist laying around where a decent installation script can be found. Just put the contrib installation flag to true and you will be good to go.

  1. Click on Fork.
  2. Go to your fork and clone the project to your local machine, in the "catkin_ws" folder.
  3. git clone https://github.com/master-coro/cv-object-tracking.git
  4. mkdir build && cd build && cmake ..
  5. make

Don't hesitate to open an issue with the bug tag if anything goes wrong with the program, or if you feel like it should be clearer for users.

Run

  1. Track a hardcoded object in the provided video with ./tracking
  2. Track a selected object on a video with ./tracking_custom
  3. Track a selected object on your webcam with ./tracking_webcam
  4. Track points fetched on the previous frame with ./tracking_previous

Roadmap

See the open issues for a list of proposed features (and known issues).

Contribute

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Contribute on proposed features

  1. Choose any open issue from here.
  2. Comment on the issue: Can I work on this? and get assigned.
  3. Make changes to your fork and send a PR.

Otherwise just create the issue yourself, and we'll discuss and assign you to it if serves the project !

To create a PR:

Follow the given link to make a successful and valid PR: https://help.github.com/articles/creating-a-pull-request/

To send a PR, follow these rules carefully, otherwise your PR will be closed:

  1. Make PR title in this formats:
Fixes #IssueNo : Name of Issue
Feature #IssueNo : Name of Issue
Enhancement #IssueNo : Name of Issue

According to what type of issue you believe it is.

For any doubts related to the issues, i.e., to understand the issue better etc, comment down your queries on the respective issue.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Erwin Lejeune - @spida_rwin - [email protected]

Contributors

Everyone part of the original team or that assisted throughout the development.

Releases

No releases published

Packages

No packages published