mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-11-10 06:34:11 +01:00
make --model-basedir and --model-overrides top-level CLI options
This commit is contained in:
parent
b6f82c72b9
commit
a913bdf7dc
18 changed files with 132 additions and 170 deletions
|
|
@ -23,3 +23,15 @@ def image_resources(resources_dir):
|
|||
@pytest.fixture()
|
||||
def eynollah_log_filter():
|
||||
return lambda logrec: logrec.name.startswith('eynollah')
|
||||
|
||||
@pytest.fixture
|
||||
def eynollah_subcommands():
|
||||
return [
|
||||
'binarization',
|
||||
'layout',
|
||||
'ocr',
|
||||
'enhancement',
|
||||
'machine-based-reading-order'
|
||||
'models'
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue