aboutsummaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.txt b/README.txt
index 106d111..ade0036 100644
--- a/README.txt
+++ b/README.txt
@@ -1,8 +1,9 @@
+Postup jak vygenerovat kvalitní OCR
-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
+```