Image Processing, Segmentation, Object Detection, Measurement, Calibration.
select_point(event,x,y,flags,param): # Record starting (x,y) coordinates on left mouse button click if event == cv2.EVENT_LBUTTONDOWN: ix,iy = x,y print(ix, iy) points.append([ix, iy]) # Record ending (x,y) coordintes on left mouse bottom release elif event == cv2.EVENT_LBUTTONUP: