- 新建项目后 在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.
-
Notifications
You must be signed in to change notification settings - Fork 2
Android studio集成OpenCV3.4.0及其contrib
License
syt2/OpenCV_with_contrib_on_Android
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Android studio集成OpenCV3.4.0及其contrib
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published