English (English) - Change language

Sample 3. Step 16: Detecting the name of the Quantity column with a kwQuantity element

Analysis of the pre-recognition results reveals that even though the name is a very short keyword “Qty,” we can detect the name by using an element of type Static Text. Set the maximum error percentage to 35; this allows one wrong character in a three-letter word.

To create the kwQuantity element:

  1. In the TableHeader element, create an element of type Static Text nd name it kwQuantity.
  2. Click the Static Text tab.
  3. In the Search text field, enter the text to find: “Qty”.
  4. Set the Max error percentage to 35.
  5. Click the Advanced tab.
  6. Since the name of the Quantity column is located to the right of the leftmost third of the image, set the following additional search constraint in the Advanced pre-search relations field:Look for the object to the right of the leftmost third of the page.In the FlexiLayout language:
    RightOf: PageRect.Left + PageRect.Width/3;
  7. Try matching the FlexiLayout with the test images and make sure that the program successfully detects the element on all the images.

9/25/2020 9:24:45 AM


Please leave your feedback about this article