summaryrefslogtreecommitdiff
path: root/ext/opencv/gstfacedetect.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opencv/gstfacedetect.h')
-rw-r--r--ext/opencv/gstfacedetect.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/opencv/gstfacedetect.h b/ext/opencv/gstfacedetect.h
index 52128e5cc..e718844ce 100644
--- a/ext/opencv/gstfacedetect.h
+++ b/ext/opencv/gstfacedetect.h
@@ -5,6 +5,7 @@
* Copyright (C) 2008 Michael Sheldon <mike@mikeasoft.com>
* Copyright (C) 2011 Stefan Sauer <ensonic@users.sf.net>
* Copyright (C) 2011 Robert Jobbagy <jobbagy.robert@gmail.com>
+ * Copyright (C) 2018 Nicola Murino <nicola.murino@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -50,8 +51,6 @@
#include <gst/gst.h>
#include <gst/opencv/gstopencvvideofilter.h>
-
-#include <opencv2/core.hpp>
#include <opencv2/objdetect.hpp>
G_BEGIN_DECLS
@@ -104,7 +103,7 @@ struct _GstFaceDetect
gint min_stddev;
gint updates;
- IplImage *cvGray;
+ cv::Mat cvGray;
cv::CascadeClassifier *cvFaceDetect;
cv::CascadeClassifier *cvNoseDetect;
cv::CascadeClassifier *cvMouthDetect;