iseahound / Vis2

Simple OCR using Tesseract
158 stars 33 forks source link

Update GoogleCloudVision Key Regex #8

Closed Livog closed 4 years ago

Livog commented 4 years ago

If there is an underscore in your API key for Google Cloud Vision the regex only matches everything before the underscore. This results in an invalid API key response. Google nowadays also allows for underscores in the API key it should be added to the regex as well.

Very small change to make the IdentifyImage function work again.

iseahound commented 4 years ago

Thanks!