Skip to main content

imagescv

Download images.cv datasets in one line.

pip install imagescv

Free. Create an API key at https://images.cv/dashboard/api-keys (up to 25 dataset downloads per day per account).

import imagescv
imagescv.login("icv_...")                 # or set IMAGESCV_API_KEY

imagescv.search("firetruck")              # [{"name": "firetruck", "images": 562, ...}]
imagescv.info("firetruck")                # dataset card: images, classes, license, sources

ds = imagescv.load(
    "firetruck",
    size="size_128",                      # nochange, size_16, size_32, size_64, size_128, size_256
    color="gray",                         # color or gray
    augmentations=["rotate", "hflip"],    # see imagescv.AUGMENTATIONS
    augmentation_percent=30,              # share of images augmented
    split=(0.7, 0.2, 0.1),                # train / val / test
    download_path="data",                 # optional; default is the current folder
)
print(ds)                                 # images, classes, splits
train = ds.to_torch("train")              # needs: pip install imagescv[torch]

Datasets download into the current directory, in a folder like firetruck_size_128_color_70-20/ that contains data/train|val|test/<class>/ and meta.json (also available as ds.meta). Pass download_path="D:/data" to choose another folder. Asking again for the same options reuses the folder instead of downloading again (force=True re-downloads). Dataset licenses vary; info()["license"] is "Unknown" when a source has none on file.

Metadata

Release files for imagescv 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imagescv 0.1.0
File Size Uploaded Provenance
imagescv-0.1.0.tar.gz 10.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for imagescv 0.1.0
File Interpreter ABI Platform
imagescv-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.3 kB

Release files / imagescv-0.1.0.tar.gz

Download URL imagescv-0.1.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2242e8d65453fe3d05d8514e596f507429734e3abdd73bc19c0089612c8068d6
BLAKE2b-256 checksum
How to use checksums
acaecf5f513e9e625c5048d95c182dca59cef6430b6af8746181c4d8a389f73c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / imagescv-0.1.0-py3-none-any.whl

Download URL imagescv-0.1.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f09d161db94c1e607c1a89518a9345302836ad5485b28ed0bd88106d338eebfe
BLAKE2b-256 checksum
How to use checksums
bfd81261a71dfea889b21c981eae29efc1ff7d401d9a68795a76d54a3df19723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for imagescv 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page