Ask Your Question

Enable neon acceleration for OpenCV 3 on Android

asked 2015-05-24 23:12:45 -0600

JackFan gravatar image


I saw changelogs of OpenCV 3:

About 40 commonly used image processing functions have been optimized using vector NEON instructions, so OpenCV 3.0 beta should run noticeably faster on modern ARM chips. Big thanks to Ilya Lavrenov for the amazing job!

Could anyone tell me that how to make sure I'm running the code with NEON support? Should I build OpenCVForAndroid from trunk by myself? Or taking the library from the link is enough?


edit retag flag offensive close merge delete


it should be used automatically, afaik, there's nothing required to do on your side.

berak gravatar imageberak ( 2015-05-24 23:16:23 -0600 )edit

I found the instruction of buildingOpenCV4Android mentions Android hardware targets. I will follow it and check the difference.

JackFan gravatar imageJackFan ( 2015-05-25 20:16:07 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-18 08:44:37 -0600

There do not seem to be special NEON-optimized binaries available for the native OpenCV SDK (compared to the OpenCV4Android Java Wrapper / native library manager). Is NEON detected at runtime, or is it required to build OpenCV myself, setting ANDROID_ABI to "armeabi-v7a with NEON"?

edit flag offensive delete link more


How to do that ? do you have compile with NEON OPTIMIZATIONS ? Because i meet a lot of errors when i want to compile any version of opencv with NEON support.


Simontraww gravatar imageSimontraww ( 2018-11-23 02:08:05 -0600 )edit

Question Tools



Asked: 2015-05-24 23:12:45 -0600

Seen: 3,206 times

Last updated: May 24 '15