EasyQRCodeRead
Support |
|
||||||||
Required licenses |
EasyQRCode |
||||||||
Recommended images |
Any image from the folder Sample Images\EasyQRCode |
||||||||
Location |
Text and Code Reading\EasyQRCodeRead \ |
||||||||
Direct links
|
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);