Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Howto obtain Android SDK with OpenCL Support

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

Ideally I would like to do this in the 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 Android SDK with OpenCL support turned on from the opencv source tree ?

I have managed to do an android build of the 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 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 ?

Howto obtain OpenCV Android SDK with OpenCL Support

I am looking to do OpenCL 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 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 ?