apriltag.py 文件源码

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

项目:prototype 作者: chutsu 项目源码 文件源码
def draw_id(self, img):
        # tag_width_px = self.p[0][0] - self.p[1][0]

        text = str(self.id)
        center = (int(self.c[0] - 15), int(self.c[1]))
        font = cv2.FONT_HERSHEY_DUPLEX
        color = (0, 255, 0)
        thickness = 2
        cv2.putText(img, text, center, font, 0.7, color, thickness)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号