Howto obtain OpenCV Android SDK with OpenCL Support

asked 2013-05-30 08:54:04 -0600

Awkman gravatar image

updated 2013-05-30 08:56:41 -0600

I am looking to do OpenCV/OpenCL work on an android device (that actually has OpenCL libraries).

Ideally I would like to do this in the OpenCV Android SDK using eclipse to make working with the Java parts of the project less painful .. but there appears to be no official download that was built with OpenCL support.

Is it possible to build myself a new OpenCV Android SDK with OpenCL support turned on from the opencv source tree ?

I have managed to do an android build of the OpenCV source tree, and convert the facedetect example so that it is statically initialized, and this all works and runs. I have no idea how I would build a new version of the OpenCV Android SDK however.

Alternatively .. is there a good way to work with eclipse on the full source tree.

After doing a full build using cmake I tried doing an android app import in eclipse using: opencv-2.4.5/android/build

This partially worked, but the jni files are not in the projects, also eclipse and the cmake build system seem to compete as well and like to overwrite files created by the other making this an non-ideal solution.

Ideas anyone ?

edit retag flag offensive close merge delete

Comments

@Awkman: Did you found any answer for this post? If yes, please post the answer. It will be helpful for me. Thanks.

karthi gravatar imagekarthi ( 2013-06-22 00:26:17 -0600 )edit