原始图
角点检测
points = cv2.goodFeaturesToTrack(gray, 100, 0.01, 10)
points = np.int0(points).reshape(-1,2)
for point in points:
x, y = point.ravel()
cv2.circle(img, (x, y), 10, (0, 255, 0), -1)
连线
cv2.line(img, (0, y1), (1000, y1), (0, 255, 0), thickness=3, lineType=8)
cv2.line(img, (0, y2), (100
2022-05-21 17:06:24
42KB
c
nc
op
1