Module: Xberg::_OcrBackend

Defined in:
sig/types.rbs

Instance Method Summary collapse

Instance Method Details

#backend_typeOcrBackendType

Returns:



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

def backend_type: () -> OcrBackendType

#emits_structured_markdownBoolean

Returns:

  • (Boolean)


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

def emits_structured_markdown: () -> bool

#process_documentExtractedDocument

Parameters:

Returns:



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

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

#process_imageExtractedDocument

Parameters:

Returns:



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

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

#process_image_fileExtractedDocument

Parameters:

Returns:



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

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

#supported_languagesArray[String]

Returns:

  • (Array[String])


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

def supported_languages: () -> Array[String]

#supports_document_processingBoolean

Returns:

  • (Boolean)


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

def supports_document_processing: () -> bool

#supports_languageBoolean

Parameters:

  • lang (String)

Returns:

  • (Boolean)


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

def supports_language: (String lang) -> bool

#supports_table_detectionBoolean

Returns:

  • (Boolean)


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

def supports_table_detection: () -> bool