Image context and/or feature-specific parameters.
JSON representation |
---|
{
"languageHints": [
string
],
"textDetectionParams": {
object ( |
Fields | |
---|---|
languageHints[] |
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 |
textDetectionParams |
Parameters for text detection and document text detection. |
TextDetectionParams
Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
JSON representation |
---|
{ "enableTextDetectionConfidenceScore": boolean, "advancedOcrOptions": [ string ] } |
Fields | |
---|---|
enableTextDetectionConfidenceScore |
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[] |
A list of advanced OCR options to fine-tune OCR behavior. |