diff options
Diffstat (limited to 'pix_opencv_contours_boundingrect.cc')
-rw-r--r-- | pix_opencv_contours_boundingrect.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pix_opencv_contours_boundingrect.cc b/pix_opencv_contours_boundingrect.cc index 42b978c..3004386 100644 --- a/pix_opencv_contours_boundingrect.cc +++ b/pix_opencv_contours_boundingrect.cc @@ -211,7 +211,7 @@ void pix_opencv_contours_boundingrect :: processRGBAImage(imageStruct &image) { cvRectangle( orig, cvPoint(rect.x,rect.y), cvPoint(rect.x+rect.width,rect.y+rect.height), CV_RGB(255,0,0), 2, 8 , 0 ); sprintf( tindex, "%d", oi ); - cvPutText( orig, tindex, cvPoint(x_xmark[oi],x_ymark[oi]), &font, CV_RGB(255,0,0)); + cvPutText( orig, tindex, cvPoint(x_xmark[oi],x_ymark[oi]), &font, CV_RGB(255,0,255)); } if ( x_show ) @@ -359,7 +359,7 @@ void pix_opencv_contours_boundingrect :: processRGBImage(imageStruct &image) { cvRectangle( rgb, cvPoint(rect.x,rect.y), cvPoint(rect.x+rect.width,rect.y+rect.height), CV_RGB(255,0,0), 2, 8 , 0 ); sprintf( tindex, "%d", oi ); - cvPutText( rgb, tindex, cvPoint(x_xmark[oi],x_ymark[oi]), &font, CV_RGB(255,0,0)); + cvPutText( rgb, tindex, cvPoint(x_xmark[oi],x_ymark[oi]), &font, CV_RGB(255,0,255)); } if ( x_show ) |