title: pytesseract using tesseract 4.0 numbers only not working
body: <p>Any one tried to get numbers only calling the latest version of tesseract 4.0 in python?</p>
  
  <p>The below worked in 3.05 but still returns characters in 4.0, I tried removing all config files but the digits file and still didn't work; any help would be great:</p>
  
  <p>im is an image of a date, black text white background:</p>
  
  <pre><code>import pytesseract
  im =  imageOfDate
  im = pytesseract.image_to_string(im, config='outputbase digits')
  print(im)
  </code></pre>