[shotwell/wip/phako/enhanced-faces: 132/136] facedetect: Clean-up includes
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/phako/enhanced-faces: 132/136] facedetect: Clean-up includes
- Date: Thu, 11 Oct 2018 09:57:41 +0000 (UTC)
commit 3c3fdfc82c708e3d3bc54ae36099793f7adc17fa
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]