This project consists of two Python files (pg_main.py
and new.py
) for downloading images from Google based on user input. It uses the selenium
library to scrape images and the tkinter
library for the graphical user interface (GUI). The program allows users to search for images by entering keywords, specify the number of images to download, and choose a folder to save the images.
- Image Search: Allows users to search for images using keywords.
- GUI Interface: Built using
tkinter
for an easy-to-use interface to interact with the program. - Image Downloader: Downloads images from Google Images using
selenium
. - Save to Folder: Users can choose a directory where images will be saved.
- Supports Multiple Queries: You can enter multiple keywords to search for different images.
To run the project, you need to install the following dependencies:
- Selenium: For web scraping images.
- Pillow: For handling images.
- Tkinter: For GUI interface.
You can install the required packages using pip
:
pip install selenium Pillow