ABSTRACT

The effects of scanning the code pattern by a QR code recognizer are greatly affected by the brightness of the code image. Large light modules have a strong reflection and may submerge a bit of dark modules among them. This would lead to information reading errors. So the more uniformly the dark and light modules distribute, the more efficient of QR code recognizing. Masking is to carry out XOR operations between special patterns and the code patterns with dark and light modules, so as to achieve the purpose of a balanced distribution of the modules in the entire code pattern.