error : Dnn.forward() in Android
I don't know what problem and how to fix it, help please! error: (-215:Assertion failed) ngroups > 0 && inpCn % ngroups == 0 && outCn % ngroups == 0 in function 'virtual bool...
View ArticleDNN.net.forward() in Android
String model = getPath("model.net", getApplicationContext()); net = Dnn.readNet(model); Mat frame = inputFrame.rgba(); // Imgproc.cvtColor(frame, frame, Imgproc.COLOR_RGBA2RGB); // Forward image...
View Articlebuild 3.4 static library for android, but get so
I git clone the 3.4 branch to local, create a build_arm_android folder, and use the command `cmake -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DDBUILD_SHARED_LIBS=OFF...
View Articlebinarization of an image android
hello guys i am developing an android application which is use for OCR from invoice so i am use tesseract library for ocr but some time some invoice images are not read by the tesseract library...
View Articleerror in matching parameters type in c and java function
extern "C" JNIEXPORT void JNICALL Java_com_example_raweeda_applicationc_MainActivity_inpaintCriminisi(JNIEnv *env, jobject instance, const cv::_InputArray & a, const cv::_InputArray & b, const...
View ArticleHow to crop particular rectangle
Hi, I wanted to crop a segment on real time and process the image Tessaract Api any one help me? /*This is my code */ List squares = new LinkedList(); Mat frame = inputFrame.rgba().clone(); if...
View ArticleHow to use setTo() in JAVA
Mat gray = new Mat(); Utils.bitmapToMat(grayBitmap,gray); Mat blocks = new Mat(gray.size(),gray.type()); Core.randu(blocks,0,1); blocks.setTo(0,blocks<0.3); blocks.setTo(1,blocks>0.3); I use...
View ArticleHow to remove delimitation color in picture with opencv
I would like to remove or correct the delimitation that you can see in the picture there is function to correct it or merge pixels in the dƩlimitation ? how can I correct this problem ? thanks in...
View ArticleIs using OpenCV Manager still the recommended approach?
According to the official documentation from OpenCV.org, static initialization with `initDebug` is only for debugging and `initAsync` (with OpenCV Manager) is for the production. However, I noticed...
View ArticleI have to scan a logo and match it with existing logos
I have to scan a logo using camera and match it with existing logos in some database. Can openCV help? Is there any other alternative?
View ArticleRecognition speed? (real-time app)
Hi! I want to write an android app that: allows user to upload pics into collection allows user to write a note for each pic (his name, for example) pointing camera at a person displays their note (if...
View ArticleHow to find cracks and spalling on wall?
I need to find cracks and spalling in wall from image. Need to differenciate with two colors using opencv java.
View ArticleHow can I preview full Screen in OpenCv JavaCameraView
I have tried to implement JavaCameraView in android but I am facing one issue like I am not able to show camera in full screen. It is showing in 480(width)x720(height) by default. How can show preview...
View ArticleOpenCV captured image resolution vs Fotoapparat
Hi, I'm working on a project where we need to recognise bubbles as part of an exam. We've been testing different approaches to image taking based on requirements (we need to overlay shapes on the live...
View Articlehow to get full human body from image using opencv
i want to detect human body from image and then crop that human body from image.have anyone solution for this please help
View Articlehow to crop custom rectangle shap from image using opencv android
i have an app and want to crop a custom rectangle from that shap. have any one solution how to crop. my code is > Rect rect=new Rect(1000,1000, mat.size().width, mat.size().height); Mat output=new...
View ArticleCreating mobile application with OpenCV
What technologies can be used to create applications for iOS and Android? It is necessary that the application code with OpenДV was common to both systems.
View Articlev.4.0.1 android SIGBUS crash
Hi, I've built v.4.0.1 for android both for armv7 and arm64 using the c++_shared stl on windows. Both builds were successfull. When executing `calcOpticalFlowPyrLK(prevGray, gray, inPoints, outPoints,...
View ArticleCould I access android camera by c++ api(opencv4)?
As the title mentioned, try to google by the keywords "OpenCV4 android camera" or "OpenCV4 android camera c++" but cannot find the answers like "yes" or "no", I remember opencv3 do not support this...
View ArticleObject Detection and Tracking on Android
Hi, I am about to embark on a bit of a journey into Computer Vision. My Goal is to track a single (but changeable) Object in the CameraPreview of an Android Phone. I have done some research online...
View Article