amazon-archives / tesserpy

ARCHIVED: A Python API for Tesseract
https://github.com/rigorgt/tesserpy
GNU Lesser General Public License v2.1
20 stars 10 forks source link

differences between tesserpy and command line tesseract #12

Open ggdhines-zz opened 8 years ago

ggdhines-zz commented 8 years ago

I'm getting different results when I run tesseract through the command line and via tesserpy. I've tried a couple of params with the command line. For example, "tesseract example.jpg" which for my specific file (which I can provide if it would help) gives pretty bad results. I then tried "tesseract -psm 7 example.jpg" which gave really good results. However, with tesserpy, I get results somewhere in between. Any way of being able to force tesserpy to use "-psm 7"?

ggdhines-zz commented 8 years ago

So https://github.com/blindsightcorp/tesserpy/issues/3 tells how to set the psm - but that doesn't make any difference to the results. Any other suggestions for how to get the exact same answer as the command line?

hyandell commented 7 years ago

This repository has been archived. I recommend you work with a forked version of the project at https://github.com/rigorgt/tesserpy to continue this discussion.