Class TextDetectionParams
Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
Implements
Inherited Members
Namespace: Google.Apis.Vision.v1.Data
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class TextDetectionParams : IDirectResponseSchema
Properties
AdvancedOcrOptions
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.
Declaration
[JsonProperty("advancedOcrOptions")]
public virtual IList<string> AdvancedOcrOptions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableTextDetectionConfidenceScore
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.
Declaration
[JsonProperty("enableTextDetectionConfidenceScore")]
public virtual bool? EnableTextDetectionConfidenceScore { get; set; }
Property Value
Type | Description |
---|---|
bool? |