jsQR is unable to read the below QR code, but the Google Lens on my Android phone can.
Here's my code snippet:
const bufferWithAlphaChannel = await sharp(
imgBuffer
)
.ensureAlpha()
.raw()
.toBuffer();
const result = jsQR(
new Uint8ClampedArray(bufferWithAlphaChannel),
width,
height
);
Am I doing something wrong?
QR
jsQRis unable to read the below QR code, but the Google Lens on my Android phone can.Here's my code snippet:
Am I doing something wrong?
QR