Skip to content

notchla/PyDBoW3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyDBoW3

This repo is a fork of this adapted to opencv4 and added a cmake to find numpy

Get started

import pydbow3 as bow
voc = bow.Vocabulary()
voc.load("PyDBoW3/modules/dbow3/orbvoc.dbow3")
db = bow.Database()
db.setVocabulary(voc)
# extract features using OpenCV
...
# add features to database
for features in features_list:
   db.add(features)

# query features
feature_to_query = 1
results = db.query(features_list[feature_to_query])

Prerequisites:

  • OpenCV
  • CMake

Install

  • clone the repo with --recursive
  • build and install modules/DBoW3 using dbow.sh
  • install with pip install .
  • currently only *nix is supported

Acknowledgement

This work is based on https://github.com/foxis/pyDBoW3 and https://github.com/edmBernard/ybind11_opencv_numpy.git

About

Pybind11 interface for DBoW3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 58.0%
  • CMake 22.6%
  • Python 18.6%
  • Shell 0.8%