
上QQ阅读APP看书,第一时间看更新
How it works...
- The plt.imread() method reads the image into an array of pixels.
- The plt.imshow() method displays the image on the screen.
- image.shape gives the dimensions of the list into which the image was read.
- print() displays the dimensions of the image on the screen.