Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The major drawback of the Tegra 2 platform, is that it doesn't have NEON unit. That means that you can't use SIMD instructions to optimize the code. GLSL optimizations are available on Android, Tegra 3, but there just a few of them (see this article).

So, the only available option is to enable multi-threading optimizations. There are not so many of them in OpenCV right now, but they are added from time to time, and upcoming 2.4.3 release will have some new parallel implementations.

And finally, check that you're using proper compiler and compilation flags, because they may affect your performance. For instance, use RELEASE build, enable optimization flags, etc. You can try to build OpenCV4Android from sources and check in CMake output which gcc options are used.

BTW, to control your performance, I would suggest you to run OpenCV performance tests. Look for "Performance Tests" section on this page.