Giter Club home page Giter Club logo

3dreconstruction's Introduction

In order to compile and run our code, it is required that you have both OpenCV and the SfM module available. 

We recommend building SfM with OpenCV, and instructions for installing the SfM module can be found at https://docs.opencv.org/3.4.1/db/db8/tutorial_sfm_installation.html.

Note the link to the 3.4.1 documentation as this is the version this program was developed under. Also note that CERES requires C++11 features and so it is helpful to use the  ENABLE_CXX11 option with cmake.

Once all the libraries are built, you can compile the program with a command like 
$ g++ Source.cpp -std=c++11 -I /usr/include/eigen3/ `pkg-config opencv --libs --cflags`

The program does not support a command line interface, but can be configured before compilation. This includes several directives for specifying what kind of visualizations to display, as well as constants for specifying input video, how many frames to process, and the location of output files.

After successfully running the program, the output can be passed to pmvs2 which can download from https://www.di.ens.fr/pmvs/documentation.html. As the documents state, pmvs2 would be executed as
$ ./pmvs2 ~/projectDir/root/ options.txt

This will output a .ply file to the ~/projectDir/root/models directory which can then be viewed and manipulated in a 3D modeler of your choice e.g. MeshLab (http://www.meshlab.net/).

3dreconstruction's People

Contributors

apw6 avatar

Watchers

 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.