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 = new CascadeClassifier( 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"