I want to calculate the distance between two pixels. I converted the input image in HSV:
image = cv2.imread(\'img.jpg\') HSV_img = cv2.cvtColor(image, cv2