python读取图片的方法:可利用PIL中的Image函数,这个函数读取出来不是array格式,这时候需要用 np.asarray(im) 或者np.array()函数,或者利用matplotlib.pyplot as plt用于显示图片。
技术文章 / 下载软件趣味内容 / 专业带飞