路径中存在中文cv2.imread无法读取 import cv2 import numpy as np img_path='' img=cv2.imdecode(np.fromfile((img_path),dtype=np.uint8),-1) # 另一种方法 from PIL import image img_path='' img=image.open(img_path)