--- digikam-6.4.0/core/libs/facesengine/detection/opencvfacedetector.cpp.old 2019-11-03 09:04:00.000000000 +0000 +++ digikam-6.4.0/core/libs/facesengine/detection/opencvfacedetector.cpp 2020-02-08 12:43:42.707340488 +0000 @@ -166,7 +166,7 @@ * of the region of interest of this cascade (still relative to whole image). * For frontal face cascades, returns the given parameter unchanged. */ - cv::Rect faceROI(const CvRect& faceRect) const + cv::Rect faceROI(const cv::Rect& faceRect) const { return cv::Rect(lround(faceRect.x + roi.x() * faceRect.width), lround(faceRect.y + roi.y() * faceRect.height),