Thursday 6 December 2007

我在日本的182天-QR Code

QR Code

我相信很多人没听过QR Code。我来到日本后才发现这东西很普遍。第一次注意到这QR Code是我教授从网上印一张JICA的地图给我的时候我在那地图上发现的。我便问他是什么来的,他说是一种barcode,里头有很多的资料。当时也没多问,接着后来就陆续在麦当捞汉堡包的纸上也看到,很多的地方都出现。直到这次我们去东京游的机票上也有(从check-in到登机都用这,很多人都不用机票,只用手机[当然里头有这QR Code,由航空公司传给他们的]就这么check-in了),我就觉得这东西不简单。如果说单是个普通你我熟悉的线条barcode,里头决不能放这么多的资料。于是这就激起了我的好奇心,上网找,哇,真的不得了,这科技将来肯定普遍。

以下是我找到的一些资料,从Wikipedia (http://en.wikipedia.org/wiki/QR_Code) 那转了过来,我只选重点,谁想了解更多的自己点击链接慢慢看:

A QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The "QR" is derived from "Quick Response", as the creator intended the code to allow its contents to be decoded at high speed. QR Codes are common in Japan where they are currently the most popular type of two dimensional code.

QR Codes are being introduced to the US and Canada by Luna Development, a software company based out of Toronto, Canada, through a series of technologies including a Windows Mobile-based QR Code reader, free QR Code generator, and educational information including case studies and examples.


QR Code Data capacity
Numeric only: Max. 7,089 characters
Alphanumeric: Max. 4,296 characters
Binary (8 bits): Max. 2,953 bytes
Kanji/Kana: Max. 1,817 characters
Error Correction capacity:

Level L -7% of codewords can be restored.
Level M-15% of codewords can be restored.
Level Q-25% of codewords can be restored.
Level H-30% of codewords can be restored.

QR codes use the Reed窶鉄Solomon error correction. The example below illustrates how the QR code handles distortion. Pixels were either added or removed from the original code to examine the borderline distortion level. Both images where data was altered are still recognisable and use the "L" level of error correction.

Source Code.




Data Removed.


Data Added.



1 comment:

Anonymous said...

You write very well.