Skip to content

Instantly share code, notes, and snippets.

View stivens13's full-sized avatar

Nikita Voloshenko stivens13

View GitHub Profile
@stivens13
stivens13 / search_bing_api.py
Last active August 16, 2022 16:08
Bing image search by Adrian Rosebrock @jrosebr1 from https://www.pyimagesearch.com/2018/04/09/how-to-quickly-build-a-deep-learning-image-dataset/ with gevent implementation for faster image capturing
from requests import exceptions
import requests
import cv2
import os
import gevent
# poke name to download
pokemon = 'mewtwo'
output = 'dataset/mewtwo'