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: (String)
  • vlm_config: (LlmConfig)
  • backend_options: (String)


1754
# File 'sig/types.rbs', line 1754

def initialize: (backend: String, priority: Integer, ?language: Array[String], ?tesseract_config: TesseractConfig, ?paddle_ocr_config: String, ?vlm_config: LlmConfig, ?backend_options: String) -> void

Instance Attribute Details

#backendString (readonly)

Returns the value of attribute backend.

Returns:

  • (String)


1746
1747
1748
# File 'sig/types.rbs', line 1746

def backend
  @backend
end

#backend_optionsString? (readonly)

Returns the value of attribute backend_options.

Returns:

  • (String, nil)


1752
1753
1754
# File 'sig/types.rbs', line 1752

def backend_options
  @backend_options
end

#languageArray[String]? (readonly)

Returns the value of attribute language.

Returns:

  • (Array[String], nil)


1748
1749
1750
# File 'sig/types.rbs', line 1748

def language
  @language
end

#paddle_ocr_configString? (readonly)

Returns the value of attribute paddle_ocr_config.

Returns:

  • (String, nil)


1750
1751
1752
# File 'sig/types.rbs', line 1750

def paddle_ocr_config
  @paddle_ocr_config
end

#priorityInteger (readonly)

Returns the value of attribute priority.

Returns:

  • (Integer)


1747
1748
1749
# File 'sig/types.rbs', line 1747

def priority
  @priority
end

#tesseract_configTesseractConfig? (readonly)

Returns the value of attribute tesseract_config.

Returns:



1749
1750
1751
# File 'sig/types.rbs', line 1749

def tesseract_config
  @tesseract_config
end

#vlm_configLlmConfig? (readonly)

Returns the value of attribute vlm_config.

Returns:



1751
1752
1753
# File 'sig/types.rbs', line 1751

def vlm_config
  @vlm_config
end