我正在尝试使用OpenCV 2.4.10进行人脸识别,我已经在libs中添加了javacv.jar
和javacpp.jar
文件,但是当我尝试访问com.googlecode.javacv.cpp.opencv_contrib.createLBPHFaceRecognizer(1, 8, 8, 8, 200);
时,此错误不断发生方法。
PersonRecognizer(String path) {
faceRecognizer =
com.googlecode.javacv.cpp.opencv_contrib.createLBPHFaceRecognizer(1, 8, 8, 8, 200);
mPath = path;
labelsFile = new Labels(mPath);
}