Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.
/ 3d-motion-tracking Public archive

🎥 Prototype of 3D object tracking via camera

Notifications You must be signed in to change notification settings

tao-pr/3d-motion-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Motion Track

Codacy Badge

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


Prerequisites

Ensure you have following installed:

  • gcc with C++11 support.
  • OpenCV 3.x with contribution package
  • A webcamera !

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