First time here? Check out the FAQ!

Ask Your Question
1

A problem in OpenCV with Android using SURF

asked Jun 11 '13

RuifDu gravatar image

updated Jun 11 '13

When I'm using SURF in Android, have created a FeatureDetector with SURF by

m_detector = FeatureDetector.create(FeatureDetector.SURF);

but when using the method detect, an error ocures, while use FAST instead of SURF, the error disappers. Another situation happens when I use SURF to initialize a DescriptorExtractor.

Pleasse tell me how can I use SURF in Android with the original OpenCV liberary.

Thanks!

Preview: (hide)

Comments

can you give some more code, and what exactly the error on logcat is? this way nobody can help you.

MysticBE gravatar imageMysticBE (Jun 19 '13)edit

1 answer

Sort by » oldest newest most voted
3

answered Jul 31 '13

lanshan317 gravatar image

SURF and SIFT are patented algorithms. Therefore, they are not directly included in the OpenCV4Android library. You can find those algorithms from nonfree module from the full package of OpenCV (not android version).

One way to use SURF and SIFT without re-compiling the whole OpenCV library for Android platform is to build the nonfree module for Android and use it along with the OpenCV4Android library. Here is a tutorial showing how to do it: https://sites.google.com/site/wghsite/technical-notes/sift_surf_opencv_android. You can follow the tutorial to achieve your goal, if I understand your goal correctly. Hope this will help.

Preview: (hide)

Comments

Does anyone have some precompiled .so files we could use ?

Taiko gravatar imageTaiko (Dec 14 '15)edit

Question Tools

Stats

Asked: Jun 11 '13

Seen: 7,271 times

Last updated: Jul 31 '13