ImageExtractor:通过网站链接提取和显示图像

时间:2021-02-26 14:08:18
【文件属性】:
文件名称:ImageExtractor:通过网站链接提取和显示图像
文件大小:1.31MB
文件格式:ZIP
更新时间:2021-02-26 14:08:18
Python 图像提取器 通过网站链接提取并显示图像。 当我们输入网站的链接时,它将过滤所有图像并一次显示一个图像。 该项目使用request,opencv,scikit-image和ipywidgets模块。 笔记: 最好在syder中运行,因为它与显示图像有关。 因此,应删除ipywidgets 。 如果没有可用的spyder,则可以按原样保留代码。 先决条件 在继续之前,请确保您满足以下要求: 您已经安装了最新版本的jupyter笔记本电脑或spyder。 您对python中的请求模块有基本的了解。 我做了什么 : 获取网站的源代码并提取图像链接。 然后我通过使用opencv模块显示图像,也可以使用枕头。 在这段代码中,我用的网站和我得到的图像的输出的网站,你可以在看到文件夹的回购。 如果发现新功能,则删除拉取请求 :sparkles: 别忘了加星 :white_medium_star: 如果您发现这很有趣。
【文件预览】:
ImageExtractor-main
----Output_images()
--------o1.png(93KB)
--------o4.png(74KB)
--------o14.png(107KB)
--------o13.png(101KB)
--------o5.png(159KB)
--------o11.png(92KB)
--------o9.png(63KB)
--------o7.png(107KB)
--------o10.png(91KB)
--------o12.png(74KB)
--------o3.png(93KB)
--------o2.png(79KB)
--------o8.png(87KB)
--------o6.png(194KB)
----LICENSE(34KB)
----Image_extractor.py(902B)
----README.md(1KB)

网友评论