Font Size: a A A

Research And Software Realization Of Two-dimensional Code Based On Android

Posted on:2016-12-20Degree:MasterType:Thesis
Country:ChinaCandidate:M GuoFull Text:PDF
GTID:2308330464454604Subject:Electronic Science and Technology
Abstract/Summary:PDF Full Text Request
Because the QR code has a high density, high capacity, error correction capability, safety and high strength, and it can represent characters, so it has attracted widespread attention and becomes a hot research field of information technology. In recent years, with the development of the mobile Internet and smart phones and the openness of Android system, the costs of developers are reduced, and mobile phone two-dimensional code has been widely used. On the phone, using the camera of the mobile phone to achieve recognition of two-dimensional code, the shortcomings of the traditional identification devices which are expensive, bulky, not easy to carry and so on are overcomed,and the data can be uploaded to the network at any time; On the other hand, in o2o (online to offline), the rapid transmission of information is achieved by QR two-dimensional code which has become a key interface combining online and offline. In this paper, two-dimensional code generation and recognition has been studied and achieved by software. The main research work of the paper is as follows:1. The basic theory and analysis features of QR code, coding and decoding theory, Reed-Solomon (RS) error correction coding are analysed, the relevant classes used in coding and decoding are described, a normal text generated QR code and QR code with Logo generation are achieved.2. The study of the QR code recognition is divided into three modules:image acquisition, image preprocessing and decoding. The Camera class is used to realize images acquisition, and images are grayed and median filter is used to eliminate the noise of the images. By contrasting ostu, Bernsen, fast adaptive thresholding algorithm, the fast adaptive binarization method is finally selected, in processing speed of the premise, uneven illumination can be effectively dealed with.3. According to the positioning method based on position detection graphics, firstly, the center of the detecting figures are found, then find the coordinates of the four vertices of QR code, the inverse perspective transform is used for image correction, to avoid the use of Hough transform is time-consuming.4. The Galois field used in RS code, RS code and error correcting algorithm are studied, and some examples are provided. The decoding process and decoding algorithm used in the process of QR code recognition are described in detail, grid sampling algorithm is improved, the located correction graphics and area scanning are mainly improved.5. According to the decoding algorithm, the collected two-dimensional codes are decoded and the carrying information is recovered. If the identified information is the URL, you can jump to the appropriate page.6. The software is tested by vivo Yll phone. The 600 pictures of QR code are selected, including 150 pictures uneven illumination, the recognition rate of the software for the clear image is 94.67%, the recognition rate for t uneven illumination image is 58.67%, and the total recognition rate is 85.67%. Compared with other similar software, it has small memory and a higher overall recognition rate. In this paper, the software is tested by other Android mobile phones (such as millet mobile phone), it can be run smoothly. It shows that the software has good application value.
Keywords/Search Tags:Android, QR code, Generation, recognition, image preprocessing
PDF Full Text Request
Related items