You are here: Start » FIL.NET » FIS.ReadMultipleBarcodes Method

FIS.ReadMultipleBarcodes Method

Detects and recognizes multiple barcodes on the input image.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void ReadMultipleBarcodes
(
	FilNet.Image inImage,
	FilNet.Rectangle2D? inRoi,
	FilNet.CoordinateSystem2D? inRoiAlignment,
	FilNet.BarcodeFormat? inBarcodeFormat,
	float inMinGradientLength,
	int inBaseBarWidth,
	int inDetectionScanCount,
	int inReadingScanCount,
	int inScanWidth,
	float inMinStrength,
	float inSmoothingStdDev,
	FilNet.Polarity inPolarity,
	IList<FilNet.Rectangle2D> outBarcodePositions,
	IList<string> outDecodedTexts,
	IList<FilNet.BarcodeFormat> outBarcodeFormats,
	IList<FilNet.Polarity> outBarcodePolarities,
	out FilNet.Rectangle2D outAlignedRoi,
	IList<FilNet.Rectangle2D> outBarcodeCandidates,
	FilNet.Image diagGradientImage,
	IList<List<FilNet.Segment2D>> diagScheduledScanSegments
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inRoiFilNet.Rectangle2D?Range of pixels to be processed. Default value: ftl::NIL.
inRoiAlignmentFilNet.CoordinateSystem2D?Adjusts the barcode rectangle to the position of the inspected object. Default value: ftl::NIL.
inBarcodeFormatFilNet.BarcodeFormat?EAN13Format of the barcode. Default value: EAN13.
inMinGradientLengthfloat<0.0f, INF>8.0fMinimal gradient length of edge pixels used for detecting barcodes. Default value: 8.0f.
inBaseBarWidthint<1, INF>3Estimated width of the thinnest bar. Default value: 3.
inDetectionScanCountint<1, INF>5Number of scan lines used in detecting barcode. Default value: 5.
inReadingScanCountint<1, INF>5Number of parallel scans run until first successful read. Default value: 5.
inScanWidthint<1, INF>5Width of the single scan. Default value: 5.
inMinStrengthfloat<0.0f, INF>5.0fMinimal strength of an extracted edge. Default value: 5.0f.
inSmoothingStdDevfloat<0.0f, INF>0.25fStandard deviation of the gaussian smoothing applied to the profile extracted in each scan. Default value: 0.25f.
inPolarityFilNet.PolarityDarkSpecifies whether code is darker or brighter than the background. Default value: Dark.
outBarcodePositionsSystem.Collections.Generic.IList<FilNet.Rectangle2D>Positions of the found barcodes.
outDecodedTextsSystem.Collections.Generic.IList<string>Decoded barcode content.
outBarcodeFormatsSystem.Collections.Generic.IList<FilNet.BarcodeFormat>Decoded barcode format.
outBarcodePolaritiesSystem.Collections.Generic.IList<FilNet.Polarity>Decoded barcode polarity.
outAlignedRoiFilNet.Rectangle2DInput ROI after transformation (in the image coordinates).
outBarcodeCandidatesSystem.Collections.Generic.IList<FilNet.Rectangle2D>Places with high gradient values that are further investigated.
diagGradientImageFilNet.ImageImage of gradient directions.
diagScheduledScanSegmentsSystem.Collections.Generic.IList<System.Collections.Generic.List<FilNet.Segment2D>>Scheduled scan segments.

Function Overrides

See also