本文共 184 字,大约阅读时间需要 1 分钟。
如题。
Image.fromarray(your numpy array)
报以上错误
import numpy as npImage.fromarray(np.uint8(your numpy array))
即可.
转载地址:http://mrzai.baihongyu.com/