You are here: Start » FIL.NET » Function Reference » Computer Vision » Barcodes » FIL.ReadMultipleBarcodes
Detects and recognizes multiple barcodes on the input image.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void ReadMultipleBarcodes ( FilNet.Image inImage, FilNet.BarcodeParams inBarcodeParams, FilNet.BarcodeDetectionParams inDetectionParams, int inMaxBarcodeCount, IList<FilNet.Barcode> outBarcodes )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inBarcodeParams | FilNet.BarcodeParams | Specification of barcodes that can be detected. | ||
![]() | inDetectionParams | FilNet.BarcodeDetectionParams | Parameters of the barcode detection algorithm. | ||
![]() | inMaxBarcodeCount | int | <1, INF> | 2 | Maximum number of barcodes in one image. Default value: 2. |
![]() | outBarcodes | System.Collections.Generic.IList<FilNet.Barcode> | List of barcodes that have been correctly detected and decoded. |
Description
Examples
![]() Two barcodes in a good quality image. |
![]() Two barcodes in a blurry image. |
Remarks
Minimal bar width requirement
To provide precise detection of the barcode width of the thinnest bar should be at least 1.5 pixels.
Depending on the barcode format guard or start/end code patterns must be readable.
Pharmacode usage
The pharmacode barcode type can be read correctly in both directions. To get results from both directions use a Pharmacode and PharmacodeInversed barcode types.
Before decoding a Pharmacode the code orientation angle is normalized to a range from -45° to 135° what makes the code decoding more stable

Results of reading using a different Pharmacode directions: Pharmacode = 23 and PharmacodeInversed = 16.
Using a relative coordinate systems
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Function Overrides
- ReadMultipleBarcodes(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, BarcodeParams, BarcodeDetectionParams, Int32, IList<Barcode>)
- ReadMultipleBarcodes(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, BarcodeParams, BarcodeDetectionParams, Int32, IList<Barcode>, NullableRef<List<Rectangle2D>>, NullableRef<ShapeRegion>)
- ReadMultipleBarcodes(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, BarcodeParams, BarcodeDetectionParams, Int32, IList<Barcode>, IList<Rectangle2D>, ShapeRegion, Image, IList<List<Segment2D>>)
- ReadMultipleBarcodes(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, BarcodeParams, BarcodeDetectionParams, Int32, IList<Barcode>, NullableRef<List<Rectangle2D>>, NullableRef<ShapeRegion>, Image, IList<List<Segment2D>>)