mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Update houghcircles.py
This commit is contained in:
parent
445349dd7d
commit
4fa86dad26
@ -35,7 +35,7 @@ if __name__ == '__main__':
|
||||
for i in range(b):
|
||||
cv2.circle(cimg, (circles[0][i][0], circles[0][i][1]), circles[0][i][2], (0, 0, 255), 3, cv2.LINE_AA)
|
||||
cv2.circle(cimg, (circles[0][i][0], circles[0][i][1]), 2, (0, 255, 0), 3, cv2.LINE_AA) # draw center of circle
|
||||
|
||||
|
||||
cv2.imshow("detected circles", cimg)
|
||||
|
||||
cv2.imshow("source", src)
|
||||
|
Loading…
Reference in New Issue
Block a user