pip install selenium
[Geckodriver is already provided in the repository and therefore the following steps might not be required if the provided one works fine]
- Download latest release based on your OS and architecture
- Extract the file
tar -xvzf geckodriver*
- Make it executable
chmod +x geckodriver
- Add the driver to the path for other tools to use it
Download any number of images from Google image search.
- run as (Use 2/3 according to python version)
python image_download_python2.py <query> <number of images>
python image_download_python3.py <query> <number of images>
<query>: is the the query to search for.
<number of images>: min(
<number of images>, total google results) will be downloaded.
All the images are downloaded from Google image search. These should be used for educational purposes only. Copyright is owned by the respective websites.