Recognizing Handprinted Arabic Digits

ABBYY FineReader Engine does not currently support Arabic ICR. However, recognizing specifically Arabic digits is possible, and this article describes the necessary steps.

In addition to the procedure outlined in Recognizing Handprinted Texts, for Arabic digits recognition, you need to create a custom language with the alphabet consisting only of 10 digit symbols and set it as the recognition language for every block with digits.

Therefore, to recognize Arabic handprinted digits do the following:

  1. Create a new text language using the CreateTextLanguage method of the LanguageDatabase object.
  2. Using the LetterSet property of the BaseLanguage object within the TextLanguage object, set the language alphabet containing the following characters: ٠١٢٣٤٥٦٧٨٩.
  3. For each block containing handprinted Arabic digits specify recognition parameters via the ITextBlock::RecognizerParams property:
    • Set the TextLanguage property of the RecognizerParams object to the language you created in the previous step.
    • Set the TextTypes property of the RecognizerParams object to TT_Handprinted.
    • If the digits are enclosed in a frame, box, etc., set up the type of marking around the letters in the FieldMarkingType property of the RecognizerParams object. If each digit is written in a separate cell, use also the CellsCount property to set up the number of character cells in the block.

Samples

C++ (COM) code

C# code

See also

RecognizerParams

Recognizing Handprinted Texts

Working with Languages

03.07.2024 8:50:43

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.