title: How to give best chance of success to an OCR software?
body: <p>I am using <a href="http://code.google.com/p/tesseract-ocr/" rel="nofollow noreferrer">Tesseract OCR</a> (via <a href="http://code.google.com/p/pytesser/" rel="nofollow noreferrer">pytesser</a>) and PIL (Python Image Library) for automated test of an application.</p>
  
  <p>I am checking that the displayed text is ok by making a screenshot and getting the text thanks to tesseract.</p>
  
  <p>I had some issues in the beginning and it seems to work better since I have increased the size of the screenshot thanks to the bicubic interpolation of PIL.</p>
  
  <p>Unfortunatelly, I still have some mistakes like confusion between '0' and 'O'. I can imagine that I will have other similar issues in the future.</p>
  
  <p>I would like to know if there are some techniques to prepare an image in order to help the OCR. Any idea is welcomed.</p>
  
  <p>Thanks in advance</p>