Skip to main content

Get samples from a picture

Project description

Get samples from a picture

$pip install get-random-samples-of-picture
from get_random_samples_of_picture import get_random_samples

samples = get_random_samples(
    "https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000001.png", # Allowed image formats: url/path/buffer/base64/PIL/np
    width=100,
    heigth=200,
    samples=10,
    save_folder="f:\\samples_from_pic", # will be ignored if None
    prefix="papag_",  # will be ignored if save_folder=None
    zfill=8,  # will be ignored if save_folder=None
)

Original

Samples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

get_random_samples_of_picture-0.10.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page