public sealed class TextDetectionParams : IMessage<TextDetectionParams>, IEquatable<TextDetectionParams>, IDeepCloneable<TextDetectionParams>, IBufferMessage, IMessage
Parameters for text detections. This is used to control TEXT_DETECTION and
DOCUMENT_TEXT_DETECTION features.
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTextDetectionParams\u003c/code\u003e class controls parameters for text detection in the Google Cloud Vision API, specifically for \u003ccode\u003eTEXT_DETECTION\u003c/code\u003e and \u003ccode\u003eDOCUMENT_TEXT_DETECTION\u003c/code\u003e features.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.7.0 is the latest version of the \u003ccode\u003eTextDetectionParams\u003c/code\u003e API, with documentation available for versions dating back to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message manipulation, equality comparisons, deep cloning, and buffered message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableTextDetectionConfidenceScore\u003c/code\u003e property allows users to include confidence scores for \u003ccode\u003eTEXT_DETECTION\u003c/code\u003e results, extending the default behavior of only providing confidence scores for \u003ccode\u003eDOCUMENT_TEXT_DETECTION\u003c/code\u003e results.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextDetectionParams\u003c/code\u003e class provides two constructors: a default constructor and a constructor that accepts another \u003ccode\u003eTextDetectionParams\u003c/code\u003e object for parameter initialization.\u003c/p\u003e\n"]]],[],null,[]]