Add noop OCR driver.
This commit is contained in:
11
noopocr.py
Normal file
11
noopocr.py
Normal file
@@ -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"""
|
||||||
Reference in New Issue
Block a user