Giter Site home page Giter Site logo

ibow-lcd's Introduction

iBoW-LCD: Appearance-based Loop Closure Detection using Incremental Bags of Binary Words

iBoW-LCD is a library that can be used to detect loop closures in a sequence of images. Instead of using the typical Bag-of-Words (BoW) scheme, iBoW-LCD makes use of an incremental Bags of Binary Words algorithm called OBIndex2, allowing the use of binary descriptors to accelerate the image description process and avoiding the problems that classical BoW approaches present.

iBoW-LCD is released as a ROS package, and relies on OpenCV 3.x and Boost libraries as well as OBIndex2 package. It can be used with any binary descriptor computed using the OpenCV format.

Note that iBoW-LCD is research code. The authors are not responsible for any errors it may contain. Use it at your own risk!

Conditions of use

iBoW-LCD is distributed under the terms of the GPL3 License.

Related publication

The details of the algorithm are explained in the following publication:

iBoW-LCD: An Appearance-based Loop Closure Detection Approach using Incremental Bags of Binary Words
Emilio Garcia-Fidalgo and Alberto Ortiz
IEEE Robotics and Automation Letters, Vol. 3, No. 4, Pgs. 3051-3057 (Oct. 2018)

A preprint can be found here. If you use this code, please cite:

@article{Garcia-Fidalgo2018, 
  author={Emilio Garcia-Fidalgo and Alberto Ortiz}, 
  journal={IEEE Robotics and Automation Letters}, 
  title={iBoW-LCD: An Appearance-Based Loop-Closure Detection Approach Using Incremental Bags of Binary Words}, 
  year={2018}, 
  volume={3}, 
  number={4}, 
  pages={3051-3057}, 
  doi={10.1109/LRA.2018.2849609}, 
  month={Oct}
}

Installation

  1. First of all, you have to install OBIndex2 and its dependencies as a ROS package.

  2. Clone the repository into your workspace:

cd ~/your_workspace/src
git clone http://github.com/emiliofidalgo/ibow-lcd.git
  1. Compile the package using, as usual, the catkin_make command:
cd ..
catkin_make -DCMAKE_BUILD_TYPE=Release
  1. Finally, you can run an example with:
rosrun ibow-lcd demo /directory/of/images

Usage

To see an example of how to use the loop closure detector, see the demo file src/main.cc.

Contact

If you have problems or questions using this code, please contact the author ([email protected]). Feature requests and contributions are totally welcome.

ibow-lcd's People

Contributors

emiliofidalgo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ibow-lcd's Issues

Code is too slow?

Hi,
I came across your IROS paper and found it interesting. I could compile your code and run it on my images.

I modified your main.cc file a bit:
I am extracting 500 ORB features instead of your 1500.
My image size : 640x512.

I am timing the code and I find that this part, takes up more than 1.5 sec.

lcdet.process(i, kps, dscs, &result);

I am wondering is this normal or I am making a mistake running your code?
I did a catkin_make with Release flag as you have mentioned in this readme on this repo.

Precision-recall different curve on different runs

Hi @emiliofidalgo,

I am able to run the code successfully on the Lip6Indoor dataset. But every time I evaluate (using rosrun ibow-lcd evaluator $Path$/evaluation/configs/debug/config_Lip6In.json), I get different data in loops.txt file.

Is it because of randomness in feature extraction? Otherwise what causes this variance?

This leads to a different PR curve (inferior recall performance) as compared to the one given in the paper.

This is what I get in one of the run:

our_ibow

While in the paper it is something like this:

PR_paper_ibow

Is it supposed to be varying that much or I am doing wrong?

Couldn't find executable named demo

Hi, I am new to this and came across ibow-lcd during a project and want to try it out but I've ran into a problem.
I did exactly as the installation guide but when i try to run the demo by using [rosrun ibow-lcd demo /directory/of/images],
ROS returns [[rosrun] couldn't find executable named demo below /home/robo/catkin_ws/src/ibow-lcd]
Any idea on what might be wrong?

I'm using ros kinetic on ubuntu 16.04.6.

Very high CPU using?

Hi,
Thanks for your sharing.
I have test the ibow-lcd for loop detection.
But i found that the process cost too much cpu.
Is it normal?
The computer is Thinkpad X1 carbon with core i7 . It cost almost 94%CPU.
Thanks very much.
picture2

load the keypoints and descriptors not work.

Hi,
I have use XML to save/ load the keypoints and descriptors . When I load it. The new image cannot find the loop in the previous map. I have changed the p in the ibow::lcdetector::params to be the number of the images in the XML as below shows.
screenshot 2018-08-24 15 09 03

evaluation data

Thanks for you job! If I want to run evaluation code, it can't find base directory data such as groundtruth.mat and imageCoords.mat, where can i get them?

save and load

hi,I have tried the code with my own dataset and it works so nice ! now I want to save the vocabulary to a file and load from this file next time,how to fulfill this function?could you give me some advise?
thanks so much for any reply!

how to save and load vocabulary?

hi,I have tried the code with my own dataset and it works so nice ! now I want to save the vocabulary to a file and load from this file next time,how to fulfill this function?could you give me some advise?
thanks so much for any reply!

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.