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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The latest version of the `TextDetectionParams` class is 3.7.0, with versions ranging from 2.3.0 to 3.7.0 available in the documentation."],["`TextDetectionParams` is a class within the Google Cloud Vision v1 API, used to control parameters for both TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, inheriting from the `object` class."],["The `TextDetectionParams` class includes properties like `AdvancedOcrOptions`, which allows for fine-tuning OCR behavior, and `EnableTextDetectionConfidenceScore`, which controls whether confidence scores are included for TEXT_DETECTION results."],["There are two constructors available for the class TextDetectionParams, the default, and one that accepts a TextDetectionParams object as an argument."]]],[]]