Google Cloud Vision v1 API - Class TextDetectionParams (3.6.0)

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

Reference documentation and code samples for the Google Cloud Vision v1 API class TextDetectionParams.

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 further fine-tune OCR behavior. Current valid values are:

  • legacy_layout: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.
Property Value
TypeDescription
RepeatedFieldstring

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
bool