You are here: Start » AVL.NET » AVS.ReadSingleBarcode Method
AVS.ReadSingleBarcode Method
Detects and recognizes a single barcode on the input image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ReadSingleBarcode ( AvlNet.Image inImage, NullableRef<AvlNet.ShapeRegion> inRoi, AvlNet.CoordinateSystem2D? inRoiAlignment, AvlNet.BarcodeParams inBarcodeParams, AvlNet.BarcodeDetectionParams inDetectionParams, INullable<AvlNet.Barcode> outBarcode, NullableRef<List<AvlNet.Rectangle2D>> outBarcodeCandidates, NullableRef<AvlNet.ShapeRegion> outAlignedRoi, AvlNet.Image diagGradientImage, IList<List<AvlNet.Segment2D>> diagScheduledScanSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.ShapeRegion> | Region of interest. Default value: atl::NIL. | |||
inRoiAlignment | AvlNet.CoordinateSystem2D? | Adjusts the region of interest to the position of the inspected object. Default value: atl::NIL. | |||
inBarcodeParams | AvlNet.BarcodeParams | Specification of barcode that can be detected. | |||
inDetectionParams | AvlNet.BarcodeDetectionParams | Parameters of the barcode detection algorithm. | |||
outBarcode | AvlNet.INullable<AvlNet.Barcode> | A barcode that has been correctly detected and decoded. This parameter cannot be null. | |||
outBarcodeCandidates | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Rectangle2D>> | Places with high gradient values that are further investigated. Can be null to skip this parameter calculation. | |||
outAlignedRoi | AvlNet.NullableRef<AvlNet.ShapeRegion> | Input ROI after transformation (in the image coordinates). Can be null to skip this parameter calculation. | |||
diagGradientImage | AvlNet.Image | Image of gradient directions. | |||
diagScheduledScanSegments | System.Collections.Generic.IList<System.Collections.Generic.List<AvlNet.Segment2D>> | Scheduled scan segments. |
Function Overrides
- ReadSingleBarcode(Image, BarcodeParams, BarcodeDetectionParams, INullable<Barcode>)
- ReadSingleBarcode(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, BarcodeParams, BarcodeDetectionParams, INullable<Barcode>)
- ReadSingleBarcode(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, BarcodeParams, BarcodeDetectionParams, INullable<Barcode>, NullableRef<List<Rectangle2D>>, NullableRef<ShapeRegion>)
- ReadSingleBarcode(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, BarcodeParams, BarcodeDetectionParams, INullable<Barcode>, IList<Rectangle2D>, ShapeRegion, Image, IList<List<Segment2D>>)