class Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1Page
Detected page from OCR.
Attributes
List of blocks of text, images etc on this page. Corresponds to the JSON property `blocks` @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1Block>]
Confidence of the OCR results on the page. Range [0, 1]. Corresponds to the JSON property `confidence` @return [Float]
Page
height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels. Corresponds to the JSON property `height` @return [Fixnum]
Additional information detected on the structural component. Corresponds to the JSON property `property` @return [Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty]
Page
width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File lib/google/apis/vision_v1/classes.rb, line 2191 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 2196 def update!(**args) @blocks = args[:blocks] if args.key?(:blocks) @confidence = args[:confidence] if args.key?(:confidence) @height = args[:height] if args.key?(:height) @property = args[:property] if args.key?(:property) @width = args[:width] if args.key?(:width) end