Skip to content
/ fbow Public
forked from rmsalinas/fbow

FBOW (Fast Bag of Words) is an extremmely optimized version of the DBow2/DBow3 libraries.

Notifications You must be signed in to change notification settings

lonl/fbow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FBOW

FBOW (Fast Bag of Words) is an extremmely optimized version of the DBow2/DBow3 libraries. The library is highly optimized to speed up the Bag of Words creation using AVX,SSE and MMX instructions. In loading a vocabulary, fbow is ~80x faster than DBOW2 (see tests directory and try). In transforming an image into a bag of words using on machines with AVX instructions, it is ~6.4x faster in the ORB vocabulary of ORB2Slam.

Main features:

* Only depends on OpenCV 
* Any type of descriptors allowed out of the box (binary and real)
* Dictionary creation from a set of images. Bugs found in DBOW2/3 corrected.
* Extremmely fast bow creation using specialized versions using AVX,SSE and MMX instructions both for binary and floating point descriptors.
* Very fast load of vocabularies

The main differences with DBOW2/3 are:

* Not yet implemented indexing of images. 

Citing

If use this project please cite

@online{FBow, author = {Rafael Muñoz-Salinas}, 
   title = {{FBow} Fast Bag of Words}, 
  year = 2017, 
  url = {https://github.com/rmsalinas/fbow}, 
  urldate = {2017-02-17} 
 } 

Vocabularies

In directory vocabularies you have the ORBSLAM2 vocabulary (https://github.com/raulmur/ORB_SLAM2/tree/master/Vocabulary) in fbow format.

Test speed

Go to test and run the program test_dbow2VSfbow. Fbow is ~80x faster than DBOW2 in loading the vocabulary, and ~6.4x in transforming an image into a bag of words.

About

FBOW (Fast Bag of Words) is an extremmely optimized version of the DBow2/DBow3 libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.1%
  • CMake 10.9%