def draw_circle(img, radius, x, y):
"""
Render circle
:param img : Canvas
:param radius : Radius of the circle
:param x : (x, y) is the center of the circle graph on the canvas
:param y : (x, y) is the center of the circle graph on the canvas
"""
############################################################
# Write your code here! #
############################################################
cv2.circle(img, (x, y), radius, (20, 215, 20), radius)
############################################################
# End #
############################################################
评论列表
文章目录