I am now using some OpenCV functions in my Android application development. Since the frame rate is quite critical for the program, I am wondering how could I enable the optimization of OpenCV on android, since I have read about the newest version (2.4) of OpenCV use neon-instruction and GLSL for acceleration, is it automatically enabled? Or anything I need to put in the Android.mk file for compiling? (P.S. the Opencv Manager on android automatically download the "OCV 2.4 pack NVIDIA Tegra 3" alr)
The "OCV 2.4 pack NVIDIA Tegra 3" package contains NEON and GLSL optimizations of OpenCV.
If you use OpenCV Manager API for OpenCV initialization it uses the optimized libs automatically.
来源:https://stackoverflow.com/questions/12561462/optimization-of-opencv-on-android-neon-instruction-glsl-on-tegra-3