Class TextDetectionParams (3.1.0)

public sealed class TextDetectionParams : IMessage<TextDetectionParams>, IEquatable<TextDetectionParams>, IDeepCloneable<TextDetectionParams>, IBufferMessage, IMessage

Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.

Inheritance

Object > TextDetectionParams

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

TextDetectionParams()

public TextDetectionParams()

TextDetectionParams(TextDetectionParams)

public TextDetectionParams(TextDetectionParams other)
Parameter
NameDescription
otherTextDetectionParams

Properties

AdvancedOcrOptions

public RepeatedField<string> AdvancedOcrOptions { get; }

A list of advanced OCR options to fine-tune OCR behavior.

Property Value
TypeDescription
RepeatedField<String>

EnableTextDetectionConfidenceScore

public bool EnableTextDetectionConfidenceScore { get; set; }

By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.

Property Value
TypeDescription
Boolean