Coder Social home page Coder Social logo

visual_odometry's Introduction

Visual Odometry

Work in progress.

License: CC BY-NC-SA 4.0

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Install

sudo apt-get install texlive-extra-utils gnuplot

Gflags

https://github.com/gflags/gflags

cmake .. -DBUILD_SHARED_LIBS=ON - Without this flag opencv can throw an error when building.

OpenCV CMake with contrib

wget -O opencv-3.4.2.zip https://github.com/opencv/opencv/archive/3.4.2.zip

wget -O opencv_contrib-3.4.2.zip https://github.com/opencv/opencv_contrib/archive/3.4.2.zip

Unzip the archives.

mkdir opencv-3.4.2/build
cd opencv-3.4.2/build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-3.4.2/modules -D WITH_CUDA=ON -D WITH_CUBLAS=ON -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_OPENGL=ON -D WITH_OPENCL=ON -D BUILD_PERF_TESTS=OFF -D BUILD_TESTS=OFF -D CUDA_NVCC_FLAGS="-D_FORCE_INLINES" ..
make -j 3
sudo make install

GSTAM

https://bitbucket.org/gtborg/gtsam

Dataset

I am using the greyscale kitti data for testing http://www.cvlibs.net/datasets/kitti/eval_odometry.php

The data is organized as follows and the arguments point at the relevant directories to process the data:

--data_dir kitti/dataset/sequences/
--res_dir kitti/dataset/results 
--poses kitti/dataset/poses
--seq "00"
--calib_file calib.txt
kitti
└── dataset
    ├── poses
    │   ├── 00.txt
    │   ├── 01.txt
    │   ├── 02.txt
    │   ├── 03.txt
    ├── results
    │   ├── 00
    │   │   ├── err
    │   │   ├── plot
    │   ├── 01
    │   │   ├── err
    │   │   └── plot
    │   ├── 02
    │   │   └── plot
    │   ├── 03
    │   │   └── plot
    └── sequences
        ├── 00
        │   ├── calib.txt
        │   ├── image_0
        │   ├── image_1
        │   └── times.txt
        ├── 01
        │   ├── calib.txt
        │   ├── image_0
        │   ├── image_1
        │   └── times.txt
        ├── 02
        │   ├── calib.txt
        │   ├── image_0
        │   ├── image_1
        │   └── times.txt
        └── 03
            ├── calib.txt
            ├── image_0
            ├── image_1
            └── times.txt
       

visual_odometry's People

Contributors

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