Home > vm-providers > calibrationQRCodesGenerate
Creates a calibration image containing QR codes. Each QR code encodes its position inside the image, allowing to easily detect the position of the whole image by reading any of its QR codes, which can be done with calibrationQRCodesScan().
Signature:
export declare function calibrationQRCodesGenerate(width: number, height: number, config?: CalibrationQRCodesConfig): PNG;
Parameter | Type | Description |
---|---|---|
width | number | width of the image |
height | number | height of the image |
config | CalibrationQRCodesConfig | configuration |
Returns:
PNG
the calibration image