1
0
Fork 0

initial commit

This commit is contained in:
ston1th 2019-05-08 20:50:37 +02:00
commit c578765961
18 changed files with 1862 additions and 0 deletions

13
convert.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
[ -d new ] || mkdir new
go build convert.go
./convert orig/glypo-0.jpg new/glypo-0.tif
./convert orig/glypo-1.jpg new/glypo-1.tif
./convert orig/glypo-2.jpg new/glypo-2.tif
./convert orig/glypo-3.jpg new/glypo-3.tif
./convert orig/glypo-4.jpg new/glypo-4.tif
./convert orig/glypo-5.jpg new/glypo-5.tif
tiffcp new/*.tif new/combined.tif
tesseract --oem 1 -l deu new/combined.tif glyphosat_bfr pdf
tesseract --oem 1 -l deu new/combined.tif glyphosat_bfr txt