Download link:
https://www.dropbox.com/s/xf9uraf9u3y7uqf/demo.zip?dl=0
-
Install cmake
sudo apt-get install cmake -
Install OpenCV (3.1.0)
http://opencv.org/downloads.html -
Install PCL
sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
sudo apt-get update
sudo apt-get install libpcl-all -
Install OpenSceneGraph (3.4.0)
http://www.openscenegraph.org/index.php/download-section/stable-releases -
Download LGC binary and put inside root/src/
https://www.dropbox.com/s/xmp6sp2n5y1r2z5/liblgc.a?dl=0
run script "compileAll.sh"
-
Download models, extract it and put files inside "models" folder:
https://www.dropbox.com/s/7i4hki5kp1qoc9o/models.zip?dl=0 -
Download videos, extract it and put files inside "videos" folder:
https://www.dropbox.com/s/tw7e1e5g4a4pw18/videos.zip?dl=0
- cd into "examples" sub-directory
- run examples:
a) To track a point set:
./build/opencvexample -v ../videos/example.mov -r ../models/A4Pattern.txt -w 1920 -h 1080
b) To augment a point set with a cow:
./build/osgexample ../models/osgexample.xml
- cd into "applications" sub-directory
- run applications:
a) To click and track 2D planar objects (support multi-models):
./build/textureTracking -v ../videos/diverseTargets.mpg
b) To augment different engineering draws (support multi-models):
./build/augmentingDrawings ../models/demo.xml
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
9 June 2016: First commit