Skip to content Skip to sidebar Skip to footer

How To Improve Google Vision Results While Detecting A Text On An Image If We Know The Language Of

How to modify the following Python code to return results in German? Is it possible? Thank you. def detect_text_uri(uri): '''Detects text in the file located in Google Cloud St

Solution 1:

Yes, you can specify it using "languageHints": [ "de"]

{"requests":[{"imageContext":{"languageHints":["de"]}}]}

For all types of language codes, check supported Google vision languages

Post a Comment for "How To Improve Google Vision Results While Detecting A Text On An Image If We Know The Language Of"