View Source GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3OcrConfigHints (google_api_document_ai v0.39.0)

Hints for OCR Engine

Attributes

  • languageHints (type: list(String.t), default: nil) - List of BCP-47 language codes to use for OCR. In most cases, not specifying it yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting 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).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3OcrConfigHints{
    languageHints: [String.t()] | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.