How to read image from numpy array into PIL Image?

前端 未结 3 595
心在旅途
心在旅途 2021-01-17 22:38

I am trying to read an image from a numpy array using PIL, by doing the following:

from PIL import Image
import numpy as np
#img is a np array with shape (3,         


        
3条回答
提交回复
热议问题