-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish renaming the project and the existing processor
- Loading branch information
Showing
10 changed files
with
28 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,7 @@ venv.bak/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# vim tmp | ||
*.swp | ||
*.swo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ocrd_evaluate_segmentation/ocrd-tool.json | ||
ocrd_segment/ocrd-tool.json |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .repair import RepairSegmentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import click | ||
|
||
from ocrd.decorators import ocrd_cli_options, ocrd_cli_wrap_processor | ||
from ocrd_segment.repair import RepairSegmentation | ||
|
||
@click.command() | ||
@ocrd_cli_options | ||
def ocrd_segment_repair(*args, **kwargs): | ||
return ocrd_cli_wrap_processor(RepairSegmentation, *args, **kwargs) |
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
ocrd_evaluate_segmentation/ocrd-tool.json → ocrd_segment/ocrd-tool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,20 @@ | |
""" | ||
Installs: | ||
- ocrd-evaluate-segmentation | ||
- ocrd-segment-repair | ||
""" | ||
import codecs | ||
|
||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
name='ocrd_evaluate_segmentation', | ||
name='ocrd_segment', | ||
version='0.0.1', | ||
description='Segmentation evaluation', | ||
description='Page segmentation and segmentation evaluation', | ||
long_description=codecs.open('README.md', encoding='utf-8').read(), | ||
author='Konstantin Baierer, Kay-Michael Würzner, Robert Sachunsky', | ||
author_email='[email protected], [email protected], [email protected]', | ||
url='https://github.com/OCR-D/ocrd_evaluate_segmentation', | ||
url='https://github.com/OCR-D/ocrd_segment', | ||
license='Apache License 2.0', | ||
packages=find_packages(exclude=('tests', 'docs')), | ||
install_requires=open('requirements.txt').read().split('\n'), | ||
|
@@ -24,7 +24,7 @@ | |
}, | ||
entry_points={ | ||
'console_scripts': [ | ||
'ocrd-evaluate-segmentation=ocrd_evaluate_segmentation.cli:ocrd_evaluate_segmentation', | ||
'ocrd-segment-repair=ocrd_segment.cli:ocrd_segment_repair', | ||
] | ||
}, | ||
) |