Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Generating variations on image data

import matplotlib.pyplot as plt #jyare bi kai display
import matplotlib.image as img   #for reading image and displaying its numerical values.

photo = img.imread("/content/drive/My Drive/Google Photos/2016/b16e4e73-5812-41f9-8c6f-f8ef09432d99")
print(photo.shape)   #in output: *3 for rgb 
print(photo.size)
plt.imshow(photo)
plt.show()
print(photo)
Source by kadamjay.rf.gd #
 
PREVIOUS NEXT
Tagged: #Generating #variations #image #data
ADD COMMENT
Topic
Name
2+9 =