Modify the SDK version of the OpenCV library. After the import is completed, the OpenCV library, adle, will be found in the project directory The file will change accordingly Click File -> new -> Import Module, select the OpenCV-Android-SDK/sdk/java folder, click OK, and the module will be automatically identified. The Android project introduces OpenCV-SDK. Click SDK Manager in the toolbar, click SDK Tools, select CMake and NDK (Side by side), click apply to download the required toolsĭownload OpenCV-Android-SDK. The way to introduce OpenCV in this tutorial: OpenCV Android SDK + OpenCV dynamic library + JNI (Java and C++ can be used for development at the same time)ĭevelopment environment: macOS Big Sur-11.2.3 + Android Studio-4.1.2ĭownload related tools. This article takes Opencv-4.5.1 and FFmpeg-4.4 versions as examples to record the process of introducing two audio and video libraries into the Android project. There are many related tutorials on the Internet, but because the tutorials have been written for a long time, Many have problems. Because the Bishe project involves processing audio and video on Android phones, you need to use OpenCV and FFmpeg libraries, so I have been looking for Android how to introduce OpenCV and FFmpeg some time ago.
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |