SOLVED – (Unsupported format or combination of formats) The mask must be 8-bit 1-channel image in function

Getting an error like this?


Convert your image to grayscale first

gray_mask = cv2.cvtColor(mask, cv2.COLOR_BGR2GRAY)

Mammoth Interactive Favicon

Why you NEED to take this course :

Get in Touch.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.