Open ggdhines-zz opened 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?
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.
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"?