I have these following logos:
And I want to turn them gray using this function:
def to_grayscale(path): return Image.fromarray(cv2.imre