English (English) - Change language

Matching the FlexiLayout with images

When the program matches a FlexiLayout with an image, it attempts to detect on the image the objects which correspond to the elements. It then uses the detected objects to draw blocks on the image.

The program will go down the FlexiLayout tree trying to find all the objects described by the elements and will draw blocks based on the search constraints specified in the FlexiLayout.

Example:

Suppose we have a Group element A consisting of two simple elements a and b and one Group element B (which, in turn, consists of two simple elements aa and bb). Suppose further that we also have two simple elements c and d. Elements A, c and d have the same nesting level. Now, when matching this FlexiLayout with an image, the program will look for objects corresponding to these elements in the following order: a, b, aa, bb, c, and d.

Element A

Element a

Element b

Element B

Element aa

Element bb

Element c

Element d

If the program finds all the objects corresponding to all the non-optional elements (and any objects that the program fails to find are marked as optional), the FlexiLayout will be matched successfully. If the program fails to find at least one object corresponding to a non-optional element, the matching process will be stopped and you will need to adjust the FlexiLayout.

To match the FlexiLayout with an image:

  1. Select one or several images in the batch.
  2. Select the Match command from the Batch menu or from the shortcut menu.

To match the FlexiLayout with an image and view the tree of hypotheses:

  1. Open an image.
  2. Select the Match command from the Image menu or from the shortcut menu.

9/25/2020 9:24:45 AM


Please leave your feedback about this article