Class: Xberg::OcrElement
- Inherits:
-
Object
- Object
- Xberg::OcrElement
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend_metadata ⇒ Hash[String, String]
readonly
Returns the value of attribute backend_metadata.
-
#confidence ⇒ OcrConfidence
readonly
Returns the value of attribute confidence.
-
#geometry ⇒ OcrBoundingGeometry
readonly
Returns the value of attribute geometry.
-
#level ⇒ enum_OcrElementLevel
readonly
Returns the value of attribute level.
-
#page_number ⇒ Integer
readonly
Returns the value of attribute page_number.
-
#parent_id ⇒ String?
readonly
Returns the value of attribute parent_id.
-
#rotation ⇒ OcrRotation?
readonly
Returns the value of attribute rotation.
-
#text ⇒ String
readonly
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.
1705 |
# File 'sig/types.rbs', line 1705
def initialize: (?text: String, ?geometry: OcrBoundingGeometry, ?confidence: OcrConfidence, ?level: enum_OcrElementLevel, ?rotation: OcrRotation, ?page_number: Integer, ?parent_id: String, ?backend_metadata: Hash[String, String]) -> void
|
Instance Attribute Details
#backend_metadata ⇒ Hash[String, String] (readonly)
Returns the value of attribute backend_metadata.
1703 1704 1705 |
# File 'sig/types.rbs', line 1703 def @backend_metadata end |
#confidence ⇒ OcrConfidence (readonly)
Returns the value of attribute confidence.
1698 1699 1700 |
# File 'sig/types.rbs', line 1698 def confidence @confidence end |
#geometry ⇒ OcrBoundingGeometry (readonly)
Returns the value of attribute geometry.
1697 1698 1699 |
# File 'sig/types.rbs', line 1697 def geometry @geometry end |
#level ⇒ enum_OcrElementLevel (readonly)
Returns the value of attribute level.
1699 1700 1701 |
# File 'sig/types.rbs', line 1699 def level @level end |
#page_number ⇒ Integer (readonly)
Returns the value of attribute page_number.
1701 1702 1703 |
# File 'sig/types.rbs', line 1701 def page_number @page_number end |
#parent_id ⇒ String? (readonly)
Returns the value of attribute parent_id.
1702 1703 1704 |
# File 'sig/types.rbs', line 1702 def parent_id @parent_id end |
#rotation ⇒ OcrRotation? (readonly)
Returns the value of attribute rotation.
1700 1701 1702 |
# File 'sig/types.rbs', line 1700 def rotation @rotation end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1696 1697 1698 |
# File 'sig/types.rbs', line 1696 def text @text end |