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 to give the OCR engine hints for better text recognition results."],["The available versions of the API span from 1.0.0 up to the latest 3.19.0, with links provided for each version's specific documentation."],["The `Hints` class implements several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["A key property of the class is `LanguageHints`, which allows users to provide a list of BCP-47 language codes to guide the OCR process, although it is generally recommended to rely on the automatic detection."]]],[]]