Compare commits
2 Commits
d6d75a5870
...
ccbb6246cd
Author | SHA1 | Date | |
---|---|---|---|
|
ccbb6246cd | ||
|
20ffba4084 |
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/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.jpg"
|
convert -density 300 -quality 100 "$1" "$TMP_DIR/out-%05d.jpg"
|
||||||
}
|
}
|
||||||
|
|
||||||
tesseract_jpgs () {
|
tesseract_jpgs () {
|
||||||
|
Loading…
Reference in New Issue
Block a user