Image Processing, Segmentation, Object Detection, Measurement, Calibration.
select_point function to a window that will capture the mouse click cv2.setMouseCallback('image', select_point) cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows() px= int(euclidean(points[0], points[1])) print("Number of pixels",px) Actual_unit = input("Enter your unit(m, mm, cm, inch):