You are here: Start » AVL.NET » Invoke.RecognizeBarcode
Extracts information from a barcode located in the input image at a given position.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RecognizeBarcode ( Avl.Image inImage, Avl.Rectangle2D inBarcodePosition, Optional<Avl.CoordinateSystem2D> inBarcodePositionAlignment, Avl.BarcodeParams inBarcodeParams, int inScanCount, int inScanWidth, float inMinEdgeStrength, Conditional<Avl.Barcode> outBarcode, Optional<Avl.Rectangle2D> outAlignedBarcodePosition, Diagnostic<List<Avl.Segment2D>> diagScheduledScanSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inBarcodePosition | Avl.Rectangle2D | Position of the input image in which the barcode is located. | ||
![]() | inBarcodePositionAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the barcode rectangle to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inBarcodeParams | Avl.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 | Atl.Conditional<Avl.Barcode> | Decoded barcode or nothing if all of the scans failed. | ||
![]() | outAlignedBarcodePosition | Atl.Optional<Avl.Rectangle2D> | |||
![]() | diagScheduledScanSegments | Avl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>> | Scheduled scan segments. |