Skip to content

πŸ–ΌοΈ A Python tool to automatically crawl and download images from Google Images using keywords. Ideal for building datasets or conducting visual research.

License

Notifications You must be signed in to change notification settings

ty70/google-image-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Image Collection Script Using GoogleImageCrawler

This script uses the GoogleImageCrawler from the Python library icrawler to automatically download images from Google Images based on specified keywords.


πŸ”§ Requirements

  • Python 3.6 or higher
  • icrawler package

Installation

pip install icrawler

πŸš€ Usage

  1. Run from the command line:
python scripts/crawler.py --input_word "puppy" --output_dir dogs --max_num 50
  1. After execution, up to 50 images of "puppy" will be saved in the specified dogs/ folder.

πŸ“ Output Example

dogs/
β”œβ”€β”€ 000001.jpg
β”œβ”€β”€ 000002.jpg
β”œβ”€β”€ ...
└── 000050.jpg

⚠️ Notes

  • The script may not work properly if Google Images changes its specifications.
  • Recommended for non-commercial use. Please be aware of copyright and usage policies.

πŸ“š Reference


πŸ§‘β€πŸ’» License

This script is provided under the MIT License.

About

πŸ–ΌοΈ A Python tool to automatically crawl and download images from Google Images using keywords. Ideal for building datasets or conducting visual research.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages