Skip to main content
When FlexiLayout Studio looks for static text on an image, the recognized text need not exactly match the text specified in the properties of the element. For example, you can set the properties of a Static Text element so that FlexiLayout Studio treats an object recognized with minor errors (such as “Suppl1er”) as a valid hypothesis for the expected static text “Supplier”.

Error tolerance parameters

You can set the following parameters in the Element Properties dialog box:
  • Max number of errors – The maximum number of incorrect characters in the word
  • Max error percentage – The percentage of errors allowed in the word (calculated as a ratio of the number of errors in the hypothesis to the total number of characters in the hypothesis)
If the number of errors exceeds the set threshold, the detected object will not be considered a valid hypothesis. The greater the number of errors, the poorer the quality of the hypothesis. Since the number of characters in the object is not known in advance and depends on which images are processed, FlexiLayout Studio uses either the threshold set in absolute numbers or the threshold set as a percentage. When formulating and evaluating a hypothesis, FlexiLayout Studio applies the more stringent of the two conditions. If the detected object meets one criterion but not the other, the object is not considered a valid hypothesis.

Static Text hypothesis properties

A Static Text hypothesis has the following properties: