Class: Xberg::OcrElement
- Inherits:
-
Object
- Object
- Xberg::OcrElement
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend_metadata ⇒ Hash[String, json_value]?
Returns the value of attribute backend_metadata.
-
#confidence ⇒ OcrConfidence?
Returns the value of attribute confidence.
-
#geometry ⇒ OcrBoundingGeometry?
Returns the value of attribute geometry.
-
#level ⇒ OcrElementLevel?
Returns the value of attribute level.
-
#page_number ⇒ Integer?
Returns the value of attribute page_number.
-
#parent_id ⇒ String?
Returns the value of attribute parent_id.
-
#rotation ⇒ OcrRotation?
Returns the value of attribute rotation.
-
#text ⇒ String?
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ OcrElement
constructor
A new instance of OcrElement.
Constructor Details
#initialize ⇒ OcrElement
Returns a new instance of OcrElement.
1529 |
# File 'sig/types.rbs', line 1529
def initialize: (?text: String, ?geometry: OcrBoundingGeometry, ?confidence: OcrConfidence, ?level: OcrElementLevel, ?rotation: OcrRotation, ?page_number: Integer, ?parent_id: String, ?backend_metadata: Hash[String, json_value]) -> void
|
Instance Attribute Details
#backend_metadata ⇒ Hash[String, json_value]?
Returns the value of attribute backend_metadata.
1527 1528 1529 |
# File 'sig/types.rbs', line 1527 def @backend_metadata end |
#confidence ⇒ OcrConfidence?
Returns the value of attribute confidence.
1522 1523 1524 |
# File 'sig/types.rbs', line 1522 def confidence @confidence end |
#geometry ⇒ OcrBoundingGeometry?
Returns the value of attribute geometry.
1521 1522 1523 |
# File 'sig/types.rbs', line 1521 def geometry @geometry end |
#level ⇒ OcrElementLevel?
Returns the value of attribute level.
1523 1524 1525 |
# File 'sig/types.rbs', line 1523 def level @level end |
#page_number ⇒ Integer?
Returns the value of attribute page_number.
1525 1526 1527 |
# File 'sig/types.rbs', line 1525 def page_number @page_number end |
#parent_id ⇒ String?
Returns the value of attribute parent_id.
1526 1527 1528 |
# File 'sig/types.rbs', line 1526 def parent_id @parent_id end |
#rotation ⇒ OcrRotation?
Returns the value of attribute rotation.
1524 1525 1526 |
# File 'sig/types.rbs', line 1524 def rotation @rotation end |
#text ⇒ String?
Returns the value of attribute text.
1520 1521 1522 |
# File 'sig/types.rbs', line 1520 def text @text end |