Skip to main content
Separator is an element of a FlexiLayout that describes a vertical or horizontal separator. Separator elements are marked with Separator element icon in the FlexiLayout tree. The program uses Separator elements to look for separators. It considers as candidates those separator objects detected during pre-recognition that either fit entirely within the search area of a Separator element or overlap the search area.

Separator element properties

To open the Properties dialog box, right-click the element in the FlexiLayout tree and select Properties… on the shortcut menu. Click the Separator tab to describe the corresponding object.
Screenshot of the Separator tab of a Separator element's Properties dialog box in ABBYY FlexiLayout Studio.
The Separator tab has the following properties.
If you specify both Min length and Min relative length (%), the program uses the stricter criterion and ignores the other.
To estimate the length of a separator, click the corresponding object on the image and view its properties in the Properties window. For example, suppose that Min length = 300 (1 in or 2.54 cm) and Min relative length = 30%. If the width of the search area is 21.0 cm (the width of an A4 sheet), the program looks for separators longer than 6.3 cm.

Penalty limit for length

Penalty limit for length is the minimum coefficient by which the hypothesis quality can be multiplied as a penalty for its length. When the program estimates the quality of a hypothesis, it can penalize the hypothesis for the length of the separator: the longer the separator object, the higher the quality of the hypothesis. The highest quality of 1 is assigned to a separator whose length is the same as the search area. When the relative length of the separator decreases from 1 to 0, the quality of the hypothesis decreases in direct proportion from 1 to the Penalty limit for length value.

Fits entirely within search area

Fits entirely within search area specifies that the separator must fit entirely within its search area. Clear this option to find separators that overlap the search area, as shown in the following figure.
Screenshot of a separator that overlaps its search area rather than fitting entirely within it, in ABBYY FlexiLayout Studio.

Space group for disjointed separators

Sometimes separators on document images become distorted, disjointed, or skewed due to low-quality printing or scanning. During pre-recognition, this can cause the program to detect multiple separators instead of one.
Screenshot of a single distorted separator detected as several disjointed separator fragments during pre-recognition.
The Space group contains options that you can use to tell the program when to include multiple separators in one hypothesis.
If you specify both Max length and Max relative length (%), the program uses the shorter of the two distances.

Tips for Separator elements

Separators do not usually have fixed positions on unstructured documents. Since they are optional design elements, a designer might choose not to use them at all. For this reason, separators are rarely used as reference elements in FlexiLayouts. The most common function of separators in documents is to separate the text from adjoining fields, so the search areas of Separator elements tend to be small. If you use separators as reference elements, check whether they were detected during pre-recognition. Once pre-recognition completes, confirm that the program can detect a separator on all test images.
1

Highlight the separators

Click the Show separators button button on the toolbar.
2

Review every test image

Look through all of the test images and check the location of the separators.
This check is especially important if the separators are thin, because in this case their detection depends on image quality and the scanning settings.
When creating Separator elements, pay attention to the number of hypotheses you can end up with in the separator’s search area. Avoid situations where multiple separator objects fall in the same search area and the FlexiLayout has a group containing several Separator elements.In this case, the program can generate an abnormally large number of hypotheses when applying the FlexiLayout. A hypothesis can be generated for every object, and the program tries every combination of possible hypotheses.If possible, minimize the number of hypotheses for Separator elements by limiting their search area.