ABBYY FlexiCapture: Finding value of Title/Label using Character String in Abbyy FlexiLayout - Manoj Jha

Manoj Jha

Robotic Process Automation, Abbyy Flexicapture, Python, JavaScript, C#. Machine learning and Data Science

ABBYY FlexiCapture: Finding value of Title/Label using Character String in Abbyy FlexiLayout

Share This
    In my previous post, I showed you guys how we can detect the Title/Label from documents using the Static Text element. So now I am going to explain how we can detect the value of title/label from documents. 
Check Out => Create SearchElement in Abbyy FlexiLayout to find multiple Static text from documents

    In any document finding text, those are static to documents like in Invoice we have Invoice Number, Invoice Date, or header of the table, etc are easy to detect because it is there same in that type of document for any number of page, but when we think of values of title or label then those are not static(same) in all the document. Invoice number, invoice date, and other valuable details are definitely going to be different than each other so in that case, we cant just search those values by using the Static Text element. In that situation, we need another element that is capable of capturing the variable types of items which is not the same in any document.
    So my whole point of saying is if we want to detect values of the Invoice date, Invoice Number, the total amount of that invoice, vendor name, company name, etc anything which is not the title/label then we need another element of ABBYY FlexiLayout name Character String element.
    So now let's try to understand what is Character String Element and how it works in ABBYY FlexiLayout:

Character String: 

  • Character String is an element of FlexiLayout which describes a string of characters written in one line from left to right. The character string may consist of words or parts of words. 
  • Character String elements are marked with  in the FlexiLayout tree.
  • Character String elements are used to look for unspecified text. The program will consider as candidates the Recognized Words objects detected during pre-recognition in the element's search area.
    Usually, character strings are located next to the static text but in some cases, it can be located below the static text or left side of it. When looking for the Invoice Number of a document, for example, the program must first find the static text "Invoice Number" and then look for digits next to it.

Character String Tab
The text that we want to find can be described in one of two ways.

  1. Describing search text by means of a regular expression

    • A regular expression defines possible combinations of characters. This method is usually used on good quality documents that are recognized without errors. If you use a regular expression the hypothesis must meet its conditions.
    • To enter a regular expression,  select the Regular expression option and enter the expression in the field next to it. You can also click the  button, which opens a drop-down list of options (Any Letter, Character From Set, etc.). Select the desired option to enter the corresponding regular expression into the field.

  1.  Describing search text by means of an alphabet

    • An alphabet lists characters that may occur in the search text. This method is used whenever the character string can not be described by means of the regular expression or there are too many errors in the recognized text as a result of poor image quality. 
    • If the format of the text is unknown, no alphabets are specified. In this case, the program will consider all possible characters when looking for the object corresponding to the element.
    • You can specify several alphabets for a Character String element.


Please watch the video to see how we can actually capture the invoice number in the invoice document.


Thanks for reading this all long. I'll post more Abbyy and RPA related tutorials and tips soon. If you have any problem related to Abbyy installation or anything then please contact me or comment below so I'll try to resolve your issue. 
Stay tuned to my blog. If you like reading my work please show your support by sharing and following my blog and Youtube channel. 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

If the post was helpful to you, Please donate us so we can create more useful content

Support by Donate

Pages