Coder Social home page Coder Social logo

imagedl's Introduction

Imagadl - Image Scrapper from search Engine

This small project is for downloading google tons of google images, with a few clicks. Speciality of this project is, you can search google with both

  1. Text
  2. Images

Yes! Reverse image search(searching by an image) is also included here. So, lets see how this works. First clone this package in apropriate folder using the terminal,

git clone https://github.com/sawradip/imagedl.git

Open that folder in your IDE.Then install the dependencies.

pip install -r requirements.txt

After installation, you can open the script try.py.This is the simplest way to use those modules for now.

Now uncomment either of the block. block 1 downloads the image by text search, and block 2 downloads searching by image.

Block1

Here you can provide the text search_text that you want to search , number of images n_images to download, and the name of the folder save_folder you want the images to be in.

Block 2

Here you can provide path of an image in search_image that you want similar images of, number of images n_images to download, and the name of the folder save_folder you want the images to be in.

Additional Features

If you have checked, you should have found information (Captions, width, height) of all the images, in img_info.txt located inside the newly created folder.

  • If you want to see what is actually hapeing withing the program, you can make headless = False .
  • If you want the image informations in csv file , you just have to add an additional argument to_csv = True , with the headless argument.
  • If you want to get the download links of the images in the terminal,you can add another argument show_links= True.

For now, I am not sure if it would work in colab, or other jupyter notebook. I would prefer, you run it with an IDE , like VSCode.

imagedl's People

Contributors

sawradip avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.