Reading images in python

前端 未结 9 2009
北海茫月
北海茫月 2021-02-03 19:59

I am trying to read a png image in python. The imread function in scipy is being deprecated and they recommend using imageio

9条回答
  •  暖寄归人
    2021-02-03 20:25

    If you just want to read an image in Python using the specified libraries only, I will go with matplotlib

    In matplotlib :

    import matplotlib.image
    read_img = matplotlib.image.imread('your_image.png')
    

提交回复
热议问题