Resource Base
Table of contents

How to add other languages support in the OCR Demo

  1. Open the solution in IDE You can find it in C:\Program Files (x86)\Dynamsoft\Dynamic .NET TWAIN {Version number}\Samples\C# Samples\OCRDemo after installation. After opening it, please navigate to Form1.cs.

  2. Download the language package from this link into the language folder. In our sample, it’s C:\Program Files (x86)\Dynamsoft\Dynamic .NET TWAIN {Version number}\Samples\Bin\tessdata. Let’s take Arabic as an example. You can download from this page and put it to that folder.

  3. Add the code in Form1_Load function.

languages.Add("Arabic", "ara"); // the first value represents the string shown in the form and the second one should be the same as the file name of the language package.
  1. Run the solution to see how it works

ArabicOCR

This page is compatible for:

Version 7.5

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support