Code Monkey home page Code Monkey logo

image-scrapping's Introduction

#Easy way

Image-Scrapping for Classification Project

A Python-based project for scraping images and organizing them for a classification project.

Table of Contents

Installation

Prerequisite Download the Chrome WebDriver from the following website: WebDriver Repository.

Using Python

Step 1: Clone the repo

git clone https://github.com/centaurusgod/Image-Scrapping.git

Step 2: Change directory to the root folder

cd Image-Scrapping

Step 3: Install necessary dependencies

pip install -r requirements.txt

Using Anaconda

Step 1: Clone the repo

git clone https://github.com/centaurusgod/Image-Scrapping.git

Step 2: Change directory to the root folder

cd Image-Scrapping

Step 3: Create a virtual environment (For example "conda create --name my_environment). You can provide any name that you like.

conda create --name your_environment_name

Step 4: Activate the virtual environment

conda activate your_environment_name

Step 5: Install necessary dependencies

conda install --file requirements.txt

Usage

How to run? Simply run the following command either in you python or Conda environment.

python scrapper.py

Step 1: Go to Google & search the image you want to scrap. Google

Step 2: Click on Image section of the search and copy the URL from the address bar Google

Step 3: Paste the copied URL in the URL textbox of application Application

Step 4: Input the number of images you want to scrap & Select the directory you want to save the Images

Step 5:(Very Important) Click on "Select WebDriver". It will open a fial dialog box. Go to the folder you have downloaded and extracted the webdriver from the website mentioned above in "Prerequisite" section. Click and select the webdriver application and click open. Application

Step 6: Click "Start Download"

It will take a while to download images. You can go to the folder that you selected and see the images being updated there. Let it run in background and finish its job.

Acknowledgments

Thank you @dearcutie Nirajan Poudel for the initiation of this script.

Contact

Email: [email protected]

image-scrapping's People

Contributors

centaurusgod avatar nirajan17 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.