aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_contours.cc
diff options
context:
space:
mode:
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) {