EasyQRCodeRead

Support

Required licenses

EasyQRCode

Recommended images

Any image from the folder Sample Images\EasyQRCode

Location

[…]C:\Users\Public\Documents\Euresys\Open eVision 24.02\Sample Programs
\[LANGUAGE] samples
\Text and Code Reading\EasyQRCodeRead

Purpose

This sample program demonstrates how to:

Read a QR code in an image.

Code highlights

1. Locate and read the QR codes in the image.
_qrCodes = _reader.Read();
2. Retrieve the text encoded the QR code.
_decodedStrings.push_back(_qrCodes[i].GetDecodedString(_decodedStringsByteMode));
3. Draw the grid, the position and the erroneous modules of the QR code on the image.
pDoc->_qrCodes[i].Draw(hDC, 1.0f, 1.0f, 0, 0);