Ask Your Question
1

Enable neon acceleration for OpenCV 3 on Android

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

JackFan gravatar image

Hi,

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? http://sourceforge.net/projects/openc...

Thanks

edit retag flag offensive close merge delete

Comments

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

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

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

http://code.opencv.org/projects/openc...

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

1 answer

Sort by ยป oldest newest most voted
0

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

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

Comments

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.

Regards.

Simontraww gravatar imageSimontraww ( 2018-11-23 02:08:05 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

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

Seen: 2,490 times

Last updated: May 24 '15