public sealed class OcrConfig.Types.Hints : IMessage<OcrConfig.Types.Hints>, IEquatable<OcrConfig.Types.Hints>, IDeepCloneable<OcrConfig.Types.Hints>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class OcrConfig.Types.Hints.
public RepeatedField<string> LanguageHints { get; }
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).
[[["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 2025-08-04 UTC."],[[["This webpage provides reference documentation for the `OcrConfig.Types.Hints` class within the Google Cloud Document AI v1 API, detailing its structure and usage."],["The class `OcrConfig.Types.Hints` is part of the `Google.Cloud.DocumentAI.V1` namespace and is used for specifying hints to the OCR engine during document processing."],["It implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message manipulation, equality comparisons, deep cloning, and efficient buffer handling."],["The `LanguageHints` property, a `RepeatedField` of strings, allows specifying BCP-47 language codes to improve OCR accuracy, though automatic detection is generally recommended."],["The documentation lists various available versions of the API, ranging from version 1.0.0 to the latest 3.19.0, enabling users to navigate to specific versions as needed."]]],[]]