Assistive-Webdriver

Home > vm-providers > calibrationQRCodesScan

calibrationQRCodesScan() function

Scans an image containing a calibration image (which can be generated by calibrationQRCodesGenerate()) and returns its position and the position of the QR code that was successfully scanned.

Signature:

export declare function calibrationQRCodesScan(image: PNG, config?: CalibrationQRCodesConfig): CalibrationQRCodesScanResult;

Parameters

Parameter Type Description
image PNG full image containing a calibration image
config CalibrationQRCodesConfig configuration used when generating the calibration image

Returns:

CalibrationQRCodesScanResult

the position of the calibration image inside the full image, and the position and size of the QR code that was successfully scanned.