ndarray转PIL

image = Image.fromarray(cv2.cvtColor(image, cv2.COLOR_BGR2RGB))
原文地址:https://www.cnblogs.com/ziytong/p/14894742.html