Ask Your Question
1

OpenCV4Android and parallel code

asked 2012-11-21 12:22:48 -0500

Simone gravatar image

updated 2012-11-22 01:03:36 -0500

Andrey Pavlenko gravatar image

Hi,

I have 2 questions concerning OpenCV4Android:

  1. I'm using the latest prebuilt version of OpenCV4Android on an armeabi-v7 with NEON device. I was wondering if the opencv functions are running with the TBB support by default. I see in the package that under the 3rdparty there is the libtbb.so, so i guess that the library comes already with the tbb support. Anyone can confirm that?
  2. Still concerning the parallelization, I was wondering if OpenCL is supported in Android and therefore if i can call any of the ocl:: functions of the OpenCL module of opencv. I know that the support of opencl depends on the manifacturer of the GPU, so let's say it is so in my case, are those functions available to be used, say, in a JNI application in android?

Thank you!

Simone

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2012-11-22 01:01:41 -0500

Andrey Pavlenko gravatar image

updated 2012-11-22 01:02:36 -0500

  1. OpenCV4Android SDK v 2.4.3 has Intel TBB enabled for armeabi-v7a and x86 targets.

  2. OpenCV doesn't support OpenCL on Android.

edit flag offensive delete link more

Comments

Thank you very much. Is there a plan to allow support for OpenCL in the future?

Simone gravatar imageSimone ( 2012-11-22 01:29:10 -0500 )edit

I can't say about long term, but for short term plans we don't have OpenCV support for Android as an action item. Even for desktop the OpenCV 'ocl' module is in an alpha stage now...

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2012-11-23 02:11:07 -0500 )edit

thanks! I don't want to abuse your kindness but i'd have another question: what about renderscript? It seems google is preferring it to Opencl for android gpu computing. Is there any work done/planned in that direction?

Simone gravatar imageSimone ( 2012-11-23 05:34:20 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-11-21 12:22:48 -0500

Seen: 1,009 times

Last updated: Nov 22 '12