Commit 253e1fc3 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1615 from berak:face_fix_lbf

parents 383a0061 eebc869b
......@@ -466,7 +466,7 @@ Rect FacemarkLBFImpl::getBBox(Mat &img, const Mat_<double> shape) {
if(!faceDetector){
defaultFaceDetector(img, rects);
}else{
faceDetector(img, rects,0);
faceDetector(img, rects, faceDetectorData);
}
if (rects.size() == 0) return Rect(-1, -1, -1, -1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment