cv2 与 matplotlib 的 Bug 记录

cv2 的 imread 无法读取中文路径

解决方案:

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

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

posted @ 2018-11-25 22:34  xinet  阅读(182)  评论(0编辑  收藏  举报