mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-04-30 19:22:03 +02:00
.
This commit is contained in:
parent
a9e12a63da
commit
1ae862cf52
1 changed files with 7 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
from functools import cached_property
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
from click import command
|
||||
from ocrd.decorators import ocrd_cli_options, ocrd_cli_wrap_processor
|
||||
from ocrd.workspace import page_from_file
|
||||
from ocrd_models import OcrdFileType, OcrdPage
|
||||
|
||||
|
|
@ -89,3 +91,8 @@ class EynollahRecognizeProcessor(Processor):
|
|||
local_filename=output_filename,
|
||||
mimetype=page_ns,
|
||||
)
|
||||
|
||||
@command()
|
||||
@ocrd_cli_options
|
||||
def main(*args, **kwargs):
|
||||
return ocrd_cli_wrap_processor(EynollahRecognizeProcessor, *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue