NNVis.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:MLPractices 作者: carefree0910 项目源码 文件源码
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                            #
    ############################################################
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号