Image Processing, Segmentation, Object Detection, Measurement, Calibration.
points.append((x,y)) print('Starting: {}, Ending: {}'.format(points[0], points[1])) # Draw line cv2.line(img, points[0], points[1], (36,255,12), 2) cv2.imshow("image", img) points=[] img = cv2.imread(r"Your image path") img = cv2.resize(img, (1960, 1000)) cv2.namedWindow('image') # bind