While applying for a Bing Search Key on Azure, there is a problem occurred. There is no choice for pricing tiers available, however, it is a value that can not be empty. Because of that, a Bing Search Source can not be created. Does anyone have met this problem before?
You might also want to check out the âis it a birdâ kaggle notebook that Jeremy recently shared on Twitter. It has a pretty nice way to download images from duckduckgo which I think youâll find less painful than using Bing.
Sure! Though there may be some unseen bugs, the code runs smoothly in my computer. You may check it out
from fastbook import *
urls = search_images_ddg('grizzly bear', max_images=150)
len(urls),urls[0]
download_url(urls[7], 'images/bear.jpg')
im = Image.open('images/bear.jpg')
im.thumbnail((256,256))
im
for o in bear_types:
dest = (path/o)
dest.mkdir(exist_ok=True, parents=True)
download_images(dest, urls=search_images_ddg(f'{o} bear'))
resize_images(path/o, max_size=400, dest=path/o)
I found the way to address the pricing tier issue of Bing.
This problem may be caused by not having âMicrosoft Bingâ registered as a âResource Providerâ, so after that is done, Bing Search v7 resources can be created.
I am still struggling as to where can I locate Bing Image Search API key. I have navigated links through the course notebook (colab), through forum discussions but even on Bing Image Search API page, I could not locate any section that leads me to getting an API key.
Would appreciate if someone can advise a step wise process with links which are working in present.