From 4efc3ec1822270d0d21c7ff1e2b167a5ebee4b2c Mon Sep 17 00:00:00 2001 From: Hamish Farroq Date: Sun, 14 Oct 2018 05:07:06 +0000 Subject: [PATCH] Add noop OCR driver. --- noopocr.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 noopocr.py diff --git a/noopocr.py b/noopocr.py new file mode 100644 index 0000000000..cd07f518ce --- /dev/null +++ b/noopocr.py @@ -0,0 +1,11 @@ +from __future__ import absolute_import, unicode_literals + +from ..classes import OCRBackendBase + + +class NoOpOCR(OCRBackendBase): + def __init__(self, *args, **kwargs): + super(NoOpOCR, self).__init__(*args, **kwargs) + + def execute(self, *args, **kwargs): + """Don't do anything"""