Code Monkey home page Code Monkey logo

simple_slam_loop_closure's Introduction

Simple loop closure for Visual SLAM

CircleCI

Possibily the simplest example of loop closure for Visual SLAM. More information on my blog.

As I'm experimenting with alternative approaches for SLAM loop closure, I wanted a baseline that was reasonably close to state-of-the art approaches. The approach here is pretty similar to ORB-SLAM's, and uses SURF descriptors and bag of words to translate them to a global image description vector.

The dataset

For testing, I've used the New College dataset published alongside FAB-MAP. It's available for download here. It's ideal for loop-closure testing, since it includes manual place associations that can be used for evaluation. The scripts/download_data.sh will download the data files (bag of words vocabulary and images) needed to run the code.

Building with Docker

You can build and run the code using docker-compose and Docker. The Docker configuration uses a Ubuntu 16.04 base image, and builds OpenCV 3 from source.

# Download the data files
./scripts/download_data.sh

# Will take ~10 minutes to download and build OpenCV 3
docker-compose build runner
# Enter the docker shell
docker-compose run runner bash
# You're now in a shell inside the Docker container, build and run the code:
./scripts/build.sh
./build/new_college ./data/brief_k10L6.voc.gz ./data

Compatibility

Only tested on Ubuntu 16.04 LTS with OpenCV3, gcc 5.4.0

Plotting the confusion matrix

The ground_truth_comparison.py plots and compares the loop closures from the ground truth to the actual results from the code.

simple_slam_loop_closure's People

Contributors

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