Ask Your Question
0

How to build and integrate nonfree modules for Android?

asked 2013-03-11 15:16:19 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

I want to try and test different detectors and extractors available for OpenCV. In the process, I learned about SURF & SIFT and also found that they are now patented and kept in nonfree module.

Now I want to give a try to those modules and hence I built source(opencv) manually; But I got result files as *.dylib(http://snag.gy/3SHeT.jpg) Now how can I use(link/load/include) these files in Android C/C++'s code? Please correct me, if I'm assuming or doing something wrong.

I've googled enough about this, but couldn't found any relevant link, explaining this process throughly..so please help.

It would be awesome, if you can also help me to know which files one should include to use GFTT_DETECTOR, HARRIS_DETECTOR, SIMPLEBLOB_DETECTOR, HARRIS_DETECTOR, GRID_DETECTOR and other if any.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-03-12 01:55:23 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

You build OpenCV for your host Mac OSX system. You need to install Android SDK, Android NDK, Apache Ant and build OpenCV with special android toolchain in android folder of source code. There are some basic build scripts for android in android/scripts. You can use it as reference.

edit flag offensive delete link more

Comments

thank you, your tip worked! :)

Abhinav gravatar imageAbhinav ( 2013-03-12 13:47:57 -0600 )edit
0

answered 2013-05-23 05:12:34 -0600

lanshan317 gravatar image

Please refer this tutorial for details: This tutorial shows a step-by-step process of compiling nonfree module. https://sites.google.com/site/wghsite/technical-notes/sift_surf_opencv_android

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-11 15:16:19 -0600

Seen: 2,373 times

Last updated: May 23 '13