Skip to content
Snippets Groups Projects
Commit 03f43d96 authored by Michelle Weidling's avatar Michelle Weidling :blowfish:
Browse files

fix: file lookup instead of dir lookup

parent 3a2c7272
No related branches found
No related tags found
1 merge request!1Merge GitHub's state
......@@ -39,7 +39,7 @@ convert_ocrd_wfs_to_NextFlow() {
download_models() {
echo "Download the necessary models if not available"
if [[ ! -d /usr/local/share/tessdata ]]
if [[ ! -f /usr/local/share/tessdata/Fraktur_GT4HistOCR.traineddata ]]
then
#mkdir -p /usr/local/share/ocrd-resources/
ocrd resmgr download ocrd-tesserocr-recognize '*'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment