OpenCV 4.0 Android (NDK) With NEON: Why And Why Not?

戏子无情 提交于 2019-12-13 18:42:14

问题


I am using the OpenCV for Android NDK, which can be downloaded from here, and I just use the libopencv_java4.so.

It seems that it is not compiled with NEON (correct me if I am wrong). However, IMHO, NEON, the SIMD architecture, can dramatically speed up the library. On the other hand, I think if the people in OpenCV decide to compile without NEON, there must be a big reason. Therefore, I am hoping for advice about:

  1. Shall I compile with NEON?
  2. Will NEON boost up the speed (I think yes?) ?
  3. What are the disadvantages of compiling with NEON, if any? (i.e. Why OpenCV does not compile with NEON by default?)

I would truly appreciate it for any suggestions! Thanks!

来源:https://stackoverflow.com/questions/57041536/opencv-4-0-android-ndk-with-neon-why-and-why-not

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!