Skip to content

How can i custom tesseract parameters? #1417

Closed Answered by jbarlow83
hoolyfook asked this question in Q&A
Discussion options

You must be logged in to vote

You can create a text file e.g. named my.cfg containing

preserve_interword_spaces=1

then use

ocrmypdf --tesseract-config my.cfg --tesseract-oem 3 --tessearct-psm 6 --lang script/Vietnamese --lang vie in.pdf out.pdf

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hoolyfook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants