0
是否有可能使用scipy misc从web url中读取图像,或者我是否有义务将图像保存在网页中,然后将其读取并删除?我找不到一个优雅的解决方案。scipy misc从网址urlread
from scipy.misc import imread
url = 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRtUPjSSDzevfy47QqVpd8v2Nrt49QNIXeAfE9ntEwYKJtnDZabwg'
img = imread(url, mode='RGB')