Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating my own vocabulary #9

Closed
alejodosr opened this issue Feb 2, 2016 · 5 comments
Closed

Creating my own vocabulary #9

alejodosr opened this issue Feb 2, 2016 · 5 comments

Comments

@alejodosr
Copy link

Hi,

I am trying to re-create my own vocabulary file, in order to adapt the ORB-SLAM2 algorithm to the camera streaming in a Gazebo simulation. I use DBow2 to create both the vocabulary file _voc.yml.tgz and the _db.yml.tgz.

However, the ORB-SLAM2 algorithm requires a *.txt vocabulary file (that is suppose to be ¿serialized?).

¿How can I generate the *.txt from the files I have mentioned?

Thanks

@raulmur
Copy link
Owner

raulmur commented Feb 2, 2016

Use saveToTextFile function in TemplatedVocabulary.h (the one I provide, not the original one).

@raulmur raulmur closed this as completed Feb 2, 2016
@alejodosr
Copy link
Author

Thanks, I'll try that funciton. To properly generate the vocabulary, is it needed to use ORB-features? (or SURF can be used..) Sorry if it is a silly question, I am a beginner in this field.

@raulmur
Copy link
Owner

raulmur commented Feb 2, 2016

You have to use ORB features as long as you continue using them in ORB-SLAM.

@agharsh11
Copy link

@raulmur i am trying to implement ORB SLAM for underwater images should i make a new vocabulary or the one provided is sufficient....
thanks

@manthan99
Copy link

Have a look at this repo for step by step procedure to create your own vocabulary:
https://github.com/manthan99/ORB_SLAM_vocab-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants