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

Invoke.RecognizeBarcode

Extracts information from a barcode located on the input image at a given position.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void RecognizeBarcode
(
	Fil.Image inImage,
	Fil.Rectangle2D inBarcodePosition,
	Optional<Fil.CoordinateSystem2D> inBarcodePositionAlignment,
	Fil.BarcodeParams inBarcodeParams,
	int inScanCount,
	int inScanWidth,
	float inMinEdgeStrength,
	Conditional<Fil.Barcode> outBarcode,
	Optional<Fil.Rectangle2D> outAlignedBarcodePosition,
	Diagnostic<List<Fil.Segment2D>> diagScheduledScanSegments
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inBarcodePositionFil.Rectangle2DPosition of the input image in which the barcode is located.
inBarcodePositionAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the barcode rectangle to the position of the inspected object. Default value: ftl::NIL.
inBarcodeParamsFil.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.
outBarcodeFtl.Conditional<Fil.Barcode>Decoded barcode or nothing if all of the scans failed.
outAlignedBarcodePositionFtl.Optional<Fil.Rectangle2D>
diagScheduledScanSegmentsFil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>>Scheduled scan segments.

See also