OpenCV imread返回 NoneType 路径改为中文可解决 import cv2 color_img=cv2.imread('D:\python\Opencv\路牌2.jpg')##not chinese,if the path contain chinese will return NoneType print(color_img.shape)