Module: Xberg::_OcrBackend

Defined in:
sig/types.rbs

Instance Method Summary collapse

Instance Method Details

#backend_typeOcrBackendType

Returns:



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

def backend_type: () -> OcrBackendType

#emits_structured_markdownBoolean

Returns:

  • (Boolean)


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

def emits_structured_markdown: () -> bool

#process_documentExtractedDocument

Parameters:

Returns:



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

def process_document: (String _path, OcrConfig _config) -> ExtractedDocument

#process_imageExtractedDocument

Parameters:

Returns:



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

def process_image: (String image_bytes, OcrConfig config) -> ExtractedDocument

#process_image_fileExtractedDocument

Parameters:

Returns:



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

def process_image_file: (String path, OcrConfig config) -> ExtractedDocument

#supported_languagesArray[String]

Returns:

  • (Array[String])


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

def supported_languages: () -> Array[String]

#supports_document_processingBoolean

Returns:

  • (Boolean)


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

def supports_document_processing: () -> bool

#supports_languageBoolean

Parameters:

  • lang (String)

Returns:

  • (Boolean)


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

def supports_language: (String lang) -> bool

#supports_table_detectionBoolean

Returns:

  • (Boolean)


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

def supports_table_detection: () -> bool