Giter VIP home page Giter VIP logo

homographytrackingdemo's Introduction

This  code has  been  presented for  the demo  :  "Tracking texture-less,  shiny
objects with descriptor fields." Mixed  and Augmented Reality (ISMAR), 2014 IEEE
International Symposium on. IEEE, 2014.

It allows  to track homographies using  the descriptor fields introduced  in our
CVPR paper:

[1] Crivellaro Alberto and Vincent  Lepetit. "Robust 3D Tracking with Descriptor
    Fields.", CVPR 2014

Please cite [1] if you make use of this code.

Authors: 
	 Alberto Crivellaro 
	 Yannick Verdie
	 Kwang Moo Yi
	 Pascal Fua
	 Vincent Lepetit

For questions or comments please write to :
    	      
	 alberto<dot>crivellaro<at>epfl<dot>ch


================================================================================
BUILDING: 

The software  has been tested and  successfully run in  real time (> 30  fps) on
linux Ubuntu  14.04 on a  MacBookPro i7 2.30GHz. It  was built with  gcc-4.9 and
openmp 4.0. We also tested on MacOS  with clang (no openmp) and we also obtained
good performance  (~20fps).  Older  versions of gcc/openmp  could lead  to worse
performances.


Prior  to  build the  code  you  should install  the  (latest  version of  the)
following dependencies:

   - opencv (we tested with 2.4.9 and 3.0)
   - eigen 3 or more

Moreover,  you   should  correctly  configure  your   LD_LIBRARY_PATH  and  your
PKG_CONFIG_PATH. For building just 'make all’.  The build produces :

   - libC++/libHomographyEstimation.so  : a  C++ dynamic  library for  computing
     descriptor fields  out of a  grayscale image, for computing  the homography
     between 2 images and several utilities for display, I/O, etc.

   - ISMAR_Demo/homographyDemo  :  an executable  for  performing  real time  3D
     tracking of planar surfaces., it links to the c++ library and can be use as
     example to understand how to link to the library.

   - unit/unittests : some tests


================================================================================
EXECUTING THE DEMO:

./homographyDemo  <camera_device_number> 

you should  initialize the template  putting a planar  surface in front  of the
camera (covering at least  all the region in the black  rectangle on the image),
and then press:

    1 for tracking using image intensities
    2 for tracking using gradient magnitude
    3 for tracking using descriptor fields

The             optimization            parameters             are            in
ISMAR_Demo/parameter/parameters*****Optimization.yml files. You  can change them
for attempting to achieve a better stability.



================================================================================
USING THE LIBRARY FOR YOUR PROJECTS: 

include   libC++/HomographyEstimation.hpp   in   your  code,   and   link   with
libHomographyEstimation.so  .   For  examples  on   how  to  use  the  different
utilities, you can take a look at the unit tests, more in particular :

    void LucaskanadeSSDTest();
    void LucaskanadeDescriptorFieldsTest();
    void LucaskanadeVideoSSDSpeedTest();
    void LucaskanadeVideoDesciptorFieldsSpeedTest();
    void LucaskanadeVideoGradientMagnitudeSpeedTest();



================================================================================
USEFUL LINKS:

homepage of the project: http://cvlab.epfl.ch/page-107683-en.html 
demonstration video: 	 https://www.youtube.com/watch?v=r-WJDM6HyAs







homographytrackingdemo's People

Contributors

moimoimoimoi avatar

Watchers

James Cloos 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.