You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.ShapeRegion> | Region of interest. Default value: atl::NIL. | ||
![]() | inRoiAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the region of interest to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inBarcodeParams | Avl.BarcodeParams | Specification of barcode that can be detected. | ||
![]() | inDecodingParams | Avl.BarcodeDecodingParams | Parameters of the barcode decoding algorithm. | ||
![]() | outBarcode | Atl.Conditional<Avl.Barcode> | A barcode that has been correctly detected and decoded. | ||
![]() | outBarcodeCandidates | Atl.Optional<System.Collections.Generic.List<Avl.Rectangle2D>> | Places with high gradient values that are further investigated. | ||
![]() | outAlignedRoi | Atl.Optional<Avl.ShapeRegion> | Input ROI after transformation (in the image coordinates). | ||
![]() | diagGradientImage | Avl.Diagnostic<Avl.Image> | Image of gradient directions. | ||
![]() | diagScheduledScanSegments | Avl.Diagnostic<System.Collections.Generic.List<System.Collections.Generic.List<Avl.Segment2D>>> | Scheduled scan segments. |