To get the image shape or size, use ndarray.shape to get the dimensions of ... import numpy as np image=np.array(image) print(image.shape).
確定! 回上一頁