mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
044ed50190
- 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); |
||
---|---|---|
.. | ||
fist.xml | ||
gstcvdilate.cpp | ||
gstcvdilate.h | ||
gstcvdilateerode.cpp | ||
gstcvdilateerode.h | ||
gstcvequalizehist.cpp | ||
gstcvequalizehist.h | ||
gstcverode.cpp | ||
gstcverode.h | ||
gstcvlaplace.cpp | ||
gstcvlaplace.h | ||
gstcvsmooth.cpp | ||
gstcvsmooth.h | ||
gstcvsobel.cpp | ||
gstcvsobel.h | ||
gstdisparity.cpp | ||
gstdisparity.h | ||
gstedgedetect.cpp | ||
gstedgedetect.h | ||
gstfaceblur.cpp | ||
gstfaceblur.h | ||
gstfacedetect.cpp | ||
gstfacedetect.h | ||
gstgrabcut.cpp | ||
gstgrabcut.h | ||
gsthanddetect.cpp | ||
gsthanddetect.h | ||
gstmotioncells.cpp | ||
gstmotioncells.h | ||
gstopencv.cpp | ||
gstopencvutils.cpp | ||
gstopencvutils.h | ||
gstopencvvideofilter.cpp | ||
gstopencvvideofilter.h | ||
gstretinex.cpp | ||
gstretinex.h | ||
gstsegmentation.cpp | ||
gstsegmentation.h | ||
gstskindetect.cpp | ||
gstskindetect.h | ||
gsttemplatematch.cpp | ||
gsttemplatematch.h | ||
gsttextoverlay.cpp | ||
gsttextoverlay.h | ||
Makefile.am | ||
MotionCells.cpp | ||
MotionCells.h | ||
motioncells_wrapper.cpp | ||
motioncells_wrapper.h | ||
palm.xml |