Ahoy ! FaceRecognizer was worky great, every time. ( I'm using SarxosFrameGrabber ).

Tested new unicode support, seem worky great ( I crashed for an other reason : )

I decided to switch to OpenCVFrameGrabber, now FaceRecognizer is broken, like Gael report :

java.lang.RuntimeException: C:\projects\bytedeco\javacpp-presets\opencv\cppbuild\windows-x86_64\opencv-3.1.0\modules\core\src\matrix.cpp:508: error: (-215) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function cv::Mat::Mat

	at org.bytedeco.javacpp.opencv_core$Mat.allocate(Native Method)
	at org.bytedeco.javacpp.opencv_core$Mat.<init>(opencv_core.java:14990)
	at org.myrobotlab.opencv.OpenCVFilterFaceRecognizer.process(OpenCVFilterFaceRecognizer.java:479)
	at org.myrobotlab.opencv.VideoProcessor.run(VideoProcessor.java:500)
	at java.lang.Thread.run(Unknown Source)
------

kwatters

6 years 11 months ago

Hi Moz4r,  

This is the same error that Gael was seeing.. do you only see it with the OpenCVFrameGrabber?

-Kevin

I have seen this error, but I can't consistently reproduce it so it's very difficult to know when it's fixed.

GroG

6 years 11 months ago

From the error it looks as if an invalid  ROI (region of interest) has been supplied.  I don't know the details of this filter, but perhaps a ROI is being requested to a input image which is a smaller size (PyramidDown?), or an image of no size ?

Just a shot in the dark ..