Coder Social home page Coder Social logo

local-geometric-consensus-examples's Introduction

Local-Geometric-Consensus-Examples

Executable is available in windows

Download link:
https://www.dropbox.com/s/xf9uraf9u3y7uqf/demo.zip?dl=0

Installation (Linux Only)

Prerequisites (Unbuntu)

  1. Install cmake
    sudo apt-get install cmake

  2. Install OpenCV (3.1.0)
    http://opencv.org/downloads.html

  3. Install PCL
    sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
    sudo apt-get update
    sudo apt-get install libpcl-all

  4. Install OpenSceneGraph (3.4.0)
    http://www.openscenegraph.org/index.php/download-section/stable-releases

  5. Download LGC binary and put inside root/src/
    https://www.dropbox.com/s/xmp6sp2n5y1r2z5/liblgc.a?dl=0

Complie (Unbuntu)

run script "compileAll.sh"

Run

Download models and pre-record videos

  1. Download models, extract it and put files inside "models" folder:
    https://www.dropbox.com/s/7i4hki5kp1qoc9o/models.zip?dl=0

  2. Download videos, extract it and put files inside "videos" folder:
    https://www.dropbox.com/s/tw7e1e5g4a4pw18/videos.zip?dl=0

Run examples

  1. cd into "examples" sub-directory
  2. 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

Run applications

  1. cd into "applications" sub-directory
  2. 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

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

9 June 2016: First commit

local-geometric-consensus-examples's People

Contributors

limingyangpro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.