[shotwell/wip/phako/enhanced-faces: 12/17] facedetect: Clean-up includes



commit 29bc5003155e7b36c993e7ea5bceae0d054747e1
Author: Jens Georg <mail jensge org>
Date:   Thu Oct 11 10:53:13 2018 +0200

    facedetect: Clean-up includes

 subprojects/shotwell-facedetect/facedetect-opencv.cpp   | 2 ++
 subprojects/shotwell-facedetect/shotwell-facedetect.hpp | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/subprojects/shotwell-facedetect/facedetect-opencv.cpp 
b/subprojects/shotwell-facedetect/facedetect-opencv.cpp
index 07722a19..1eff969a 100644
--- a/subprojects/shotwell-facedetect/facedetect-opencv.cpp
+++ b/subprojects/shotwell-facedetect/facedetect-opencv.cpp
@@ -1,5 +1,7 @@
 #include "shotwell-facedetect.hpp"
 
+#include <opencv2/imgcodecs.hpp>
+
 #define OPENFACE_RECOG_TORCH_NET "openface.nn4.small2.v1.t7"
 #define RESNET_DETECT_CAFFE_NET "res10_300x300_ssd_iter_140000_fp16.caffemodel"
 
diff --git a/subprojects/shotwell-facedetect/shotwell-facedetect.hpp 
b/subprojects/shotwell-facedetect/shotwell-facedetect.hpp
index 2d167622..688a1012 100644
--- a/subprojects/shotwell-facedetect/shotwell-facedetect.hpp
+++ b/subprojects/shotwell-facedetect/shotwell-facedetect.hpp
@@ -9,7 +9,6 @@
 
 #include <opencv2/core/core.hpp>
 #include <opencv2/objdetect/objdetect.hpp>
-#include <opencv2/highgui/highgui.hpp>
 #include <opencv2/imgproc/imgproc.hpp>
 #ifdef HAS_OPENCV_DNN
 #include <opencv2/dnn.hpp>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]