×¢£ºÑ§Ôº¡¢×¨ÒµÃû¾ùдȫ³Æ£»³É¼¨µÇ¼Ç±íË«Ãæ´òÓ¡¡£
ÆÀÔÄÈËÆÀÓï¼°³É¼¨ÆÀ¶¨Òâ¼û Ç©Ãû Äê Ô ÈÕ ´ð±çС×éÒâ¼û Ç©Ãû Äê Ô ÈÕ Ñ§Ôº´ð±ç ίԱ»áÒâ ¼û ´ð±çίԱ »áÖ÷ÈÎÇ©Ãû £¨Ñ§Ôº¸ÇÕ£© Äê Ô ÈÕ ×¢£ºÑ§Ôº¡¢×¨ÒµÃû¾ùдȫ³Æ£»³É¼¨µÇ¼Ç±íË«Ãæ´òÓ¡¡£
Õª Òª
Õª Òª
Ëæ×żÆËã»ú¿ÆÑ§Óë¼¼ÊõµÄ·¢Õ¹£¬×Ô¶¯Ê¶±ð¼¼ÊõµÃµ½Á˹㷺µÄÓ¦Óá£ÔÚÖÚ¶à×Ô¶¯Ê¶±ð¼¼ÊõÖУ¬ÌõÐÎÂë¼¼ÊõÒѾ³ÉΪµ±½ñ±¸ÊܹØ×¢µÄ¼ÆËã»ú×Ô¶¯Ê¶±ð¼¼ÊõÖ®Ò»¡£ÌõÂë¼¼ÊõÖдæÔÚÁ½¸ö·Ç³£ÈȵãµÄÑо¿»°Ì⣬¼´Ê¶±ð¼¼ÊõºÍ±àÂëÀíÂÛ¡£ÌõÐÎÂë·ÖΪһάÌõÂëºÍ¶þάÌõÂë¡£ÓÉÓÚһάÌõÂëÊܵ½ÈÝÁ¿µÄÏÞÖÆ£¬½öÄܱêʶÉÌÆ·£¬¶ø²»ÄÜÃèÊöÉÌÆ·¡£¶þάÌõÂëÃÖ²¹ÁËһάÌõÂëÃæÁÙµÄÈÝÁ¿ÏÞÖÆÎÊÌ⣬¾ßÓпɿ¿ÐԸߡ¢ÐÅÏ¢Á¿´ó¡¢±£ÃÜ·ÀαµÈÓŵ㣬¶øÇÒ¿ÉÒÔÓÃÀ´±íʾ¶àÖÖÎÄ×Ö¡¢Í¼ÏñÐÅÏ¢¡£Í¬Ê±£¬ÓëÆäËû×Ô¶¯Ê¶±ð¼¼ÊõÈçÉ䯵¼¼Êõ¡¢´Å¿¨¼¼Êõ¡¢¹âѧ×Ö·ûʶ±ð¼¼ÊõÏà±È£¬¶þάÌõÂëÒ²¾ßÓÐʶ±ðÄÜÁ¦Ç¿¡¢Ëٶȿ죬¿¹¸ÉÈÅ£¬³É±¾µÍµÈÓÅÊÆ¡£Ëæ×ÅÎÒ¹úÐÅÏ¢¼¼ÊõµÄѸËÙ·¢Õ¹ºÍÊг¡¾¼ÃµÄ²»¶ÏÍêÉÆ£¬¹úÄÚ¶Ô¶þάÌõÂëÕâһм¼ÊõµÄÐèÇóÓëÈÕ¾ãÔö¡£
±¾ÎĵÄÑо¿ÄÚÈÝÊǶþάÌõÂëQRÂëµÄÑо¿ÓëÓ¦Óá£Ê×ÏȼòÒª½éÉÜÁ˹úÄÚÍâQR¶þάÂëµÄÑо¿Çé¿ö£¬È»ºóÏêϸ²ûÊöÁËÆä±àÂëºÍ½âÂë¹ý³ÌµÄÔÀíºÍ·½·¨¡£Æä´Î£¬Õë¶ÔÊ§Õæ¡¢ÇãбµÄQRÂëͼÏñ£¬±¾ÎÄÌá³öÁËÒ»ÖÖ»ùÓÚ·ÂÉä±ä»»¿ìËÙʶ±ðQRÂëµÄͼÐδ¦Àí·½·¨¡£
×îºó½éÉÜÁ˶þάQRÂëÉú³ÉÓëʶ±ð¼¼ÊõÔÚAndroidÖÇÄÜÊÖ»úƽ̨ÉϵÄʵÏÖ£¬°üÀ¨Android¿ª·¢Æ½Ì¨¼°¿ª·¢»·¾³µÄ½éÉÜ£¬Androidƽ̨É϶þάQRÂëÉú³ÉÓëʶ±ðµÄʵÏÖ¡£
¹Ø¼ü×Ö£º¶þάÂëÉú³ÉÓëʶ±ð ͼÏñÔ¤´¦Àí·ÂÉä±ä»» Androidƽ̨
ABSTRACT
ABSTRACT
With the development of computer science and technology, Automatic identification technology has been widely used. Among many automatic identification technology , bar code technology has become one of computer automatic identification technology today concern. there are two very hot research topic in Bar code technology, namely recognition technology and coding theory. The bar code is divided into one-dimensional bar code and two-dimensional bar code. One-dimensional bar codes is limited by the capacity only identifies the product you are looking for, and can not describe the goods. The two-dimensional bar code to make up for the one-dimensional bar code facing capacity constraints, With high reliability, large amount of information, confidentiality, security and other advantages, but also can be used to represent a variety of text, images, data and other information. At the same time, compared with other automatic identification technologies such as radio frequency technology, magnetic card technology, optical character recognition technology, the two-dimensional bar code recognition ability, speed, anti-interference and low cost. With the rapid development of China's information technology and the market economy continues to improve, The content of this study is the research and application of two-dimensional bar code QR code. This paper briefly describes the QR code at domestic and abroad firstly, Then elaborates the principle and method of encoding and decoding process. Secondly, for the distortion, tilt of QR code image, this paper put forward a method to quickly identify QR code based on affine transformation. Finally, The document concludes the realization of two-dimensional QR code recognition technology on the Android system, the introduction of Android development platform and development environment. And implementation of the Android platform two - dimensional QR code generation and recognition.
Keywords: QR-dimensional code Based affine transformation quickly identify QR code method Android platform
Ŀ ¼
i
Ŀ ¼
µÚÒ»Õ Ð÷ÂÛ .......................................................................................................... 1
1.1 ÌõÂë¼ò½é ............................................................................................................. 1 1.2 ¶þάÂë¼¼Êõ·¢Õ¹ ................................................................................................. 1
1.2.2 ¶þάÂë¹úÄÚÓ¦ÓÃÑо¿Çé¿ö ....................................................................... 3 1.2.3 QRÂëµÄ¼ò½é ............................................................................................. 4 1.2.4 QRÂëµÄͼÐÎÌØÕ÷ ..................................................................................... 4 1.3 ±¾ÎĵÄÑо¿ÒâÒåºÍÄÚÈÝ ..................................................................................... 6 µÚ¶þÕ QRÂë±àÂëÓë½âÂëµÄÀíÂÛÑо¿ ................................................................... 9
2.1 QRÂë±àÂëÀíÂÛ ................................................................................................ 9
2.1.1 QRÂëµÄͼÏñÌØÕ÷ .................................................................................. 9 2.1.2 QRÂëµÄ±àÂë·½·¨ ................................................................................... 12 2.2 QRÂë½âÂëÀíÂÛ ................................................................................................. 16
2.2.1 QRµÄͼÏñÔ¤´¦Àí ................................................................................... 16 2.2.2 ÌõÂ붨λ ................................................................................................. 19 2.2.3 ¾À´íºÍÒëÂë ............................................................................................. 21
µÚÈýÕ QRÂëʶ±ðµÄͼÏñËã·¨ .............................................................................. 25
3.1. QRÂë¼ì²â·½·¨¸ÅÊö ..................................................................................... 25 3.2³£ÓõÄQRÂë¼ì²â·½·¨ .................................................................................... 25 3.3»ùÓÚ·ÂÉä±ä»»¿ìËÙʶ±ðQRÂëµÄ·½·¨ ............................................................ 26
3.3.1·ÂÉä±ä»»¸ÅÊö .......................................................................................... 26 3.3.2 ·ÂÉä±ä»»¸ÅÊö ......................................................................................... 27 3.3.3 ʵÑé½á¹û ................................................................................................. 27
µÚËÄÕ Androidƽ̨ÉÏQRÂëÉú³ÉÓëʶ±ðϵͳµÄ´î½¨ .......................................... 29
4.1
Androidƽ̨¼ò½é¼°¿ª·¢»·¾³´î½¨ ............................................................. 29 4.1.1 Androidϵͳ¼Ü¹¹ ................................................................................... 29 4.1.2 Android¿ª·¢Æ½Ì¨´î½¨ ............................................................................ 30 4.1.3 ZXing¿â .................................................................................................... 31