What is DBoW2?
masterDBoW2 is a C++ library for indexing and converting images into a bag-of-word representation. It uses a hierarchical tree to approximate nearest neighbours in the image feature space to create a visual vocabulary. It also provides an image database with inverted and direct files for fast image queries and feature comparisons.
Key features include:
- Templated Design: Works with any descriptor type.
- Built-in Support: Includes classes for ORB and BRIEF descriptors.
- OpenCV Integration: Uses OpenCV's storage system for saving/loading vocabularies and databases (supports YAML and
.gzcompression). - Fast Feature Comparison: Includes a direct file in the image database for rapid comparisons (used by
DLoopDetector).