DBoW3

For an improved version of this project, please see FBOWhttps://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/DBoW2}, 
  urldate = {2017-02-17} 
 } 

and @ARTICLE{GalvezTRO12, author={G'alvez-L'opez, Dorian and Tard'os, J. D.}, journal={IEEE Transactions on Robotics}, title={Bags of Binary Words for Fast Place Recognition in Image Sequences}, year={2012}, month={October}, volume={28}, number={5}, pages={1188--1197}, doi={10.1109/TRO.2012.2197158}, ISSN={1552-3098} } }

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值