摘要: 在python中, cv2.polylines和cv2.fillpoly对于参数pts的要求是一致的,而在c++中是不一致的。 python中,传参方式为: image = np.zeros(512, 512, np.uint8) pts = [] pts.append([x, y]) # 添加顶点 阅读全文
posted @ 2021-07-09 16:34 DreiHunde 阅读(4797) 评论(0) 推荐(1)