Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::Page.
Detected page from OCR.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#blocks
def blocks() -> ::Array<::Google::Cloud::Vision::V1::Block>
    Returns
    
  - (::Array<::Google::Cloud::Vision::V1::Block>) — List of blocks of text, images etc on this page.
 
#blocks=
def blocks=(value) -> ::Array<::Google::Cloud::Vision::V1::Block>
    Parameter
    
  - value (::Array<::Google::Cloud::Vision::V1::Block>) — List of blocks of text, images etc on this page.
 
    Returns
    
  - (::Array<::Google::Cloud::Vision::V1::Block>) — List of blocks of text, images etc on this page.
 
#confidence
def confidence() -> ::Float
    Returns
    
  - (::Float) — Confidence of the OCR results on the page. Range [0, 1].
 
#confidence=
def confidence=(value) -> ::Float
    Parameter
    
  - value (::Float) — Confidence of the OCR results on the page. Range [0, 1].
 
    Returns
    
  - (::Float) — Confidence of the OCR results on the page. Range [0, 1].
 
#height
def height() -> ::Integer
    Returns
    
  - (::Integer) — Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
 
#height=
def height=(value) -> ::Integer
    Parameter
    
  - value (::Integer) — Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
 
    Returns
    
  - (::Integer) — Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
 
#property
def property() -> ::Google::Cloud::Vision::V1::TextAnnotation::TextProperty
    Returns
    
  - (::Google::Cloud::Vision::V1::TextAnnotation::TextProperty) — Additional information detected on the page.
 
#property=
def property=(value) -> ::Google::Cloud::Vision::V1::TextAnnotation::TextProperty
    Parameter
    
  - value (::Google::Cloud::Vision::V1::TextAnnotation::TextProperty) — Additional information detected on the page.
 
    Returns
    
  - (::Google::Cloud::Vision::V1::TextAnnotation::TextProperty) — Additional information detected on the page.
 
#width
def width() -> ::Integer
    Returns
    
  - (::Integer) — Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
 
#width=
def width=(value) -> ::Integer
    Parameter
    
  - value (::Integer) — Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
 
    Returns
    
- (::Integer) — Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.