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

Barcode Removal

Binary Dropout Grooper.IP

Removes barcode regions from an image using configurable detection and masking options.

Remarks

The Barcode Removal command is designed to detect and remove barcode regions from document images, helping to eliminate unwanted barcode content prior to downstream processing such as OCR or data extraction.

This command leverages the Barcode Detection engine to identify barcode regions based on user-configurable detection settings. It can also remove regions that appear to be barcodes but could not be decoded, which is useful for cleaning up barcode-like noise or damaged barcodes.

How Barcode Removal Works

  1. The command applies the configured Barcode Detection to the input image to locate barcode regions.
  2. For each detected barcode, a mask is generated to cover the barcode region.
  3. Optionally, regions that resemble barcodes but could not be decoded are also masked if 'Remove Regions' is enabled.
  4. The mask can be expanded by a configurable border to ensure the entire barcode and its quiet zone are removed.
  5. The masked regions are then dropped out of the image using the selected dropout method.

Configuration and Usage

  • Use the 'Barcode Detection Settings' property to specify which barcode types to detect and to fine-tune detection parameters.
  • Enable 'Remove Regions' to remove undecoded barcode-like regions in addition to successfully decoded barcodes.
  • Adjust 'Border Expand' to ensure the entire barcode (and any quiet zone) is masked out. For example, set to 1mm or 5px.

Supported Pixel Formats

All common pixel formats are supported, including Pixel8bppGrayscale, Pixel24bppBgr, and Pixel1bppIndexed. Images are automatically converted as needed for barcode detection and removal.

Diagnostics

When run in diagnostic mode, Barcode Removal generates additional output to assist with configuration and troubleshooting:

  • Diagnostic images showing the generated mask and the regions that will be removed.
  • Log messages listing detected barcodes, undecoded regions, and the effect of the border expansion.

These diagnostics help verify that the command is correctly configured and that only the intended barcode regions are being removed.

Classification Features

Barcode Removal does not generate classification features directly, but barcode information detected during processing is available for downstream use via the Barcode Detection result.

Notes

  • This command is especially useful for document cleanup prior to OCR or data extraction, where barcodes are not needed or may interfere with results.
  • Always review the mask and output image to ensure that only unwanted barcode regions are removed.

Properties

NameTypeDescription
General
Image Preprocessing
Command Info

See Also

Used By

Notification