Ask Your Question

Revision history [back]

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

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!