py-image-dataset-generator icon indicating copy to clipboard operation
py-image-dataset-generator copied to clipboard

Failed to download image from google source

Open selvipt opened this issue 4 years ago • 1 comments

Getting error when I try to ran this command python download.py "red car" -limit=150 -dest=folder_name -resize=250x250 Error Log:

[3244:6300:0521/114935.800:ERROR:device_event_log_impl.cc(208)] [11:49:35.800] Bluetooth: bluetooth_adapter_winrt.cc:723 GetBluetoothAdapterStaticsActivationFactory failed: Class not registered (0x80040154)
Traceback (most recent call last):
  File "download.py", line 88, in <module>
    downloader.download_images(keyword)
  File "C:\Users\Vinoth\py-image-dataset-generator\image_grabber\image_downloader.py", line 60, in download_images
    raise (NoImageFoundException("No images found on sources %s" % ",".join(list(self.sources))))
utils.utils.NoImageFoundException: No images found on sources Google

selvipt avatar May 18 '20 13:05 selvipt

Same error for me, when running code under Manjaro Linux. My debugging turned out, that the following line from the google_grabber.py creates an empty result - but it shouldn`t:

images = browser.find_elements_by_class_name("rg_meta")

RoHei avatar Aug 09 '21 17:08 RoHei