Repository navigation
Tesseract config options #16
OlivierBinette
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
@Duke-Chronicle-Project/computer-vision Just found out that tesseract has an option to output a "tidy" tsv file instead of hocr. The list of parameters can be found using
tesseract --print-parameters.This partially bypasses the need to parse hocr files, although from my tests I wasn't able to recover font information when using this functionality. That is, I wasn't able to both get a tsv output and to get font info by setting "hocr_font_info 1" in the config file.
This option can be called using the command
tesseract imgpath output.tsv "-c tessedit_create_tsv=1"or using
where configfile is a file containing the line "tessedit_create_tsv 1"
All reactions