OcrParams

Parameters to control Optical Character Recognition (OCR) behavior.

JSON representation
{
  "languageHints": [
    string
  ]
}
Fields
languageHints[]

string

List of languages to use for OCR. 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). Document processing returns an error if one or more of the specified languages is not one of the supported languages.