Getting an error like this? Solution Convert your image to grayscale first gray_mask = cv2.cvtColor(mask, cv2.COLOR_BGR2GRAY)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
support@mammothinteractive.com