OCR-Ergebnis mit in ein PDF packen
Florian Lohoff
flo at rfc822.org
Tue Apr 21 16:17:35 CEST 2009
On Tue, Apr 21, 2009 at 10:40:45AM +0200, Jan-Benedict Glaw wrote:
> Im Anhang ist mal das Script, das den obrigen Workflow implementiert.
> Erwartet *.tiff im aktuellen Verzeichnis und braucht im Moment noch
> ein paar Anpassungen oben (Sprache, Auflösung und Position von
> HocrConverter.py . Auflösung könnte man auch direkt aus den initialen
> TIFFs holen.)
Nur weil du ja so schellscriptler bist:
> OUTDIR="__out__.$$"
> rm -rf "${OUTDIR}"
> mkdir "${OUTDIR}"
OUTDIR=`mktemp -d`
trap "rm -f ${OUTDIR}" exit
wenn man es schoen machen will ;)
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20090421/9ce8903c/attachment.sig>
More information about the Linux
mailing list