-psm vs tessedit_pageseg_mode

108 views
Skip to first unread message

Michael Bradley

unread,
Jul 7, 2016, 12:42:09 AM7/7/16
to tesseract-ocr
I am running Tesseract v3.04 command line on a sample image and when I run

tesseract INFILE OUTFILE -psm 6 

I get pretty good results.

I wanted to turn this into a config variable so I tried

tesseract INFILE OUTFILE -c tessedit_pageseg_mode=6

and got a very different result.

I thought that -psm and tessedit_pageseg_mode were the same thing.

Can someone explain why I am getting different results?
Reply all
Reply to author
Forward
0 new messages