|
| static Conditional< Barcode > | oevislib_net.ComputerVision.Datacodes.Datacodes.ReadBarcode (Image inImage, Optional< Rectangle2D > inRoi=null, Optional< UCS2D > inRoiAlignment=null, Optional< BarcodeFormat > inBarcodeFormat=null, int inMinScanLines=-1, Optional< Rectangle2D > outAlignedRoi=null) |
| | Detects and recognizes a single barcode on the input image.
|
| static Array< Barcode > | oevislib_net.ComputerVision.Datacodes.Datacodes.ReadBarcodes (Image inImage, int inMaxBarcodeCount=-1, Optional< Rectangle2D > inRoi=null, Optional< UCS2D > inRoiAlignment=null, Optional< BarcodeFormat > inBarcodeFormat=null, int inMinScanLines=-1, Optional< Rectangle2D > outAlignedRoi=null) |
| | Detects and recognizes multiple barcodes on the input image.
|
| static Conditional< QRCode > | oevislib_net.ComputerVision.Datacodes.Datacodes.ReadQRCode (Image inImage, Optional< Rectangle2D > inRoi=null, Optional< UCS2D > inRoiAlignment=null, bool inAllowRotation=true, Optional< Rectangle2D > outAlignedRoi=null) |
| | Detects and recognizes a single QR code on the input image.
|
| static Array< QRCode > | oevislib_net.ComputerVision.Datacodes.Datacodes.ReadQRCodes (Image inImage, int inMaxCodeCount=-1, Optional< Rectangle2D > inRoi=null, Optional< UCS2D > inRoiAlignment=null, bool inAllowRotation=true, Optional< Rectangle2D > outAlignedRoi=null) |
| | Detects and recognizes all QR codes on the input image.
|
| static Conditional< DataCode > | oevislib_net.ComputerVision.Datacodes.Datacodes.ReadDataCode (Image inImage, Optional< Rectangle2D > inRoi=null, Optional< UCS2D > inRoiAlignment=null, bool inAllowRotation=true, Optional< Rectangle2D > outAlignedRoi=null) |
| | Detects and recognizes a single data code on the input image.
|
| static Array< DataCode > | oevislib_net.ComputerVision.Datacodes.Datacodes.ReadDataCodes (Image inImage, int inMaxCodeCount=-1, Optional< Rectangle2D > inRoi=null, Optional< UCS2D > inRoiAlignment=null, bool inAllowRotation=true, Optional< Rectangle2D > outAlignedRoi=null) |
| | Detects and recognizes all data codes in the input image.
|
| Conditional< Barcode > oevislib_net.ComputerVision.Datacodes.Datacodes.ReadBarcode |
( |
Image | inImage, |
|
|
Optional< Rectangle2D > | inRoi = null, |
|
|
Optional< UCS2D > | inRoiAlignment = null, |
|
|
Optional< BarcodeFormat > | inBarcodeFormat = null, |
|
|
int | inMinScanLines = -1, |
|
|
Optional< Rectangle2D > | outAlignedRoi = null ) |
|
inlinestatic |
Detects and recognizes a single barcode on the input image.
When inMinScanLines is set to a negative value (-1 by default), the algorithm scans every line of the barcode to return the correct barcode's bounding box. Otherwise, the algorithm stops scanning when inMinScanLines have been recognized, leaving in output a rectangle containing only those lines (the width will correspond to barcode's width, the height probably not). It's recommended to set a positive value for inMinScanLines to speed up computations.
- Parameters
-
| inImage | Input image. |
| inRoi | Region of interest. |
| inRoiAlignment | Adjusts the region of interest to the correct position. |
| inBarcodeFormat | Barcode's format (EAN13, EAN8, UPCA, UPCE, CODE128, CODE39, CODE93, Interleaved2of5 and more). |
| inMinScanLines | Minimum number of scan lines to be found. The more the value is precise, the more accurate will be the output rectangle. Range: [-1, +inf). |
| outAlignedRoi | Aligned ROI (in the image coordinates). |
- Returns
- Barcode if found, Null otherwise.
| Array< Barcode > oevislib_net.ComputerVision.Datacodes.Datacodes.ReadBarcodes |
( |
Image | inImage, |
|
|
int | inMaxBarcodeCount = -1, |
|
|
Optional< Rectangle2D > | inRoi = null, |
|
|
Optional< UCS2D > | inRoiAlignment = null, |
|
|
Optional< BarcodeFormat > | inBarcodeFormat = null, |
|
|
int | inMinScanLines = -1, |
|
|
Optional< Rectangle2D > | outAlignedRoi = null ) |
|
inlinestatic |
Detects and recognizes multiple barcodes on the input image.
When inMinScanLines is set to a negative value (-1 by default), the algorithm scans every line of the barcode to return the correct barcode's bounding box. Otherwise, the algorithm stops scanning when inMinScanLines have been recognized, leaving in output a rectangle containing only those lines (the width will correspond to barcode's width, the height probably not). It's recommended to set a positive value for inMinScanLines to speed up computations.
- Parameters
-
| inImage | Input image. |
| inMaxBarcodeCount | Maximum number of barcodes to find (if set to -1 all possible barcodes are found). Range: [-1, +inf). |
| inRoi | Region of interest. |
| inRoiAlignment | Adjusts the region of interest to the correct position. |
| inBarcodeFormat | Barcode's format (EAN13, EAN8, UPCA, UPCE, CODE128, CODE39, CODE93, Interleaved2of5 and more). |
| inMinScanLines | Minimum number of scan lines to be found. The more the value is precise, the more accurate will be the output rectangle. Range: [-1, +inf). |
| outAlignedRoi | Aligned ROI (in the image coordinates). |
- Returns
- Barcodes identified, or an empty array if nothing is found.