-
Notifications
You must be signed in to change notification settings - Fork 138
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
Performance issue on iPhone #16
Comments
Hi Alessandro. You can also see how many octave ORB handle and AKAZE handle by default. |
Hi Alessandro, Be sure you compile AKAZE with paralellization support and optimized compiling options. |
Hi guys, yes it might be I didn't compile with parallelization, as I imported in XCode. Is the number of octaves the |
The number of octaves is different than the number of sublevels. The number of sublevels is the number of levels you compute for one octave in the scale space. You can reduce the number of octaves and sublevels to get faster detection. |
I tried today with |
You can also make the resize your image too a smaller size before detection 2014-07-12 3:22 GMT+02:00 Alessandro Dal Grande notifications@github.com:
Regards/Cordialement, |
It's already resized to 640x480 so don't think it will improve with a smaller format. I think it's not parallel at all as I imported vanilla AKAZE into Xcode and clang doesn't support OMP (not sure Arm supports it anyway). If I paralellized or delegated to GPU I would speed up. The feature extraction seems fast, most of the time is spent on matching, I usually get 10-100 valid matches.— On Fri, Jul 11, 2014 at 11:27 PM, Pierre Moulon notifications@github.com
|
I use it on my iPhone as well. I find that the image size makes the largest difference in speed, so you'll need to optimize primarily based on that. I resize all my images to When running this way, my code performs the feature extraction and description is I'm using a different matching algorithm, so I can't really comment on speed there. Also, there is an |
I don't think OpenMP is supported by CLANG and iOS? |
No, It's a great tool, but admittedly not very well documented.
|
Oh thanks, very insightful. Alessandro Dal Grande On Wednesday, 13 August 2014 at 14:07, brspurri wrote:
|
If you use a small image like 200px wide, there is no point in using omax=8. By default in AKAZE the smallest image size that handles is 80x40, so it will be using a smaller number of octaves. The bloodaxe fork of OpenCV has been improved considerably thanks to a Google Summer of Code Program and OpenCV. There are also some speed-ups about 20-30%. The code will come out soon in OpenCV master branch, and I will also update the AKAZE library. |
Seems to be working fast enough on OpenCV 3.0 |
Hi Pablo,
I am trying to see if I can work with AKAZE on my mobile project, but it seems quite slow compared to ORB. I think the difference is about an order of magnitude, as OpenCV ORB extracts and matches the features in under a second, while AKAZE takes several seconds (binary descriptor). Is this expected or am I not using the library in the right way?
Feature extraction:
Feature matching:
The example images I'm working with:
Thanks
The text was updated successfully, but these errors were encountered: