summaryrefslogtreecommitdiff
path: root/fullocrdir.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fullocrdir.sh')
-rwxr-xr-xfullocrdir.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/fullocrdir.sh b/fullocrdir.sh
index d68d2cc..bac8121 100755
--- a/fullocrdir.sh
+++ b/fullocrdir.sh
@@ -13,7 +13,7 @@ TRAINING=rescribealphav5
test $# -ne 1 && echo "$usage" && exit 1
-prereqs="pgconf preprocmulti tesseract"
+prereqs="bookgraph pgconf preprocmulti tesseract"
for i in $prereqs; do
if ! command -v $i > /dev/null ; then
echo "Error: no $i tool found"
@@ -72,3 +72,6 @@ find "$1" -maxdepth 1 -type f -name '*.jpg' | while read f; do
hocrfn=`echo "$bestfn" | sed 's/.conf$/.hocr/'`
cp "$hocrfn" "$1/best/" || exit 1
done
+
+echo "Graphing"
+bookgraph "$1"