[go: up one dir, main page]

TW201201108A - QR code identity system and identification method with the same - Google Patents

QR code identity system and identification method with the same Download PDF

Info

Publication number
TW201201108A
TW201201108A TW99120909A TW99120909A TW201201108A TW 201201108 A TW201201108 A TW 201201108A TW 99120909 A TW99120909 A TW 99120909A TW 99120909 A TW99120909 A TW 99120909A TW 201201108 A TW201201108 A TW 201201108A
Authority
TW
Taiwan
Prior art keywords
image
code
camera
lens
unit information
Prior art date
Application number
TW99120909A
Other languages
Chinese (zh)
Inventor
Yu-Hsiang Chen
Original Assignee
Cheng Uei Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cheng Uei Prec Ind Co Ltd filed Critical Cheng Uei Prec Ind Co Ltd
Priority to TW99120909A priority Critical patent/TW201201108A/en
Publication of TW201201108A publication Critical patent/TW201201108A/en

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The present invention is provided a QR code recognizing system and a QR code recognizing method. The method includes steps of synchronously obtaining a first image and a second image respectively representing the QR code, geometrically translating the second image into a third image, calculating each pixel value and the average pixel value of the first image and the third image to respectively form a fourth image and a fifth image, calculating each of corresponding pixels of the fourth image and the fifth image to form a sixth image, and setting each pixel of the sixth image into 1 if each pixel is over a threshold and setting each pixel into 0 if each pixel is below the threshold.

Description

201201108 六、發明說明: 【發明所屬之技術領域】 本發明涉及一種一維條碼,尤其涉及一種形成於金屬面上 的QR碼識別系統及識別方法。 【先前技術】 —維條碼作為一種新的信息存儲和傳遞技術,廣泛應用於 商品標識、安全防偽和電子商務等眾多領域。二維條碼利用某 種特定的幾何圖形按一定規律在二維方向上分佈的黑白相間 的圖形記錄資料符號信息的;在代碼編制上巧妙地利用構成電 腦内部邏輯基礎的“〇,,、“丨,,位元流的概念,使用若干個與二進 位相對應的幾何形體來表示文字數值資訊,通過圖像輸入設備 或光電掃插設備自動識讀以實現資訊自動處理。常見的國際標 ,一維條竭有 PDF417、Data Matrix、Maxi Code 及 QR Code201201108 VI. Description of the Invention: [Technical Field] The present invention relates to a one-dimensional barcode, and more particularly to a QR code recognition system and a recognition method formed on a metal surface. [Prior Art] - As a new information storage and transmission technology, the dimensional barcode is widely used in many fields such as commodity identification, security and anti-counterfeiting. The two-dimensional bar code uses a certain geometric pattern to record the data symbol information in a black and white pattern distributed in a two-dimensional direction according to a certain rule; in the code preparation, the clever use of the internal logic foundation of the computer is utilized, "〇,,," , the concept of the bit stream, using a number of geometric shapes corresponding to the binary to represent the literal value information, automatically read through the image input device or photoelectric scanning device to achieve automatic information processing. Common international standards, one-dimensional exhausted PDF417, Data Matrix, Maxi Code and QR Code

種才%準,其中以超尚速識讀(Quick Response Code,QR C〇de)應用最為廣泛,qr碼具有超高速 '全方位(36〇度) "的特點,能有效地表示漢字,在諸多行業得到了廣泛的應 用,Οΐί v 碼符號是由一系列小正方形資訊塊組成的正方形陣 巧’通過用明暗的灰度變化表示“0”或“Γ ,在QR碼應用 、’飞車製造、飛機製造、武器製造及一切機械產品上時,要求 在金屬面或塑膠面上用雕刻來表現QR碼,然而該表面經過雕 Λ ’免與暗的對比較印刷面為低,QR碼的識別難度大且容 易產生失真。 因此急需一種QR碼識別系統及識別方法來克服上述缺 陷。 【發明内容】 201201108 本發明的一目的是提供一種穩定性高、具有較高識別性能 的QR碼識別系統。 本發明的另一目的是提供一種能高效穩定識別QR碼的 QR碼識別方法。 為達成上述目的,本發明所提供的一種QR碼識別系統, 包括攝像機及與所述攝像機電連接的處理器,其中攝像機具有 第一攝像機、第二攝像機、均勻光源、電源調節器、記憶體及 控制器,第一攝像機包括相連的第一鏡頭及第一感應器,第二 攝像機包括相連的第二鏡頭及第二感應器,第一感應器及第二 感應器與控制器同步連接,均勻光源及記憶體分別與控制器電 連接,電壓調節器分別與第一感應器、第二感應器、控制器及 處理器電連接,控制器與處理器相連,設定第一基準面與第二 基準面,第一鏡頭與第一基準面正對,第一鏡頭中心的光軸與 第二基準面相交於焦點,第一鏡頭位於第二鏡頭與均勻光源之 間且第一鏡頭、第二鏡頭及均勻光源位於同一平面,第二鏡頭 的中心位於均勻光源的光軸入射經過所述焦點在第二基準面 的反射線上。 為達成上述目的,本發明所提供的一種QR碼識別方法, 包括以下步驟: 首先,利用第一攝像機與第二攝像機同步取得QR碼對應 的第一影像及第二影像; 再來,對第二影像做幾何轉換成正常的QR碼方塊形成第 三影像; 並且,分別將第一影像、第三影像的每一單元資訊塊的圖 元值減去所在影像的平均圖元值且對結果取絕對值並對應形 成第四影像、第五影像; 201201108 之後,將第四影像對應的單元資訊塊的圖元值與第五影像 對應的單元資訊塊的圖元值進行比較,並記錄差值形成第六影 像; 最後,設定門檻值,對所述第六影像進行二值化。 如上所述,本發明的QR碼的識別系統和識別方法,利用 差分信號的原理,採用兩台攝像機的設計,通過攝像機的擺設 角度進行補光,能高效穩定地對所述QR碼進行識別,經過影 像處理後,對應的圖元值相減取絕對值,通過設定門檻值來判 斷該區是0或1,然後進行QR碼辨識,從而達到高效穩定地 識別所述QR碼的目的。 【實施方式】 為詳細說明本發明之技術内容、構造特徵、所達成的目的 及功效,以下茲例舉實施例並配合圖式詳予說明。 請參閱第一圖至第三圖,本發明的一種QR碼10,適用於 在金屬面或塑膠面上形成,所述QR碼10呈正方形並由複數 個同樣呈正方形的單元資訊塊按照一定規律無間隙地排列而 成,其單元資訊塊為黑色單元或白色,分別表示不同的二進位 值。本發明的QR碼10的白色單元資訊塊表現為在金屬面上 壓鑄形成的亮平面11,且代表各白色單元資訊塊的亮平面11 均與水平面形成一致的傾斜角P,其中,p優選在0度至45 度之間;所述QR碼10的黑色單元資訊塊表現為散射面12, 所述散射面12位於與水平面平行的同一平面上。通過亮平面 11來表現QR碼的白色單元資訊塊,散射面12來表現黑色單 元資訊塊,加強亮暗對比度,加強可讀性和穩定性。 參閱第四圖,上述QR碼10的製造方法,包括以下步驟: S001 :對應QR碼的每一單元資訊塊在金屬面上分別壓鑄 201201108 面均與水平面形成一 形成亮平面,且每個單元資訊塊上的亮平 致的傾斜角; 巴早疋資訊塊對應位 同一平面 sow利用雷射雕刻機將\QR竭的黑色單元資訊 置上的亮平面去除並分別形成位於與水平面平疒 上的散射面。 的 具體地,S001步驟之前還包括在所述金 對位方塊13,所述QR豸1〇位於所述對位方塊成 QR碼H)的邊緣分別與對位方塊13的邊緣對應垂直。The standard is accurate, and the Quick Response Code (QR C〇de) is the most widely used. The qr code has the characteristics of ultra-high-speed (36 degrees) and can effectively represent Chinese characters. Widely used in many industries, the Οΐί v code symbol is a square array of small square information blocks. It is represented by "0" or "Γ" in the QR code application. Manufacturing, aircraft manufacturing, weapons manufacturing and all mechanical products require the use of engraving on the metal or plastic surface to represent the QR code. However, the surface is engraved with a 'free and dark pair' comparison of the printed surface, QR code It is difficult to identify and easily cause distortion. Therefore, a QR code recognition system and identification method are urgently needed to overcome the above drawbacks. [Invention] [0002] One object of the present invention is to provide a QR code recognition system with high stability and high recognition performance. Another object of the present invention is to provide a QR code recognition method capable of efficiently and stably identifying a QR code. To achieve the above object, a QR code recognition system provided by the present invention is provided. And a camera and a processor electrically connected to the camera, wherein the camera has a first camera, a second camera, a uniform light source, a power conditioner, a memory and a controller, and the first camera includes a connected first lens and a first The second camera includes a connected second lens and a second sensor. The first sensor and the second sensor are synchronously connected with the controller, and the uniform light source and the memory are respectively electrically connected to the controller, and the voltage regulator respectively The first sensor, the second sensor, the controller and the processor are electrically connected, and the controller is connected to the processor to set the first reference surface and the second reference surface, the first lens is opposite to the first reference surface, and the first lens The optical axis of the center intersects the second reference surface at a focus, the first lens is located between the second lens and the uniform light source, and the first lens, the second lens and the uniform light source are located on the same plane, and the center of the second lens is located at the light of the uniform light source The axis is incident on the reflection line of the focus on the second reference surface. To achieve the above object, the present invention provides a QR code identification method, package The following steps: First, the first image and the second image corresponding to the QR code are acquired by using the first camera and the second camera; and then the second image is geometrically converted into a normal QR code block to form a third image; and The image values of each unit information block of the first image and the third image are respectively subtracted from the average element value of the image, and the absolute value of the image is taken to form a fourth image and a fifth image; 201201108, Comparing the primitive value of the unit information block corresponding to the fourth image with the primitive value of the unit information block corresponding to the fifth image, and recording the difference to form a sixth image; finally, setting a threshold value, and performing the second image on the sixth image As described above, the identification system and the identification method of the QR code of the present invention utilize the principle of the differential signal, and adopt the design of the two cameras to complement the light through the angle of the camera, so that the QR code can be efficiently and stably After the image processing, the corresponding primitive value is subtracted from the absolute value, and the threshold is set to determine whether the region is 0 or 1, and then the QR code is identified. Efficiently and stably achieve the purpose of identifying the QR code. [Embodiment] In order to explain the technical contents, structural features, objects and effects of the present invention in detail, the embodiments will be described in detail below with reference to the drawings. Referring to the first to third figures, a QR code 10 of the present invention is suitable for forming on a metal surface or a plastic surface. The QR code 10 is square and is composed of a plurality of unit information blocks which are also square. Arranged without gaps, the unit information blocks are black cells or white, respectively representing different binary values. The white unit information block of the QR code 10 of the present invention is expressed as a bright plane 11 formed by die casting on a metal surface, and represents a tilt angle P of the bright plane 11 of each white unit information block which is consistent with the horizontal plane, wherein p is preferably Between 0 and 45 degrees; the black unit information block of the QR code 10 appears as a scattering surface 12, which is located on the same plane parallel to the horizontal plane. The white unit information block of the QR code is represented by the bright plane 11, and the scattering surface 12 is used to represent the black unit information block, which enhances the contrast between bright and dark, and enhances readability and stability. Referring to the fourth figure, the manufacturing method of the above QR code 10 includes the following steps: S001: Each unit information block corresponding to the QR code is die-casted on the metal surface, and the surface is formed into a bright plane, and each unit information is formed. The bright and flat tilt angle on the block; the corresponding plane in the same block of the early information block uses the laser engraving machine to remove the bright plane of the black cell information of the \QR exhaust and form the scattering surface on the flat surface with the horizontal plane. . Specifically, the step S001 is further included in the gold alignment block 13, and the edge of the QR豸1〇 located in the alignment block into the QR code H) is respectively perpendicular to the edge of the alignment block 13.

位方塊13的標引,方便在金屬面上壓鑄形成傾斜度—致的亮 平面U ’且方便雷射雕刻機獲1〇的位置:=訊,“ 確快速地消除掉QR碼1G對應的黑色單元資訊塊上的亮平面 11 ’形成所需的散射面12。 請參閱第五圖,本發明的QR碼識別系統,包括攝像機及 與所述攝像機電連接的處理器270,攝像機包括:第一攝像機 210、第二攝像機 220、均勻光源(light source, LS) 230、電 源調節器240、記憶體250及控制器260,第一攝像機21〇及 第一攝像機220與控制器260同步連接,均勻光源230及記憶 體25〇分別與控制器260電連接,電壓調節器240分別與第一 攝像機210、第二攝像機22〇、控制器260及處理器270電連 接’控制器260與處理器270相連,其中,記憶體250用於存 儲影像資料,處理器270可以是PC終端,其通過電壓調節器 240為第一攝像機210、第二攝像機220及控制器260提供電 源。 請參閱第六圖及第七圖,具體地,第一攝像機210包括第 —鏡頭212及第一感應器214,第二攝像機220包括第二鏡頭 222及第二感應器224,第一鏡頭212及第二鏡頭222用於採 201201108 集影像,第一感應器214及第二感應器224與控制器260同步 相連。配合參閱第六圖,設定第一基準面280與第二基準面 290,第一基準面280與水平面平行,第二基準面290與第一 基準面280之間的夾角與所述傾斜角p大小一致,第一鏡頭 212與第一基準面280正對,第一鏡頭212的中心的光軸L1 與第二基準面290相交於焦點0,第一鏡頭212位於第二鏡頭 222與均勻光源230之間且第一鏡頭212、第二鏡頭222及均 勻光源位230於同一平面,第二鏡頭222的中心位於均勻光源 230的光軸L2入射經過焦點0在第二基準面290的反射線L3 上。 本發明的QR碼10的識別系統採用兩台攝像機的設計, 通過攝像機的擺設角度進行補光,具體地,進行圖像採集時, 第一鏡頭212與QR碼10正對,即亮平面11與第一基準面280 對應,散射面12與第二基準面290對應。第一鏡頭212與散 射面12垂直並與亮平面11相交於焦點0,此時第一鏡頭212 與亮平面11上經過點0的法線L4之間的夾角為p,均勻光源 230的光軸L2及第二鏡頭222的中心與法線L4之間的夾角均 為0,0角大於供角。採集圖像時,如果為完整光滑的金屬亮 平面11,第二鏡頭222由於均勻光源230的加強作用可得到 比較亮的圖元值,兩攝像機取得的亮度值相減>〇,而在同一為 黑色圖塊,即散射面12所表示的黑色單元資訊塊上,因為亮 平面11被雷射雕刻機打成非光滑的散射面12,因此第一鏡頭 212與第二鏡頭222獲取的數值接近,兩攝像機取得的亮度值 兩者相減靠近0,通過設定門檻值來做0與1的區隔即可以實 現解碼。 具體地,參閱第七圖,所述感應器可採用CMOS圖像感 201201108The index of the square block 13 is convenient for die-casting on the metal surface to form the inclination-induced bright plane U 'and convenient for the laser engraving machine to obtain a position of 1 :: = message, "Immediately eliminate the black corresponding to the QR code 1G The bright plane 11' on the unit information block forms the desired scattering surface 12. Referring to the fifth figure, the QR code recognition system of the present invention comprises a camera and a processor 270 electrically connected to the camera, the camera comprising: The camera 210, the second camera 220, the light source (LS) 230, the power conditioner 240, the memory 250 and the controller 260, the first camera 21 and the first camera 220 are synchronously connected with the controller 260, and the uniform light source The controller 230 is electrically connected to the controller 260, and the voltage regulator 240 is electrically connected to the first camera 210, the second camera 22, the controller 260, and the processor 270, respectively, and the controller 260 is connected to the processor 270. The memory 250 is used to store image data, and the processor 270 can be a PC terminal, which supplies power to the first camera 210, the second camera 220, and the controller 260 through the voltage regulator 240. 6 and 7 , specifically, the first camera 210 includes a first lens 212 and a first sensor 214 , and the second camera 220 includes a second lens 222 and a second sensor 224 , and the first lens 212 and the second lens 222 is used to collect 201201108 sets of images, and the first sensor 214 and the second sensor 224 are synchronously connected with the controller 260. Referring to the sixth figure, the first reference surface 280 and the second reference surface 290 are set, and the first reference surface 280 is provided. Parallel to the horizontal plane, the angle between the second reference surface 290 and the first reference surface 280 is the same as the inclination angle p, and the first lens 212 is opposite to the first reference surface 280, and the optical axis of the center of the first lens 212 L1 and the second reference surface 290 intersect the focus 0, the first lens 212 is located between the second lens 222 and the uniform light source 230, and the first lens 212, the second lens 222 and the uniform light source position 230 are in the same plane, and the second lens 222 The center of the light source L2 of the uniform light source 230 is incident on the reflection line L3 of the second reference surface 290 through the focus 0. The identification system of the QR code 10 of the present invention adopts the design of two cameras, and fills the light by the angle of the camera. ,specifically When image acquisition is performed, the first lens 212 is opposite to the QR code 10, that is, the bright plane 11 corresponds to the first reference surface 280, and the scattering surface 12 corresponds to the second reference surface 290. The first lens 212 is perpendicular to the scattering surface 12 and Intersecting with the bright plane 11 at the focus 0, the angle between the first lens 212 and the normal L4 passing through the point 0 on the bright plane 11 is p, the optical axis L2 of the uniform light source 230 and the center and the second lens 222 The angle between the lines L4 is 0, and the 0 angle is larger than the supply angle. When acquiring an image, if it is a completely smooth metallic bright plane 11, the second lens 222 can obtain a relatively bright primitive value due to the enhancement of the uniform light source 230, and the luminance values obtained by the two cameras are subtracted by > As a black tile, that is, on the black cell information block represented by the scattering surface 12, since the bright plane 11 is marked as a non-smooth scattering surface 12 by the laser engraving machine, the values obtained by the first lens 212 and the second lens 222 are close to each other. The brightness values obtained by the two cameras are subtracted from 0, and the decoding can be realized by setting the threshold value to be 0 and 1. Specifically, referring to the seventh figure, the sensor can adopt a CMOS image sense 201201108

測器晶片或CCD傳感晶片’以〇v系列攝像頭晶片為例,與 控制器260同步連接時,第一感應器214的資料引腳、第二感 應器224的資料引腳分別與控制器的1/〇引腳相連,將感應器 獲得的影像信號傳送給控制器26〇’第一感應器214及第二感 應器224對應的重置引腳(SENS〇R rESET pin)、j 2c CLK 引腳、12C Data引腳、MCLK引腳同時對應與控制器同步連 接,而第二感應器的水準參考信號(HSYNC)引腳、垂直同 步信號(VSYNC)引腳、圖元時鐘(PIxEL CLK)引腳單獨 與控制器連接,利用SENS〇R_RESETPin來使第一感應器214 _ 與第二感應器224同時進入初始化狀態,利用共同的12C CLK/12C Data引腳對兩感應器進行初始化的命令設定,利用 其中一組的功能信號引腳:HSYNC/ VSYNC/PIXEL CLK來做 ·; 同步訊號,即可以同時接收兩感應器的影像資料。 ; 請參閱第八圖,本發明的QR碼的識別方法,包括以下步 驟: S101 :採用識別系統對所述QR碼進行圖像採集,利用第 一攝像機與第二攝像機同步取得所述QR碼對應的第一影像及 第二影像; S102:對第二影像做幾何轉換成正常的QR碼方塊形成第 三影像; 5103 :分別將第一影像、第三影像的每一單元資訊塊的圖 元值減去所在影像的平均圖元值且對結果取絕對值並對應形 成第四影像、第五影像; 5104 :將第四影像、第五影像中對應的單元資訊塊的圖元 值進行比較,並記錄差值形成第六影像; 5105 :設定門檻值’對所述第六影像進行二值化。 9 201201108 由於第一鏡頭212與第二鏡頭222的採集角度不同,第二 鏡頭222因拍攝角度的原因造成獲得的圖像存在幾何變形,獲 取的條碼圖像並非正方形而是任意四邊形,因此需要通過 S102的幾何轉換步驟來矯正幾何失真。在第六影像中判斷QR 碼是靠近〇或遠離〇,根據攝像機的特性選取合適的門檻值做 0與1的區隔,將QR碼解碼為二進位字元,通過此識別方式 達到高效穩定地識別所述QR碼的目的。 如上所述,本發明的QR碼識別系統和識別方法,利用差 分信號的原理,採用兩台攝像機的設計,通過攝像機的擺設角 度進行補光,能高效穩定地對所述QR碼進行識別,經過影像 處理後,對應的圖元值相減取絕對值,通過設定門檻值來判斷 該區是0或1,然後進行QR碼辨識,從而達到高效穩定地識 別所述QR碼的目的。 【圖式簡單說明】 第一圖係本發明QR碼之平面示意圖。 第二圖係第一圖中所示的由亮平面代表的QR碼的白色單 元資訊塊之結構示意圖。 第三圖係第一圖中所示的由散射面代表的QR碼的黑色單 元資訊塊之結構示意圖。 第四圖係本發明QR碼的製造方法之流程圖。 第五圖係本發明QR碼的識別系統之結構框圖。 第六圖係本發明QR碼之識別原理示意圖。 第七圖係第五圖中所示的第一攝像機、第二攝像機與控制 器同步連接之示意圖。 第八圖係本發明QR碼的識別方法之流程圖。 201201108 【主要元件符號說明】 QR碼 10 亮平面 11 散射面 12 對位方塊 13 第一攝像機 210 第一鏡頭 212 第一感應器 212 第二攝像機 220 第二鏡頭 222 第二感應器 224 均勻光源 230 電源調節器 240 記憶體 250 控制器 260 處理器 270 第一基準面 280 第二基準面 290 11The detector chip or the CCD sensor chip is taken as an example of the 〇v series camera chip. When the controller 260 is synchronously connected, the data pin of the first sensor 214 and the data pin of the second sensor 224 are respectively associated with the controller. The 1/〇 pin is connected, and the image signal obtained by the sensor is transmitted to the controller 26 〇 'the first sensor 214 and the second sensor 224 corresponding reset pin (SENS〇R rESET pin), j 2c CLK The 12C Data pin and the MCLK pin are simultaneously connected to the controller, and the second sensor's level reference signal (HSYNC) pin, vertical sync signal (VSYNC) pin, and primitive clock (PIxEL CLK) are used. The foot is separately connected to the controller, and the first sensor 214_ and the second sensor 224 are simultaneously brought into an initialization state by using SENS〇R_RESETPin, and the command of initializing the two sensors is performed by using the common 12C CLK/12C Data pin. Use one of the function signal pins: HSYNC/VSYNC/PIXEL CLK to do the synchronization signal, which can receive the image data of the two sensors at the same time. Referring to FIG. 8 , the method for identifying the QR code of the present invention includes the following steps: S101: performing image acquisition on the QR code by using an identification system, and acquiring the QR code by using the first camera and the second camera synchronously. a first image and a second image; S102: geometrically converting the second image into a normal QR code square to form a third image; 5103: respectively, respectively, the primitive values of each unit information block of the first image and the third image Subtracting the average element value of the image and taking the absolute value of the result and correspondingly forming the fourth image and the fifth image; 5104: comparing the primitive values of the corresponding unit information block in the fourth image and the fifth image, and Recording the difference to form a sixth image; 5105: setting a threshold value to binarize the sixth image. 9 201201108 Since the acquisition angles of the first lens 212 and the second lens 222 are different, the image obtained by the second lens 222 due to the shooting angle is geometrically deformed, and the acquired barcode image is not a square but an arbitrary quadrilateral, so it is required to pass The geometric transformation step of S102 corrects the geometric distortion. In the sixth image, it is judged that the QR code is close to or away from the frame, and the appropriate threshold value is selected according to the characteristics of the camera to make a division between 0 and 1, and the QR code is decoded into a binary character, thereby achieving efficient and stable identification by the recognition method. Identify the purpose of the QR code. As described above, the QR code recognition system and the identification method of the present invention utilize the principle of the differential signal, and adopt the design of two cameras to complement the light through the angle of the camera, thereby efficiently and stably identifying the QR code. After the image processing, the corresponding primitive value is subtracted from the absolute value, and the threshold is set to determine whether the region is 0 or 1, and then QR code identification is performed, thereby achieving the purpose of efficiently and stably identifying the QR code. BRIEF DESCRIPTION OF THE DRAWINGS The first figure is a schematic plan view of the QR code of the present invention. The second figure is a structural diagram of a white unit information block of a QR code represented by a bright plane shown in the first figure. The third figure is a schematic structural view of a black unit information block of a QR code represented by a scattering surface shown in the first figure. The fourth figure is a flow chart of a method of manufacturing the QR code of the present invention. The fifth figure is a structural block diagram of the identification system of the QR code of the present invention. The sixth figure is a schematic diagram of the identification principle of the QR code of the present invention. The seventh figure is a schematic diagram of the first camera, the second camera and the controller being synchronously connected as shown in the fifth figure. The eighth figure is a flow chart of the method for identifying the QR code of the present invention. 201201108 [Description of main component symbols] QR code 10 Bright plane 11 Scattering surface 12 Alignment block 13 First camera 210 First lens 212 First sensor 212 Second camera 220 Second lens 222 Second sensor 224 Uniform light source 230 Power supply Regulator 240 Memory 250 Controller 260 Processor 270 First Reference Plane 280 Second Datum Face 290 11

Claims (1)

201201108 七、申請專利範圍: h—種QR碼識別系統,包括攝像機及與所述攝像機電連 接的處理器,其中攝像機具有第一攝像機、第二攝像機、均 勻光源、電源調節器、記憶體及控制器’第—攝像機包括相 連的第一鏡頭及第一感應器,第二攝像機包括相連的第二鏡 頭及第二感應器,第一感應器及第二感應器與控制器同步連 接,均勻光源及記憶體分別與控制器電連接,電壓調節器分 別與第一感應器、第二感應器、控制器及處理器電連接,控 制器與處理器相連,設定第一基準面與第二基準面,第一鏡 ,與第—基準面正對,第—鏡頭中。的光軸與第二基準面相 交於焦點,第一鏡頭位於第二鏡頭與均勻光源之間且第一鏡 頭第—鏡頭及均勻光源位於同一平面,第二鏡頭的中心位 於均勻光源的光軸入射經過所述焦點在第二基準面的反射 上。 ' 2.如申請專利範圍第丨項所述之QR碼識別系統,其中所 述QR碼呈正方形並由複數同樣呈正方形的單元資訊塊按照 定規律無間隙地排列而成,其單元資訊塊為黑色單元或白 色’分別表示不同的二進位值。 、3·如申請專利範圍第2項所述之QR碼識別系統,其中所 述QR碼的白色單元資訊塊表現為在金屬面上麈鱗形成的亮 平面,且代表各白色單元資訊塊的亮平面均與水平面形成一 致的傾斜“,所述QR碼的黑色單元資訊塊表現為散射面, 所述散射面位於與水平面平行的同一平面上。 4·如申凊專利範圍第3項所述之QR碼識別系統,其令所 述第一基準面與水平面平行,第二基準面與第一基準面之間 的夾角與所述傾斜角P大小一致。 201201108 5.—種QR碼識別方法,包括如下步驟: 首先,利用第一攝像機與第二攝像機同步取得QR碼對應的第 一影像及第二影像; 再來,對第二影像做幾何轉換成正常的QR碼方塊形成第 三影像; 並且,分別將第一影像、第三影像的每一單元資訊塊的 圖元值減去所在影像的平均圖元值且對結果取絕對值並對應 形成第四影像、第五影像; 之後,將第四影像對應的單元資訊塊的圖元值與第五影 像對應的單元資訊塊的圖元值進行比較,並記錄差值形成第 六影像; 最後,設定門檻值,對所述第六影像進行二值化。 13201201108 VII. Patent application scope: h-type QR code recognition system, including a camera and a processor electrically connected with the camera, wherein the camera has a first camera, a second camera, a uniform light source, a power conditioner, a memory and a control The first camera includes a connected first lens and a first sensor, and the second camera includes a connected second lens and a second sensor. The first sensor and the second sensor are synchronously connected with the controller, and the uniform light source and The memory is electrically connected to the controller, and the voltage regulator is electrically connected to the first inductor, the second inductor, the controller and the processor, respectively, and the controller is connected to the processor to set the first reference plane and the second reference plane. The first mirror is opposite to the first reference plane, in the first lens. The optical axis intersects the second reference surface at the focus, the first lens is located between the second lens and the uniform light source, and the first lens first lens and the uniform light source are located on the same plane, and the center of the second lens is located at the optical axis of the uniform light source. The focus is on the reflection of the second reference plane. 2. The QR code recognition system according to the scope of the patent application, wherein the QR code is square and is formed by a plurality of unit information blocks which are also square in a regular manner without gaps, and the unit information block is Black cells or white 'represent different binary values, respectively. 3. The QR code recognition system according to item 2 of the patent application scope, wherein the white unit information block of the QR code is expressed as a bright plane formed by a scale on a metal surface, and represents a brightness of each white unit information block. The planes are uniformly inclined with respect to the horizontal plane, and the black unit information block of the QR code appears as a scattering surface, and the scattering surface is located on the same plane parallel to the horizontal plane. 4. As described in claim 3 of the patent scope The QR code recognition system is configured such that the first reference plane is parallel to the horizontal plane, and the angle between the second reference plane and the first reference plane is consistent with the tilt angle P. 201201108 5. A QR code identification method, including First, the first camera and the second camera are synchronized to obtain the first image and the second image corresponding to the QR code; and then, the second image is geometrically converted into a normal QR code block to form a third image; and The element values of each unit information block of the first image and the third image are respectively subtracted from the average element value of the image, and the absolute value of the result is taken to form the fourth image and the fifth image. Then, comparing the primitive value of the unit information block corresponding to the fourth image with the primitive value of the unit information block corresponding to the fifth image, and recording the difference to form a sixth image; and finally, setting a threshold value, for the first Six images are binarized. 13
TW99120909A 2010-06-25 2010-06-25 QR code identity system and identification method with the same TW201201108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99120909A TW201201108A (en) 2010-06-25 2010-06-25 QR code identity system and identification method with the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99120909A TW201201108A (en) 2010-06-25 2010-06-25 QR code identity system and identification method with the same

Publications (1)

Publication Number Publication Date
TW201201108A true TW201201108A (en) 2012-01-01

Family

ID=46755679

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99120909A TW201201108A (en) 2010-06-25 2010-06-25 QR code identity system and identification method with the same

Country Status (1)

Country Link
TW (1) TW201201108A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI509528B (en) * 2013-12-13 2015-11-21 Univ Nat Taiwan Stylized qr code generating apparatus and method thereof
TWI639916B (en) * 2013-09-18 2018-11-01 達豐(上海)電腦有限公司 System for testing external display interface of? notebook computer and the method thereof are provided

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI639916B (en) * 2013-09-18 2018-11-01 達豐(上海)電腦有限公司 System for testing external display interface of? notebook computer and the method thereof are provided
TWI509528B (en) * 2013-12-13 2015-11-21 Univ Nat Taiwan Stylized qr code generating apparatus and method thereof

Similar Documents

Publication Publication Date Title
JP5042344B2 (en) Matrix type two-dimensional code identification system and identification method thereof
TW200300540A (en) Very person identification system
US10331929B2 (en) Imaging terminal, imaging sensor to determine document orientation based on bar code orientation and methods for operating the same
US9727775B2 (en) Method and system of curved object recognition using image matching for image processing
US10152634B2 (en) Methods and systems for contextually processing imagery
CN102682267B (en) Method for quickly positioning and extracting one-dimensional and two-dimensional code graphics aiming at digital images
US10740613B1 (en) Hybrid feature point/watermark-based augmented reality
TW201118791A (en) System and method for obtaining camera parameters from a plurality of images, and computer program products thereof
TW200300911A (en) Method for reading two dimensional bar codes
CN101639933A (en) Image rotation correction method and system and electronic device
JP2012523598A (en) Two-dimensional symbol code and method for reading the symbol code
Lou et al. A cost-effective automatic 3D reconstruction pipeline for plants using multi-view images
CN107113421B (en) The detection method and device of a kind of optical system imaging quality
CN114383564A (en) Depth measurement method, device, device and storage medium based on binocular camera
CN111526342B (en) Image processing method, device, camera, terminal and storage medium
US9204130B2 (en) Method and system for creating a three dimensional representation of an object
CN112802114A (en) Multi-vision sensor fusion device and method and electronic equipment
CN107613239B (en) Video communication background display method and device
CN102289647A (en) QR (Quick Response) code identification system and identification method thereof
CN105758337B (en) A method of obtaining angle between lens plane and image sensor plane
US11003877B2 (en) Methods and systems for recognizing and reading a coded identification tag from video imagery
CN104184936A (en) Image focusing processing method and system based on light field camera
TW201201108A (en) QR code identity system and identification method with the same
JP6847337B2 (en) Meter detector, meter detection method, and meter detection program
JP2007017364A (en) Silhouette extraction apparatus and method, three-dimensional shape data generation apparatus and method