Opencv android ndk tutorial7/5/2023 ![]() ![]() According to the opencv capabilities used, you can choose to load the corresponding. **staticlibs:** Different functions are made into. so file corresponding to a single architecture is 10M , which is generally used for development and debugging. ![]() so dynamic library built according to different platform architectures provides complete opencv capabilities. Jni: Some cmake compilation scripts and dynamic library header files, which contain the need to introduce when writing C codeHeader file (include folder), And view the dependency and configuration information when reducing the library. Native: For different CPU architectures, there will be correspondingStatic or dynamic library files. **java:** This is an opencv android library project officially provided by opencv, which provides complete opencv capabilities, because the underlying opencv is written in c/c , but now there are many programming languages, java, python, etc., so The official has re-packaged the underlying library for different language platforms, and when used, the project can be directly imported as a library. ![]() **etc:** Identify related cascade classifiers and the like **sdk:** This is the key point, and the things inside will also be used in future development **samples:** are several demo projects officially provided by opencv, with project source code and packaged apk **apk:** Below this package is the opencv-manager installation package, which is not needed here, after all, no one will integrate in this way └── javadoc (opencv java api documentation ) The file structure of the SDK is as follows: # edvardzeng EDVARDZENG-MB0 in ~/Workspace/OpenCV-android-sdk The three demos in this tutorial all implement color to grayscale. The version numbers of NDK and OpenCV are more important, the latter two are not very important
0 Comments
Leave a Reply. |