title: How to set tessedit_write_images in python-tesseract?
body: <p>I'm trying to set <code>tessedit_write_images</code> but can't seem to do it, i can't see the tessinput.tif anywhere</p>
  
  <p>i'm doing:</p>
  
  <pre><code>import tesseract
  
  api = tesseract.TessBaseAPI()
  api.Init(".","eng",tesseract.OEM_TESSERACT_ONLY)
  api.SetPageSegMode(tesseract.PSM_AUTO_OSD)
  api.SetVariable("tessedit_write_images", "T")
  </code></pre>
  
  <p>but i've tried with "True", "1", and some more variations, doesn't seem to work at all.</p>
  
  <p>Any help?</p>