doxakis / How-to-use-tesseract-ocr-4.0-with-csharp

How to use Tesseract OCR 4.0 with C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use Tesseract OCR 4.0 with C#

Sure you can compile it, but here is a quick and easy way to get the job done.

Installation

NOTE: All the required files to run the demo are in this repo. You can skip the installation section for now.

You may find this section helpful when you are ready to integrate Tesseract in your app in c#.

Demo

  • Open the solution on Visual Studio 2017 (Demo.sln)
  • Run it

The ParseText function is thread-safe.

Folder structure

  • Demo (C# solution)
  • Samples (Images you want to extract text)
  • tesseract-master.1153 (The build version I am gonna use for the demo)
    • tessdata (data files for the languages)
      • eng.traineddata
      • fra.traineddata

Copyright and license

Code released under the MIT license.

About

How to use Tesseract OCR 4.0 with C#

License:MIT License