summaryrefslogblamecommitdiff
path: root/user/digikam/opencv42.patch
blob: d4d80a85fd8e2a6d1144d3d0660d637d7e26d7dc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                   
--- 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),