Cloud Document AI v1beta3 API - Class OcrConfig.Types.Hints (2.0.0-beta22)

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.

Hints for OCR Engine

Inheritance

object > OcrConfig.Types.Hints

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

Hints()

public Hints()

Hints(Hints)

public Hints(OcrConfig.Types.Hints other)
Parameter
Name Description
other OcrConfigTypesHints

Properties

LanguageHints

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).

Property Value
Type Description
RepeatedFieldstring