GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2OcrParams (google_api_document_ai v0.32.0) View Source
Parameters to control Optical Character Recognition (OCR) behavior.
Attributes
-
languageHints
(type:list(String.t)
, default:nil
) - 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, settinglanguage_hints
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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2OcrParams{ languageHints: [String.t()] | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.