79091499

Date: 2024-10-15 19:38:21
Score: 1
Natty:
Report link

import numpy as np from PIL import Image

for curr_im in f.readlines(): # Loop through file with names of image files
    print(curr_im) #print name of image file

    with Image.open(os.path.join)https://imagizer.imageshack.com/img585/8488/bugoo.jpg) as z:
        z.show() # Show image

        zz=np.asarray(z)
        print(zz.max(), zz.min(), zz.dtype, zz.shape) # Verify something has been read
        x=input("Pause") 
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user27819885