![]() To plot the imported image, a solution is to use imshow: plt.imshow(img) plt.show() Note: print( type(img) ) print( img.shape )Īnd (1280, 850, 3) Plot the image with matploitlib To import an image in python, it is possible to use matplotlib:: from matplotlib import image img = image.imread("eiffel-tower.jpeg") Example of application: create an animated image (gif).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |