From f0ec63620642601ca77cdd33552908452eaed17e Mon Sep 17 00:00:00 2001 From: Christos Sidiropoulos Date: Wed, 20 Dec 2023 13:59:52 +0000 Subject: [PATCH] Fix wrong call Signed-off-by: Christos Sidiropoulos --- .../Plugin/Tools/FullTextGenerationScripts/tesseract-basic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Plugin/Tools/FullTextGenerationScripts/tesseract-basic.sh b/Classes/Plugin/Tools/FullTextGenerationScripts/tesseract-basic.sh index 4c9c79607..d8f756b4f 100755 --- a/Classes/Plugin/Tools/FullTextGenerationScripts/tesseract-basic.sh +++ b/Classes/Plugin/Tools/FullTextGenerationScripts/tesseract-basic.sh @@ -28,9 +28,9 @@ done # Parse URL or Path and run tesseract: regex='(https?|ftp|file)://[-[:alnum:]\+&@#/%?=~_|!:,.;]*[-[:alnum:]\+&@#/%=~_|]' #Regex for URL validation ( https://stackoverflow.com/a/3184819 ) if [[ (${imagePath} =~ $regex) || (-f ${imagePath}) ]] ; then # If imagePath is a valid URL or a local file - echo "Running OCR: tesseract $imagePath $outputPath -l alto" + echo "Running OCR: tesseract $imagePath $outputPath alto" - tesseract $imagePath $outputPath -l alto + tesseract $imagePath $outputPath alto exit 0 else