Skip to main content

A python package to scrape images from Google Images.

Project description

Scrape-Google-Images

Scrape images from Google Images based on search terms given to it. This can be used to generate datasets of images for research or AI.

Install

pip3 install scrape-google-images

Example

>>> from scrape_google_images import scrape_google_images
>>> scrape_google_images(download_path="./images/", terms=["dog", "monkey", "elephant"], number_of_images=25, thread_count=3, resolution=[None, None], log=False)

DownloadPath: The path to an empty directory where the images will be downloaded to.

Terms: The search terms that it will use to get the images.

NumberOfImages: The number of images for to it will try scrape for each term.

ThreadCount: The amount of threads used to run the program.

Resolution: Set the Resolution of the images that will be downloaded. If you do not want to rescale them, put null as shown above. If either Width or Height is set to None, the image will not be rescaled

log: Print logs/debugs to see what the program is doing.

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

scrape_google_images-1.0.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scrape_google_images-1.0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file scrape_google_images-1.0.2.tar.gz.

File metadata

  • Download URL: scrape_google_images-1.0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for scrape_google_images-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2d443402ea051d18ebe0b69ac2b0f51ea8ae114b15b1b54def9f76b15b21dcb6
MD5 39a7bf80592a55e76610644e2aaeeb33
BLAKE2b-256 79a5601f24b99c8e533b7da553446fca86b74c7f33839de7f8eafb76326df94f

See more details on using hashes here.

File details

Details for the file scrape_google_images-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for scrape_google_images-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a4bfc45f101171e55a3a854d89d4d43242428c62722bdf9b78d553f96fa0a0a
MD5 240eb8846b487538cd60dcb5e484ea22
BLAKE2b-256 93911da296d6a7e95db81af7342d13aaba2032e45ddcb0e8d4022a383c3fb21f

See more details on using hashes here.

Supported by

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