You can find information about this on the OpenCV webpage. This suggests that it is out of date, and OpenCV advises against doing this in production. The manager actually allows the user to download the OpenCV library once for all. Then your application will be much smaller!
That OpenCV is not used, you can try FastCV (as Aaron suggested), but it seems redundant for your application (and it requires that you are familiar with the development of NDK). On the other hand, with OpenCV you can code in either java (by the way, see JavaCV ) or using the NDK.
Finally, if you only need a Canny Edge detector and you do not want to use the library, you can try to write it yourself. The appropriate Wikipedia page should be enough for this (I could have done this a few years ago as an exercise).
Jonesv
source share