OpenCV + Python implementation of the paper Incremental Learning for Robust Visual Tracking
- a webcam 🎥
- Python 2.7
- OpenCV 2.4.x
- python-opencv
As described further, you can either use the virtual machine provided by Vagrant (recommended) or install manually all the dependencies.
-
Install Virtualbox and the extension pack (needed for the webcam): https://www.virtualbox.org/wiki/Downloads
-
Install Vagrant: https://www.vagrantup.com/downloads.html
-
Start the pre-configured graphical VM with:
vagrant up
-
Attach your webcam to the VM through the Virtualbox menu
Devices > Webcams
. -
Open a terminal in the VM and go to the shared folder:
cd /vagrant
python ultraking.py
- Select the part of the image you want to track with the mouse (left click and drag)
- Press
Enter
to start the tracking - Have fun
- Quit by pressing a button (all except
Enter
)
Incremental Learning for Robust Visual Tracking, http://www.cs.toronto.edu/~dross/ivt/RossLimLinYang_ijcv.pdf