Class: Xberg::ExtractedImage
- Inherits:
-
Object
- Object
- Xberg::ExtractedImage
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#bits_per_component ⇒ Integer?
readonly
Returns the value of attribute bits_per_component.
-
#bounding_box ⇒ BoundingBox?
readonly
Returns the value of attribute bounding_box.
-
#caption ⇒ String?
readonly
Returns the value of attribute caption.
-
#cluster_id ⇒ Integer?
readonly
Returns the value of attribute cluster_id.
-
#colorspace ⇒ String?
readonly
Returns the value of attribute colorspace.
-
#data ⇒ String
readonly
Returns the value of attribute data.
-
#data_base64 ⇒ String?
readonly
Returns the value of attribute data_base64.
-
#description ⇒ String?
readonly
Returns the value of attribute description.
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#height ⇒ Integer?
readonly
Returns the value of attribute height.
-
#image_index ⇒ Integer
readonly
Returns the value of attribute image_index.
-
#image_kind ⇒ enum_ImageKind?
readonly
Returns the value of attribute image_kind.
-
#is_mask ⇒ Boolean
readonly
Returns the value of attribute is_mask.
-
#kind_confidence ⇒ Float?
readonly
Returns the value of attribute kind_confidence.
-
#ocr_result ⇒ ExtractedDocument?
readonly
Returns the value of attribute ocr_result.
-
#page_number ⇒ Integer?
readonly
Returns the value of attribute page_number.
-
#qr_codes ⇒ Array[QrCode]?
readonly
Returns the value of attribute qr_codes.
-
#source_path ⇒ String?
readonly
Returns the value of attribute source_path.
-
#width ⇒ Integer?
readonly
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.
906 |
# File 'sig/types.rbs', line 906 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: enum_ImageKind, ?kind_confidence: Float, ?cluster_id: Integer, ?caption: String, ?qr_codes: Array[QrCode], ?data_base64: String) -> void |
Instance Attribute Details
#bits_per_component ⇒ Integer? (readonly)
Returns the value of attribute bits_per_component.
893 894 895 |
# File 'sig/types.rbs', line 893 def bits_per_component @bits_per_component end |
#bounding_box ⇒ BoundingBox? (readonly)
Returns the value of attribute bounding_box.
897 898 899 |
# File 'sig/types.rbs', line 897 def bounding_box @bounding_box end |
#caption ⇒ String? (readonly)
Returns the value of attribute caption.
902 903 904 |
# File 'sig/types.rbs', line 902 def caption @caption end |
#cluster_id ⇒ Integer? (readonly)
Returns the value of attribute cluster_id.
901 902 903 |
# File 'sig/types.rbs', line 901 def cluster_id @cluster_id end |
#colorspace ⇒ String? (readonly)
Returns the value of attribute colorspace.
892 893 894 |
# File 'sig/types.rbs', line 892 def colorspace @colorspace end |
#data ⇒ String (readonly)
Returns the value of attribute data.
886 887 888 |
# File 'sig/types.rbs', line 886 def data @data end |
#data_base64 ⇒ String? (readonly)
Returns the value of attribute data_base64.
904 905 906 |
# File 'sig/types.rbs', line 904 def data_base64 @data_base64 end |
#description ⇒ String? (readonly)
Returns the value of attribute description.
895 896 897 |
# File 'sig/types.rbs', line 895 def description @description end |
#format ⇒ String (readonly)
Returns the value of attribute format.
887 888 889 |
# File 'sig/types.rbs', line 887 def format @format end |
#height ⇒ Integer? (readonly)
Returns the value of attribute height.
891 892 893 |
# File 'sig/types.rbs', line 891 def height @height end |
#image_index ⇒ Integer (readonly)
Returns the value of attribute image_index.
888 889 890 |
# File 'sig/types.rbs', line 888 def image_index @image_index end |
#image_kind ⇒ enum_ImageKind? (readonly)
Returns the value of attribute image_kind.
899 900 901 |
# File 'sig/types.rbs', line 899 def image_kind @image_kind end |
#is_mask ⇒ Boolean (readonly)
Returns the value of attribute is_mask.
894 895 896 |
# File 'sig/types.rbs', line 894 def is_mask @is_mask end |
#kind_confidence ⇒ Float? (readonly)
Returns the value of attribute kind_confidence.
900 901 902 |
# File 'sig/types.rbs', line 900 def kind_confidence @kind_confidence end |
#ocr_result ⇒ ExtractedDocument? (readonly)
Returns the value of attribute ocr_result.
896 897 898 |
# File 'sig/types.rbs', line 896 def ocr_result @ocr_result end |
#page_number ⇒ Integer? (readonly)
Returns the value of attribute page_number.
889 890 891 |
# File 'sig/types.rbs', line 889 def page_number @page_number end |
#qr_codes ⇒ Array[QrCode]? (readonly)
Returns the value of attribute qr_codes.
903 904 905 |
# File 'sig/types.rbs', line 903 def qr_codes @qr_codes end |
#source_path ⇒ String? (readonly)
Returns the value of attribute source_path.
898 899 900 |
# File 'sig/types.rbs', line 898 def source_path @source_path end |
#width ⇒ Integer? (readonly)
Returns the value of attribute width.
890 891 892 |
# File 'sig/types.rbs', line 890 def width @width end |