List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting languageHints is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the supported languages.
By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.
advancedOcrOptions[]
string
A list of advanced OCR options to fine-tune OCR behavior.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-21 UTC."],[[["`languageHints` is a list of strings used to specify languages for text detection, but leaving it empty usually yields the best results due to automatic language detection, and it is not needed for Latin-based languages."],["`textDetectionParams` is an object that contains parameters to adjust how text and document text are detected within the content."],["`enableTextDetectionConfidenceScore` is a boolean flag that, when set to true, includes confidence scores for TEXT_DETECTION results, which are only included for DOCUMENT_TEXT_DETECTION results by default."],["`advancedOcrOptions` is a list of string values used to fine-tune the OCR behavior."]]],[]]