Metadata-Version: 2.1
Name: jmd-imagescraper
Version: 1.0.2
Summary: Image scraper for DuckDuckGo for creating deep learning datasets
Home-page: https://github.com/joedockrill/jmd_imagescraper/tree/master/
Author: Joe Dockrill
Author-email: joedockrill@gmail.com
License: Apache Software License 2.0
Keywords: image scraper deep learning dataset
Platform: UNKNOWN
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: Pillow
Requires-Dist: bs4
Requires-Dist: fastprogress
Requires-Dist: ipywidgets
Requires-Dist: pandas
Requires-Dist: pathlib
Requires-Dist: requests

# 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/

## History

```
20/09/2020 add: PR from @butchland, add uuid to filenames, fix for users of fastai.vision.widgets.ImageClassifierCleaner
18/09/2020 rel: version 1 released as pypi package

```


