Alternatives to Bing image search

Hi, my azure key expired after a week, and I don’t have a credit card. Does anyone know how to obtain datasets and continue working? I spend a good chunk of time searching online, but couldn’t find anything useful.

4 Likes

Should have searched the forum first :wink:

2 Likes

Thank you so much. I’ll remember to search the forum first next time :smiley:

I did through a modified
google_images_download :
pip install git+https://github.com/Joeclinton1/google-images-download.git

next :
from google_images_download import google_images_download #importing the library

response = google_images_download.googleimagesdownload() #class instantiation

arguments = {“keywords”:“titmouse bird,nightingale,sparrow”,“limit”:100,“print_urls”:True} #creating list of arguments

paths = response.download(arguments) #passing the arguments to the function

print(paths) #printing absolute paths of the downloaded images

can anyone suggest how to use this further in 02_production.ipynb ?how to correctly replace instead of
results = search_images_bing(key, f’{o} bear’) ?

I’ve made a simple module/file you can run in terminal with your parameters (keyword and #of desired pics). It does require Chrome, ChromeDriver and Selenium.

You can find it here: