video.py 文件源码

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

项目:Image-Processing-and-Feature-Detection 作者: amita-kapoor 项目源码 文件源码
def draw_quads(self, img, quads, color = (0, 255, 0)):
        img_quads = cv2.projectPoints(quads.reshape(-1, 3), self.rvec, self.tvec, self.K, self.dist_coef) [0]
        img_quads.shape = quads.shape[:2] + (2,)
        for q in img_quads:
            cv2.fillConvexPoly(img, np.int32(q*4), color, cv2.LINE_AA, shift=2)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号