points=cv2.goodFeaturesToTrack(gray,100,0.01,10) points=np.int0(points).reshape(-1,2) forpointinpoints: x, y=point.ravel() cv2.circle(img, (x, y),10, (0,255,0),-1) 連線 1 2 cv2.line(img, (0, y1), (1000, y1), (0,255,0), thickness=3, lineType=8) ...
www.dbjr.com.cn/article/2004...htm 2025-6-2