class Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Paragraph
Structural unit of text representing a number of words in certain order.
Attributes
A bounding polygon for the detected image annotation. Corresponds to the JSON property `boundingBox` @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly]
Confidence of the OCR results for the paragraph. Range [0, 1]. Corresponds to the JSON property `confidence` @return [Float]
Additional information detected on the structural component. Corresponds to the JSON property `property` @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty]
List of all words in this paragraph. Corresponds to the JSON property `words` @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Word>]
Public Class Methods
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 4167 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 4172 def update!(**args) @bounding_box = args[:bounding_box] if args.key?(:bounding_box) @confidence = args[:confidence] if args.key?(:confidence) @property = args[:property] if args.key?(:property) @words = args[:words] if args.key?(:words) end