Review on Color Qr Codes:Decoding Challenges and Security Issues

DOI : 10.17577/IJERTV3IS041120

Download Full-Text PDF Cite this Publication

Text Only Version

Review on Color Qr Codes:Decoding Challenges and Security Issues

Arya Chandran S Department of Computer Science

College Of Engineering,Karunagappally Kollam, India

Abstract:A 2D color barcode can hold much more information than a binary barcode. While a color barcode can hold more information, it makes this vision task unusually challenging because of the varying color balancing in different cameras, poor quality of images taken with current cell phone cameras and webcams, varying lighting conditions, arbitrary rotation of the barcodes in images. They are frequently used in advertising to provide customers with scannable URLs to product websites. In pursuit of increased barcode capacity, novel schemes using color have been proposed.

Encoding data independently in cyan, magenta, and yellow (CMY) print colorant channels with detection in complementary Red, green, and blue (RGB) image capture channels offers an attractive framework for extending monochrome barcodes to color with increased data rates. The undesired absorption of colorants in regions of spectral sensitivity of the no complementary capture channels, however, gives rise to cross-channel color interference that significantly deteriorates the performance of the color barcode system. This provides a better decoding of data along with higher data rates.The paper provides an overall look on QR codes.

Keywords:2-D barcodes,QRcodes,Color QR Codes,Interference Cancellation.

  1. INTRODUCTION

    As in [1-6] Barcodes are optical machine-readable representations of data, capable of storing digital information about the physical object to which they are attached. Due to their reading speed, accuracy, and functional characteristics, barcodes have become ubiquitous in many applications, including their usage in department stores and retail chains to price goods, to track items and to identify customers through membership cards; in tracking item shipment and movement, such as express mail, rental cars, airline luggage; in patient identification in hospitals; in document management systems; in ticketing for sports events, cinemas, theatres and transportation. Barcodes in broad has two dimensions. The first one referred to as one-dimensional (1D) barcodes; represent data by varying the widths and spacings of parallel lines. The amount of digital information stored in 1D barcodes is limited and could be simply increased by increasing the number of barcode digits or by laying out multiple barcodes. This approach has many negative effects, however, such as enlarged barcode areas, more complex reading operations, and increased printing costs. Again if one or bars in the code is

    lost whole barcode becomes unreadable. For this reason, the barcode technology has been deploying geometric patterns in two dimensions: such barcodes are referred to as bi- dimensional (2D) codes. Note that 2D codes increase the data space available by storing information in two dimensions, whereas 1D code contains data in one dimension only.

    Figure 1.1 shows examples of 1D and 2D barcodes. Available 2D codes span from repeating a single 1D barcode over multiple rows to exploiting bi- dimensional shapes in order to represent data. Figure 1.2 illustrates the evolution of 2Dbarcode technology. In particular, Figure 1.2 (a) shows a multiple barcode layout: the main disadvantage related to this simple 2D layout is the need of multiple scans in order to get all the information contained in the barcode. Figure 1.2 (b) illustrates a stacked barcode layout: in this case one single scan is enough to obtain the stored information but the scanning equipment must be carefully aligned with the barcode orientation. Finally, in Figure 1.2 (c) a matrix barcode layout is presented: this layout enables to acquire information with one single scan and does not require the accurate alignment of the scanning equipment.

    This completes a brief introduction about barcodes.

    Now we will have a look on details about 2D barcodes.

      1. Examples of 1D and 2D barcodes

      2. Evolution of barcodes: (a) multiple barcode layout, (b) stacked barcode layout, and (c) matrix barcode layout.

  2. 2D BARCODES

    There are a lot of varieties of 2d barcodes available[5]. They can be widely divided into two: Database 2D Barcodes and Index-Based Barcodes. The database 2D barcodes were initially invented to improve data capacity for industrial applications .QR Code, VSCode, and Data Matrix belonged to this type. The working of these codes can be integrated into mobile phones with built-in cameras that can scan and decode data, allowing these 2D barcodes to operate as portable databases, letting users access information anytime, anywhere, regardless of network connectivity. The VS code that uses encrypted format of data makes the mobile applications secure and useful in biometric applications. But again the absence or presence of a very small quiet zone makes the decoding inefficient. In the case of data matrix this is solved by the use of two types of border but again distortions within the image cannot be handled. The compression of data for compaction makes its decoding complex.

    The other type index-based 2D barcodes take into account the reading limitations of these built-in cameras. The Visual Code, Shot Code, and ColorCode belonging to this take into account the reading limitations of these built-in cameras. They have a much lower data capacity than database 2D barcodes, but they offer robust and reliable barcode reading. Each barcode basically works as an index that links the digital world to the real world, so these barcodes require network connectivity. Going to the case of Visual codes they have a good detection capability with structure but the data capacity is very less(max 83 bits). Shot Code has an aesthetic round shape but this again makes decoding bit complex and understandable. Colour Codes use set of colour and work on it. This has a good data capacity but the problems caused by illuminations are still a challenge.

    Fig 2.1 Different types Of Database Barcodes-a)VS Code b) Data Matrix

    Fig 2.2 Index Based 2D barcodes a)Visual Code b) Shot Code c) Color Code

      1. QR Codes

        The most prominent and popular 2D barcode is QR codes[1]. The "QR" stands for "quick response", a reference to the speed at which the large amounts of information they contain can be decoded by scanners.

        They were invented in 1994 in Japan by Denso-Wave and initially used for tracking shipping. Now QR Code is seen and used everyday everywhere for the following reasons:

        . Several characteristics superior to linear bar codes: much higher data density, support Kanji/Chinese character, etc.

        . It can be used by anybody free of charge as Denso has released the patent into the public domain.

        . Data structure standard is not prerequisite for current usages.

        . Most mobile phones in Japan equipped with cameras that enable reading of QR Codes can access Internet addresses automatically by simply reading a URL encoded in the QRCode.

        QR codes adopt an arrangement of black and white squares for all the required functions. In particular, each module represents a single bit following a simple rule: black squares store 1 and white squares store 0(fig 2.3).The features like high capacity encoding of data, small printout size, data linking functionality, data restoration functionality, readability from 360 degrees masking availability and confidentiality makes it more powerful. The basic structure of QR code is already known and standardized [1].

        The finder patterns, alignment patterns and the timing patterns make QR codes easily detectable as well as decodable. The information to be encoded is then included in the other parts. The encoding type is first identified for the given data and then encoding is done based on that. Inorder to be resistant to errors and distortion up to a certain level, error correction code words corresponding to encoded words is made based on Reed-Solomon error correction. Now this codewords and error correction codewords are combined together and are placed within qr code. The binarised data is then given level color, black or white, and placed in a zig-zag manner. The reverse process is done in decoding to get the data back.

        Fig 2.3 QR Codes

        QR code thus created can be enhanced by the application of color.The issues of which how colors should be selected and the color of border begin used is discussed in [7- 8] .Data encoding is same as per the standards while instead of black and white we go for using the colors. This is also handled in [9-12]

      2. Issues in using colors

    Using colors, not only increases the data density but as well as increases the challenges for proper decoding. The problems of correct and reliable color identification, color deblurring, correct detection of finder pattern can be some of the superior issues. Once an image of color barcode is taken data retrieval consists of following phases:

    1. Preprocessing:

      The image acquired using the camera is tobe processed to reduce the distortions and make the QR code clear within the image. Initially, QR code should be localized from the given image. For this basically the encoding idea is used. That is the idea of locating the finder pattern encoded with black: white: black: white: black in the ratio 1:1:3:1:1is being used [13-18]. Once the finder pattern is found , we have three sides with us. Fourth can be found with the help of basic structure. The method using alignment patterns can be also used [13]. But this is something tedious due to its structure. The color image will be thresholded to give black and white image for detection. Either local or global thresholding methods discussed in [19-22] can be used. Thresholding can also be performed on each color band separately by providing separate color thresholds for each colour.The same idea is being discussed on [9-12].

      The image might be taken in different orientation for more clarity by the user and may have a lot other illumination problems[23-26]. The image should be thus geometrically corrected to get the image. [25] suggests a second order moment calculation in order to identify candidates for orientation bars among the regions found. But the idea cant be used due to its complexity itself. A more easier and efficient approach was proposed by Y.Liu[16] for the same. It's based on the feature of QR code that it can be read from any direction from 360 degree. The rotated symbol is oriented commonly by sine and cosine transformation, for example the reference algorithm of national standard [1]. Rotate the symbol first, then implement interpolation operation. This is widely used and implemented.

    2. Color Image Processing:

    In the case of color image processing the different methods aim to reduce the color challenges. Here we intend to handle the problems with color interference. The papers [9- 11] handles this issue that provides an EM approach or pilot block approach for estimating the printing colors and hence the values, from image considering the interference. The barcode thus collected can then be fed to a QR code reader and the data can be decoded with the steps in reverse that used in encoding.

  3. RECENTDEVELOPMENTS

    Several studies are being performed in the area of color QR codes (fig 3.1). The latest among them is encoding the data in printing colors and decoding them back with vision colors [9]. This solves the issues with data recovery that can arise due to printing vision colors. Since the colors used are the same used for printing, this improves the quality. But the estimation of printing colors from vision is not simple since we look on practical issues. This can be solved by the method of probabilistic estimation of colors in given position.

    Fig 3.1 Color QR Codes.

    Even though it is solved security of QR codes is still a question. Private QR codes cannot be made since all are decodable in a basic QR code reader.

  4. CONCLUSION

QR codes are the most popular barcodes that are most useful in all the cases. The paper has gone through different available two dimensional barcodes and has seen that QR codes perform the best. Now the advantages of colours are incorporated with qr code to improve its efficiency. Using colors will increase the data rate as well as complexity in its decoding. Although, bit error rates and therefore information capacities vary across the three resulting channels, the error rates are in ranges that are readily handled by the error correction coding options available for monochrome barcodes. Efficient methods can be adopted for its decoding. The security issues are still a question. The QR code accessible in a LAN network can cause privacy issues. The solution is in its developing section. We can go for the classical encryption techniques for solving this. Denso wave co. has introduced a secure method in recent times but its details are still to be known.

REFERENCES

  1. Information Technology-Automatic Identification and Data Capture Techniques-QR Code 2005 Bar Code Symbology Specification. (2011, Jan.) [Online].

  2. A. Grillo, A. Lentini, M. Querini, and G. F. Italiano, "High capacity colored two dimensional codes", in Proc. Int. Multiconf. Comput. Sci. Inf. Tech., Oct. 2010, pp. 709a.716.

  3. M.Querini,A.Grillo,A.Lentini and G.F. Italiano,"2D Color Barcodes For Mobile Phones",International Journal of Computer Science and Applications Techno mathematics ResearchFoundation Vol. 8 No. 1, pp. 136 – 155, 2011.

  4. Tan Jin Son Section-.Three QR Codes;

  5. Hiroko Kato and Keng T. Tan,"Pervasive 2D Barcodes for Camera Phone Applications":, IEEE Computer Society 1536- 1268/07/2007 IEEE

  6. Thonky tutorial on QR Codes.

  7. Hiroko Kato,Keng T. Tan,DouglasChai,"Novelcolor selection scheme for 2D barcode",2009 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS 2009) December 7-9, 2009

  8. SiongOng,DouglasChai,Keng T. Tan,"The Use of Border in Color 2D Barcode",2008International Symposium on Parallel and Distributed Processing with Application.

  9. HenrykBlasinski, OrhanBulan, and GauravSharma;"Per-Colorant- ChannelColor Barcodesfor Mobile Applications: An Interference cancellation Framework"; IEEE TransactionsOn Image Processing, Vol. 22, No. 4, April 2013.

  10. O.Bulan H. Blasinki and G. Sharma:"Color QR Codes: Increased Capacity Via Per-Channel Data Encoding and Interference Cancellation":19th Color and Imaging ConferenceFinal Program and Proceedings 2011 Society for Imaging Science and Technology.

  11. O.Bulan and G. Sharma"ImprovedColor Barcodes Via Expectation Maximization StyleInterference Cancellation":978-1-4673-0046- 92012 IEEE ICASSP 2012.

  12. H. Blasinski, S. Fok:"Mobile Color Barcode Reader":Stanford.edu.

  13. W. Chen, G. Yang and G. Zhang:"A Simple and Efficient Image Pre-processing for QRDecoder":2nd International Conference on Electronic & Mechanical Engineering and InformationTechnology (EMEIT-2012)

  14. David Munoz-Mejias, Ivan Gonzalez-Diaz, and Fernando Diaz-de- Maria:"A Low-Complexity Pre-Processing System for Restoring Low-Quality QR Code Images":IEEETransactions on Consumer Electronics, Vol. 57, No. 3, August 2011.

  15. Y. Gu, W. Zhang:"QR Code Recognition Based On Image Processing":nternational Conferenceon Information Science and Technology March 26-28, 2011.

  16. Y. Liu and M. Liu: "Automatic Recognition Algorithm of Quick Response Code Basedon Embedded System": Proceedings of the Sixth International Conference on Intelligent Systems Design and Applications (ISDA'06).

  17. K. Tan, D. Chai, H. Kato, and S. Ong, "Designing a color barcode for mobile applications",IEEE Pervasive Comput., vol. 11, no. 2, pp. 50-55,Feb. 2012.

  18. D. Parikh and G. Jancke, "Localization and segmentation of a 2D high capacity color barcode", in Proc. IEEE Workshop Appl. Comput. Vis., Jan. 2008, pp. 1-6.

  19. Celine Thillou and Bernard Gosselin,"Color Binarization for Complex Camera-based Images",TCTS Lab, FacultePolytechnique de Mons, Avenue Copernic, 7000 Mons, Belgium.

  20. PavlosStathis,ErginaKavallieratou,NikosPapamarkos,"An valuation Technique for Binarization Algorithms",Journal of Universal Computer Science, vol. 14, no. 18 (2008),3011-3030 submitted: 1/3/08, accepted: 29/9/08, appeared: 1/10/08 J.UC

  21. Graham Leedham, Chen Yan, KalyanTakru, Joie HadiNata Tan and LiMian,"Comparison of Some Thresholding Algorithms for Text/Background Segmentation in Difficult Document Images",Proceedings of the Seventh International Conference on Document Analysis and Recognition (ICDAR 2003) 0-7695-1960- 1/03 2003 IEEE

  22. Mehmet Sezgin,Bulent Sankur,"Survey over image thresholding techniques and quantitative performance evaluation",Journal of Electronic Imaging 13(1), 146-165 (January2004).

  23. H. Bagherinia , R. Manduchi :"A Theory of Color Barcodes": Proc. IEEE Comput. VisWorkshops, Nov. 2011, pp. 806-813.

  24. K.Nurwono,R.Kosala:"Color Quick Response Code For Mobile Content Distribution":in Proc. 7th Int. Conf. Adv. Mob. Comput. Multimedia, Dec. 2009, pp. 267-271.

  25. Michael Rohs:"Real-World Interaction with Camera-Phones": Proc. 2nd Int. Symp. Ubiquitous Computing Systems (UCS 04), 2004, pp. 39-48.

  26. Nachiket.A.Rathod, Dr.Siddharth.A. Ladhake:".Detecting And Decoding Algorithm For 2D Barcode": International Journal of Emerging Technology and Advanced Engineering(ISSN 2250- 2459, Volume 2, Issue 11, November 2012).

Leave a Reply