摘要: import numpy as npimport cv2 as cvimg=np.zeros((400,410),np.uint8)points=np.random.randint(100,400,(20,2),np.int32)c = cv.convexHull(points) # 此函数包含所有points点,且为3维矩阵【n,1,2】print(c.shape)# print(c)for i 阅读全文
posted @ 2019-10-21 23:18 tangjunjun 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 在图像上划矩形 阅读全文
posted @ 2019-10-21 22:42 tangjunjun 阅读(1173) 评论(0) 推荐(0) 编辑
https://rpc.cnblogs.com/metaweblog/tangjunjun