Detect and track object via webcam in (semi) 3D fashion.
Ensure you have following installed:
As simple as:
$ make
$ bin/track
The tracking program runs forever. Tab Ctrl + C
inside your terminal
window to terminate.
The build is configured to perfectly fit on MacOS (g++ as a gcc compiler). Your mileage may vary if you are compiling the code on a different OS.
In case you face difficulty building on your own machine, following is the specifications of my environment which may be helpful for you to spot the difference to yours.
OS
OSX El Capitan 10.11.6
gcc -v
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
OpenCV3
OpenCV 3.2.0 built and installed via following homebrew params:
--with-ffmpeg --without-numpy --without-test --with-contrib --with-python3
FreeBSD