MCPcopy Index your code
hub / github.com/impira/docquery / apply_ocr

Method apply_ocr

src/docquery/ocr_reader.py:148–149  ·  view source on GitHub ↗
(self, image: "Image.Image")

Source from the content-addressed store, hash-verified

146 self.reader = None
147
148 def apply_ocr(self, image: "Image.Image") -> Tuple[(List[str], List[List[int]])]:
149 raise NoOCRReaderFound("Unable to find any OCR reader and OCR extraction was requested")
150
151 @staticmethod
152 def _check_if_available():

Callers

nothing calls this directly

Calls 1

NoOCRReaderFoundClass · 0.85

Tested by

no test coverage detected