gstreamer/ext/opencv
Matthew Waters 044ed50190 opencv/facedetect: fix the build with opencv 3.1.0
- add using namespace std; for std::vector
    - use the cpp header imgproc.hpp file for the cv::ellipse function instead of
      the C header
    - Mat no longer takes IplImage in it's constructors, use the cvarrtomat()
      function instead.

    Fixes a couple of build errors:

    gstfacedetect.cpp:140:30: error: ‘vector’ does not name a type
     structure_and_message (const vector < Rect > &rectangles, const gchar * name,
                                  ^~~~~~
    gstfacedetect.cpp:140:37: error: expected ‘,’ or ‘...’ before ‘<’ token
     structure_and_message (const vector < Rect > &rectangles, const gchar * name,
                                         ^
    gstfacedetect.cpp: In function ‘void structure_and_message(int)’:
    gstfacedetect.cpp:143:13: error: ‘rectangles’ was not declared in this scope
       Rect sr = rectangles[0];

    [...]

    gstfacedetect.cpp: In function ‘void
    gst_face_detect_run_detector(GstFaceDetect*, cv::CascadeClassifier*, gint, gint,
    cv::Rect, std::vector<cv::Rect_<int> >&)’:
    gstfacedetect.cpp:562:31: error: no matching function for call to
    ‘cv::Mat::Mat(IplImage*&, cv::Rect&)’
         Mat roi (filter->cvGray, r);

    [...]

    gstfacedetect.cpp: In function ‘GstFlowReturn
    gst_face_detect_transform_ip(GstOpencvVideoFilter*, GstBuffer*, IplImage*)’:
    gstfacedetect.cpp:594:44: error: no matching function for call to
    ‘cv::Mat::Mat(cv::Mat, bool)’
         Mat mtxOrg (cv::cvarrToMat (img), false);

    [...]

    gstfacedetect.cpp:734:79: error: ‘ellipse’ was not declared in this scope
             ellipse (mtxOrg, center, axes, 0, 0, 360, Scalar (cr, cg, cb), 3, 8,
    0);
2016-05-15 12:29:07 +01:00
..
fist.xml opencv: add handdetect plugin, initial implementation 2013-03-01 00:14:54 +00:00
gstcvdilate.cpp opencv: add headers with example launch lines 2015-12-15 20:55:00 +00:00
gstcvdilate.h opencv: Change opencv plugin to use opencv2-style includes 2015-04-17 18:34:22 +02:00
gstcvdilateerode.cpp opencv: clean includes 2015-12-12 20:09:15 +00:00
gstcvdilateerode.h opencv: clean includes 2015-12-12 20:09:15 +00:00
gstcvequalizehist.cpp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstcvequalizehist.h opencv: clean includes 2015-12-12 20:09:15 +00:00
gstcverode.cpp opencv: add headers with example launch lines 2015-12-15 20:55:00 +00:00
gstcverode.h opencv: Change opencv plugin to use opencv2-style includes 2015-04-17 18:34:22 +02:00
gstcvlaplace.cpp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstcvlaplace.h opencv: add mask property to cvlaplace 2016-01-25 22:30:44 +00:00
gstcvsmooth.cpp opencv: gstcvsmooth: Ported to OpenCV version 3.1 2016-03-30 22:13:27 +01:00
gstcvsmooth.h opencv: add blur and bilateral support in cvsmooth 2015-12-17 10:15:48 +00:00
gstcvsobel.cpp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstcvsobel.h opencv: add mask property to cvsobel 2016-01-25 21:43:09 +00:00
gstdisparity.cpp opencv: disparity: Ported to OpenCV version 3.1 2016-03-30 22:12:16 +01:00
gstdisparity.h opencv: disparity: Ported to OpenCV version 3.1 2016-03-30 22:12:16 +01:00
gstedgedetect.cpp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstedgedetect.h opencv: update edgedetect to GstOpencvVideoFilter 2015-12-17 18:27:01 +00:00
gstfaceblur.cpp opencv: faceblur: Ported to OpenCV version 3.1 2016-03-30 22:13:00 +01:00
gstfaceblur.h opencv: clean includes 2015-12-12 20:09:15 +00:00
gstfacedetect.cpp opencv/facedetect: fix the build with opencv 3.1.0 2016-05-15 12:29:07 +01:00
gstfacedetect.h facedetect: remove unnecessary variable. 2015-08-21 09:28:15 +01:00
gstgrabcut.cpp opencv: grabcut: Ported to OpenCV version 3.1 2016-03-30 22:13:14 +01:00
gstgrabcut.h opencv: Change opencv plugin to use opencv2-style includes 2015-04-17 18:34:22 +02:00
gsthanddetect.cpp opencv: handdetect: Ported to OpenCV version 3.1 2016-03-30 22:12:47 +01:00
gsthanddetect.h opencv: clean includes 2015-12-12 20:09:15 +00:00
gstmotioncells.cpp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstmotioncells.h opencv: update motioncells to GstOpencvVideoFilter 2015-12-18 12:42:25 +00:00
gstopencv.cpp opencv: pyramidsegment: delete element 2016-03-30 22:52:03 +01:00
gstopencvutils.cpp opencv: Ported to OpenCV version 3.1 OpenCV 2016-03-30 22:10:58 +01:00
gstopencvutils.h opencv: remove unused functions in gstopencvutils 2015-12-12 19:31:55 +00:00
gstopencvvideofilter.cpp opencv: clean includes 2015-12-12 20:09:15 +00:00
gstopencvvideofilter.h opencv: Change opencv plugin to use opencv2-style includes 2015-04-17 18:34:22 +02:00
gstretinex.cpp opencv: retinex: Ported to OpenCV version 3.1 2016-03-30 22:12:32 +01:00
gstretinex.h opencv: clean includes 2015-12-12 20:09:15 +00:00
gstsegmentation.cpp opencv: segmentation: Ported to OpenCV version 3.1 2016-04-01 12:24:13 +01:00
gstsegmentation.h opencv: segmentation: Ported to OpenCV version 3.1 2016-04-01 12:24:13 +01:00
gstskindetect.cpp opencv: skindetect: Ported to OpenCV version 3.1 2016-03-30 22:11:49 +01:00
gstskindetect.h opencv: clean includes 2015-12-12 20:09:15 +00:00
gsttemplatematch.cpp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gsttemplatematch.h opencv: update templatematch to GstOpencvVideoFilter 2015-12-18 16:18:56 +00:00
gsttextoverlay.cpp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gsttextoverlay.h opencv: textoverlay: Ported to OpenCV version 3.1 2016-04-01 11:58:24 +01:00
Makefile.am opencv: pyramidsegment: delete element 2016-03-30 22:52:03 +01:00
MotionCells.cpp motioncells: fully construct MotionCells 2016-03-31 16:12:04 +01:00
MotionCells.h motioncells: fully construct MotionCells 2016-03-31 16:12:04 +01:00
motioncells_wrapper.cpp opencv: motioncells: Switch to C++ 2015-10-14 14:37:51 +01:00
motioncells_wrapper.h opencv: motioncells: Switch to C++ 2015-10-14 14:37:51 +01:00
palm.xml opencv: add handdetect plugin, initial implementation 2013-03-01 00:14:54 +00:00