title: How to speed up tesseract OCR
body: <p>I'm trying to OCR a lot of documents(I mean in 300k + range a day). At the moment i'm using  <a href="https://github.com/charlesw/tesseract" rel="noreferrer">Tesseract wrapper for .NET</a> and it's all good in quality but the speed is not good enough. The times i get for 20 tasks in parallel  scanning of a half page from the same pdf in average are 2,546 second per scan. The code im using:</p>
  
  <pre><code>using (var engine = new TesseractEngine(Tessdata, "eng", EngineMode.TesseractOnly))
          {
              Page page;
              page = engine.Process(image, srcRect);        
              var text = page.GetText();
              return Task.FromResult(text);
          }
  </code></pre>
  
  <p>The average time i get is after lowering the resolution of image by half and converting it to grayscale. Any ideas to speed up the process? I don't need to have text segmentated, just the text in one line. Should i maybe use something as <a href="https://www.mathworks.com/help/matlab/matlab_external/call-matlab-function-from-c-client.html" rel="noreferrer">Matlab for c#?</a></p>