Metadata-Version: 2.1
Name: scrape_google_images
Version: 1.0.2
Summary: A python package to scrape images from Google Images.
Author-email: Ritik Pradhan <pradhanr@mailfence.com>
Project-URL: Homepage, https://github.com/pradhan-ritik/Scrape-Google-Images
Project-URL: Issues, https://github.com/pradhan-ritik/Scrape-Google-Images/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pillow
Requires-Dist: requests

# 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
```bash
pip3 install scrape-google-images
```
# Example
```py
>>> 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.
