MulongXie / UIED

An accurate GUI element detection approach based on old-fashioned CV algorithms [Upgraded on 5/July/2021]
http://www.uied.online/
Apache License 2.0
394 stars 103 forks source link

Error in ocr_detection_google function. #20

Closed meetgandhi123 closed 2 years ago

meetgandhi123 commented 2 years ago

I have created my own Google Vision API key, while calling the ocr_detection_google function I am getting the following error.

image

Error:

image

print(response) <Response [400]>

MulongXie commented 2 years ago

Hi, this kind of error is usually caused by some connection failure of Google API. You can print out the response.json() out to check the detailed reason.