• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    C++
  • License
    Other
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

⛄ OpenCV RGBD-Odometry (Visual Odometry based RGB-D images)

RGBD-Odometry (Visual Odometry based RGB-D images)

Requirement

OpenCV >= 3.0

Setup

Download RGB-D dataset from TUM or KTTI

main.cpp will read the path of color and depth images from ./assoc.txt, then run OpenCV RgbdOdometry to compute visual odometry

The format of assoc.txt looks like:

timestamp1 rgb/[color_image_filename1] timestamp1 depth/[depth_image_filename1]
...
timestampN rgb/[color_image_filenameN] timestampN depth/[depth_image_filenameN]

You should change camera paramerts at the top of main.cpp

#define FOCUS_LENGTH 525.0
#define CX 319.5
#define CY 239.5

Build & Run

For the first time, you should download the dataset. You can use the below command

$ python tools/download_dataset.py

Start building

$ mkdir -p build; cd build

$ cmake ..; make

Start running

$ cd [Opencv-RgbdOdometry]

Create assoc.txt having synchronized rgb and depth images

$ cd rgbd_dataset_freiburg2_pioneer_slam3

$ python associate.py rgb.txt depth.txt > assoc.txt

$ ../build/rgbd-odometry

Demo video

Demo video

Demo video

More Repositories

1

awesome-visual-slam

📚 The list of vision-based SLAM / Visual Odometry open source, blogs, and papers
2,249
star
2

dlib-android

🐉 Port dlib to Android
C++
867
star
3

dlib-android-app

🐉 Android app to demo dlib-android(https://github.com/tzutalin/dlib-android). Use the prebuilt shared-lib built from dlib-android
Java
680
star
4

ImageNet_Utils

⏬ Utils to help download images by id, crop bounding box, label images, etc.
Python
632
star
5

Android-Object-Detection

☕ Fast-RCNN and Scene Recognition using Caffe
Java
305
star
6

adb-event-record

adb-event-record is a tool to record sensor's events like touch event and so on using the ADB (Android Debug Bridge).
Python
102
star
7

build-opencv-for-android

An interactive script to download and build OpenCV and OpenCV contrib for Android
Shell
74
star
8

ros_caffe

☕ Integrate Caffe model into ROS
C++
70
star
9

miniglog

Portable glog for cross-platforms: Windows, Linux, Android, and iOS
C++
43
star
10

Boost.Compute-Android

Boost.Compute library for Android. A C++ Computing Library for OpenCL https://github.com/boostorg/compute
C
23
star
11

caffe_test

☕ Include Caffe to predict in C++
C++
17
star
12

example-grpc

Demonstrate the some of features of gRPC
Java
14
star
13

DriveRecorder

It's an Android application which is able to record the video when driving.
12
star
14

ros_sample_image_transport

ROS Receive and publish different topics about image
C++
11
star
15

minizip

Minizip for Unix/Linux and mobile devices
C
10
star
16

ReadPCMData

Read auido raw data from android phone
7
star
17

docker

Dockerfile's for building
Shell
6
star
18

Android-ConfigIO

A small and encapsulation library for creating, accessing, and modifying Key-Value configuration file in XML / JSON format
Java
4
star
19

android-ndk-downloader

[Drepeciated]⏬ A script to download android NDK
Python
4
star
20

task-scheduler

task-scheduler is an in-process scheduler to arrange and run the task periodically according to YAML config file
Python
3
star
21

tzutalin

1
star