- 新建项目后 在Android Studio中下,通过
File->New->Import Module..
导入OpenCV-android-sdk/sdk/java
- 更改OpenCVLibrary下的gradle内的版本信息 与Android项目的gradle版本信息统一(包含
compileSdkVersion
minSdkVersion
targetSdkVersion
) - 通过
File->Project Structure
在左侧Modules
内选择app
, 右侧进入Dependencies
点击加号选择Module dependency
将OpenCVLibrary导入 - 复制
OpenCV-android-sdk/sdk/native/libs
内的文件至android项目的app/src/main
文件夹下
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.
syt2/OpenCV_with_contrib_on_Android
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.