aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pix_opencv_contours.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/pix_opencv_contours.cc b/pix_opencv_contours.cc
index 85d6ea4..3c5124f 100644
--- a/pix_opencv_contours.cc
+++ b/pix_opencv_contours.cc
@@ -188,13 +188,12 @@ void pix_opencv_contours :: processGrayImage(imageStruct &image)
count++;
}
}
-
- if ( !m_taboutput ){
SETFLOAT(info, (float) count);
if (count) outlet_anything(m_dataout_right, gensym("info"), count*20+2, info);
else outlet_float(m_dataout_right, 0);
+ if ( !m_taboutput ){
for( size_t i = 0 ; i < m_contours.size() ; i++ )
{
if (!m_contours[i].empty() && m_contours[i].size() > 2) {