Class: Google::Cloud::Vision::V1::Page
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::Page
- Defined in:
- lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/text_annotation.rb
Overview
Detected page from OCR.
Instance Attribute Summary collapse
-
#blocks ⇒ Array<Google::Cloud::Vision::V1::Block>
List of blocks of text, images etc on this page.
-
#confidence ⇒ Float
Confidence of the OCR results on the page.
-
#height ⇒ Integer
Page height.
-
#property ⇒ Google::Cloud::Vision::V1::TextAnnotation::TextProperty
Additional information detected on the page.
-
#width ⇒ Integer
Page width.
Instance Attribute Details
#blocks ⇒ Array<Google::Cloud::Vision::V1::Block>
Returns List of blocks of text, images etc on this page.
103 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/text_annotation.rb', line 103 class Page; end |
#confidence ⇒ Float
Returns Confidence of the OCR results on the page. Range [0, 1].
103 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/text_annotation.rb', line 103 class Page; end |
#height ⇒ Integer
Returns Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
103 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/text_annotation.rb', line 103 class Page; end |
#property ⇒ Google::Cloud::Vision::V1::TextAnnotation::TextProperty
Returns Additional information detected on the page.
103 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/text_annotation.rb', line 103 class Page; end |
#width ⇒ Integer
Returns Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
103 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/text_annotation.rb', line 103 class Page; end |