python opencv read image with with Chinese character
example
import cv2
import numpy as np
ff = "D:\\数据dog.jpg"
img = cv2.imdecode(np.fromfile(file=ff, dtype=np.uint8), -1)
print(img.shape)
import cv2
import numpy as np
ff = "D:\\数据dog.jpg"
img = cv2.imdecode(np.fromfile(file=ff, dtype=np.uint8), -1)
print(img.shape)