Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Dash Detector

Grooper Object Grooper.IP

Detects and interprets sequences of dash characters as lines within a document image.

Remarks

The Dash Detector enables Grooper to recognize dashed lines—such as those used for signature lines, table borders, or form separators—by analyzing the spatial arrangement and characteristics of dash-like marks in the image.

This class is typically used as part of an image preprocessing pipeline, where it supplements standard line detection by identifying lines that are not solid but are instead composed of repeated dash segments. The detection process is configurable, allowing you to control the minimum number of dashes required to form a line and the maximum allowable gap between dashes.

How Dash Detection Works

The Dash Detector scans the image for clusters of dash-shaped blobs that are sufficiently aligned and spaced to be considered a line. It evaluates both horizontal and vertical orientations, filtering out noise and short or irregular sequences. When a valid dash sequence is found, it is treated as a line for the purposes of downstream processing, such as table extraction or form field recognition.

Configuration Guidance

  • Use the 'Minimum Segment Length' property to specify how many dashes must be present in a sequence for it to be considered a line. Increasing this value reduces false positives from short or accidental dash groupings.
  • Use the 'Maximum Dash Spacing' property to control how much space is allowed between dashes. This helps distinguish between intentional dashed lines and scattered marks.

The Dash Detector is most effective on documents where dashed lines are used for structure or guidance, and where consistent dash size and spacing can be expected. For best results, ensure that the image is properly binarized and free of excessive noise before applying dash detection.

Properties

NameTypeDescription

Used By

Notification