mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-27 13:49:53 +02:00
♻ Extract a main() function for the main stuff
This commit is contained in:
parent
be0a0c353a
commit
2cf68f149d
1 changed files with 37 additions and 32 deletions
|
@ -97,9 +97,8 @@ page_upgrade_to_2019() {
|
|||
done
|
||||
}
|
||||
|
||||
pip3 list
|
||||
|
||||
|
||||
main() {
|
||||
do_binarization
|
||||
do_validate
|
||||
|
||||
|
@ -131,5 +130,11 @@ for ocr_filegrp in OCR-D-OCR-CALAMARI OCR-D-OCR-TESS; do
|
|||
fi
|
||||
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
pip3 list
|
||||
main
|
||||
|
||||
|
||||
# vim:tw=120:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue