Compare commits

..

No commits in common. "ccbb6246cd4ecb8953f2de5e67a925b410e6d369" and "d6d75a587079e31608b393427c20aee5d6872922" have entirely different histories.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
TMP_DIR="`mktemp -d`" TMP_DIR="`mktemp -d`"
@ -18,7 +18,7 @@ verbose () {
pdf_to_jpg () { pdf_to_jpg () {
verbose "Converting the scan '$1' to jpg" verbose "Converting the scan '$1' to jpg"
convert -density 300 -quality 100 "$1" "$TMP_DIR/out-%05d.jpg" convert -density 300 -quality 100 "$1" "$TMP_DIR/out.jpg"
} }
tesseract_jpgs () { tesseract_jpgs () {