Step 2: Convert the image to HSV