aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_contours.cc
diff options
context:
space:
mode:
authorAntoine Villeret <avilleret@users.sourceforge.net>2012-12-19 07:50:32 +0000
committerAntoine Villeret <avilleret@users.sourceforge.net>2012-12-19 07:50:32 +0000
commitd8a6537813878b9f6d74b4c1ebfaaa219291fc3c (patch)
tree24062397d8c10e3139720dab360247405f31cf7f /pix_opencv_contours.cc
parentab713f07610a223600d964ccc1a9c72c99b111ac (diff)
fix extension for pix_opencv_matchshape and pix_opencv_contours
svn path=/trunk/externals/pix_opencv/; revision=16700
Diffstat (limited to 'pix_opencv_contours.cc')
-rw-r--r--pix_opencv_contours.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pix_opencv_contours.cc b/pix_opencv_contours.cc
index 842cbf2..7c0bdc0 100644
--- a/pix_opencv_contours.cc
+++ b/pix_opencv_contours.cc
@@ -123,7 +123,7 @@ void pix_opencv_contours :: processGrayImage(imageStruct &image)
}
SETFLOAT(info, (float) count);
if (count) outlet_anything(m_dataout_right, gensym("info"), count*14+2, info);
- else outlet_list(m_dataout_right, gensym("info"), 1, 0);
+ else outlet_float(m_dataout_right, 0);
for( std::vector<std::vector<cv::Point> >::iterator it = m_contours.begin(); it != m_contours.end(); ++it ) {
if (!it->empty() && it->size() > 2) {