aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 438d947..2697fcb 100644
--- a/pix_opencv_contours.cc
+++ b/pix_opencv_contours.cc
@@ -116,7 +116,7 @@ void pix_opencv_contours :: processGrayImage(imageStruct &image)
SETFLOAT(info+info_offset+11, rot_rect.size.width/image.xsize);
SETFLOAT(info+info_offset+12, rot_rect.size.height/image.xsize);
SETFLOAT(info+info_offset+13, rot_rect.angle);
- SETFLOAT(info+info_offset+14, it->size()/2); // number of points in segment
+ SETFLOAT(info+info_offset+14, it->size()); // number of points in segment
SETFLOAT(info+info_offset+15, 0);
SETFLOAT(info+info_offset+16, 0);
SETFLOAT(info+info_offset+17, 0);