567446 A7 B7 五、發明説明( PA020074 TWP - 3/11 10 15 經濟部智慧財產局員工消費合作社印製 20 【技術領域】 本發明係關於一種pDA/手機畫面圖像閱讀系統,特別 疋指一種應用於PDA/手機螢幕或其他液晶顯示之畫面圖像 的閱讀系統,做為人員身份識別、購買物品憑證或繳費扣 款之機制。 【先前技術】 目剞一般皆使用以雷射二極體發射雷射至對像物上, 利用讀取反射波的方式來辨別圖像,此技術無法應用於閱 言買PDA/手機螢幕畫面顯示之圖像。 由此可見,上述習用方式仍有諸多缺失,實非一良善 之設計者,而亟待加以改良。 本案發明人鑑於上述習用方式所衍生的各項缺點,乃 亟思加以改良創新,並經多年苦心孤詣潛心研究後,終於 成功研發完成本件PDA/手機畫面圖像閱讀系統。 【發明目的】 本發明之目的即在於提供一種pDA/手機畫面圖像閱讀 系統,利用景>像處理技術及影像辨識技術,來供給一種閱 頊PDA/手機螢幕上之晝面圖像的閱讀系統,以彌補利用雷 射二極體方式閱讀/辨識的不足,並可應用於人員身份識 別、靖買物品憑證或繳費扣款之機制。 【技術内容】 可達成上述發明目的之PDA/手機晝面圖像閱讀系統, 包括有:PDA/手機感應單元、CCD攝影機、影像擷取卡 (Frame Grabber )、影像處理單元、影像辨識單元所組 (請先閱讀背面之注意事項再填寫本頁)567446 A7 B7 V. Description of the invention (PA020074 TWP-3/11 10 15 Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 20 [Technical Field] The present invention relates to a pDA / mobile phone screen image reading system, especially referring to an application The reading system on the PDA / mobile phone screen or other liquid crystal display screen images is used as a mechanism for personnel identification, purchase vouchers or payment deductions. [Previous technology] Generally, laser diodes are used to emit lasers. When shooting on an object, the method of reading the reflected wave is used to distinguish the image. This technology cannot be applied to the image displayed on the screen of PDA / mobile phone. This shows that there are still many shortcomings in the above-mentioned conventional methods. It is not a good designer, and it needs to be improved. In view of the various shortcomings derived from the above-mentioned conventional methods, the inventor of this case is eager to improve and innovate. After years of painstaking and meticulous research, he finally successfully developed this PDA / mobile phone screen Image reading system [Objective of the invention] The object of the present invention is to provide a pDA / mobile phone screen image reading system, which Scenery > image processing technology and image recognition technology to provide a reading system for daylight images on PDA / mobile phone screens, to make up for the lack of reading / recognition using laser diodes, and can be applied to personnel Mechanisms for identification, purchase of goods, or payment deduction. [Technical content] A PDA / mobile daytime image reading system that can achieve the above-mentioned invention goals includes: PDA / mobile phone sensor unit, CCD camera, image capture card (Frame Grabber), image processing unit, image recognition unit (please read the precautions on the back before filling this page)
、1T 線‘ 567446 A7 ---~B7 五 ~ f 本系統係以影像處理/辨識技術為核心,利用ccd攝 -"幾1_PDA/手機螢幕上之晝面圖像影像,由影像處理單 :攸衫像中將晝面圖像的位置定位及切割出來,再將圖像 二元化’並去除雜輯域,縣㈣像辨識單元 5把圖像完整辨識出來。_手機感應單元負責偵測進入感 應區的PDA/手機,並將感應訊息傳送給影像操取卡以觸發 CCD攝影機拍取胸手機#幕上之畫面圖像影像;根據^ ^所取得之影像資料,湘圖像水平續直:^梯度變化 較大之特性’進行影像中圖像位置的定位及切割,並對切 1〇割出來的圖像做二元化及去除雜質保留圖像主體,再利用 水平/垂直掃瞄線逐行/逐列將圖像辨識出來。 【圖式簡單說明】 請參閱以下有關本發明一較佳實施例之詳細說明及其 附圖’將可進一步瞭解本發明之技術内容及其目的功效:、 15有關該實施例之附圖為·· 圖一為本發明PDA/手機畫面圖像閱讀系統之流程實施 例圖; ' 圖二為該PDA/手機晝面圖像閱讀系統之之CCD攝影機 拍攝PDA/手機晝面圖像影像實施例; 圖二為該PDA/手機畫面圖像閱讀系統之影像處理單元 流程實施例; 圖四為該PDA/手機畫面圖像閱讀系統之影像辨識單元 流程實施例; (請先閱讀背面之注意事項再填寫本頁} 經濟部智慧財產局員工消費合作社印製 線ο --------- 圖五為該PDA/手機畫面圖像閱讀系統2PDA/,機書面、 1T line '567446 A7 --- ~ B7 5 ~ f This system is based on image processing / recognition technology, and uses ccd photo- " several 1_PDA / daytime image images on the screen of the mobile phone, from the image processing sheet: The position of the daytime image is located and cut out in the Yau shirt image, and the image is binarized 'and the miscellaneous domain is removed. The county image recognition unit 5 completely recognizes the image. _The mobile phone sensing unit is responsible for detecting the PDA / mobile phone entering the sensing area, and sending the sensing information to the image manipulation card to trigger the CCD camera to capture the image of the screen on the screen of the chest mobile phone #; the image data obtained according to ^ ^ The horizontal image of Hunan image is straight and straight: ^ The characteristic of large gradient change 'locates and cuts the position of the image in the image, binarizes the image cut by 10 and removes impurities to keep the image body, and then Use horizontal / vertical scan lines to identify images line by line / column. [Brief description of the drawings] Please refer to the following detailed description of a preferred embodiment of the present invention and the accompanying drawings' for further understanding of the technical content of the present invention and its effects: 15 The drawings related to this embodiment are: · Figure 1 is a flow chart of a PDA / mobile phone screen image reading system according to the present invention; 'Figure 2 is an example of a PDA / mobile phone daytime image image captured by a CCD camera of the PDA / mobile phone daytime image reading system; Figure 2 is an embodiment of the image processing unit flow of the PDA / mobile phone screen image reading system; Figure 4 is an embodiment of the image recognition unit flow of the PDA / mobile phone screen image reading system; (Please read the precautions on the back before filling This page} Printed line for employees' cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs ο --------- Figure 5 is the PDA / mobile phone screen image reading system 2PDA /, machine written
567446 A7 B7 五、發明説明( 圖像定位實施例; 圖六為該PDA/手機畫面圖像閱讀系統之PDA/手機畫面 圖像切割實施例; 圖七為該PDA/手機畫面圖像閱讀系統之PDA/手機畫面 5 圖像二元化實施例; 圖八為該PDA/手機晝面圖像閱讀系統之PDA/手機畫面 圖像取點掃目苗貫施例;.以及 圖九為該PDA/手機晝面圖像閱讀系統之PDA/手機畫面 圖像去除掃目苗線貫施例。 10【主要部分代表符號】 11 PDA/手機感應單元 12 CCD攝影機 13影像擷取卡 14影像處理單元 15影像辨識單元 16感應區 經濟部智慧財產局員工消費合作社印製 PA020074 TWP - 5/11 (請先閱讀背面之注意事項再填寫本頁)567446 A7 B7 V. Description of the invention (Example of image positioning; Figure 6 is a PDA / mobile phone screen image reading example of the PDA / mobile phone screen image cutting system; Figure 7 is a PDA / mobile phone screen image reading system PDA / mobile phone screen 5 image dualization embodiment; Figure 8 is a PDA / mobile phone day-time image reading system of the PDA / mobile phone screen image fetching example; and Figure 9 is the PDA / PDA / mobile phone screen image removal system for mobile phone day and night image reading system. 10 [Main part representative symbols] 11 PDA / mobile phone sensing unit 12 CCD camera 13 image capture card 14 image processing unit 15 image Identification unit 16 Printed by Consumer Consumption Cooperative of Intellectual Property Bureau, Ministry of Economic Affairs, Ministry of Economic Affairs, PA020074 TWP-5/11 (Please read the precautions on the back before filling this page)
17 PDA/手機 【較佳實施例】 請參閱圖一所示,係本發明所提供之PDA/手機畫面圖 像閱讀糸統之架構及流程’主要包括有· PDA/手機感應早 元11、CCD攝影機12、影像擷取卡(Frame Grabber)13、影像 15 處理單元14、影像辨識單元15所組成。其中,PDA/手機感 應單元11負責偵測進入感應區16的PDA/手機17,並將感應 訊息傳送給影像擷取卡13以觸發CCD攝影機12拍取PDA/手 本紙張尺度適用中國國家標準(CNS ) A4規格(210X29?公釐) 567446 A7 B7 五、發明説明(今) PA020074 TWP - 6/11 經濟部智慧財產局員工消費合作社印製 機螢幕上之畫面圖像影像;PDA/手機感應單元11可以是硬 體感應器(Sensor)或是以軟體的影像偵測方式,用來感知在 其感應範圍内是否有PDA/手機17存在,當PDA/手機17進入 時,感應器所感應到的狀態變化將會觸發影像擷取卡Π, 而由影像擷取卡13通知CCD攝影機12擷取PDA/手機螢幕上 晝面圖像之影像;所拍取的畫面圖像影像供影像處理單元 14處理後,將產生的二元化圖像傳送給影像辨識單元15來 做辨識。 圖二所示的是CCD攝影機拍攝PDA/手機晝面圖像影像 實施例。PDA/手機進入感應器時,所感應到的狀態變化傳 送至影像擷取卡,由影像擷取卡觸發CCD攝影機拍攝一張 PDA/手機螢幕上BarCode之影像。 圖三所示的是影像處理單元流程實施例。輸入由CCD 攝影機所拍攝的PDA/手機畫面圖像影像,因BarCode具垂 直劇烈變化的特性,故對晝面圖像影像做垂直梯度處理並 且決定有效行的臨界值,當所有有效行都確定且記錄之 後,對這些有效行做群組化(意即距離近者歸為一組),再 來對這些群組以同樣的方式作有效列的認定並做群組化的 動作,因為BarCode的特性為每一行群組中的列群組梯度 特性相同,故將有相似特性的行群組做群組化,所產生的 區域即為BarCode的圖像區域;接下來以影像處理的方法 找到BarCode圖像的直線邊緣,做圖像影像的水平/垂直校 正。 在BarCode圖像定位及水平/垂直校正之後,接著將此 本紙張尺度適用中國國家標準(CNS ) A4規格(2l〇X2)fcf釐) (請先閱讀背面之注意事項再填寫本頁) 10 15 20 訂 線 567446 Μ Β7 經濟部智慧財產局員工消費合作社印製 < "η、、/ / ΡΑ020074 TWP - <五、發明説明(i ) BarCode圖像切割下來,以動態二元化的方法將BarCode圖 像做二元化並去除雜質保留圖像主體,最後輸出BarCode 的二元化圖像。 圖四所示的是影像辨識單元流程實施例。首先輸入 5 BarCode的二元化圖像,取BarCode寬的二分之一長度當做 掃瞄線的取點數(意即每兩個Pixel寬取一個掃瞄線)從第一 個Bar開始垂直掃瞄,掃瞄後分別記錄Bar的數量、寬度及 位置、空白的數量、寬度及位置;將Bar數量少及數量多 的掃目苗線去除(意為掃目苗線掃目苗到雜質或掃目苗到二元化消 10 失的部份,即將該掃瞄線去除),留下大部份Bar數量相同 的掃瞄線,並分別將每一個掃瞄線之Bar的寬度及空白的 寬度做平均,再做解碼;依解碼的結果與BarCode本身的 Check Code做合對,正確的話就輸出BarCode解碼的辨識結 果,若不正確的話,就拒絕該張晝面圖像影像。 15 圖五所示的是PDA/手機晝面圖像定位實施例。將輸入 的彩色PDA/手機畫面圖像轉換成灰階圖像,利用BarCode 垂直劇烈變化的特性,使用梯度法及群組化法,將圖像位 置定位出來;這裡的BarCode圖例是垂直擺放的,若為水 平擺放時,程式亦可利用BarCode水平劇烈變化的特性, 20 將圖像位置定位出來。 圖六所示的是PDA/手機畫面圖像切割實施例。在 BarCode圖像位置定位完成後,便將BarCode圖像切割下 來。 圖七所示的是PDA/手機畫面圖像二元化實施例。針對 (請先閲讀背面之注意事項再填寫本頁)17 PDA / mobile phone [preferred embodiment] Please refer to Figure 1, which is the structure and process of the PDA / mobile phone screen image reading system provided by the present invention. It mainly includes: · PDA / mobile phone early sensing unit 11, CCD It consists of a camera 12, an image capture card (Frame Grabber) 13, an image 15 processing unit 14, and an image recognition unit 15. Among them, the PDA / mobile phone sensing unit 11 is responsible for detecting the PDA / mobile phone 17 entering the sensing area 16 and transmitting the sensing information to the image capture card 13 to trigger the CCD camera 12 to capture the PDA / manual paper. CNS) A4 specification (210X29? Mm) 567446 A7 B7 V. Description of the invention (today) PA020074 TWP-6/11 Employees of the Intellectual Property Bureau of the Ministry of Economic Affairs, Consumer Cooperatives, screen images on the screen of the printer; PDA / mobile phone sensor 11 can be a hardware sensor (Sensor) or a software image detection method to sense whether a PDA / mobile phone 17 exists within its sensing range. When the PDA / mobile phone 17 enters, the sensor detects The state change will trigger the image capture card Π, and the image capture card 13 instructs the CCD camera 12 to capture the image of the daytime image on the PDA / mobile phone screen; the captured image image is processed by the image processing unit 14 Then, the generated binary image is transmitted to the image recognition unit 15 for identification. Figure 2 shows an example of a daytime image of a PDA / mobile phone captured by a CCD camera. When the PDA / mobile phone enters the sensor, the sensed state change is transmitted to the image capture card, and the image capture card triggers the CCD camera to capture a BarCode image on the screen of the PDA / mobile phone. Figure 3 shows an embodiment of the flow of the image processing unit. Enter the PDA / mobile phone image image captured by the CCD camera. Because BarCode has the characteristics of sharp vertical changes, vertical gradient processing is performed on the daytime image image and the critical value of the effective line is determined. When all effective lines are determined and After recording, group these effective rows (meaning the closest ones are grouped together), and then identify these groups in the same way and perform grouping actions, because of the characteristics of BarCode The gradient characteristics of the column groups in each row group are the same, so grouping the row groups with similar characteristics, the resulting area is the BarCode image area; the next step is to find the BarCode image by image processing. The straight edge of the image is used for horizontal / vertical correction of the image. After BarCode image positioning and horizontal / vertical correction, then apply this paper size to Chinese National Standard (CNS) A4 (2l0X2) fcf centimeters (Please read the precautions on the back before filling this page) 10 15 20 Order line 567446 Μ Β7 Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs < " η ,, // ΡΑ020074 TWP-< V. Description of the invention (i) BarCode image is cut out, using a dynamic binary method Binarize the BarCode image and remove the impurities to retain the image body, and finally output the binary image of BarCode. FIG. 4 shows an embodiment of a process of an image recognition unit. First enter a binary image of 5 BarCode, and take one half of the width of BarCode as the number of points for the scanning line (meaning that one scanning line is taken every two pixels wide). Scan from the first Bar vertically. Scan and record the number, width and position of Bar, the number, width and position of blanks after scanning; remove the scanning seedling lines with a small number and large number of Bars The missing part of the binarization and elimination of the duality is to remove the scan line), leaving most of the scan lines with the same number of Bars, and the width of the Bar and the width of each bar respectively Do the averaging and then decode; match the decoded result with the BarCode's Check Code, and if it is correct, output the BarCode decoded recognition result. If it is incorrect, reject the daytime image. 15 Figure 5 shows an example of PDA / mobile daytime image positioning. The input color PDA / mobile phone screen image is converted into a grayscale image, and the vertical position of the BarCode is used to change the position of the image using the gradient method and the grouping method; the BarCode legend here is placed vertically If it is placed horizontally, the program can also use the characteristics of the sharp change of the BarCode level to locate the image position. Figure 6 shows an example of PDA / mobile phone screen image cutting. After the BarCode image location is complete, the BarCode image is cut out. Figure 7 shows an example of a dual image of a PDA / mobile phone screen image. For (Please read the notes on the back before filling this page)
本紙張尺度適用中國國家標準(CNS ) Α4規格(nOxiWi釐) A7 經濟部智慧財產局員工消費合作社印製 567446 B7 ^ ^ , r, / / x PA020074 TWP - 五、發明説明(6 ) 切割下來的BarCode圖像做動態二元化,並將雜質去除也 將每一個Bar的缺口填補起來。 圖八所示的是PDA/手機晝面圖像影像取點掃瞄實施 例。二元化之後的BarCode影像,取二分之一的BarCode寬 5 度做為掃瞄線的取點數(圖例的BarCode長、寬各為250及 123個Pixel,故取62條掃瞄線當做取點數)從第一個Bar到最 後一個Bar平均掃目苗BarCode。 圖九所示的是PDA/手機畫面圖像去除掃瞄線實施例。 從第一個Bar開始,記錄每一條掃瞄線的結果,分別記錄 10 Bar的數量、寬度及位置、空白的數量、寬度及位置;將 Bar數量少及數量多的掃瞄線去除(意為掃瞄線掃瞄到雜質 或掃瞄到二元化消失的部份,即將該掃瞄線去除),留下 大部份Bar數量相同的掃目苗線,圖示中的紅色掃目苗線即為 掃瞄到BarCode邊緣空白的部份和掃瞄到因二元化消失的 15 Bar及因二元化將兩條Bar合在一起的部份。 【特點及功效】 本發明所提供之PDA/手機畫面圖像閱讀系統,與前述 引證案及其他習用技術相互比較時,更具有下列之優點: (1) 可廣泛的閱讀其它習用技術不能閱讀之PDA/手機螢 20 幕或其他液晶顯示器所顯示之圖像。 (2) 結合影像處理與辨識的技術,可廣泛地閱讀各種圖 像,不僅局限於閱讀條碼上。 (3) 使用CCD攝影機的方式讀取識別圖像,減少雷射波 傷害人體的機會。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X2V?f釐) (請先閲讀背面之注意事項再填寫本頁)This paper size applies Chinese National Standard (CNS) A4 specification (nOxiWi) A7 Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 567446 B7 ^ ^, r, / / x PA020074 TWP-V. Description of the Invention (6) BarCode images are dynamically binary, and the removal of impurities also fills in the gaps of each Bar. Figure 8 shows an example of scanning scanning of daytime images of PDA / mobile phones. After the binarization of the BarCode image, one-half of the BarCode width and 5 degrees are used as the number of scanning line points (the BarCode length and width of the legend are 250 and 123 pixels, respectively, so 62 scanning lines are taken as Take points) Average BarCode from the first Bar to the last Bar. Figure 9 shows an example of a PDA / mobile phone screen image removal scan line. Starting from the first Bar, record the results of each scan line, record the number, width and position of 10 Bars, the number, width and position of blanks respectively; remove the scan lines with fewer and more Bars (meaning The scanning line scans for impurities or scans for the disappearance of the binary, that is, the scanning line is removed), leaving most scanning lines with the same number of Bars. The red scanning lines in the figure That is, scan the blank part of the BarCode edge and scan the 15 Bar that disappeared due to the binarization and the part that combined the two Bars due to the binarization. [Features and effects] The PDA / mobile phone screen image reading system provided by the present invention has the following advantages when compared with the aforementioned citations and other conventional technologies: (1) Can be widely read for other conventional technologies that cannot be read PDA / mobile phone screen 20 or other LCD display image. (2) Combined with image processing and identification technology, a wide range of images can be read, not limited to reading bar codes. (3) Use the CCD camera to read the recognition image to reduce the chance of laser waves harming the human body. This paper size applies to China National Standard (CNS) A4 specification (210X2V? F%) (Please read the precautions on the back before filling this page)
567446 A7567446 A7
經濟部智慧財產局員工消費合作社印製 上列洋細祝明係針對本發明之一可行實施例之具體說 明,惟該實施例並非用以限制本發明之專利範圍,凡未脫 離本發明技藝精神所為之等效實施或變更,均應包含於本 案之專利範圍中。 綜上所述,本案不但在技術思想上確屬創新,並能 =用物品增進上述多項功效,應已充分符合_性 性之法定發明專利要件,爰依法提出 ^ 准本件發明專利申請案,以勵發明,至感德Γ。核The above list is printed by the Consumers' Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. It is a detailed description of one of the feasible embodiments of the present invention, but this embodiment is not intended to limit the scope of patents of the present invention. All equivalent implementations or changes shall be included in the patent scope of this case. To sum up, this case is not only technically innovative, but also can use items to enhance the above-mentioned multiple effects. It should have fully complied with the statutory invention patent requirements of _ nature. According to the law, ^ this application for an invention patent should be approved. Encourage invention, to the sense of Γ. nuclear