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

Invoke.ReadSingleBarcode

Reads a single barcode (1D) in the input image.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.ShapeRegion>Region of interest. Default value: atl::NIL.
inRoiAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the region of interest to the position of the inspected object. Default value: atl::NIL.
inBarcodeParamsAvl.BarcodeParamsSpecification of barcode that can be detected.
inDecodingParamsAvl.BarcodeDecodingParamsParameters of the barcode decoding algorithm.
outBarcodeAtl.Conditional<Avl.Barcode>A barcode that has been correctly detected and decoded.
outBarcodeCandidatesAtl.Optional<System.Collections.Generic.List<Avl.Rectangle2D>>Places with high gradient values that are further investigated.
outAlignedRoiAtl.Optional<Avl.ShapeRegion>Input ROI after transformation (in the image coordinates).
diagGradientImageAvl.Diagnostic<Avl.Image>Image of gradient directions.
diagScheduledScanSegmentsAvl.Diagnostic<System.Collections.Generic.List<System.Collections.Generic.List<Avl.Segment2D>>>Scheduled scan segments.

See also