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.
Release files for scrape-google-images 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 | |
|---|---|---|---|
| scrape_google_images-1.0.2.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scrape_google_images-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:8.2 kB
Release files / scrape_google_images-1.0.2.tar.gz
| Download URL | scrape_google_images-1.0.2.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d443402ea051d18ebe0b69ac2b0f51ea8ae114b15b1b54def9f76b15b21dcb6
|
|
BLAKE2b-256 checksum How to use checksums |
79a5601f24b99c8e533b7da553446fca86b74c7f33839de7f8eafb76326df94f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / scrape_google_images-1.0.2-py3-none-any.whl
| Download URL | scrape_google_images-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a4bfc45f101171e55a3a854d89d4d43242428c62722bdf9b78d553f96fa0a0a
|
|
BLAKE2b-256 checksum How to use checksums |
93911da296d6a7e95db81af7342d13aaba2032e45ddcb0e8d4022a383c3fb21f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|