Closed DBrown2019 closed 5 years ago
There's been a few things fixed around that recently. Could you try with version 1.4.4-SNAPSHOT?
Actually, I think I may have found a fix. I was using
private Mat BufferedImage2Mat(BufferedImage image){
opencv_core.Mat mat2 = openCVFrameConverter.convert(java2DFrameConverter.convert(image));
return new Mat(mat2.address());
}
In order to convert between the two types of Mats, and I haven't had the issue again since I discovered convertToOrgOpenCvCoreMat in OpenCvFrameConverter. I'm having another issue now with how the images convert, which I'll be opening an issue for once I have the data I need, but at least it isn't crashing.
So, I'm currently making a project that involves scanning a PDF into java Images, then converting it to Mat, and Finally to PIX. However, I've recently been plagued by JVM crashes in execution, with the problematic frame being cv::Mat::release()+0xc7. This is my first time using external libraries with Java, so I'm not sure what exactly this all means.
Is this issue on my end, or something with JavaCV?
The Core Dump is here: Core Dump