title: OCRTesseract in OpenCV3 not working properly for relatively simple image
body: <p>Edit:: made some code change and at least am not getting the empty page error. Update code below.</p>
  
  <p>I am using OpenCV3 and Tesseract and have done some processing on a relatively simple image and I was expecting the ocr part to work smoothly but it's not.</p>
  
  <p>Image:<a href="https://i.stack.imgur.com/hvXjl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hvXjl.png" alt="Image to run OCR on"></a></p>
  
  <p>Code:</p>
  
  <pre><code>Ptr&lt;cv::text::OCRTesseract&gt; ocr =
      cv::text::OCRTesseract::create(NULL /*datapath*/, "eng" /*lang*/, "ABCDEFGHIJKLMNOPQRSTUVWXYZ" /*whitelist*/, 2 /*oem*/, 10 /*psmode*/);
  
  string output;
  vector&lt;Rect&gt;   boxes;
  vector&lt;string&gt; words;
  vector&lt;float&gt;  confidences;
  ocr-&gt;run(gray3, output, &amp;boxes, &amp;words, &amp;confidences, cv::text::OCR_LEVEL_WORD);
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>I
  </code></pre>
  
  <p>Any idea what's going on?</p>
  
  <p>Thanks.</p>