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.
Implements
IMessageTextDetectionParams, IEquatableTextDetectionParams, IDeepCloneableTextDetectionParams, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
TextDetectionParams()
public TextDetectionParams()
TextDetectionParams(TextDetectionParams)
public TextDetectionParams(TextDetectionParams other)
Parameter | |
---|---|
Name | Description |
other | TextDetectionParams |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
bool |