I use OpenCV in Java. With this call:
faceDetector.detectMultiScale(m2, faceDetections, 1.3, 4, 0, new Size(
10, 10), new Size(200, 200));
I get the following error:
Exception in thread "UserDetection" java.lang.Exception: unknown exception
at org.opencv.objdetect.CascadeClassifier.detectMultiScale_0(Native Method)
at org.opencv.objdetect.CascadeClassifier.detectMultiScale(CascadeClassifier.java:94)
at test.hmi.FaceDetection.detect(FaceDetection.java:103)
The problem is that, without code changings, the error appered and stayed then until computer restart. After that I was unable to reproduce the error.
Therefore I want to ask what could be causes of this error message in the detectMultiScale function.