You are here: Start » FIL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inBarcodePosition | Fil.Rectangle2D | Position of the input image in which the barcode is located. | ||
![]() | inBarcodePositionAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the barcode rectangle to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inBarcodeParams | Fil.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 | Ftl.Conditional<Fil.Barcode> | Decoded barcode or nothing if all of the scans failed. | ||
![]() | outAlignedBarcodePosition | Ftl.Optional<Fil.Rectangle2D> | |||
![]() | diagScheduledScanSegments | Fil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>> | Scheduled scan segments. |