1.下载好OpenCV与OpenCV_Contirb 版本: 4.7
编译主机系统: Ubuntu 20.04 LTS
准备环境与工具: ANDRIOD SDK 与 NDK ,CMAKE ,NINJA ,GCC,G++ ,MAKE
开始编译:
../opencv/platforms/android/build_sdk.py --extra_modules_path=../opencv_contrib/modules --no_samples_build --no_kotlin --opencl --sdk_path=/home/dev/Android/Sdk --ndk_path=/home/dev/Android/Sdk/ndk/19.2.5345600
修改ndk-18-api-level-21.config.py,注释掉armeabi-v7a,x86_64,x86
生成过程中输出的SDK,NDK,CMAKE,NINJA,OPENCV版本号,及编译ABI