title: Python - Tesseract
body: <p>I am trying to extract text from an Image using Tesseract module in Python:</p>
  
  <pre><code>from pytesser import *
  image = Image.open('fnord.tif')  # Open image object using PIL
  print image_to_string(image)     # Run tesseract.exe on image
  fnord
  </code></pre>
  
  <p>But am getting the following error:</p>
  
  <p>During handling of the above exception, another exception occurred:</p>
  
  <pre><code>Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "C:\Python34\lib\pytesser\pytesser.py", line 49, in  image_file_to_string
  text = image_to_string(im, cleanup)
  File "C:\Python34\lib\pytesser\pytesser.py", line 31, in image_to_string
  call_tesseract(scratch_image_name, scratch_text_name_root)
  File "C:\Python34\lib\pytesser\pytesser.py", line 24, in call_tesseract
  errors.check_for_errors()
  File "C:\Python34\lib\pytesser\errors.py", line 15, in check_for_errors
  raise Tesser_General_Exception(text)
  pytesser.errors.Tesser_General_Exception: Tessedit:Error:Usage:Tessedit      imagename outputbase [configfile [[+|-]varfile]...]
  
  Signal_exit 25 ABORT. LocCode: 3  AbortCode: 0
  </code></pre>