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, int inScanCount, int inScanWidth, float inMinStrength, float inSmoothingStdDev, AvlNet.Polarity inPolarity, INullable<string> outDecodedText, out AvlNet.BarcodeFormat? outBarcodeFormat )
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. | |||
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. | |
inMinStrength | float | <0.0f, INF> | 5.0f | Minimal strength of an extracted edge. Default value: 5.0f. | |
inSmoothingStdDev | float | <0.0f, INF> | 0.25f | Standard deviation of the gaussian smoothing applied to the profile extracted in each scan. Default value: 0.25f. | |
inPolarity | AvlNet.Polarity | Dark | Specifies whether code is darker or brighter than the background. Default value: Dark. | ||
outDecodedText | AvlNet.INullable<string> | Decoded barcode text or nothing if all of the scans failed. This parameter cannot be null. | |||
outBarcodeFormat | AvlNet.BarcodeFormat? | Decoded barcode format or nothing if all of the scans failed. |
Function Overrides
- RecognizeBarcode(Image, Rectangle2D, Nullable<CoordinateSystem2D>, Nullable<BarcodeFormat>, Int32, Int32, Single, Single, Polarity, INullable<String>, Nullable<BarcodeFormat>)
- RecognizeBarcode(Image, Rectangle2D, Nullable<CoordinateSystem2D>, Nullable<BarcodeFormat>, Int32, Int32, Single, Single, Polarity, INullable<String>, Nullable<BarcodeFormat>, NullableRef<NullableValue<Polarity>>, NullableValue<Rectangle2D>)
- RecognizeBarcode(Image, Rectangle2D, Nullable<CoordinateSystem2D>, Nullable<BarcodeFormat>, Int32, Int32, Single, Single, Polarity, INullable<String>, Nullable<BarcodeFormat>, Nullable<Polarity>, Rectangle2D, IList<Segment2D>)
- RecognizeBarcode(Image, Rectangle2D, Nullable<CoordinateSystem2D>, Nullable<BarcodeFormat>, Int32, Int32, Single, Single, Polarity, INullable<String>, Nullable<BarcodeFormat>, NullableRef<NullableValue<Polarity>>, NullableValue<Rectangle2D>, IList<Segment2D>)