As per Wikipedia:
OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real-time computer vision, originally developed by Intel's research center in Russia, later supported by Willow Garage and now maintained by Itseez. The library is cross-platform and free for use under the open-source BSD license.
Step 1: Download the latest OpenCV Android SDK
Step 2: Create a new Android Studio project
Note: The minimal platform supported by OpenCV is Android 2.2 i.e..API 8
Step 3: Importing the Module
Once the project is successfully created click on File ->new ->Import Module and then select the unzipped OpenCV-android-sdk ->skd ->Java and click Next & ok.
Step 4: Adding Module Dependency
Go to File -> Project Structure & under Modules select app ->Dependecies ->Module Dependency, select the respective openCV library and click ok.
Step 5: Gradle changes
Now go to OpenCV build.gradle and set the compileSdkVersion, buildToolsVersion, minSdkVersion and targetSdkVersion same as in the app's build.gradle and we are done.
THANKS
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Bhriguraj Salponia
Bhriguraj is a bright mobile app developer and have good knowledge of C, Java, Android, Sql , Html. His hobbies are playing video games.