__init__.py 文件源码

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

项目:rubiks-cube-tracker 作者: dwalton76 项目源码 文件源码
def draw_circles(self):
        """
        Draw a circle for each contour in self.candidates
        """

        # Just false positives
        if len(self.candidates) < 4:
            return

        for con in self.candidates:
            if con.width:
                cv2.circle(self.image,
                           (con.cX, con.cY),
                           int(con.width/2),
                           (255, 255, 255),
                           2)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号