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

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
inImageAvl.ImageInput image.
inBarcodePositionAvl.Rectangle2DPosition of the input image in which the barcode is located.
inBarcodePositionAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the barcode rectangle to the position of the inspected object. Default value: atl::NIL.
inBarcodeParamsAvl.BarcodeParamsSpecification of barcode that can be read.
inScanCountint<1, INF>5Number of parallel scans run until first successful read. Default value: 5.
inScanWidthint<1, INF>5Width of the single scan. Default value: 5.
inMinEdgeStrengthfloat<0.0f, INF>5.0fMinimal strength of an extracted edge. Default value: 5.0f.
outBarcodeAtl.Conditional<Avl.Barcode>Decoded barcode or nothing if all of the scans failed.
outAlignedBarcodePositionAtl.Optional<Avl.Rectangle2D>
diagScheduledScanSegmentsAvl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>>Scheduled scan segments.

See also