blob: 106d111d6db59a7fa67d5cdd071996262e150173 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
Postup jak vygenerovat kvalitn OCR
pdfimages Co_jest_obect_KHB.pdf cojeimg
pdfinfo Co_jest_obect_KHB.pdf
for img in cojeimg-*.ppm ; do textcleaner -g $img ${img%*.ppm}-clean.ppm ; done
for img in cojeimg-*-clean.ppm ; do tesseract $img ${img%*-clean.ppm} -l ces -c tessedit_create_hocr=1 ; done
cat cojeimg-0*.txt >cojestobec-img.txt
|