cv2 与 matplotlib 的 Bug 记录

cv2 的 imread 无法读取中文路径

解决方案:

img = cv2.imdecode(np.fromfile(image_path,dtype=np.uint8),cv2.IMREAD_COLOR) # 解决无法取得中文路径问题

matplotlib 无法读取 PNG 图片的 bug 已经解决

原文地址:https://www.cnblogs.com/q735613050/p/10017898.html