Giter Club home page Giter Club logo

dbow3's Introduction

DBoW3

For an improved version of this project, please see FBOW https://github.com/rmsalinas/fbow.

DBoW3 is an improved version of the DBow2 library, an open source C++ library for indexing and converting images into a bag-of-word representation. It implements a hierarchical tree for approximating nearest neighbours in the image feature space and creating a visual vocabulary. DBoW3 also implements an image database with inverted and direct files to index images and enabling quick queries and feature comparisons. The main differences with the previous DBow2 library are:

  • DBoW3 only requires OpenCV. DBoW2 dependency of DLIB is been removed.
  • DBoW3 is able to use both binary and floating point descriptors out of the box. No need to reimplement any class for any descriptor.
  • DBoW3 compiles both in linux and windows.
  • Some pieces of code have been rewritten to optimize speed. The interface of DBoW3 has been simplified.
  • Possibility of using binary files. Binary files are 4-5 times faster to load/save than yml. Also, they can be compressed.
  • Compatible with DBoW2 yml files

Citing

If you use this software in an academic work, please cite:

   title = {{DBoW3} DBoW3}, 
  year = 2017, 
  url = {https://github.com/rmsalinas/DBow3}, 
  urldate = {2017-02-17} 
 } 

Installation notes

DBoW3 requires OpenCV only.

For compiling the utils/demo_general.cpp you must compile against OpenCV 3. If you have installed the contrib_modules, use cmake option -DUSE_CONTRIB=ON to enable SURF.

How to use

Check utils/demo_general.cpp

Classes

DBoW3 has two main classes: Vocabulary and Database. These implement the visual vocabulary to convert images into bag-of-words vectors and the database to index images. See utils/demo_general.cpp for an example

Load/Store Vocabulary

The file orbvoc.dbow3 is the ORB vocabulary in ORBSLAM2 but in binary format of DBoW3: https://github.com/raulmur/ORB_SLAM2/tree/master/Vocabulary

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.