Skip to content

kafan1986/OpenCV_with_contrib_on_Android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 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文件夹下

##ojbk!

About

Android studio集成OpenCV3.4.0及其contrib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 67.3%
  • Java 21.7%
  • CMake 7.3%
  • C 3.5%
  • Other 0.2%