Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

Circle not appearing on my image.

$
0
0
Hey guys, im tried drawing a circle on the midpoint of my line but there's no circle. It created a gap between the lines instead. Please advice thanks! ![image description](/upfiles/15145410017213438.jpg) #below the code i used. M = cv2.moments(ske) centroid_x = int(M['m10']/M['m00']) centroid_y = int(M['m01']/M['m00']) cv2.circle(ske,(centroid_x,centroid_y), 5, (0,0,255), -1)

Viewing all articles
Browse latest Browse all 2088

Trending Articles