title: Creating a training image for Tesseract OCR
body: <p>I'm writing a generator for training images for Tesseract OCR.</p>
  
  <p>When generating a training image for a new font for Tesseract OCR, what are the best values for:</p>
  
  <ol>
  <li>The DPI</li>
  <li>The font size in points</li>
  <li>Should the font be anti-aliased or not</li>
  <li>Should the bounding boxes fit snugly: <img src="https://i.stack.imgur.com/uUN9c.png" alt="enter image description here">, or not: <img src="https://i.stack.imgur.com/9kNGI.png" alt="enter image description here"></li>
  </ol>