Skip to content

Datacodes

QRCode - CreateQRCode_CreateFromValues

Creates a new QRCode object.

IN

Name Type Description
InPosition Path QR code position.
InText String Decoded text.
InVersion Int QR code version.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutQRCode QRCode The QRCode instance.
Error ErrorState Gets the execution error message

QRCode - GetPosition

Returns the QR code position.

IN

Name Type Description
InQRCode QRCode The input QRCode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPath Path Position.
Error ErrorState Gets the execution error message

QRCode - GetText

Returns the text represented by the QR code.

IN

Name Type Description
InQRCode QRCode The input QRCode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outstring String Corresponding text.
Error ErrorState Gets the execution error message

QRCode - GetVersion

Returns the QR code version.

IN

Name Type Description
InQRCode QRCode The input QRCode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outint Int Version.
Error ErrorState Gets the execution error message

DataCode - CreateDataCode_CreateFromValues

Creates a new DataCode object.

IN

Name Type Description
InPosition Path Data code position.
InText String Decoded text.
InCenter Point2D Center of data code.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutDataCode DataCode The DataCode instance.
Error ErrorState Gets the execution error message

DataCode - GetCenter

Returns the center of the data code.

IN

Name Type Description
InDataCode DataCode The input DataCode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D Center.
Error ErrorState Gets the execution error message

DataCode - GetPosition

Returns the data code position.

IN

Name Type Description
InDataCode DataCode The input DataCode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPath Path Position.
Error ErrorState Gets the execution error message

DataCode - GetText

Returns the text represented by the data code.

IN

Name Type Description
InDataCode DataCode The input DataCode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outstring String Corresponding text.
Error ErrorState Gets the execution error message

Datacodes - ReadBarcode

Detects and recognizes a single barcode on the input image. Note: 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.

IN

Name Type Description
InImage Image Input image.
InMinScanLines Int 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).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBarcode BarcodeNull Barcode if found, Null otherwise.
Error ErrorState Gets the execution error message

Datacodes - ReadBarcodes

Detects and recognizes multiple barcodes on the input image. Note: 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.

IN

Name Type Description
InImage Image Input image.
InMaxBarcodeCount Int Maximum number of barcodes to find (if set to -1 all possible barcodes are found). Range: 〔-1, +inf).
InMinScanLines Int 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).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBarcode BarcodeArray Barcodes identified, or an empty array if nothing is found.
Error ErrorState Gets the execution error message

Datacodes - ReadDataCode

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

IN

Name Type Description
InImage Image Input image.
InAllowRotation Bool Search also for rotated QR codes.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutDataCode DataCodeNull Data code if found, Null otherwise.
Error ErrorState Gets the execution error message

Datacodes - ReadDataCodes

Detects and recognizes all data codes in the input image.

IN

Name Type Description
InImage Image Input image.
InMaxCodeCount Int Maximum number of data codes to find (if set to -1 all possible data codes are found). Range: 〔-1, +inf).
InAllowRotation Bool Search also for rotated QR codes.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutDataCode DataCodeArray Data codes identified, or an empty array if nothing is found.
Error ErrorState Gets the execution error message

Datacodes - ReadQRCode

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

IN

Name Type Description
InImage Image Input image.
InAllowRotation Bool Search also for rotated QR codes.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutQRCode QRCodeNull QR code if found, Null otherwise.
Error ErrorState Gets the execution error message

Datacodes - ReadQRCodes

Detects and recognizes all QR codes on the input image.

IN

Name Type Description
InImage Image Input image.
InMaxCodeCount Int Maximum number of QR codes to find (if set to -1 all possible QR codes are found). Range: 〔-1, +inf).
InAllowRotation Bool Search also for rotated QR codes.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutQRCode QRCodeArray QR codes identified, or an empty array if nothing is found.
Error ErrorState Gets the execution error message

Barcode - CreateBarcode_CreateFromValues

Creates a new Barcode object.

IN

Name Type Description
InPosition Rectangle2D Position of found barcode.
InText String Decoded text of barcode.
InFormat Enum < BarcodeFormat > Barcode format.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBarcode Barcode The Barcode instance.
Error ErrorState Gets the execution error message

Barcode - GetFormat

Returns the barcode format.

IN

Name Type Description
InBarcode Barcode The input Barcode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBarcodeFormat Enum < BarcodeFormat > Barcode format.
Error ErrorState Gets the execution error message

Barcode - GetPosition

Returns the barcode position.

IN

Name Type Description
InBarcode Barcode The input Barcode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D Position.
Error ErrorState Gets the execution error message

Barcode - GetText

Returns the text represented by the barcode.

IN

Name Type Description
InBarcode Barcode The input Barcode
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outstring String Corresponding text.
Error ErrorState Gets the execution error message