Skip to content Skip to sidebar Skip to footer

Opencv For Android: Failed To Load Cascade Classifier Error

This is the first time I use openCV library. I want to use it to detect the eyes. I have used the FdActivity code available in this tutorial: http://romanhosek.cz/android-eye-dete

Solution 1:

I got it. Although I have no idea about WHY. ...

mJavaDetector = newCascadeClassifier( mCascadeFile.getAbsolutePath() );
//must add this line
mJavaDetector.load( mCascadeFile.getAbsolutePath() );

...

it works for me.

Post a Comment for "Opencv For Android: Failed To Load Cascade Classifier Error"