MCPcopy
hub / github.com/impira/docquery / NoOCRReaderFound

Class NoOCRReaderFound

src/docquery/ocr_reader.py:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class NoOCRReaderFound(Exception):
10 def __init__(self, e):
11 self.e = e
12
13 def __str__(self):
14 return f"Could not load OCR Reader: {self.e}"
15
16
17OCR_AVAILABLE = {

Callers 5

_check_if_availableMethod · 0.85
_check_if_availableMethod · 0.85
apply_ocrMethod · 0.85
get_ocr_readerFunction · 0.85
load_documentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected