Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Page::Layout (v0.23.1)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Page::Layout.

Visual element describing a layout unit on a page.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bounding_poly

def bounding_poly() -> ::Google::Cloud::DocumentAI::V1::BoundingPoly
Returns

#bounding_poly=

def bounding_poly=(value) -> ::Google::Cloud::DocumentAI::V1::BoundingPoly
Parameter
Returns

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].
Returns
  • (::Float) — Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].

#orientation

def orientation() -> ::Google::Cloud::DocumentAI::V1::Document::Page::Layout::Orientation

#orientation=

def orientation=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::Layout::Orientation
Parameter

#text_anchor

def text_anchor() -> ::Google::Cloud::DocumentAI::V1::Document::TextAnchor
Returns

#text_anchor=

def text_anchor=(value) -> ::Google::Cloud::DocumentAI::V1::Document::TextAnchor
Parameter
Returns