You are here: Start » AVL.NET » AVS.RecognizeBarcode Method
AVS.RecognizeBarcode Method
Extracts information from a barcode located on the input image at a given position.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void RecognizeBarcode ( AvlNet.Image inImage, AvlNet.Rectangle2D inBarcodePosition, AvlNet.CoordinateSystem2D? inBarcodePositionAlignment, AvlNet.BarcodeParams inBarcodeParams, int inScanCount, int inScanWidth, float inMinEdgeStrength, INullable<AvlNet.Barcode> outBarcode, out AvlNet.Rectangle2D outAlignedBarcodePosition, IList<AvlNet.Segment2D> diagScheduledScanSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inBarcodePosition | AvlNet.Rectangle2D | Position of the input image in which the barcode is located. | |||
inBarcodePositionAlignment | AvlNet.CoordinateSystem2D? | Adjusts the barcode rectangle to the position of the inspected object. Default value: atl::NIL. | |||
inBarcodeParams | AvlNet.BarcodeParams | Specification of barcode that can be read. | |||
inScanCount | int | <1, INF> | 5 | Number of parallel scans run until first successful read. Default value: 5. | |
inScanWidth | int | <1, INF> | 5 | Width of the single scan. Default value: 5. | |
inMinEdgeStrength | float | <0.0f, INF> | 5.0f | Minimal strength of an extracted edge. Default value: 5.0f. | |
outBarcode | AvlNet.INullable<AvlNet.Barcode> | Decoded barcode or nothing if all of the scans failed. This parameter cannot be null. | |||
outAlignedBarcodePosition | AvlNet.Rectangle2D | ||||
diagScheduledScanSegments | System.Collections.Generic.IList<AvlNet.Segment2D> | Scheduled scan segments. |
Function Overrides
- RecognizeBarcode(Image, Rectangle2D, BarcodeParams, Int32, Int32, Single, INullable<Barcode>)
- RecognizeBarcode(Image, Rectangle2D, Nullable<CoordinateSystem2D>, BarcodeParams, Int32, Int32, Single, INullable<Barcode>)
- RecognizeBarcode(Image, Rectangle2D, Nullable<CoordinateSystem2D>, BarcodeParams, Int32, Int32, Single, INullable<Barcode>, NullableValue<Rectangle2D>)
- RecognizeBarcode(Image, Rectangle2D, Nullable<CoordinateSystem2D>, BarcodeParams, Int32, Int32, Single, INullable<Barcode>, NullableValue<Rectangle2D>, IList<Segment2D>)