From 36f298378870881808e545ec88431909e4adcdcc Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 14 Oct 2022 11:32:19 +0100 Subject: update traintess python only --- traintess.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traintess.sh b/traintess.sh index 9f4174d..870fef9 100755 --- a/traintess.sh +++ b/traintess.sh @@ -55,7 +55,7 @@ find "$name/gt" "$name/eval" -type f -name '*txt' | while read i; do test -f "$d/$b.png" && n="$b.png" test -z "$n" && echo "Skipping $i as no corresponding image found" && continue test -f "$d/$b.box" && echo "Skipping $i as box file already present" && continue - python "${here}/generate_line_box.py" -i "$d/$n" -t "$i" > "$d/$b.box" || exit 1 + python3 "${here}/generate_line_box.py" -i "$d/$n" -t "$i" > "$d/$b.box" || exit 1 done echo "Making unicharset" -- cgit v1.2.1-24-ge1ad