Questions tagged [bytedeco-javacv]

6 questions
3
votes
1 answer

How do I solve a java.lang.UnsatisfiedLinkError:no opencv_java455 in java.library.path: error?

I have read through the info docs for bytedeco's opencv gitbub repo and searched extensively on the internet but could not find a solution that works. I am trying to create an openCV javaFX application with gradle. I am using this dependency in my…
2
votes
2 answers

OpenCV Get the Shape of the Matrix

I'm using this library to explore OpenCV: https://github.com/bytedeco/javacv I'm trying to understand how I could get the shape of my Matrix. In Python, this would be something like: import cv2 image = cv2.imread("example.png") print(image.shape) I…
joesan
  • 13,963
  • 27
  • 95
  • 232
1
vote
1 answer

The import org.bytedeco.leptonica.global.lept cannot be resolved

I am using lept import as following. import static org.bytedeco.leptonica.global.lept.pixDestroy; import static org.bytedeco.leptonica.global.lept.pixRead; And after upgrading bydeco tesseract package to 5.2.0-1.5.8 from 5.0.1-1.5.7 I got error as…
Anonymous Creator
  • 2,968
  • 7
  • 31
  • 77
0
votes
0 answers

OpenCV Example with FaceRecognizer. Mat.createBuffer() does not exist. Why all the images have to be of the same size and to be cropped out?

I am trying to write a simple software that, given a set of images, recognise if the person I am looking is in that set. By looking at the openCV doc I came across the class FaceRecognizer. I have tried to look for examples and this one was the only…
0
votes
0 answers

Printing Mat Object - Java (OpenCV, JavaCV)

Okay, I have to compare some outputs. I need to be able to see the content of the Mat object I create by reading an image. I tried a few approaches but some functions that exist according to the documentation and according to other StackOverFlow…
Anant Sinha
  • 159
  • 1
  • 10
0
votes
0 answers

Spring boot application -OpenCV : Unable to stop the stream: Inappropriate ioctl for device

I am using OpenCV frame extraction from video in spring-boot application. I have following openCV related mvn dependencies defined org.openpnp opencv