oevislib_net  0.14.3.0
Loading...
Searching...
No Matches

Classes

class  oevislib_net.ComputerVision.Datacodes.Barcode
 Holds information about barcode: its position, format and text which is encoded. More...
class  oevislib_net.ComputerVision.Datacodes.DataCode
 Holds information about a data code: its position and decoded text. More...
class  oevislib_net.ComputerVision.Datacodes.QRCode
 Holds information about QR code: its position, version and text which is encoded. More...

Functions

static Conditional< Barcodeoevislib_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< Barcodeoevislib_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< QRCodeoevislib_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< QRCodeoevislib_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< DataCodeoevislib_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< DataCodeoevislib_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.

Detailed Description

Function Documentation

◆ ReadBarcode()

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
inImageInput image.
inRoiRegion of interest.
inRoiAlignmentAdjusts the region of interest to the correct position.
inBarcodeFormatBarcode's format (EAN13, EAN8, UPCA, UPCE, CODE128, CODE39, CODE93, Interleaved2of5 and more).
inMinScanLinesMinimum number of scan lines to be found. The more the value is precise, the more accurate will be the output rectangle. Range: [-1, +inf).
outAlignedRoiAligned ROI (in the image coordinates).
Returns
Barcode if found, Null otherwise.

◆ ReadBarcodes()

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
inImageInput image.
inMaxBarcodeCountMaximum number of barcodes to find (if set to -1 all possible barcodes are found). Range: [-1, +inf).
inRoiRegion of interest.
inRoiAlignmentAdjusts the region of interest to the correct position.
inBarcodeFormatBarcode's format (EAN13, EAN8, UPCA, UPCE, CODE128, CODE39, CODE93, Interleaved2of5 and more).
inMinScanLinesMinimum number of scan lines to be found. The more the value is precise, the more accurate will be the output rectangle. Range: [-1, +inf).
outAlignedRoiAligned ROI (in the image coordinates).
Returns
Barcodes identified, or an empty array if nothing is found.

◆ ReadDataCode()

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 )
inlinestatic

Detects and recognizes a single data code on the input image.

Parameters
inImageInput image.
inRoiRegion of interest.
inRoiAlignmentAdjusts the region of interest to the correct position.
inAllowRotationSearch also for rotated QR codes.
outAlignedRoiAligned ROI (in the image coordinates).
Returns
Data code if found, Null otherwise.

◆ ReadDataCodes()

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 )
inlinestatic

Detects and recognizes all data codes in the input image.

Parameters
inImageInput image.
inMaxCodeCountMaximum number of data codes to find (if set to -1 all possible data codes are found). Range: [-1, +inf).
inRoiRegion of interest.
inRoiAlignmentAdjusts the region of interest to the correct position.
inAllowRotationSearch also for rotated QR codes.
outAlignedRoiAligned ROI (in the image coordinates).
Returns
Data codes identified, or an empty array if nothing is found.

◆ ReadQRCode()

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 )
inlinestatic

Detects and recognizes a single QR code on the input image.

Parameters
inImageInput image.
inRoiRegion of interest.
inRoiAlignmentAdjusts the region of interest to the correct position.
inAllowRotationSearch also for rotated QR codes.
outAlignedRoiAligned ROI (in the image coordinates).
Returns
QR code if found, Null otherwise.

◆ ReadQRCodes()

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 )
inlinestatic

Detects and recognizes all QR codes on the input image.

Parameters
inImageInput image.
inMaxCodeCountMaximum number of QR codes to find (if set to -1 all possible QR codes are found). Range: [-1, +inf).
inRoiRegion of interest.
inRoiAlignmentAdjusts the region of interest to the correct position.
inAllowRotationSearch also for rotated QR codes.
outAlignedRoiAligned ROI (in the image coordinates).
Returns
QR codes identified, or an empty array if nothing is found.