Computer Vision News - February 2019
This month, We Tried for You to install and use OpenCV on Android app – and we will tell you how. Based on the demo included with OpenCV, we’ll create a little app that takes the video captured by the phone’s camera as input and processes it according to the option selected by the user (we will show how to define 4 options: pixelize, zoom, sobel or canny) and displays it online as a continuous video. Let’s get started. We assume you already have Android Studio installed; if not, you can install it from here . First, you need to download Android’s SDK from here (pick your favorite Android version). We recommend the OpenCV-3.4.3 SDK. Let’s say we download it to the folder “C:\Users\shpanier\Downloads\” and from there unzip the file into the folder “opencv-3.4.3-android-sdk" Now we go to Android Studio to write our app: Create a new project, by selecting File → New → New Project and picking a Basic Activity project. We’ll call it OpenCVwCamera and select Api28 (the latest version). Next, import the OpenCV SDK into the project by going to File→ New→ import Module and picking OpenCV-android-sdk\sdk\java under the location we opened the file -- a folder titled opencv-3.4.3-android-sdk. 24 Tried for You - OpenCV on Android Focus on by Assaf Spanier … a little app that takes the video captured by the phone’s camera as input and processes it according to the option selected by the user and displays it online as a continuous video. Computer Vision News
Made with FlippingBook
RkJQdWJsaXNoZXIy NTc3NzU=