1 | initial version |
If you want to use the OpenCV4Android SDK follow these steps:
Download the latest Version of the OpenCV4Android sdk and decompress the folder.
Import it to a Android Studio Project (e.g. one of its samples) with File -> New -> Import Module. Then choose the sdk/java folder from the decompressed folder.
Update the the Gradle file so that compileSdkVersion, buildToolsVersion, minSdkVersion and targetSdkVersion of your app and the opencvLibrary match.
Add the module dependencie of your app. Go to the Projectstructure choose the module folder from your app go to "Dependencies" and add the dependencie with the "+" and module dependencie.
Copy the Libs Folder from sdk/native from your decompressed Folder into your app main folder app/src/main. After that rename Libs int jniLibs
When you finished these Tasks successfully everything should work.