🐛 Use ocrd-repair-inconsistencies where appropriate

pull/4/head
Gerber, Mike 5 years ago
parent 2205a4469c
commit 1468b6070b

@ -21,7 +21,7 @@ set -e
tmp_fg=FIXED_$RANDOM 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 for f in "$tmp_fg"/*; do
g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}" g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}"

@ -3,7 +3,7 @@ set -e
tmp_fg=FIXED_$RANDOM 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 for f in "$tmp_fg"/*; do
g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}" 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 from .config import OCRD_TOOL
TOOL = 'ocrd_repair_inconsistencies' TOOL = 'ocrd-repair-inconsistencies'
LOG = getLogger('processor.RepairInconsistencies') LOG = getLogger('processor.RepairInconsistencies')

@ -17,7 +17,7 @@ setup(
}, },
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'ocrd_repair_inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies', 'ocrd-repair-inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies',
] ]
}, },
) )

Loading…
Cancel
Save