
An error as shown in figure

Have tried to use directly cv2. Imread (path, 0) read a greyscale image, shape and I read numpy array, using cvtcolor can normal use, don't know where is the reason, strives for the leaders of all stripes help me have a look