嵌入式小專題 書籍查詢系統

Download Report

Transcript 嵌入式小專題 書籍查詢系統

書籍查詢系統
4970E065 陳俊彥
4970E083 劉介玄
規格
 Android作業系統
 30萬畫素以上的智慧型手機(附照相功能)
 QRcode(包含博客來網路書店網站網址,書籍ISBN碼)
 ZXing(Zebra Crossing)
QR code介紹
 QRcode是二維條碼的一種,1994年由日本Denso-Wave公司發明。
QR來自英文「Quick Response」的縮寫,即快速反應的意思,源自
發明者希望QRcode可讓其內容快速被解碼。QRcode最常見於日本,
並為目前日本最流行的二維空間條碼。QRcode比普通條碼可儲存更
多資料,亦無需像普通條碼般在掃描時需直線對準掃描器。QRcode
呈正方形,只有黑白兩色。在3個角落,印有較小,像「回」字的的
正方圖案。這3個是幫助解碼軟體定位的圖案,使用者不需要對準,
無論以任何角度掃描,資料仍可正確被讀取。日本QRcode的標準JIS
X 0510在1999年1月發佈,而其對應的ISO國際標準ISO/IEC18004,
則在2000年6月獲得批准。根據Denso Wave公司的網站資料,
QRcode是屬於開放式的標準,QRcode的規格公開,雖由Denso
Wave公司持有的專利權益,但不會被執行。除了標準的QRcode之外,
也存在一種稱為「微型QRcode」的格式,是QRcode標準的縮小版本,
主要是為了無法處理較大型掃描的應用而設計。微型QRcode同樣有
多種標準,最高可儲存35個字元。
QR code資料容量&錯誤修正容量
數字
字母
最多7,089字元
最多4,296字元
二進位數(8 bit)
日文(漢字/片假名)
中文漢字 (採用UTF-8)
中文漢字 (採用BIG5)
最多2,953位元組
最多1,817字元(採用Shift JIS)
最多984字元 (採用UTF-8)
最多1,800
(採用Big5)



Shift_JIS 是一個日本電腦系統常用的編碼表。它能容納全形及半形拉丁字母、平假名、片假名、符號及日語漢字。
UTF-8 (8-bit Unicode Transformation Format)是一種針對Unicode的可變長度字元編碼(定長碼),也是一種字首碼。
Big5
又稱為大五碼或五大碼,是使用繁體中文(正體中文)社群中最常用的電腦漢字字符集標準,共收錄13,060個漢字。
 L水平
 M水平
 Q水平
 H水平
7%的字碼可被修正
15%的字碼可被修正
25%的字碼可被修正
30%的字碼可被修正
ZXing ("Zebra Crossing")
ZXing (pronounced "zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library
implemented in Java, with ports to other languages. Our focus is on using the built-in camera on mobile phones to
scan and decode barcodes on the device, without communicating with a server. However the project can be used to
encode and decode barcodes on desktops and servers as well. We currently support these formats:
UPC-A and UPC-E
EAN-8 and EAN-13
Code 39
Code 93
Code 128
Codabar
RSS-14 (all variants)
Data Matrix
PDF 417 ('alpha' quality)
QR Code
ITF
Aztec ('alpha' quality)
This library is divided into several main components which are actively supported:
core: The core image decoding library, and test code
javase: J2SE-specific client code
android: Android client, called Barcode Scanner
androidtest: Android test app
android-integration: Supports integration with our Barcode Scanner app via Intent
zxingorg: The source behind zxing.org/w
There are also additional modules which are contributed and/or intermittently maintained:
zxing.appspot.com: The source behind our web-based barcode generator
csharp: Partial C# port
cpp: Partial C++ port
iphone: iPhone client + port to Objective C / C++ (QR code only)
jruby: Ruby wrapper
actionscript: partial port to Actionscript
There are, finally, some modules no longer maintained but that are available from earlier releases:
javame: JavaME client
rim: RIM/Blackberry-specific client build
bug: Client for BugLabs's BUG
工作原理與軟硬體方塊圖
使用者透過使用現代30畫素以上的智慧型手機,搭配手機內的QRcode解
碼軟體,使用智慧型手機的拍照功能對著QRcode一照,解碼軟體會自動
去解讀此訊息並且去搜尋,然後把搜尋之後的結果內容顯示於手機螢幕
上面。