Class: Google::Cloud::Vision::V1p3beta1::Page
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p3beta1::Page
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb
Overview
Detected page from OCR.
Instance Attribute Summary collapse
-
#blocks ⇒ ::Array<::Google::Cloud::Vision::V1p3beta1::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::V1p3beta1::TextAnnotation::TextProperty
Additional information detected on the page.
-
#width ⇒ ::Integer
Page width.
Instance Attribute Details
#blocks ⇒ ::Array<::Google::Cloud::Vision::V1p3beta1::Block>
Returns List of blocks of text, images etc on this page.
121 122 123 124 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb', line 121 class Page include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#confidence ⇒ ::Float
Returns Confidence of the OCR results on the page. Range [0, 1].
121 122 123 124 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb', line 121 class Page include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#height ⇒ ::Integer
Returns Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
121 122 123 124 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb', line 121 class Page include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#property ⇒ ::Google::Cloud::Vision::V1p3beta1::TextAnnotation::TextProperty
Returns Additional information detected on the page.
121 122 123 124 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb', line 121 class Page include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#width ⇒ ::Integer
Returns Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
121 122 123 124 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb', line 121 class Page include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |