Ask Your Question

Revision history [back]

It looks like you try to create org.opencv.objdetect.CascadeClassifier object before OpenCV library initialization. Any OpenCV object can be used only after successful library initialization with OpenCV Manager or using InitDebug() method. In your case you need to move CascadeClassifier object construction to code that is executed in successful case of onManagerConnected callback or after it.