Class: Xberg::OcrPipelineStage
- Inherits:
-
Object
- Object
- Xberg::OcrPipelineStage
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ String
readonly
Returns the value of attribute backend.
-
#backend_options ⇒ json_value
readonly
Returns the value of attribute backend_options.
-
#language ⇒ Array[String]
readonly
Returns the value of attribute language.
-
#paddle_ocr_config ⇒ json_value
readonly
Returns the value of attribute paddle_ocr_config.
-
#priority ⇒ Integer
readonly
Returns the value of attribute priority.
-
#tesseract_config ⇒ TesseractConfig
readonly
Returns the value of attribute tesseract_config.
-
#vlm_config ⇒ LlmConfig
readonly
Returns the value of attribute vlm_config.
Instance Method Summary collapse
-
#initialize ⇒ OcrPipelineStage
constructor
A new instance of OcrPipelineStage.
Constructor Details
#initialize ⇒ OcrPipelineStage
Returns a new instance of OcrPipelineStage.
356 |
# File 'sig/types.rbs', line 356
def initialize: (backend: String, priority: Integer, ?language: Array[String], ?tesseract_config: TesseractConfig, ?paddle_ocr_config: json_value, ?vlm_config: LlmConfig, ?backend_options: json_value) -> void
|
Instance Attribute Details
#backend ⇒ String (readonly)
Returns the value of attribute backend.
348 349 350 |
# File 'sig/types.rbs', line 348 def backend @backend end |
#backend_options ⇒ json_value (readonly)
Returns the value of attribute backend_options.
354 355 356 |
# File 'sig/types.rbs', line 354 def @backend_options end |
#language ⇒ Array[String] (readonly)
Returns the value of attribute language.
350 351 352 |
# File 'sig/types.rbs', line 350 def language @language end |
#paddle_ocr_config ⇒ json_value (readonly)
Returns the value of attribute paddle_ocr_config.
352 353 354 |
# File 'sig/types.rbs', line 352 def paddle_ocr_config @paddle_ocr_config end |
#priority ⇒ Integer (readonly)
Returns the value of attribute priority.
349 350 351 |
# File 'sig/types.rbs', line 349 def priority @priority end |
#tesseract_config ⇒ TesseractConfig (readonly)
Returns the value of attribute tesseract_config.
351 352 353 |
# File 'sig/types.rbs', line 351 def tesseract_config @tesseract_config end |
#vlm_config ⇒ LlmConfig (readonly)
Returns the value of attribute vlm_config.
353 354 355 |
# File 'sig/types.rbs', line 353 def vlm_config @vlm_config end |