Image Processing, Segmentation, Object Detection, Measurement, Calibration.
to user. We will fetch first click coordinates of mouse [X1, Y1] and then second click coordinates of mouse [X2, Y2]. Now we know the pixel co-ordinates from which we can find distance. There can be chance that the line might not be straight. So in such cases, Euclidian distance will be perfect