/Scrapster

Scrape images from google and create your own training dataset

Primary LanguagePython

 

Scrape images from google and create your own training dataset

Installation

  1. Fork the Project
  2. Clone your forked repository on your host machine
  git clone <your-forked-repository.git>
  cd Scrapster
  1. To install the dependencies and packages on your host machine
pip install -r requirements.txt
  1. Install chromedriver
  • Ensure you have the appropriate version of ChromeDriver on your machine if you would like to scrape from Google Images.

Edit your desired parameters in main.py

On Linux

  PATH = "/home/sai/chromedriver"   # path to chromedriver
  LIMIT = 100                       # how much images you want to download
  query = "solar panels"              # keyword you want to search for

On Windows

  PATH = "path/to/chromedriver.exe"   # path to chromedriver
  LIMIT = 100        # how much images you want to download
  query = "solar panels" # keyword you want to search for

Run the program

  python main.py