/ObjectTracker-DifferenceFinder

Tracks multiple instances of an object defined by a user selection made with 2 clicks.

Primary LanguageC++MIT LicenseMIT

Object tracking / Difference finder

Opens a "output" window which continuously prints the user's desktop.
In order to choose a image for tracking, a rectangle can be drawn by clicking 2 points on the output.

Done using matchTemplate function from OpenCV library and multiple threads.
Modify "scale", "threads" for better performance and results.
Threshold can be modified by pressing W and S keys.

Tested here: https://quizdiva.net/culture/spot-the-different-food/

Download:
https://github.com/dimeddy46/SimpleObjectTrackingOpenCV/releases
To build:
Any version of OpenCV is required and can be installed from here: https://opencv.org/releases.html
Inside CMakeLists.txt, please specify the path to your OpenCV/build directory as OpenCV_DIR_HOME variable.

v3

v1