title: Read .jpeg image text using c# and Tesseract
body: <p>Im trying to read the text content of an image using Tesseract. Im using the following code for that.</p>
  
  <pre><code>try
  {
      //long i;
      var image = new Bitmap(@"D:\Projects\Project Docs\Oasis\20180405T105834.618.jpeg");
      var ocr = new tessnet2.Tesseract();
      //ocr.SetVariable("tessedit_char_whitelist", "0123456789");
      ocr.Init(@"D:\Projects\Project Docs\Oasis\", "eng", false);
  
      var result = ocr.DoOCR(image, Rectangle.Empty);
      foreach (tessnet2.Word word in result)
      {
          Console.WriteLine(word.Text);
          Console.Read();
      }
      Console.ReadKey();
  }
  catch (Exception Ex)
  {
  
      throw;
  }
  </code></pre>
  
  <p>at the <code>ocr.Init(@"D:\Projects\Project Docs\Oasis\20180405T105834.618.jpeg",</code> "eng", false); the application breaking without any exception.</p>