Exception or error: [EDIT] I have devised some code for image comparison. The matching part is still a bit flawed and I would love some assitance. The project can be found at – GitHub. I have these two images Img1 and Img2: When I use the following command in openCV Mat img1 = Highgui.imread(“mnt/sdcard/IMG-20121228.jpg”); Mat …
Tag: opencv
android – How to run OpenCV code without OpenCv Manager-ThrowExceptions
Exception or error: I am using OpenCV4Android version 2.4.10 and i test my code on Samsung Galayx GT-I9300. the problem i have is, that i must download Opencv Manager from play store so that my opencv code runs, otherwise the App would not start. I referred to some postes “as shown here How to integrate …
android – How to use OpenCV to process image so that the text become sharp and clear?-ThrowExceptions
Exception or error: Wanted to achieve something like this: http://www.leptonica.com/binarization.html While searching for solutions, most of the answers were general instructions such as advise to look at adaptive filter, gaussian blur, dilation and erosion but none of them provide any sample code to start with (so can play around with the values).. I know different …
java – Static Initialization on OpenCV Android-ThrowExceptions
Exception or error: This question already has answers here: OpenCV in Android Studio (7 answers) Closed 4 years ago. i’m trying to run OpenCV Tutorial 1 – Add OpenCV with static initialization using this i don’t want a separate OpenCV Manager application installed) but i get an “OpenCV error: Cannot load info library for OpenCV.” …
java – Unstable face recognition using OpenCV-ThrowExceptions
Exception or error: I’m developing an android application for face recognition, using JavaCV which is an unofficial wrapper of OpenCV. After importing com.googlecode.javacv.cpp.opencv_contrib.FaceRecognizer, I apply and test the following known methods: LBPH using createLBPHFaceRecognizer() method FisherFace using createFisherFaceRecognizer() method EigenFace using createEigenFaceRecognizer() method Before I recognize the detected face, I correct the rotated face and …
android – Opencv increasing accuracy of threshold-ThrowExceptions
Exception or error: I am working on an app that is expected to remove image backgrounds using opencv, at first I tried using grabcut but it was too slow and the results were not always accurate, then I tried using threshold, although the results are not yet close th grabcut, its very fast and looks …
Error: package android.hardware.camera2 does not exist OpenCV-ThrowExceptions
Exception or error: I’m trying to add the OpenCV module to a project, but I’m not able to solve some gradle issues. Here is my app.gradle file: apply plugin: ‘com.android.application’ android { compileSdkVersion 17 buildToolsVersion “23.0.2” defaultConfig { applicationId “com.sveder.cardboardpassthrough” minSdkVersion 8 targetSdkVersion 21 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.txt’ } …