Class GoogleCloudDocumentaiV1beta3OcrConfig
Config for Document OCR.
Implements
Inherited Members
Namespace: Google.Apis.Document.v1beta3.Data
Assembly: Google.Apis.Document.v1beta3.dll
Syntax
public class GoogleCloudDocumentaiV1beta3OcrConfig : 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> |
ComputeStyleInfo
Turn on font identification model and return font style information. Deprecated, use PremiumFeatures.compute_style_info instead.
Declaration
[JsonProperty("computeStyleInfo")]
public virtual bool? ComputeStyleInfo { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DisableCharacterBoxesDetection
Turn off character box detector in OCR engine. Character box detection is enabled by default in OCR 2.0 (and later) processors.
Declaration
[JsonProperty("disableCharacterBoxesDetection")]
public virtual bool? DisableCharacterBoxesDetection { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableImageQualityScores
Enables intelligent document quality scores after OCR. Can help with diagnosing why OCR responses are of poor quality for a given input. Adds additional latency comparable to regular OCR to the process call.
Declaration
[JsonProperty("enableImageQualityScores")]
public virtual bool? EnableImageQualityScores { get; set; }
Property Value
Type | Description |
---|---|
bool? |
EnableNativePdfParsing
Enables special handling for PDFs with existing text information. Results in better text extraction quality in such PDF inputs.
Declaration
[JsonProperty("enableNativePdfParsing")]
public virtual bool? EnableNativePdfParsing { get; set; }
Property Value
Type | Description |
---|---|
bool? |
EnableSymbol
Includes symbol level OCR information if set to true.
Declaration
[JsonProperty("enableSymbol")]
public virtual bool? EnableSymbol { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Hints
Hints for the OCR model.
Declaration
[JsonProperty("hints")]
public virtual GoogleCloudDocumentaiV1beta3OcrConfigHints Hints { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDocumentaiV1beta3OcrConfigHints |
PremiumFeatures
Configurations for premium OCR features.
Declaration
[JsonProperty("premiumFeatures")]
public virtual GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures PremiumFeatures { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures |