Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
9
class
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
17
OCR_AVAILABLE = {
Callers
5
_check_if_available
Method · 0.85
_check_if_available
Method · 0.85
apply_ocr
Method · 0.85
get_ocr_reader
Function · 0.85
load_document
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected