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

FIS.ReadSingleBarcode Method

Detects and recognizes a single barcode on the input image.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void ReadSingleBarcode
(
	FilNet.Image inImage,
	NullableRef<FilNet.ShapeRegion> inRoi,
	FilNet.CoordinateSystem2D? inRoiAlignment,
	FilNet.BarcodeParams inBarcodeParams,
	FilNet.BarcodeDetectionParams inDetectionParams,
	INullable<FilNet.Barcode> outBarcode,
	NullableRef<List<FilNet.Rectangle2D>> outBarcodeCandidates,
	NullableRef<FilNet.ShapeRegion> outAlignedRoi,
	FilNet.Image diagGradientImage,
	IList<List<FilNet.Segment2D>> diagScheduledScanSegments
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inRoiFilNet.NullableRef<FilNet.ShapeRegion>Region of interest. Default value: ftl::NIL.
inRoiAlignmentFilNet.CoordinateSystem2D?Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL.
inBarcodeParamsFilNet.BarcodeParamsSpecification of barcode that can be detected.
inDetectionParamsFilNet.BarcodeDetectionParamsParameters of the barcode detection algorithm.
outBarcodeFilNet.INullable<FilNet.Barcode>A barcode that has been correctly detected and decoded. This parameter cannot be null.
outBarcodeCandidatesFilNet.NullableRef<System.Collections.Generic.List<FilNet.Rectangle2D>>Places with high gradient values that are further investigated. Can be null to skip this parameter calculation.
outAlignedRoiFilNet.NullableRef<FilNet.ShapeRegion>Input ROI after transformation (in the image coordinates). Can be null to skip this parameter calculation.
diagGradientImageFilNet.ImageImage of gradient directions.
diagScheduledScanSegmentsSystem.Collections.Generic.IList<System.Collections.Generic.List<FilNet.Segment2D>>Scheduled scan segments.

Function Overrides

See also