diff --git a/lib/image b/lib/image index 4dbfb3e..ac39b58 100755 --- a/lib/image +++ b/lib/image @@ -22,9 +22,9 @@ image() { declare -A values tmpfile=$(mktemp --suffix=.tiff) - transform='-adaptive-resize 600%x400% -contrast -channel green -threshold 50%' + transform='-resize 300%x200% -contrast -channel green -threshold 50%' - if (( debug >= 3 )) + if (( debug_import >= 3 )) then readarray -t tactout < <(convert $transform "$1" -format tiff - | tee "${1%.png}.tiff" | tesseract -l eng -psm 4 stdin stdout) else