【py】cv读取带有中文的路径

import numpy as np
import cv2
img = cv2.imdecode(np.fromfile(image_file, dtype=np.uint8), 1)

你可能感兴趣的:(python)