Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

syt2/OpenCV_with_contrib_on_Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Android Studio集成OpenCV及OpenCV contrib库

  1. 新建项目后 在Android Studio中下,通过File->New->Import Module..导入OpenCV-android-sdk/sdk/java
  2. 更改OpenCVLibrary下的gradle内的版本信息 与Android项目的gradle版本信息统一(包含compileSdkVersion minSdkVersion targetSdkVersion)
  3. 通过File->Project Structure在左侧Modules内选择app, 右侧进入Dependencies 点击加号选择Module dependency将OpenCVLibrary导入
  4. 复制OpenCV-android-sdk/sdk/native/libs内的文件至android项目的app/src/main文件夹下

ojrk!

About

Android studio集成OpenCV3.4.0及其contrib

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published