Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout (v0.11.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::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::V1beta3::BoundingPoly
Returns

#bounding_poly=

def bounding_poly=(value) -> ::Google::Cloud::DocumentAI::V1beta3::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::V1beta3::Document::Page::Layout::Orientation

#orientation=

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

#text_anchor

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

#text_anchor=

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