How to read images into a script without using using imageio or scikit image?
Solution 1:
With matplotlib you can use (as shown in the matplotlib documentation)
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img=mpimg.imread('image_name.png')
And plot the image if you want
imgplot = plt.imshow(img)
Solution 2:
You can also use Pillow like this:
from PIL import Image
image = Image.open("image_path.jpg")
image.show()