All Questions
3,373
questions
-1
votes
0
answers
37
views
Improve signature quality extracted using OpenCV from scanned sheet paper
I extracted a signature from a scanned sheet of paper. Users know there should be only the signature on a white sheet of paper.
I implemented the signature cropping from the uploaded image using the ...
-4
votes
0
answers
40
views
Capture image from android camera [closed]
I am working on an application that works with cameras in android using java and android studio.
in python or cpp we can access camera with something codes like this:
import cv2 # opencv
vc = cv2....
1
vote
0
answers
17
views
JavaCV frame reading not working on Raspberry Pi
i am currently developing an application to scan QR codes with Java and JavaCV.
On my mac, it works just fine. Opens the camera, reads the frames and detects + decodes the QR code.
When i run the code ...
0
votes
0
answers
32
views
OpenCV finger extraction from image / liveview from camera and draw contour around finger
I would like to extract a finger from an androidx.camera.view.PreviewView in Android java.
I am using an ImageAnalysis Object to run a analyze() function on an ExecutorService.
The analyze() has a ...
-1
votes
0
answers
18
views
Katalon Studio UnsatisfiedLinkError "no jniopencv_core" issue
I was trying to perform testing on iOS using a simulator in Katalon Studio.
The testing involves clicking on an image that doesn't have great selectors; hence, I am trying to click on it using image ...
0
votes
0
answers
23
views
Why should I use CameraDevice in JavaCV?
I am developing a desktop app that works as a webcam for a project for an universitary exam. This cam should perform several tasks into the app.
I can't understand the purpose of JavaCV's class ...
0
votes
0
answers
21
views
Unable to turn on Java binding for opencv using brew
I'm trying to install opencv with Java bindings on MacOS Intel machine. I'm following the steps from: https://opencv-java-tutorials.readthedocs.io/en/latest/01-installing-opencv-for-java.html#install-...
0
votes
0
answers
39
views
Unable to detect if a image is blurred in few cases
I have used OpenCvSharp for the first time. I'm using it to find out if an image is blurred or not. Some of the images are blurred but my code is returning that the image is not blurred. Attached ...
2
votes
0
answers
49
views
OpenCV returns some values from negative positions
I try on OpenCV for Java (org.openpnp:opencv:4.7.0-0) and have Mat (2x2), created by val mat = Mat(2, 2, CvType.CV_8UC3)
Getting pixels from it by means of mat[0, 0] ( = [0.0, 0.0, 0.0]). It's ok
...
0
votes
3
answers
67
views
Can't load OpenCV library in Java when executing a JAR multiple times (Windows)
I have problems loading the OpenCV DLL Library in Java when I execute the built JAR multiple times simultaneously. The error I get is the following:
Caused by: java.lang.UnsatisfiedLinkError: Can't ...
0
votes
0
answers
75
views
OpenCV Native libraries path not found in opencv 4.9.0
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: 'long org.opencv.core.Mat.n_Mat()'
at org.opencv.core.Mat.n_Mat(Native Method)
at org.opencv.core.Mat.<init&...
1
vote
1
answer
53
views
Difference between Mat.n_delete() and Mat.n_release
I am using OpenCV with Java and because OpenCV has no idea about what the Java GC is doing, I have always been told that I need to release my Mat objects using Mat.release() to avoid memory leaks. ...
-1
votes
1
answer
49
views
How to make the Java JAR file of extra_module of OpenCv and merge it with base OpenCv module
(pls tell me , i have project due in 2weeks - which needs this face classes in my project.)
So i was trying to add JAVA face_module from opencv_contrib , using cmake & visual studio - did ...
1
vote
0
answers
540
views
How to Run Yolo v8 using OpenCV's DNN in Java?
I need to run Yolo v8 for object detection using OpenCV's DNN in Java. But as there are not examples, I cannot do this properly.
It provides some examples in C++ and Python:
https://github.com/...
0
votes
0
answers
48
views
opencv kmeans only gives black and white image
Kmeans algorithm only gives black and white outputs
Here is my code
ı couldnt find any solutions to this problem
bitmap = MediaStore.Images.Media.getBitmap(this.getContentResolver(), ...