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 v1beta3 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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation and code samples for the \u003ccode\u003eOcrConfig.Types.Hints\u003c/code\u003e class within the Cloud Document AI v1beta3 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOcrConfig.Types.Hints\u003c/code\u003e serves as a class for providing hints to the OCR Engine, specifically within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes constructors \u003ccode\u003eHints()\u003c/code\u003e and \u003ccode\u003eHints(OcrConfig.Types.Hints other)\u003c/code\u003e for creating instances of the \u003ccode\u003eHints\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOcrConfig.Types.Hints\u003c/code\u003e provides a \u003ccode\u003eLanguageHints\u003c/code\u003e property, a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e that allows users to specify a list of BCP-47 language codes for the OCR process.\u003c/p\u003e\n"]]],[],null,[]]