← Back

ofxOpenCvTracker

github.com/TetsuakiBaba/ofxOpenCvTracker · @TetsuakiBaba
OF 0.11 Computer Vision

Realtime object tracking for openFrameworks using the opencv_contrib tracking module, with a webcam example; built for macOS arm64 and OF 0.11.2.

5 1 Last commit 5y ago Created 7y ago

Forks

Forks pushed to more recently than TetsuakiBaba/ofxOpenCvTracker itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

n1ckfg/ofxOpenCvTracker by @n1ckfg · ★ 0 · pushed 2y ago

README

ofxOpenCvTracker



<img src="sample_images/sample.gif" width="100%">

Description

ofxOpenCvTracker is a realtime object tracking addon for openframeworks.

Tracker sample is included opencv_contrib. I built opencv with contrib library and made it easier to use on Openframeworks. Here is a link to learn opencv tracking module. https://www.learnopencv.com/object-tracking-using-opencv-cpp-python/

Usage

See Examples for more details

camera example

Realtime tracking example on webcam video image by mouse operation.

Install

1. Clone ofxOpenCvTracker to your of/addon directory

$ git clone https://github.com/TetsuakiBaba/ofxOpenCvTracker.git

2. Download OpenCV.framework to ofxOpenCvTracker/libs directory.

$ curl -O https://tetsuakibaba.jp/tmp/opencv2.framework.arm64.zip $ unzip opencv2.framework.arm64.zip Or you may build your own opencv2.framework from opencv source. ( https://tetsuakibaba.jp/ws/doku.php?id=opencv_dnn:opencv2.framework )

Getting Started with Examples/camera

1. Update camera with the projectGenerator.

2. Run, nothing special.



Compatibility

Licence

Author

TetsuakiBaba

Reference

1. opencv_contrib: https://github.com/opencv/opencv_contrib

Get this addon

HTTPS
SSH