class Google::Apis::VisionV1::TextDetectionParams
Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
Attributes
enable_text_detection_confidence_score[RW]
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. Corresponds to the JSON property `enableTextDetectionConfidenceScore` @return [Boolean]
enable_text_detection_confidence_score?[RW]
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. Corresponds to the JSON property `enableTextDetectionConfidenceScore` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 9954 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 9959 def update!(**args) @enable_text_detection_confidence_score = args[:enable_text_detection_confidence_score] if args.key?(:enable_text_detection_confidence_score) end