Class: Xberg::OcrPipelineStage

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOcrPipelineStage

Returns a new instance of OcrPipelineStage.

Parameters:

  • backend: (String)
  • priority: (Integer)
  • language: (Array[String])
  • tesseract_config: (TesseractConfig)
  • paddle_ocr_config: (json_value)
  • vlm_config: (LlmConfig)
  • backend_options: (json_value)


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

#backendString (readonly)

Returns the value of attribute backend.

Returns:

  • (String)


348
349
350
# File 'sig/types.rbs', line 348

def backend
  @backend
end

#backend_optionsjson_value (readonly)

Returns the value of attribute backend_options.

Returns:

  • (json_value)


354
355
356
# File 'sig/types.rbs', line 354

def backend_options
  @backend_options
end

#languageArray[String] (readonly)

Returns the value of attribute language.

Returns:

  • (Array[String])


350
351
352
# File 'sig/types.rbs', line 350

def language
  @language
end

#paddle_ocr_configjson_value (readonly)

Returns the value of attribute paddle_ocr_config.

Returns:

  • (json_value)


352
353
354
# File 'sig/types.rbs', line 352

def paddle_ocr_config
  @paddle_ocr_config
end

#priorityInteger (readonly)

Returns the value of attribute priority.

Returns:

  • (Integer)


349
350
351
# File 'sig/types.rbs', line 349

def priority
  @priority
end

#tesseract_configTesseractConfig (readonly)

Returns the value of attribute tesseract_config.

Returns:



351
352
353
# File 'sig/types.rbs', line 351

def tesseract_config
  @tesseract_config
end

#vlm_configLlmConfig (readonly)

Returns the value of attribute vlm_config.

Returns:



353
354
355
# File 'sig/types.rbs', line 353

def vlm_config
  @vlm_config
end