reference_surface.py 文件源码

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

项目:esys-pbi 作者: fsxfreak 项目源码 文件源码
def img_to_ref_surface(self,pos):
        #convenience lines to allow 'simple' vectors (x,y) to be used
        shape = pos.shape
        pos.shape = (-1,1,2)
        new_pos = cv2.perspectiveTransform(pos,self.m_from_screen )
        new_pos.shape = shape
        return new_pos
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号