You are here: Start » FIL.NET » Invoke.ReadSingleBarcode

Invoke.ReadSingleBarcode

Detects and recognizes a single barcode on the input image.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ReadSingleBarcode
(
	Fil.Image inImage,
	Optional<Fil.ShapeRegion> inRoi,
	Optional<Fil.CoordinateSystem2D> inRoiAlignment,
	Fil.BarcodeParams inBarcodeParams,
	Fil.BarcodeDecodingParams inDecodingParams,
	Conditional<Fil.Barcode> outBarcode,
	Optional<List<Fil.Rectangle2D>> outBarcodeCandidates,
	Optional<Fil.ShapeRegion> outAlignedRoi,
	Diagnostic<Fil.Image> diagGradientImage,
	Diagnostic<List<List<Fil.Segment2D>>> diagScheduledScanSegments
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inRoiFtl.Optional<Fil.ShapeRegion>Region of interest. Default value: ftl::NIL.
inRoiAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL.
inBarcodeParamsFil.BarcodeParamsSpecification of barcode that can be detected.
inDecodingParamsFil.BarcodeDecodingParamsParameters of the barcode decoding algorithm.
outBarcodeFtl.Conditional<Fil.Barcode>A barcode that has been correctly detected and decoded.
outBarcodeCandidatesFtl.Optional<System.Collections.Generic.List<Fil.Rectangle2D>>Places with high gradient values that are further investigated.
outAlignedRoiFtl.Optional<Fil.ShapeRegion>Input ROI after transformation (in the image coordinates).
diagGradientImageFil.Diagnostic<Fil.Image>Image of gradient directions.
diagScheduledScanSegmentsFil.Diagnostic<System.Collections.Generic.List<System.Collections.Generic.List<Fil.Segment2D>>>Scheduled scan segments.

See also