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
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)
from jmd_imagescraper.imagecleaner import *
display_image_cleaner(root)
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
Metadata
Release files for jmd-imagescraper 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jmd_imagescraper-1.0.2.tar.gz | 13.9 kB | Without provenance | Details for jmd_imagescraper-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jmd_imagescraper-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for jmd_imagescraper-1.0.2-py3-none-any.whl |
Total release size: 26.6 kB
Release files / jmd_imagescraper-1.0.2.tar.gz
| Download URL | jmd_imagescraper-1.0.2.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1a8f203d05f4760a7da8022a47b8f59ac90a047c5e317aea890fbd57c01451e
|
|
BLAKE2b-256 checksum How to use checksums |
7ca2192410f91f4ff9ae29ee007fdb79439e9d3e3d509dc5eee72f3aa2978964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|
Release files / jmd_imagescraper-1.0.2-py3-none-any.whl
| Download URL | jmd_imagescraper-1.0.2-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6339693866bbc554bb399602aca49c85c19bf7d6b93fac6ded4dff2c06eefb9
|
|
BLAKE2b-256 checksum How to use checksums |
c680b84f3cbce8a7f0491a16e8dc7d7b671539223c6ad686b21e4c26c353847f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|
Security for jmd-imagescraper 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.