tao-pr / 3d-motion-tracking

:movie_camera: Prototype of 3D object tracking via camera
18 stars 9 forks source link
computer-vision linear-programming motion-estimation opencv

3D Motion Track

Codacy Badge

Detect and track object via webcam in (semi) 3D fashion.


Prerequisites

Ensure you have following installed:

Compile and run

As simple as:

$ make
$ bin/track

The tracking program runs forever. Tab Ctrl + C inside your terminal window to terminate.

Disclaimer

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.


My build environment

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

Licence

FreeBSD