Ask Your Question
2

How to compile own opencv library for Android platform?

asked 2012-08-30 00:33:49 -0500

arthur1026 gravatar image

I am using the Android binary package of Opencv right now (by following the tutorials here: http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_binary_package.html)

But I am in the need of modifying the maximum number of iterations of RANSAC in the cvFindHomography() function. However I did not find any instructions about how to compile the binary package from the source file for Android platform.

So could anybody direct me into some tutorials on doing this?

Thanks a lot!

edit retag flag offensive close merge delete

Comments

up up up~ Anyone knows the answer ?

arthur1026 gravatar imagearthur1026 ( 2012-09-02 22:14:14 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2012-09-06 01:02:52 -0500

Andrey Pavlenko gravatar image

An outdated instruction exists on OpenCV DevZone wiki, but it needs update.

In particular (1) the OpenCV sources are now in GIT and (2) after successful build for Android you need to run "make install" command in the build folder and get a kind of SDK in "install" subfolder.

edit flag offensive delete link more
1

answered 2012-09-05 17:23:14 -0500

Rui Marques gravatar image

Things changed with the latest opencv and I think the devs haven't finished a tutorial updated to the current version. You will be able to find it here when they do:

http://docs.opencv.org/trunk/doc/tutorials/introduction/table_of_content_introduction/table_of_content_introduction.html

You can find the latest (unstable) documentation here:

http://docs.opencv.org/trunk

To compile just the C++ version you can read here:

http://docs.opencv.org/trunk/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-08-30 00:33:49 -0500

Seen: 326 times

Last updated: Sep 06 '12