# jmd_imagescraper
> An image scraping library for creating deep learning datasets.
This library is for creating deep learning datasets.
It uses DuckDuckGo for the image scraping as they return nice big images and have some rather nice parameters to make your life easier, for example we can filter the searches to only return square images which are photos.
`jmd_imagescraper.core` contains the main scraping/downloading functionality.
`jmd_imagescraper.imagecleaner` contains an image cleaner you can use from within your notebook to clean up the results and delete anything unsuitable.
## Install
`pip install jmd_imagescraper`
## How to use
```python
from jmd_imagescraper.core import * # dont't worry, it's designed to work with import *
from pathlib import Path
root = Path().cwd()/"images"
duckduckgo_search(root, "Cats", "cute kittens", max_results=20)
```
```python
from jmd_imagescraper.imagecleaner import *
display_image_cleaner(root)
```
![](image_cleaner.jpg)
## Docs
If you're reading this on pypi.org you can find the docs at https://joedockrill.github.io/jmd_imagescraper/
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
最新资源
- C语言-leetcode题解之28-implement-strstr.c
- C语言-leetcode题解之27-remove-element.c
- C语言-leetcode题解之26-remove-duplicates-from-sorted-array.c
- C语言-leetcode题解之24-swap-nodes-in-pairs.c
- C语言-leetcode题解之22-generate-parentheses.c
- C语言-leetcode题解之21-merge-two-sorted-lists.c
- java-leetcode题解之Online Stock Span.java
- java-leetcode题解之Online Majority Element In Subarray.java
- java-leetcode题解之Odd Even Jump.java
- 计算机毕业设计:python+爬虫+cnki网站爬
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈