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

Loading of voc.txt takes too long #18

Closed
paul-michalik opened this issue Nov 29, 2017 · 3 comments
Closed

Loading of voc.txt takes too long #18

paul-michalik opened this issue Nov 29, 2017 · 3 comments
Assignees

Comments

@paul-michalik
Copy link
Owner

Loading of the BoW vocabulary must be accelerated. Investigate possibilities to accomplish this.

@shanmukhananda
Copy link
Collaborator

Current numbers on my PC (i7, 4cores-8threads, 2.6GHz, 16GB RAM)
Windows Release build takes 40-42 seconds to load orb-voc, (8 cores, 16gb RAM)
Ubuntu Release build takes 7-9 seconds to load orb-voc (4 cores, 8gb RAM)

Ideas on improving

  • Use binary vocabulary instead of txt file.
  • In windows we have to remove /RTC and try /O2. (VS optimization flags). Linux optimization flags are already in place

@shanmukhananda
Copy link
Collaborator

shanmukhananda commented Nov 29, 2017

Tried with binary vocabulary referring this link
Vocabulary loading time now reduced to 350-450ms both in linux and windows.

@shanmukhananda
Copy link
Collaborator

changes merged cf74e99

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

2 participants