How to use Java with NDK Android?

后端 未结 2 767
没有蜡笔的小新
没有蜡笔的小新 2020-12-28 10:46

I am assuming that using the OpenCV code here: http://github.com/billmccord/OpenCV-Android#readme is the best way to use OpenCV on Android, with the NDK.

I am sti

2条回答
  •  失恋的感觉
    2020-12-28 11:18

    Does your app require the C interface? OpenCV actually considers it deprecated / done with, the new API is C++. A port of this interface and sample calibration app are here: http://code.google.com/p/android-opencv/

    It took me a while to get sold on the new C++, but I had to admit it was nice to not have to do cvReleaseMat() and go back and forth between IplImage and CvMat all the time. Opencv 2.1 doc: http://opencv.willowgarage.com/documentation/cpp/index.html

提交回复
热议问题