()
| 68 | return result |
| 69 | |
| 70 | |
| 71 | class OcrService: |
| 72 | """Run the vendored TenVision captcha OCR pipeline in this project.""" |
| 73 | |
| 74 | def __init__(self, settings: Settings | None = None) -> None: |
| 75 | self.settings = settings or get_settings() |
| 76 | self._executor: ProcessPoolExecutor | None = None |
| 77 | self._executor_lock = threading.Lock() |
nothing calls this directly
no test coverage detected