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
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.
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.
- Click on
Fork
. - Go to your fork and
clone
the project to your local machine, in the "catkin_ws" folder. git clone https://github.com/master-coro/cv-object-tracking.git
mkdir build && cd build && cmake ..
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.
- Track a hardcoded object in the provided video with
./tracking
- Track a selected object on a video with
./tracking_custom
- Track a selected object on your webcam with
./tracking_webcam
- Track points fetched on the previous frame with
./tracking_previous
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Choose any open issue from here.
- Comment on the issue:
Can I work on this?
and get assigned. - 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:
- 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.
Distributed under the MIT License. See LICENSE
for more information.
Erwin Lejeune - @spida_rwin - [email protected]
Everyone part of the original team or that assisted throughout the development.