Class: Xberg::ExtractedImage
- Inherits:
-
Object
- Object
- Xberg::ExtractedImage
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#bits_per_component ⇒ Integer?
Returns the value of attribute bits_per_component.
-
#bounding_box ⇒ BoundingBox?
Returns the value of attribute bounding_box.
-
#caption ⇒ String?
Returns the value of attribute caption.
-
#cluster_id ⇒ Integer?
Returns the value of attribute cluster_id.
-
#colorspace ⇒ String?
Returns the value of attribute colorspace.
-
#data ⇒ String?
Returns the value of attribute data.
-
#data_base64 ⇒ String?
Returns the value of attribute data_base64.
-
#description ⇒ String?
Returns the value of attribute description.
-
#format ⇒ String?
Returns the value of attribute format.
-
#height ⇒ Integer?
Returns the value of attribute height.
-
#image_index ⇒ Integer?
Returns the value of attribute image_index.
-
#image_kind ⇒ ImageKind?
Returns the value of attribute image_kind.
-
#is_mask ⇒ Boolean?
Returns the value of attribute is_mask.
-
#kind_confidence ⇒ Float?
Returns the value of attribute kind_confidence.
-
#ocr_result ⇒ ExtractedDocument?
Returns the value of attribute ocr_result.
-
#page_number ⇒ Integer?
Returns the value of attribute page_number.
-
#qr_codes ⇒ Array[QrCode]?
Returns the value of attribute qr_codes.
-
#source_path ⇒ String?
Returns the value of attribute source_path.
-
#width ⇒ Integer?
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ ExtractedImage
constructor
A new instance of ExtractedImage.
Constructor Details
#initialize ⇒ ExtractedImage
Returns a new instance of ExtractedImage.
1053 |
# File 'sig/types.rbs', line 1053
def initialize: (?data: String, ?format: String, ?image_index: Integer, ?page_number: Integer, ?width: Integer, ?height: Integer, ?colorspace: String, ?bits_per_component: Integer, ?is_mask: bool, ?description: String, ?ocr_result: ExtractedDocument, ?bounding_box: BoundingBox, ?source_path: String, ?image_kind: ImageKind, ?kind_confidence: Float, ?cluster_id: Integer, ?caption: String, ?qr_codes: Array[QrCode], ?data_base64: String) -> void
|
Instance Attribute Details
#bits_per_component ⇒ Integer?
Returns the value of attribute bits_per_component.
1040 1041 1042 |
# File 'sig/types.rbs', line 1040 def bits_per_component @bits_per_component end |
#bounding_box ⇒ BoundingBox?
Returns the value of attribute bounding_box.
1044 1045 1046 |
# File 'sig/types.rbs', line 1044 def bounding_box @bounding_box end |
#caption ⇒ String?
Returns the value of attribute caption.
1049 1050 1051 |
# File 'sig/types.rbs', line 1049 def caption @caption end |
#cluster_id ⇒ Integer?
Returns the value of attribute cluster_id.
1048 1049 1050 |
# File 'sig/types.rbs', line 1048 def cluster_id @cluster_id end |
#colorspace ⇒ String?
Returns the value of attribute colorspace.
1039 1040 1041 |
# File 'sig/types.rbs', line 1039 def colorspace @colorspace end |
#data ⇒ String?
Returns the value of attribute data.
1033 1034 1035 |
# File 'sig/types.rbs', line 1033 def data @data end |
#data_base64 ⇒ String?
Returns the value of attribute data_base64.
1051 1052 1053 |
# File 'sig/types.rbs', line 1051 def data_base64 @data_base64 end |
#description ⇒ String?
Returns the value of attribute description.
1042 1043 1044 |
# File 'sig/types.rbs', line 1042 def description @description end |
#format ⇒ String?
Returns the value of attribute format.
1034 1035 1036 |
# File 'sig/types.rbs', line 1034 def format @format end |
#height ⇒ Integer?
Returns the value of attribute height.
1038 1039 1040 |
# File 'sig/types.rbs', line 1038 def height @height end |
#image_index ⇒ Integer?
Returns the value of attribute image_index.
1035 1036 1037 |
# File 'sig/types.rbs', line 1035 def image_index @image_index end |
#image_kind ⇒ ImageKind?
Returns the value of attribute image_kind.
1046 1047 1048 |
# File 'sig/types.rbs', line 1046 def image_kind @image_kind end |
#is_mask ⇒ Boolean?
Returns the value of attribute is_mask.
1041 1042 1043 |
# File 'sig/types.rbs', line 1041 def is_mask @is_mask end |
#kind_confidence ⇒ Float?
Returns the value of attribute kind_confidence.
1047 1048 1049 |
# File 'sig/types.rbs', line 1047 def kind_confidence @kind_confidence end |
#ocr_result ⇒ ExtractedDocument?
Returns the value of attribute ocr_result.
1043 1044 1045 |
# File 'sig/types.rbs', line 1043 def ocr_result @ocr_result end |
#page_number ⇒ Integer?
Returns the value of attribute page_number.
1036 1037 1038 |
# File 'sig/types.rbs', line 1036 def page_number @page_number end |
#qr_codes ⇒ Array[QrCode]?
Returns the value of attribute qr_codes.
1050 1051 1052 |
# File 'sig/types.rbs', line 1050 def qr_codes @qr_codes end |
#source_path ⇒ String?
Returns the value of attribute source_path.
1045 1046 1047 |
# File 'sig/types.rbs', line 1045 def source_path @source_path end |
#width ⇒ Integer?
Returns the value of attribute width.
1037 1038 1039 |
# File 'sig/types.rbs', line 1037 def width @width end |