Skip to content

rajamalw/opencv-android-gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencv-android-gradle

OpenCV Android SDK modified to use in Android Studio

OpenCV SDK Version

3.2.0 Download JAR

JAR

Usage

1.Copy the opencv-android.jar to app->libs in your project.

2.Open build.gradle and add the following line to the dependencies block.

compile files('libs/opencv-android.jar')

3.Sync the project.

To Build JAR in Linux

1.Create a local.properties file and define Android SDK path.

sdk.dir=/home/rajamalw/android-sdk-linux

Replace /home/rajamalw/android-sdk-linux with your SDK path.

2.Export Gradle path. For example in Ubuntu.

export PATH="/home/rajamalw/gradle/gradle-3.3/bin:$PATH"

Replace /home/rajamalw/gradle/gradle-3.3/bin with your Gradle path.

3.Use the following Commands to generate JAR.

gradle build
gradle jar

4.The JAR will be generated in build/libs.

About

OpenCV Android SDK modified to use in Android Studio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages