linking distance


In OCR actions, specifies the maximum horizontal distance between adjacent characters for those characters to be treated as members of a single bitmap text fragment.

The linking distance is given as a percentage of the average height (not width) of the detected font sizes of the text on either side of the gap. Adjacent characters are grouped together as a fragment when the distance between each is less than the specified threshold value. If the horizontal spacing between two characters exceeds this threshold, they are treated as members of separate text fragments.

Allowable values

Percentage value in the range 1-500

Default value



  • linking distance can also be set through the dedicated set ocr setting action, as well as through the setting action.
  • For ease of use, this value can be derived with the OCR Detector Tool, which allows you to establish the optimum settings for the detection of text under difficult circumstances.