mirror of
https://github.com/qurator-spk/ocrd_repair_inconsistencies.git
synced 2025-06-09 19:59:59 +02:00
🐛 Use ocrd-repair-inconsistencies where appropriate
This commit is contained in:
parent
2205a4469c
commit
1468b6070b
4 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ set -e
|
|||
|
||||
tmp_fg=FIXED_$RANDOM
|
||||
|
||||
ocrd_repair_inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg
|
||||
ocrd-repair-inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg
|
||||
|
||||
for f in "$tmp_fg"/*; do
|
||||
g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}"
|
||||
|
|
|
@ -3,7 +3,7 @@ set -e
|
|||
|
||||
tmp_fg=FIXED_$RANDOM
|
||||
|
||||
ocrd_repair_inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg
|
||||
ocrd-repair-inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg
|
||||
|
||||
for f in "$tmp_fg"/*; do
|
||||
g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}"
|
||||
|
|
|
@ -17,7 +17,7 @@ from shapely.geometry import Polygon
|
|||
|
||||
from .config import OCRD_TOOL
|
||||
|
||||
TOOL = 'ocrd_repair_inconsistencies'
|
||||
TOOL = 'ocrd-repair-inconsistencies'
|
||||
LOG = getLogger('processor.RepairInconsistencies')
|
||||
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -17,7 +17,7 @@ setup(
|
|||
},
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'ocrd_repair_inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies',
|
||||
'ocrd-repair-inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies',
|
||||
]
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue