摘要: import cv2 import numpy as np from PIL import Image img = cv2.imread("path/to/img.png") # You may need to convert the color. img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) im_pil = Image.fromarray(img)... 阅读全文
posted @ 2017-08-21 14:20 牧马人夏峥 阅读(258) 评论(0) 推荐(0) 编辑