Giter VIP home page Giter VIP logo

af-sfm-slam's Introduction

CNN-DSO: A combination of Direct Sparse Odometry and CNN Depth Prediction

1. Overview

This code provides a combination of DSO and Monodepth. For every keyframe, depth values are initialized with the prediction from Monodepth.

Absolute keyframe trajectory RMSE (in meter) on KITTI dataset (DSO and ORB-SLAM numbers are from CNN-SVO paper)

Sequence on KITTI CNN-DSO DSO ORB-SLAM
00 15.13 113.18 77.95
01 5.901 X X
02 12.53 116.81 41.00
03 1.516 1.3943 1.018
04 0.100 0.422 0.930
05 20.3 47.46 40.35
06 1.547 55.61 52.22
07 8.369 16.71 16.54
08 10.53 111.08 51.62
09 14.00 52.22 58.17
10 4.10 11.09 18.47

2. Installation

2.1 Dependencies

DSO
Monodepth

2.3 Build

  • Download the repository.

      git clone https://github.com/muskie82/CNN-DSO.git
    
  • Modify paths to include directories and libraries of TensorFlow and monodepth-cpp in CMakeLists.txt (4 lines of /abosolute/path/to/XXXXX).

  • Build

      cd CNN-DSO
      mkdir build
      cd build
      cmake ..
      make -j4
    

3 Usage

In addition to original DSO command line, you should specify the path to pre-trained model by cnn.

	bin/dso_dataset \
		files=XXXXX/sequence_XX/image_0 \
		calib=XXXXX/sequence_XX/camera.txt \
		cnn=XXXXX/model_city2kitti.pb \
		preset=0 \
		mode=1

4 Reference

5 License

GPLv3 license. I don't take any credit from DSO, Monodepth and monodepth-cpp. Please check them.

af-sfm-slam's People

Contributors

ricardoespinosaloera 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.