TW211614B - A bar code signal read-in device with the mechanism of preventing second read-in - Google Patents
A bar code signal read-in device with the mechanism of preventing second read-in Download PDFInfo
- Publication number
- TW211614B TW211614B TW82101460A TW82101460A TW211614B TW 211614 B TW211614 B TW 211614B TW 82101460 A TW82101460 A TW 82101460A TW 82101460 A TW82101460 A TW 82101460A TW 211614 B TW211614 B TW 211614B
- Authority
- TW
- Taiwan
- Prior art keywords
- bar code
- symbol
- code symbol
- barcode
- reading
- Prior art date
Links
Landscapes
- Credit Cards Or The Like (AREA)
Abstract
Description
五、發明説明(1 ) 經濟部中央標準居S工消费合作社印製 ****發明的背景**** 發明的領域: 本發明是有關讀取條碼記號的條碼記號讀取裝置,待 別是關於防止—次讀取。且,在本__書中所謂"二次 讀取"的縣是締讀賴me簡内容(獅),轉送到主 電腦的資料結束_碼記號繼續再次經攝影而解碼完成轉 送到主電腦。 ****習用技術説明**** 近年隨著銷售點系統(pos)的普及,在所有地方都可發 現條碼·。在此細隱巾有針翻的雜,代表性 的有JAN/UPC/EAN碼,ITF碼、碼39、顺_7碼、碼128等。 此等的條碼記號系統是可稱爲一次元條碼記號,可容許的 資訊是十餘文字的程度。 —方面’ POS系統廣泛採用於百貨公司、超級市場等商 品販賣的現場,其終端係利用條碼記號讀取裝置。因此, 在條碼記號讀取裝置要求價格便宜、使用方便及正確的條 碼記猇的讀取。 條碼記號的讀取方法的基本如下,即自光源的光照射 ’掃描條碼記號,在條碼記猇反射的光經集光在讀取裝齧 内部的受光元件。因而以微處理機等構成的電路將受光元 件的输出信號解碼處理,根據此而讀取條碼記號。 然而’條碼記猇讀取裝置可分爲常時條碼記號掃描型 式及按照讓及嚴遲[蹇迫遽逆而掃描條碼記號的型式,但在 前者的常時條碼記號掃描的型式中,已讀取—次的條碼記 號不行再次讀取的稱爲"疲ϋ衣JI(取"機能是重要的。特 本紙張尺度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 82.3. 40,000 -----------------------装------tr------線 产請先«Λ背ώ之注意鲁項存媾寫本莨) 經濟部中央標準屬员工消費合作社印製 211G14 A6 ___ B6 五、發明説明(2 ) 別地,在超級市場等記錄装置,此種機能成爲當然必要, 即使當以該條碼記號讀取裝置的條碼記號讀取結束而就使 附有條碼記號的物品原樣放翯,或將要扣除物品時而進行 扣除物品動作很慢,致同樣的條碼記號已經多次讀取,或 不能讀取條碼記猇,所以將物品到處移動時已多次讀取, 恐怕造成已出售物品的個數和所讀取的個數,即轉送到主 電腦的個數不符合。 於是,在習用的一次元條碼記號的讀取裝置,連續讀 取的條碼記猇的内容是相同的情形下,則判斷爲一種條碼 記猇的二次讀取,使自後來讀取的條碼記號成爲無效的所 謂二次謓取的防止方法,和在轉送到主電腦的資料之後一 定時間不讀取下一個條碼記號的所謂二次讀取之防止方法。 但是,近年來一次元條碼記號的資訊量不足引起混亂 ,於是開發許多具有較多的資訊量的所謂二次元條碼纪號 ____________________—--------- 的編碼系統。其中之一即是資料碼,此資料碼是可用二次 元的黑白圖型做成,而若以L字形的外框及黑白交互的外框 及其内部資料欄所構成的,全體而言是正方形圖型。但是 *爲讀取如此的二次元條碼記號的二次元條碼記號讀取裝 置中,不能不再提出有效的二次讀取防止方法。 假如,此種二次元條碼讀取裝置應用於上述的一次元 條碼記號的二次讀取防止方法時,則二次元條碼記號比較 —次元條碼記號資訊量是特別地多的,所以在資料處理上 比較花時間。特別的是,二次元條碼記號的解碼處理本身 非常地複雜,也是花時間的。因此,在習用方法比較解碼 内容中,有處理時間變長的問題,如此不能適用於二次元 本紙張尺度適用中國國家標準(CNS)甲4规格(21〇 X 297公货) 82.3. 40,000 ------------------------裝------ΤΓ------線 (請先閱讀背面之注意事項再塡寫本頁) 經濟部中央標準局Λ工消費合作社印製 2U6U A6 B6 五、發明説明(3 ) 條碼記號讀取裝置。 又,在轉送到主電腦的資料之後,若以一定時間不謓 下一個條碼記號的方法,此一定時間的設定非常困難,在 設定時間長的情形下,下一個條碼記號很難讀取,且若設 定時間短的情形下,留下相同的條碼記號二次讀取的問題 。進一步地,作業員忘記放置條碼記號已記錄的標籤情形 下造成二次讀取。 * * * *發明的概述**** 本發明目的是鑑於上述諸缺點而提供簡且的處 理而能防止二次讀取的條碼記號讀取裝置。 若根據本發明的第二:摄其,在每隔某固定的時間間隔 攝影條碼記號,記憶以該攝影所得到的圖像資訊的影像及 記憶裝置,和自上述影像及記憶裝置所記憶的圖像資訊檢 出條碼記號的位置資訊的位置檢出裝置,及記憶以上述記 憶檢出裝置檢出的條碼記號的位置資訊的第1位置記憶裝置 ,及記憶自上述位置檢出裝置檢出一個之前的條碼記號的 位置資訊的第2位置記憶裝置,及比較記憶在上述第1及第 2位置記憶裝置的二種位置資訊的比較裝置,以上述的比較 裝置的比較結果經判斷二種位置資訊不同的情形下,能提 供自上述影像及記憶裝置所記憶的圖像資訊,將條碼記號 的内容解碼的解碼裝置的條碼記號讀取裝置。 又,若根據本發明的第二模式,在每隔某固定時間間 隔自攝影條碼記號所得到的圖像i訊檢出條碼記號的位置 資訊的位置檢出裝置,及記憶以上述檢出裝置檢出的條碼 記號的位置資訊的第1記憶裝置,及記憶自上述位置檢出裝 本紙張尺度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 82.3. 40,000 -裝-------玎------線 (諳先《讀背面之注意事項再塡寫本頁) 211614 A6V. Description of the invention (1) Printed by the Central Standards Department of the Ministry of Economic Affairs, Consumer Engineering Co., Ltd. **** Background of the invention **** Field of the invention: The present invention relates to a barcode symbol reading device for reading barcode symbols. It's about preventing-read once. Moreover, the county in the so-called " second reading " in this __book is to read the content of Lai Jian (Lion), and the data transferred to the host computer is over. The code mark continues to be decoded by photography and transferred to the host. computer. **** Practical technical description **** With the popularization of point-of-sale system (POS) in recent years, barcodes can be found everywhere. Here, there are needle-turned miscellaneous tissues. Typical ones include JAN / UPC / EAN code, ITF code, code 39, shun_7 code, code 128 and so on. These barcode symbology systems can be called one-time barcode symbologies, and the allowable information is the degree of more than ten characters. —Aspect ’The POS system is widely used in department stores, supermarkets and other merchandising sites, and its terminals use bar code symbol reading devices. Therefore, bar code symbol reading devices are required to be inexpensive, easy to use, and accurate to read bar code symbols. The basic method of reading bar code symbols is as follows, that is, the light irradiation from the light source scans the bar code symbols, and the light reflected by the bar code symbols is collected by the light receiving element inside the reading device. Therefore, a circuit composed of a microprocessor or the like decodes the output signal of the light-receiving element, and reads the bar code symbol based on this. However, the 'barcode reading device can be divided into the regular bar code scanning mode and the bar code scanning mode according to the concession and strict delay [, but in the former regular bar code scanning mode, it has been read- The next time the bar code symbol cannot be read again, it is called " tired JI (take " function is important. The special paper size is applicable to the Chinese National Standard (CNS) A 4 specifications (210 X 297 mm) 82.3. 40,000 ----------------------- installed ------ tr ------ For line production, please first pay attention to Lu Xiangcun対 写 本) 211G14 A6 ___ B6 printed by the Staff Consumer Cooperative of the Central Standard of the Ministry of Economy V. Description of the invention (2) In addition, in a recording device such as a supermarket, such a function becomes a natural necessity, even when read with the barcode After the barcode symbol reading of the device is completed, the article with the barcode symbol is left as it is, or the deduction of the article when the article is to be deducted is very slow, so that the same barcode symbol has been read many times, or the barcode symbol cannot be read.猇, so it has been read many times when moving the items around, I am afraid that it will cause the number of items sold The number of read, i.e., the number transferred to the host computer does not match. Therefore, in the conventional one-time bar code symbol reading device, if the content of the continuously read bar code marks is the same, it is judged as a second reading of the bar code marks, so that the bar code marks read later The so-called secondary reading prevention method that becomes invalid, and the so-called secondary reading prevention method that does not read the next bar code symbol for a certain time after the data transferred to the host computer. However, in recent years, the lack of information on primary bar code symbols has caused confusion, so many so-called secondary unit bar code eras with large amounts of information have been developed. One of them is the data code. This data code can be made with a black-and-white graphic of a quadratic element. If it is composed of an L-shaped frame and a black-and-white interactive frame and its internal data column, it is generally square. Pattern. However, * in the secondary element barcode symbol reading device for reading such secondary element barcode symbols, it is no longer possible to propose an effective secondary reading prevention method. If this kind of secondary barcode reading device is applied to the above-mentioned secondary reading prevention method of primary barcode symbols, then the comparison of secondary barcode symbols-the amount of information of secondary barcode symbols is particularly large, so in data processing It takes more time. In particular, the decoding process of the two-dimensional bar code symbol itself is very complicated and takes time. Therefore, in the conventional method of comparing the decoded content, there is a problem that the processing time becomes longer, so it can not be applied to the second-dimensional paper size. The Chinese National Standard (CNS) A 4 specifications (21〇X 297 public goods) 82.3. 40,000- ---------------------- install ------ ΤΓ ------ line (please read the notes on the back before writing this page ) 2U6U A6 B6 printed by the Central Standards Bureau of the Ministry of Economic Affairs, Labor and Consumers Cooperatives 5. Description of the invention (3) Bar code symbol reading device. In addition, after transferring the data to the host computer, if the next barcode mark is not used for a certain period of time, the setting of this certain period of time is very difficult. In the case of a long setting time, the next barcode mark is difficult to read, and If the setting time is short, leave the same barcode symbol to read the problem twice. Further, if the operator forgets to place the label where the bar code symbol has been recorded, it causes a second reading. * * * * Summary of the invention **** The purpose of the present invention is to provide a bar code symbol reading device which can prevent secondary reading in light of the above disadvantages. According to the second aspect of the present invention: taking a picture, taking a bar code mark at a certain fixed time interval, storing an image and a memory device using the image information obtained by the photography, and a picture stored from the above image and the memory device A position detection device like the position information of the information detection bar code mark, and a first position memory device that memorizes the position information of the bar code mark detected by the above-mentioned memory detection device, and the one before the detection of the position detection device The second position memory device of the position information of the barcode symbol, and the comparison device for comparing the two kinds of position information memorized in the first and second position memory devices, based on the comparison result of the comparison device, it is judged that the two kinds of position information are different In the case of a barcode symbol reading device of a decoding device that can provide decoding of the content of a barcode symbol from the image information stored in the above-mentioned image and memory device. Furthermore, according to the second mode of the present invention, the position detection device that detects the position information of the bar code symbol from the image information obtained by photographing the bar code symbol at certain fixed time intervals, and the memory is detected by the above detection device The first memory device for the position information of the bar code symbol and the paper size detected from the above position. The size of the paper is applicable to the Chinese National Standard (CNS) A 4 specifications (210 X 297 mm) 82.3. 40,000-Install ---- --- 玎 ------ line (know first "read the notes on the back and then write this page") 211614 A6
經濟部中央標準房W;工消费合作社印製 置檢出一個之前的條碼記號的位置資訊的第2記慷裝置,及 比較記憶在上述第i及第2的記愴裝置的比較裝置,及以上 述比較裝置比較結果,丽二種位置資訊不同的時候,能 提供包含產生解碼許可信號的控制裝置的二次讀取防止裝 置0 即根據本發明的第—模式的條碼記號讀取裝置及第一 模式的二次讀取防止裝置中,記憶條碼記號位置資訊的第 1及第2記愴裝置,及裝設比較二種位置資訊的比較裝置, 而比較解碼結束的條碼記號的位置,及新讀取的條碼記號 的位置,此等若是相同則使此新讀取的條碼記號標號無效 ,而不進行解碼來防止二次讀取。 又,若根據本發明的1三模式」爲攝影由條及空間構 成的條碼記號的攝影裝置,及自上述攝影装置的输出信號 檢出有無條碼記號的條碼記猇檢出裝廑,及解譯自以上述 攝影裝置所攝影的條碼記號圖像的該條碼記號内容的條碼 記號解碼裝置,及在以上述條碼記號解碼裝置的條碼記號 的解碼之後,以上述條碼記號檢出裝置至少—回不能檢出 條碼記號的狀態存在時能提供包含允許以後的條碼記號解 碼裝置動作的控制裝置的條碼記號讀取裝置。 即,在本發明的第三模式的條碼記號讀取裝置中,以 控制裝置在以條碼記號解碼裝置解碼條碼記號之後,以條 碼記猇檢出裝置至少一回不能檢出條碼記號的限制是以禁 止以後的條碼記猇解碼裝置的動作,直到檢出條碼記號能 自該條碼記號讀取裝置解開而不進行條碼記號的讀取(解碼) 來防止『二次讀取』。 本紙張尺度適用中國國家標準(CNS)甲4规格(210 X 297公釐) 82.3. 40,000 ------------------------裝------.玎------線 (請先閲讀背面之注意事項再項寫本頁} A6 B6 211614 五、發明説明(5 ) (請先閲讀背面之注意事項再埸寫本頁) ****圖面簡述**** 圖1是本發明的第1實施例的方塊構成圖。 圖2是説明第1實施例動作的流程圖。 圖3 A到3 C是爲更詳細説明圖2的流程圖中的條碼記號檢 出處理的流程圖。 圖4所示爲求得條碼記號的四個轉角掃描的方向及檢出 座標點的圖示。 圖5所示是自檢出座標點求得的2條大約正交的直線及 四轉角座標點的關係圖示。 圖6所示是以二次元條碼記號爲例的PDF 4Γ7的記號構 造的圖示。 圖7所示是在第2實施例的條碼記號的檢出處理的流程 圖0 圖8是假想投影在圖框記憶的像素配置上具有4X 1的標 號矩陣的PDF 417的條碼記號像素的模式圖示。 圖9A及9B是圖7中的掃描及檢出抽樣的流程圖。 圖10所示爲第8實施例構成的圖示。 圖11是爲説明第8實施例動作的流程圖。 圖12是爲説明條碼記號的平行移動的模式圖。 圖13是爲説明第9實施例的方塊構成圖。 經濟部中央標準局员工消費合作社印製 圖14是爲説明第9實施例的動作的流程圖。 ****實施例的詳細説明**** ****第1實施例**** 圖1是本發明第1實施例的方塊構成圖。在同圖,CCD( 電荷耦合裝置)影像感測器10攝影貼在未圖示物品上的印刷 82.3. 40,000 本紙張又度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 經濟部中央捸準曷負工消費合作社印製 211614 A6 . B6 五、發明説明(6 ) 條碼記猇而成的標籤及商品等的影像資訊。圖框記憶部12 皙時記憶以上述CCD影像感測器10所攝影的影像資訊。 條碼記號檢出處理部I4找出記憶在圖框記憶部12而輸 出其位置資訊。一級緩衝器16順序地記憶以上述條碼記號 檢出處理部14檢出的條碼標記的位置資訊共同轉送其記憶 的記號位置資訊到二級緩衝器18或比較部20。二級緩衝器 18記憶來自上述一級緩衝器的記號位置資訊,又轉送其記 憶的記號位置資訊到上述比較部20。比較部20比較此等自 一級及二級送來的2種記號位置資訊。 解碼處理部22基於以上述條碼記號檢出處理部14檢出 的條碼記號的位置資訊,將來自圖框記憶部12所記憶的資 料讀出條碼記號的資料,使其條碼記號的内容解碼而將解 碼結果轉送到未圖示的主電腦等。 控制部24控制上述的CCD影像感測器10、條碼記號檢出 處理部14、一級緩衝器16、二級緩衝器18、比較部2〇、解 碼處理部22等等的各部。 且,上述條碼記號檢出處理部14、比較部20、解碼處 理部22、控制部24可以CPU 26來構成。 其次,在如上述的構成而以所發表的解碼器爲例説明 依照圖2的處理流程圖有關於讀取條碼記猇情形的處理順序。 依照控制餘8的^制,首先以CCD影像感測器10攝影條 碼記猇的圖像資訊而記憶在圖框記憶部I2内(步驟S1)。其 次,以條碼記號檢出處理部14進行條碼記號的檢出(步驟S2) 。即資料碼記號的情形因在L字形的外框存在具有特徵的圖 型,以檢出此圖型可發現四轉角的座標。因而,是否有條 本紙張又度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 82.3. 40,000 ------------------------裝------,玎------線 (請先閲讀背面之注意事項再埙寫本頁) 21161 A6 B6 五、發明説明(7) 碼記猇,就是説判斷所求的四轉角的座標如何(步驟S3)。 在攝影的圖像中若不存在條碼記號,則回到上述步驟S1。 於此,有關在上述步驟S2及S3的條碼記號的檢出及有 無判斷,參照圖3A至圖3C的流程圖進一步詳細地説明。 在條碼記號檢出處部14,例如圖4所示,在水平方向(X) 每隔數個像素掃描圖框記憶部I2。即,首先初期設定Y座標 在初期値YO之以(步驟S21),以每隔數個像素變更X座標由 初期値X〇_最大値Xn,水平方向掃描(步驟S22)。然後,記 憶在此掃描最初檢出的黑位準及最後檢出的黑位準(步驟S23) 。其次,僅更就自Y座標預定間隔A(步驟S24),其結果判斷 是否超過最大値Yn(步驟S25)。若没超過,則回到上述步驟 S22,反覆上述的處理。 如此,若水平方向的所有掃描結束,連接最初檢出的 黑位準的座標點之間,找尋連接許多座標點(例如4點以上) 成直線Α(例如圖5中的L1),若有如此的直線Α則記憶在其直 線A上所有的座標點Pa(步驟S27)。同樣地,連接最後檢出 的黑位準,找尋連接許多座標點(例如4點以上)連接成的直 線B,若有如此的直線B(步驟S28),記憶在其直線B上所有 的座標點Pb(步驟S29)。然後,判斷直線A、B是否大約正交 ,若是正交則自所記憶的座標點Pa、Pb以計算兩直線A、B 的交點(參照圖5)的座標(步驟S31)。 一方面,以上述步驟S30,若判斷直線A、B大約不成正 交(也包含不能求得2條直線A、B),則進一步在垂直方向(Y) 掃描,做同樣的處理。即,首先初期設定X座標爲初期値X〇 之後(步驟S32),以每隔數像素變更Y〇座標由初期YO到最大 本纸張尺度通用中國國家標準(CNS)甲4规格(210 X 297公釐) —裝-------訂------線 (請先閱讀背面之注意事項再塡寫本頁) 經濟部中央標準局B工消費合作社印髮 82.3. 40,000 烴濟部中央標準局員工消費合作社印3# A6 B6 五、發明説明(8 ) 値爲止,在垂直方向掃描(步驟S33)。然後,在其掃描中記 憶最初檢出的黑位準和最後檢出黑位準的座標點(步驟S34) 。其次,僅更新X座標預定間隔B(步驟S35)。其結果判斷是 否超過最大値Xn(步驟S36)。若没有超過,回到上述步驟S33 ,反覆上述的處理。如此,若垂直方向的所有掃描結束, 則連接最初檢出的黑位準的座標點間,找尋連接許多標點 (例如4點以上)所成的t線C,若有如此的直線c(步驟S37) ,則記憶在其直線C上所有的座標點pc。同樣地,連接最後 檢出的黑位準的座標點間,尋找連接許多座標點(例如4點 以上)所成的直線D(例如圖6中的L2),若有如此的直線D(步 驟S39),記憶在其直線D上的所有的座標點pd(步驟S4〇)。 然後,判斷以直線A到D是否有大約正交的2條直線(步驟S41) 。若没有正交,則做爲没有條碼記號存在(步驟S42),結束 處理而回到上述步驟S1。 又,若有大約正交的2條直線,自關於其正交的二條直 線所記憶座標點以計算求得兩直線交點參照圖5)的座標 (步驟S43)。 然後,自計算出的2條直線交點b及檢出的座標點來決 定條碼紀號的四轉角的座標a、b、c、d。即沿各各正交的 2條直線而自交點b遠離的方向掃描讀出資料(步驟S44),記 憶做爲黑位準的最後座標點的點A及點c(驟S45)。然後,自 此等記憶的三點a、b、c的座標計算d點的座標而記憶其結 果後共同以此等求得的四轉角的座標點a、b、c、d的座標 做爲位置資訊輸出到一級緩衝器l6(步驟S46)。也就是説, 本紙張尺度適用中國國家標準(crvs)甲4規格(210 X 297公货) 82.3. 40,000 ---------:---------------裝------、玎------線 (請先閲讀背面之注意事項再填寫本頁) A6 B6 2ΐ1θτ4--- 五、發明説明(9 ) 右知道交點b及一邊長度則可簡單地決定四轉角。且,此四 轉角的座標即使和記號位置不是正確一致的也没關係。 如此找到的四轉角的座標暫時記憶在一級緩衝器16 , —級緩衝器I6將其位置資訊轉送到比較部20及二級緩衝器 I8。二級緩衝器IS轉送所記憶的位置資訊到比較部20同時 記憶自一級緩衝器16送來的記號的位置資訊。然後,在比 較部2〇比較自一級緩衝器16及二級緩衝器IS送來的2組四點 的座標之中至少之一的座標點而判定是否相同(步驟S4)。 β 史久參座褒數势盖羞茺晕墼個像砉进%胤恩凰, 。在此,判定位置相同的情形下,則判斷二次讀進同 樣的條碼記號,此記號做爲無效,發出顯示二次讀取防止 機構動作的警報而促其更換條碼記號,也就是商品的更換 。之後,回到上述步驟S1,進行下一個讀取。 且,以上述步驟S4判定位置不同的情形下,進行條碼 記猇位置的確定處理(條碼記號的固定確認處理)。即,立 即再次讀取記號(步驟S6),和上述步驟S2同樣地條碼記號 檢出處理部I4進行記號位置檢出(步驟S7)。然後,一級緩 衝器I6所記憶的新位置資訊和二級緩衝器1S所記愴眼前的 記號位罱資訊以比較部2〇進行座標的比較(步驟S8) ◊其次 ,若位罱有相同的限則視爲條㊉、記、啤已轉率。 若如此地確定條碼記號的位置,即已確認靜止的話, 其次,控制部24產生解碼許可信號到解碼處理部22 ,按照 此而解碼處理部22進行條碼記號的解碼(步驟S9)。即,在 解碼處理部22中,使用自條碼記號檢出處理部14的記號位 置資訊而如圖5順著條碼記號順序地只掃描條碼記號存在部 -------------------------裝------’玎------線 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準4具工消费合作社印製 本纸张尺度通用中因困家標準(CNS)甲4規格(21〇 X 2耵公釐) 82.3. 40,υυ〇 A6 B6 211614 五、發明説明(10) 份的圖框記憶體12來解碼條碼記猇資訊。然後,解碼結果 轉送到未圖示的主電腦(步驟S11)。爲報知一個條碼記號之 讀取結束發出警報之後(步驟S11),結束處理,回到上述步 驟S1再移到下一個的條碼記號讀取。 一方面,若判斷在上述步驟S8位置不同,則控制部24 判斷條碼記猇移動中,視爲條碼記猇即商品替換作業中而 不以解碼處理部22進行解碼,回到上述步驟S1而移到下一 個的讀取。 也就是説,在第1實施例中,若替換條碼記號而以CCD 影像感測器10來攝影之後立即再次以CCD影像感測器10攝影 而若記猇位罱没有移動則開始解碼。然後,直到替換所解 碼的記號爲止在步驟S1到SS的迴路反覆,再次解碼,即防 止二次讀取。 然後,因在清除此己解碼的條碼記猇的記號移動中所 攝影的話,則形成自步驟S4跳過到步驟S6,但此情形在步 驟SS的靜止確認受拒,因而最後回到步驟S1再次解碼,即 防止二次讀取。 又,在下一個條碼記號插入當中,在步驟S8的靜止確 認不爲接受,形成直到其條碼記號靜止爲止才能開始解碼。 但,此情形下,基於在步驟S6的條碼記號讀進而在步 驟SS不爲接受之後,在直到步驟51的條碼讀進爲止期間的 時間,條碼記號將不做移動,則爲在步驟S4最後判斷位置 相同不能進行步驟S6以後的處理,恐怕形成一直不能解碼 。但是如此情形下,以在步驟S5的瞀報報知作業員不能讀 進,可以促成條碼記號錯開來對策處理。 (請先閲讀背面之注意事項再填寫本頁> —裝. 訂 經濟部中央標準扃負工消費合作社印製 本纸張度通用中®®家櫺準(CNS)甲4規格(210 X 297公货) 82·3. 40肩〇 211614 經濟邨中央標率局貝工消費合作社印製 A6 B6 五、發明説明(11) 如此,在第1實施例中’因爲僅比較條碼記號的位置資 訊,所以比較處理也能簡單高速地進行。且,確定條碼記 號的位置之後進行解碼’所以也能在條碼記號的替換作業 中防止二次謓取。 ****第2實施例**** 在上述第1實施例中,己使用資料碼於條碼記猇,但本 發明並不限定於此,即使PDF 417、碼49等其他的二次元條 碼記號也没關係。 因此,以第2實施例進一步使用PDF 417的情形來説明 ° PDF 417的的記號構造如圖6所示。即,此條碼記號具以 條及空間的組合而成的條碼字元群所構成應可復號的資訊 組成領域的標號部配置在前後的起動Λ亭止的起動碼30 及停止碼32。因而,一個碼是除了停止碼3〇外由4個條'^及 空間構成,停止碼32是由5個的條及4個空問構成。且,起 動及停止碼3〇、32自稱做"大條"的大的條3〇Α、32Α開始。 以檢出具有此特徵的大條3〇Α、32Α可發現記號的四轉角的 座標。 標號部2S是由存在鄰接起動碼3〇及停止碼32的稱做列 標示28Α的編碼,及包夾在其間記述實際資料的多數的資料 行28Β所形成的標號矩陣28C來構成。在列標示28中記述標 號的列方向、行方向的大小和安全標號等。於此,所謂安 全標號是PDF 417具有錯誤訂正能力的標號而具有9段階的 標號。因而,若解讀此列指示28A資訊,可以決定條碼記號 的資訊大小。 且,此圖6所示是具有4X 2的標號矩陣的條碼記猇。 本紙張尺及適用中國國家標準(CNS)甲4规格(210 X 2耵公釐) 82.3. 40,000 ---------1---------------裝------.玎------線 (請先閲讀背面之注意事項再塡寫本頁) 211614 Α6 Β6 經濟部中央標準局負工消费合作社印製 五、發明説明(12 ) 第2實施例在上述第1實施例只有條碼記號的檢出處理 (圖2的步驟2)不同,所以只此部份參照圖7的流程圖來説明 ,且在本詳細規格中流程圖是根據C語言程式所寫的。 圖8所示是假想在圖框記憶部12的像素配置投影具有4 X 1標號矩陣的PDF 4Γ7的條碼符圖像的模式圖,條碼記號 檢出部14檢出投影在此圖框記憶部12的條碼記號的投影圖 像34。即,在條碼記號檢出處理部I4中,首先在水平(X)方 向每隔數個像素掃描圖框記憶部I2,檢出起動碼30及停止 碼32(步驟SS1),找到條碼記號34的4個轉角。假如,在水 平掃描没有發現條碼記號34的情形(步驟S52),在垂直(Y) 方向掃描圖框記憶部I2,同樣地找到條碼記猇34的4個轉角 (步驟S53)。即使在没找到記號34的情形下(步驟S54),以 没有條碼記號(記猇没檢出)而跳掉此處理。即,在本詳細 規格中,爲依照C語言的表記方式而形成如此圖的寫法,但 若依福傳(Fortan)等的表記方式,在立起没有記號的旗標 之後變成轉回的寫法。且,在上述步驟S52或S54找到條碼 記號的四個轉角的情形下,以有碼(記號檢出)記號而跳掉 此處理。 此4,參照圖9A及9B詳細地説明在上述步驟S51、S53 檢出常/式的條碼記號34。 首先,爲每隔數個像素讀出,以謓出位置計數器η的値 來判斷在初期設定上述數個像素相當所定的像素增加的値 之後(步S驟61)是水平掃描或是垂直掃描(步驟S62)。若是 水平掃描則自圖框記憶部12讀出第η行的資料(步驟S63), 若是垂直掃描則讀出第η列的資料(步驟S64〉。 本紙張尺度適用中國國家標準(CNS>甲4规格(210 X 297公釐) 82.3. 40,000 -------------------------裝-----丨訂------.^. f請先閲讀背面之;±意事唄再項寫本頁) 211614 A6 B6 經濟部中央標準屬员工消費合作社印製 五、發明説明(13) 其次,判斷取出的資料是否存在起動碼30(步驟S65), 存在的情形下,判斷是否在現在圖像資料是最初檢出的(步 驟S66),然後是最初的情形下將檢出座標容納在座標變數e (步驟S67),不是最初的情形下將檢出座標容納在座標數g (步驟S68)。 其次,同樣判斷是否停止碼32存在,在存在的情形下 ,判断是否最初檢出的(步驟S70),是最初的情形下將檢出 座標容納在座標變數f(步驟STl),不是最初的情形下將檢 出座標容納在座標變數h(步驟S72)。 然後,因謓出位計數器η的値僅計數增加上述像素增加 而設定下一個掃描位置(步驟S73)。判斷此位置是否在圖像 處(步驟S?4)。圖像内的情形則回到上述步驟S62讀出下— 個資料列。 一方面,在圖像外的情形判斷是否找到起動/停止碼 檢出座標分別的各2點(步驟S75、S76)。即,判斷座標樊數 e、g、f、h全部定義,若没有定義則判斷没有檢出條碼記 號移到下—個條碼記號的讀取。 座標變數e、g、f、h全部定義的情形下計算出條碼記 號的四轉角的座標並記憶起來(步驟S77)。具體的是先求得 通過座標e、g的直線。然後,自e、g對向大條的内側而自 放置數圖像素的位置(i、j)觀宗在記猇上/下邊緣方向的資 料,將最初找到的邊緣座標分別放置在座標變數m、„。然 後’自座標m、η放下垂線在座標e、g通過的直線上,其交 點爲a、b做爲條碼記號的起動碼側的二轉角的座標。停止 碼側也進行同樣的處理可以得到二轉角c、d。 本紙张適用十國國豕標準(CNS)甲4規格(210 X 297公货)Central Standard House W of the Ministry of Economic Affairs; Industrial and Consumer Cooperatives printed the second generous device that detected the location information of a previous bar code symbol, and the comparison device that compared the memory devices in the i and 2 above, and According to the comparison result of the above comparison device, when the two types of position information are different, the second reading prevention device including the control device that generates the decoding permission signal can be provided. That is, the barcode symbol reading device and the first mode according to the first mode of the present invention In the second reading prevention device of the mode, the first and second memory devices that memorize the position information of the bar code symbol, and a comparison device that compares the two types of position information, and compares the position of the bar code symbol that has been decoded, and the new reading If the positions of the taken barcode symbols are the same, the newly read barcode symbol label will be invalidated without decoding to prevent secondary reading. In addition, if the "three modes according to the present invention" is a photographing device that photographs a barcode symbol composed of a bar and a space, and a barcode symbol that detects the presence or absence of a barcode symbol from the output signal of the above-mentioned photographing device detects the device, and interprets it Since the barcode symbol decoding device of the barcode symbol content of the barcode symbol image photographed by the photographing device, and after decoding of the barcode symbol by the barcode symbol decoding device, the barcode symbol detection device is at least-back undetectable When the state where the barcode symbol is present exists, it is possible to provide a barcode symbol reading device including a control device that allows the subsequent barcode symbol decoding device to operate. That is, in the barcode symbol reading device of the third mode of the present invention, after the control device decodes the barcode symbol with the barcode symbol decoding device, the barcode symbol detection device detects the barcode symbol at least once and the limitation is that It is forbidden to operate the subsequent barcode symbol decoding device until the barcode symbol is detected and can be unlocked from the barcode symbol reading device without reading (decoding) the barcode symbol to prevent "secondary reading". This paper scale is applicable to China National Standard (CNS) A4 specifications (210 X 297 mm) 82.3. 40,000 ------------------------ installed-- ----. 玎 ------ Line (Please read the precautions on the back before writing this page) A6 B6 211614 V. Description of the invention (5) (Please read the precautions on the back before writing this page) ) **** Brief description of drawings **** Figure 1 is a block diagram of the first embodiment of the present invention. Figure 2 is a flowchart illustrating the operation of the first embodiment. Figure 3 A to 3 C is for more The flowchart of the barcode symbol detection processing in the flowchart of FIG. 2 is described in detail. FIG. 4 is a diagram showing the directions of the four corner scans of the barcode symbol and the detected coordinate points. FIG. 5 is a self-test A graph showing the relationship between two approximately straight lines and four-corner coordinate points found at the coordinate points. Figure 6 shows a diagram of the symbol structure of PDF 4Γ7, which is an example of a two-dimensional barcode symbol. Figure 7 shows Flowchart of the detection process of the barcode symbol in the second embodiment 0. FIG. 8 is a schematic diagram of a barcode symbol pixel of a PDF 417 having a 4 × 1 label matrix imaginaryly projected on the pixel arrangement stored in the frame. FIG. 9A and 9B is Figure 7 Flow chart of scanning and detection sampling in Figure 10. Figure 10 is a diagram showing the configuration of the eighth embodiment. Figure 11 is a flow chart for explaining the operation of the eighth embodiment. Figure 12 is a pattern for explaining the parallel movement of bar code marks Fig. 13 is a block diagram for explaining the ninth embodiment. Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs. Fig. 14 is a flowchart for explaining the operation of the ninth embodiment. **** Detailed description of the embodiment **** **** First embodiment **** Figure 1 is a block diagram of the first embodiment of the present invention. In the same figure, the CCD (Charge Coupled Device) image sensor 10 is photographed and pasted Printed on the displayed article 82.3. 40,000 This paper is again applicable to the Chinese National Standard (CNS) A 4 specifications (210 X 297 mm). The Central Ministry of Economic Affairs printed the 211614 A6. B6. The description of the invention ( 6) Image information such as labels and products made by bar code marking. The frame memory section 12 stores the image information photographed by the CCD image sensor 10 when the frame mark is detected. The bar code mark detection processing section I4 finds the memory in the figure The frame memory section 12 outputs its position information. The primary buffer 16 sequentially The position information of the bar code mark detected by the above bar code mark detection processing unit 14 is collectively transferred to the stored mark position information to the secondary buffer 18 or the comparison unit 20. The secondary buffer 18 stores the mark from the primary buffer The position information, in turn, transfers its memorized mark position information to the comparison section 20. The comparison section 20 compares these two types of mark position information sent from the first and second levels. The decoding processing section 22 detects the processing section based on the bar code mark 14 The position information of the detected barcode symbol, read the data of the barcode symbol from the data stored in the frame memory section 12, decode the content of the barcode symbol, and transfer the decoding result to a host computer (not shown). The control unit 24 controls the above-described CCD image sensor 10, barcode symbol detection processing unit 14, primary buffer 16, secondary buffer 18, comparison unit 20, decoding processing unit 22, and the like. In addition, the barcode symbol detection processing unit 14, the comparison unit 20, the decoding processing unit 22, and the control unit 24 may be configured by the CPU 26. Next, in the configuration as described above, taking the published decoder as an example, the processing sequence according to the processing flowchart of FIG. 2 regarding the case of reading bar code marks is described. According to the control method of the control margin, first, the image information of the bar code captured by the CCD image sensor 10 is stored in the frame memory portion I2 (step S1). Next, the barcode symbol detection processing unit 14 detects the barcode symbol (step S2). That is to say, in the case of the data code mark, because there is a characteristic pattern on the outer frame of the L-shape, the coordinates of the four corners can be found by detecting this pattern. Therefore, whether there is a piece of paper again applicable to China National Standard (CNS) A 4 specifications (210 X 297 mm) 82.3. 40,000 --------------------- --- installed ------, 玎 ------ line (please read the precautions on the back before writing this page) 21161 A6 B6 Fifth, the invention description (7) The code is singular, that is to say, judgment What are the coordinates of the four corners required (step S3). If there is no bar code symbol in the captured image, the procedure returns to step S1. Here, the detection and the presence or absence of the bar code symbol in the above steps S2 and S3 will be described in further detail with reference to the flowcharts of FIGS. 3A to 3C. In the bar code symbol detection unit 14, for example, as shown in FIG. 4, the frame memory unit I2 is scanned every few pixels in the horizontal direction (X). That is, first, the Y coordinate is initially set at the initial value YO (step S21), and the X coordinate is changed every few pixels to scan horizontally from the initial value X_maximum value Xn (step S22). Then, remember to scan the black level detected first and the black level detected last here (step S23). Next, only the predetermined interval A from the Y coordinate is corrected (step S24), and as a result, it is judged whether the maximum value Yn is exceeded (step S25). If it does not exceed, it returns to the above step S22 and repeats the above processing. In this way, if all the scans in the horizontal direction are completed, connect the coordinate points of the black level originally detected, and find many coordinate points (for example, more than 4 points) into a straight line A (for example, L1 in FIG. 5), if so The straight line A is memorized all the coordinate points Pa on the straight line A (step S27). Similarly, connect the last detected black level, find a straight line B connected by many coordinate points (for example, more than 4 points), if there is such a straight line B (step S28), all the coordinate points on the straight line B are memorized Pb (step S29). Then, it is determined whether the straight lines A and B are approximately orthogonal, and if they are orthogonal, the coordinates of the intersection point of the two straight lines A and B (see FIG. 5) are calculated from the stored coordinate points Pa and Pb (step S31). On the one hand, in the above step S30, if it is judged that the straight lines A and B are not approximately orthogonal (including the fact that two straight lines A and B cannot be obtained), then scan in the vertical direction (Y) and do the same. That is, after the initial setting of the X coordinate as the initial value X〇 (step S32), the Y coordinate is changed every few pixels from the initial YO to the largest paper size. The general Chinese National Standard (CNS) A 4 specification (210 X 297 Mm) —Installed ------- ordered ----- line (please read the precautions on the back before writing this page) B. Industrial and Commercial Cooperation Co., Ltd., Central Bureau of Standards, Ministry of Economic Affairs, issued 82.3. 40,000 hydrocarbons The Ministry of Central Standards Bureau employee consumer cooperative printed 3 # A6 B6 V. Description of invention (8) Up to the value, scan in the vertical direction (step S33). Then, it remembers the black level that was detected first and the coordinate point at which the black level was detected last in its scan (step S34). Next, only the X coordinate predetermined interval B is updated (step S35). As a result, it is judged whether or not the maximum value Xn is exceeded (step S36). If not exceeded, return to the above step S33 and repeat the above process. In this way, if all the scans in the vertical direction are completed, the coordinate points of the black level initially detected are connected, and a t-line C formed by connecting a plurality of points (for example, 4 points or more) is searched. If there is such a straight line c (step S37) ), Then memorize all the coordinate points pc on its straight line C. Similarly, between the coordinate points of the last detected black level, look for a straight line D (such as L2 in FIG. 6) formed by connecting many coordinate points (for example, 4 points or more), if there is such a straight line D (step S39) ), Memorize all the coordinate points pd on its straight line D (step S40). Then, it is judged whether there are two straight lines approximately orthogonal with the straight lines A to D (step S41). If there is no orthogonality, it is assumed that there is no bar code symbol (step S42), the process is ended and the process returns to the above step S1. In addition, if there are approximately two straight lines that are approximately orthogonal, the coordinates of the intersection points of the two straight lines are calculated from the coordinate points memorized with respect to the two orthogonal lines (see S5) (step S43). Then, the coordinates a, b, c, and d of the four corners of the barcode era are determined from the calculated intersection point b of the two straight lines and the detected coordinate point. That is, the data is scanned and read along two orthogonal lines each away from the intersection point b (step S44), and the points A and c as the last coordinate points of the black level are remembered (step S45). Then, the coordinates of point d are calculated from the coordinates of the three points a, b, and c that are memorized, and the results are memorized, and the coordinates of the coordinates points a, b, c, and d of the four corners obtained by this are used as the position. The information is output to the primary buffer 16 (step S46). That is to say, this paper scale is applicable to the Chinese National Standard (crvs) A 4 specifications (210 X 297 public goods) 82.3. 40,000 ---------: ------------- --Installation ------, 玎 ------ line (please read the notes on the back before filling in this page) A6 B6 2ΐ1θτ4 --- V. Description of the invention (9) Know the intersection b and one side on the right The length can simply determine the four corners. Furthermore, it does not matter if the coordinates of the four corners are not the same as the positions of the marks. The coordinates of the four corners thus found are temporarily stored in the primary buffer 16, and the primary buffer I6 transfers its position information to the comparison section 20 and the secondary buffer I8. The secondary buffer IS transfers the stored position information to the comparison section 20 while memorizing the position information of the mark sent from the primary buffer 16. Then, the comparison unit 20 compares the coordinate points of at least one of the two sets of four-point coordinates sent from the primary buffer 16 and the secondary buffer IS to determine whether they are the same (step S4). β Shi Jiu, who is in the seats, has a lot of potentials, such as Shao Jin, Yun Yan, and Yin Yanhuang. Here, if the judgment position is the same, it is judged that the same barcode symbol is read twice. This symbol is invalid, and an alarm showing the action of the secondary reading prevention mechanism is issued to urge it to replace the barcode symbol, that is, the replacement of the product. . After that, it returns to the above step S1 and the next reading is performed. In addition, in the case where it is determined in step S4 that the positions are different, the process of determining the position of the bar code mark (barcode mark fixed confirmation process) is performed. That is, the mark is immediately read again (step S6), and the bar code mark detection processing unit I4 performs mark position detection in the same manner as in step S2 (step S7). Then, the new position information memorized in the primary buffer I6 and the mark bit information recorded in the secondary buffer 1S are compared with the coordinates of the comparison part 20 (step S8) ◊ Secondly, if the bit values have the same limit It is regarded as the transfer rate of articles, notes and beer. If the position of the bar code symbol is determined in this way, that is, if the stillness is confirmed, then, the control unit 24 generates a decoding permission signal to the decode processing unit 22, and the decode processing unit 22 decodes the bar code symbol accordingly (step S9). That is, in the decoding processing section 22, the symbol position information from the barcode symbol detection processing section 14 is used, and only the barcode symbol existence section is scanned in the order of the barcode symbols as shown in FIG. 5 ------------ ------------- installed ------ '玎 ------ line (please read the notes on the back before filling in this page) Central Ministry of Economic Affairs 4 standard tools Cooperatives printed this paper. The standard of the standard for home troubles (CNS) A 4 specifications (21〇X 2 mm) 82.3. 40, υυ〇A6 B6 211614 V. Description of the invention (10) Frame memory 12 To decode the barcode to record the information. Then, the decoding result is transferred to a host computer (not shown) (step S11). After an alarm is issued to notify the end of the reading of a bar code symbol (step S11), the process is ended, and the process returns to the above step S1 and moves to the next bar code symbol reading. On the one hand, if it is determined that the position is different in the above step S8, the control unit 24 determines that the bar code mark is moving, which is regarded as a bar code mark, that is, the product replacement operation without decoding by the decoding processing unit 22, and returns to the above step S1 Read to the next. In other words, in the first embodiment, if the bar code symbol is replaced and the CCD image sensor 10 is used to shoot immediately, the CCD image sensor 10 is again used to shoot, and if the recorded bit does not move, decoding starts. Then, until the decoded symbol is replaced, the loop in steps S1 to SS is repeated and decoded again, i.e., preventing secondary reading. Then, because the picture taken during the movement of the cleared bar code mark has been decoded, it is skipped from step S4 to step S6, but this situation is rejected by the static confirmation in step SS, and finally returns to step S1 again Decoding, that is, preventing secondary reading. In addition, in the next bar code symbol insertion, the still confirmation in step S8 is not accepted, and the decoding cannot be started until the bar code symbol is still. However, in this case, based on the barcode symbol reading in step S6 and then not accepted in step SS, the barcode symbol will not be moved until the barcode reading in step 51, the final judgment in step S4 If the position is the same, the processing after step S6 cannot be performed. I am afraid it cannot be decoded. However, in such a case, it is reported in step S5 that the operator cannot read it, and it is possible to cause the bar code symbol to be staggered and take countermeasures. (Please read the precautions on the back before filling out this page> — Packing. Printed by the Ministry of Economic Affairs Central Standards Consumer Labor Cooperatives. This paper is printed in Universal®® Family Standard (CNS) A 4 specifications (210 X 297 Public goods) 82 · 3. 40 shoulders ○ 211614 Printed A6 B6 by the Beigong Consumer Cooperative of the Central Standardization Bureau of the Economic Village V. Description of the invention (11) As such, in the first embodiment 'because only the position information of the bar code symbol is compared, Therefore, the comparison process can be performed simply and at high speed. Moreover, the position of the barcode symbol is determined and decoded. Therefore, it is also possible to prevent secondary picking during the replacement operation of the barcode symbol. **** Second embodiment **** In In the above-mentioned first embodiment, the data code has been used to record the bar code, but the present invention is not limited to this, even if it is PDF 417, code 49 and other two-dimensional bar code symbols. It does not matter. Therefore, the second embodiment is used to further The case of PDF 417 is used to explain ° The symbol structure of PDF 417 is shown in Fig. 6. That is, this barcode symbol is composed of a combination of barcode and space and a symbol group composed of information that should be renumbered. Start where the label part is arranged before and after Λ Pavilion's start code 30 and stop code 32. Therefore, one code is composed of 4 bars and spaces in addition to the stop code 30, and the stop code 32 is composed of 5 bars and 4 spaces. And, The start and stop codes 3〇, 32 start with the large bar 3〇Α, 32Α which is called " big bar ". The coordinates of the four corners of the mark can be found by detecting the large bar 3〇Α, 32Α with this feature. The labeling unit 2S is composed of a code called a column label 28A with an adjacent start code 30 and a stop code 32, and a label matrix 28C formed by a plurality of data rows 28B between which actual data is written. The column direction and row size of the label, the security label, etc. are described in 28. Here, the so-called security label is a label of PDF 417 that has an error correction capability and has a 9-segment label. Therefore, if this column indicates 28A information, the Determine the information size of the bar code symbol. And, this figure 6 shows the bar code symbol with a 4X 2 label matrix. This paper ruler and the Chinese National Standard (CNS) A 4 specifications (210 X 2 mm) 82.3. 40,000 --------- 1 --------------- installed ------. ------ Line (Please read the precautions on the back before writing this page) 211614 Α6 Β6 Printed by the Ministry of Economic Affairs Central Standards Bureau Negative Consumer Cooperative V. Invention description (12) The second embodiment is in the first above The embodiment differs only in the detection process of the barcode symbol (step 2 of FIG. 2), so only this part will be described with reference to the flowchart of FIG. 7, and in this detailed specification, the flowchart is written according to the C language program. 8 is a schematic diagram of the image of a barcode symbol image of a PDF 4Γ7 having a 4 X 1 label matrix projected on the pixel arrangement of the frame storage unit 12, and the barcode symbol detection unit 14 detects the projection of the image on the frame storage unit 12 The projected image 34 of the bar code symbol. That is, in the barcode symbol detection processing unit I4, first, the frame memory unit I2 is scanned every few pixels in the horizontal (X) direction, the start code 30 and the stop code 32 are detected (step SS1), and the barcode symbol 34 is found. 4 corners. If the barcode mark 34 is not found in the horizontal scanning (step S52), the frame memory portion I2 is scanned in the vertical (Y) direction, and the four corners of the barcode mark 34 are similarly found (step S53). Even in the case where the mark 34 is not found (step S54), this process is skipped because there is no bar code mark (the mark is not detected). That is, in this detailed specification, such a notation is formed in accordance with the notation of the C language. However, if a notation such as Fortan is used, it becomes reversed after the unmarked flag is raised. And, in the case where the four corners of the bar code symbol are found in the above steps S52 or S54, this process is skipped with a code (mark detection) mark. This 4 will be described in detail with reference to FIGS. 9A and 9B in the above-mentioned steps S51, S53 to detect the bar code symbol 34 of the normal / formula. First, in order to read every few pixels, the value of the out position counter η is used to determine whether the above-mentioned pixels are initially set to correspond to a predetermined pixel increase value (step S61) whether they are horizontal scanning or vertical scanning ( Step S62). If it is horizontal scanning, read out the data of the nth row from the frame memory section 12 (step S63), if it is vertical scanning, read out the information of the nth column (step S64>. This paper scale is applicable to the Chinese National Standard (CNS> A4 Specifications (210 X 297 mm) 82.3. 40,000 ------------------------- installed ----- 丨 ordered -------- . ^. f Please read the back of the page first; ± I will write this page again) 211614 A6 B6 Printed by the employee consumer cooperative of the central standard of the Ministry of Economic Affairs V. Invention description (13) Second, determine whether there is a start code for the retrieved data 30 (step S65), if it exists, it is judged whether the current image data is initially detected (step S66), and then in the first case, the detected coordinates are accommodated in the coordinate variable e (step S67), not the original In the case of, the detected coordinates are stored in the coordinate number g (step S68). Secondly, it is also judged whether the stop code 32 exists, and in the case of existence, it is judged whether it was initially detected (step S70). The detected coordinate is accommodated in the coordinate variable f (step ST1), and the detected coordinate is accommodated in the coordinate variable h in the case other than the first case (step S72) Then, because the value of the out-of-bit counter η is only increased by the above pixel increase, the next scanning position is set (step S73). It is judged whether this position is at the image (step S? 4). The situation within the image returns to The following step S62 reads out the next data row. On the one hand, it is judged whether the start / stop code detection coordinates are found at two points in each case outside the image (steps S75, S76). That is, the coordinate fan number e, All the definitions of g, f and h, if there is no definition, it is judged that no barcode symbol is detected. Move to the next barcode symbol reading. Calculate the four corners of the barcode symbol when the coordinate variables e, g, f and h are all defined And remember the coordinates (step S77). Specifically, the line passing through the coordinates e, g is first obtained. Then, the position (i, j) of the pixel of the digital image is placed from the inside of the large bar facing the e and g. Zong Zai remembered the data of the upper / lower edge directions of the yoke, and placed the edge coordinates he found initially on the coordinate variables m, „. Then put the vertical line from the coordinates m, η on the straight line passing by the coordinates e, g, and the intersection point is a , B as the second on the start code side of the bar code symbol Coordinate angle. Stop code side perform the same process can be obtained two angle c, d. This paper is suitable hog Ten States Standard (CNS) A 4 size (210 X 297 well goods)
幻_3. 4〇,( 裝-----—訂------線 (請先閱讀背面之注意事項再塡寫本頁) 經濟部中央標準局員工消費合作社印製 A6 __B6___ 五、發明説明(14) 此情形,此等二轉角C、d並不相當於實際的條碼記猇 的轉角座標,但即使在此等的座標點也不成問題,所以爲 簡化計算而使用此等座標點c、d來做。當然,因爲決定停 止碼32的編碼圖型,所以以自點c、d讀出在上述垂線方向 的資料可能求得條碼記號的實際轉角的座標。 此等求得的四轉角的座標點a、b、c、d的座標做爲標 猇位置資訊而輸出到一級緩衝器I6,和記憶在二級緩衝器 I8的位置資訊比較而防止條碼的二次讀取。 ****第3實施例**** 在上述第1到第2實施例中直接進行步驟%的條碼讀入 ’但是例如若在1至2秒後進行,則可以確認條碼記號是所 設定的,所以可進行更正確的讀取。 ****第4實施例**** 又,在上述第3實施例,若在1至2秒後進行上述步驟S6 的條碼記號讀入,則必定可認爲其他的條碼記號的讀入, 可以省略步驟SS的條碼記號位置比較處理。若如此則可比 較高速處理。 ****第5實施例**** 再者,在上述第1及第2實施例中,步驟S11發出警報後 ’直接回到步驟S1而要進行條碼記猇讀入處理,作業員可 充分地進行條碼記號的替換時間間隔,例如,等3秒之後, 若要進行步驟si的條碼記號讀入,則可省略上述步驟S6_S8 ,形成能進行更高速的處理。即使在上述第3及第4實施例 中同樣地自步驟S11回到步驟S1時,作業員要等待能充分地 進行記號的替換時間間隔也可以。 本纸張尺度適用中國國豕標準(CNS)甲4规格(210 X 297公釐) 82.3. 40,000 --------:----------------裝-----卜一訂------線 (請先閱讀背面之注意事項再填寫本頁)Magic_3. 4〇, (install ------- order ------ line (please read the precautions on the back before writing this page) A6 __B6___ printed by the Staff Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 2. Description of the invention (14) In this case, the two corners C and d are not equivalent to the corner coordinates of the actual bar code mark, but even these coordinates are not a problem, so these coordinates are used to simplify the calculation Do this by points c and d. Of course, because the coding pattern of the stop code 32 is decided, reading the data in the vertical direction from points c and d may obtain the coordinates of the actual corner of the bar code symbol. The coordinates of the four-corner coordinate points a, b, c, and d are output to the primary buffer I6 as the position information of the label, and compared with the position information stored in the secondary buffer I8 to prevent the secondary reading of the barcode. * *** Third embodiment **** In the above first to second embodiments, the barcode reading of step% is performed directly, but for example, if it is performed after 1 to 2 seconds, you can confirm that the barcode symbol is set , So more accurate reading can be performed. **** Fourth embodiment **** In addition, in the third embodiment above, If the barcode symbol reading of the above step S6 is performed after 1 to 2 seconds, the reading of other barcode symbols must be considered, and the comparison processing of the barcode symbol position of the step SS can be omitted. If so, the high-speed processing can be compared. * *** Fifth embodiment **** Furthermore, in the above-mentioned first and second embodiments, after the alarm is issued in step S11 ', directly return to step S1 to perform the barcode reading process, the operator can fully Perform the replacement interval of the bar code symbol, for example, after waiting for 3 seconds, if you want to read the bar code symbol of step si, you can omit the above steps S6_S8, forming a higher speed processing. Even in the above 3 and 4 In the same embodiment, when returning from step S11 to step S1, the operator may wait for the time interval for the replacement of the mark to be sufficient. This paper standard is applicable to the Chinese National Standard (CNS) A4 (210 X 297 %) 82.3. 40,000 ---------------------------- installed ---- Bu Yiding ------ line (please read first (Notes on the back then fill out this page)
A6 B6_ 五、發明説明(15 ) 又,亦自上述步驟S5回到步驟S1時,較佳地是作業員 要等待能充分地進行條碼記號的替換時間間隔。 ****第6實施例**** 又,條碼記號位置資訊是標號的四轉角的4個座標中的 1個或2個或3個也没有關係。 ****第7實施例**** 更進一步地,在上迷第1到第6實施例中,是使用CCD影 像感測器10及圖框記憶部12的組合,但攝影元件而言,若 隨機接達使用可能的CMD(電荷調變裝置)則因具有圖框記憶 的機能所以不必要另外設置圖框記憶部。 ***★第8實施例**** 第8實施例做爲説明張貼在標號輸送帶上流動的商品的 二次元條碼記猇的讀取系統。 圖10是本實施例的系統構成圖。在各物品36上面張貼 二次元條碼記號38,此二次元條碼38是例如使物品的下落 、品名、數量等編碼化。各物品36以輸送帶的一定速度在 一定方向移動通過在預定位置所設置的攝影機42下面時攝 影條碼記號38。攝影機42經常反覆攝影,以高速閃光快門 ,使因物品36移動的影像模糊消失。以攝影機42所攝影的 條碼記號以解碼器44施行解碼處理,照解碼内容而因輸送 帶控制器46來控制物品36的流動。 解碼器44的構成和第1實施例的圖框記憶部I2以後的構 成相同,只是比較部2〇的處理内容不同。 一方面參照圖11,一方面詳細説明使用二次元條碼記 猇的PDF 417的情形的本實施例的解碼處理。 本紙張尺度迺用中國國家樣準(CNS)甲4規格(210 X 297公釐) — 82·3- 40,000 ---------L---------------裝------訂------線 (請先閲讀背面之注意事項再塡寫本頁) 經濟部中央標準局w:工消費合作社印製A6 B6_ V. Description of the invention (15) Also, when returning from the above step S5 to step S1, it is preferable that the operator should wait for the replacement time interval for the barcode symbol to be sufficiently performed. **** Sixth embodiment **** It does not matter that the position information of the bar code symbol is one, two, or three of the four coordinates of the four corners of the label. **** Seventh embodiment **** Further, in the first to sixth embodiments above, the combination of the CCD image sensor 10 and the frame memory section 12 is used, but the photographic element If random CMD (charge modulation device) is used, it is not necessary to provide a frame memory section because of the frame memory function. *** ★ Eighth Embodiment **** The eighth embodiment serves as a reading system for explaining the two-dimensional bar code mark of the goods posted on the label conveyor. FIG. 10 is a system configuration diagram of this embodiment. A secondary barcode symbol 38 is posted on each article 36. This secondary barcode 38 encodes, for example, the whereabouts, article name, and quantity of the article. Each article 36 photographs the bar code mark 38 as it moves under a certain speed of the conveyor belt in a certain direction under the camera 42 provided at a predetermined position. The camera 42 often shoots repeatedly, flashing the shutter at high speed to blur the image due to the movement of the object 36 and disappear. The barcode symbol captured by the camera 42 is decoded by the decoder 44 and the flow of the article 36 is controlled by the conveyor controller 46 according to the decoded content. The configuration of the decoder 44 is the same as that of the frame memory unit I2 and later in the first embodiment, except that the processing content of the comparison unit 20 is different. On the one hand, with reference to FIG. 11, on the other hand, the decoding process of the present embodiment in the case of using the PDF 417 of the binary code bar code will be described in detail. The size of this paper is based on China National Standard (CNS) Grade 4 (210 X 297 mm) — 82 · 3- 40,000 --------- L ------------ --- installation ------ order ------ line (please read the notes on the back before writing this page) Central Bureau of Standards of the Ministry of Economic Affairs w: Printed by the Industrial and Consumer Cooperative
2UGU A6 B6 經濟部中央標準扃員工消費合作社印製 五、發明説明(16 ) 首先,攝影機42反覆進行圖像攝取,所攝的圖像資料 容納於圖框記憶部12(步驟S80)。以條碼記號檢出處理部14 ’ ~面自圖框記憶部1_2讀取資料,一面以上述標號檢出方 法檢出條碼記猇的四轉角的座標(步驟S81)。然後,向找到 記號的四轉角座標,也就是説判定在圖像内有無記號(步驟 S82),若没有則回到上述步驟SSO,移動到下一個圖像讀入。 又,若可判定條碼記號存號,則以檢出的四轉角座標 爲位置資訊記憶在一級緩衝器I6,以比較部20和二次緩衝 器記憶前的記猇的位置資訊比較。在比較部20 ,首先, 本次和前次的記號位置是否相同,比較四轉角的座標而判 斷(步驟S83)。若位置是相同的,則判斷第2次繼續讀入相 同的條碼記號,此次讀進的記號做無效而不進行解碼,回 到上述步驟8〇,移到下一個圖像讀入。 一方面,位置不相同的情形,在第8實施例中,條碼記 號是在輸送帶上移動之中,所以著眼在條碼以—定速度在 —定方移動的點上。在圖I2所示爲投影在圖框記憶部上的 條碼記猇圖像48。在同一圖中所示,50是上次所攝的記號 圖像S1,而S2是本次所攝的記號圖像S2,點3、b、c、d及 點a'、b'、c'、d,分別表示記號檢出的四轉角座標位置。 條碼記號38在輪送帶4〇上移動,讀入記號31後,隨著輸送 帶4〇的移動讀入平行移動的記號S2。記號S1及S2的絶對位 置是否不同,相對地來看的話,若在攝影間隔只有輸送帶 4〇移動距離的平行移動關係,則最好判斷第2次繼績讀到相 同的條碼記猇38,若攝影機42的攝入間隔短,則發生許多 的位置不同但卻讀入相同的記號的情形。 本纸張又度迺用中國國家標準(CNS)甲4規格(210 X 297公梦) 82.3. 40,000 --------:----------------裝---------、玎------線 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消费合作社印製 211611 A6 - _____B6_ 五、發明説明(17 ) 因此,在第8實施例中,判断是否僅2種記號SI、S2所 對應四轉角座標只是平行移動(步驟S84)。若是平行移動, 則判斷爲第2次繼續地讀入相同的條碼記號而回到步驟S80 ,移動到次一個圖像讀入。且,若是完全不同的位置,則 做爲讀入新的條碼記猇以解碼處理部22進行解碼(步驟S85) 。解碼結果轉送到輸送帶控制器46 (步驟S8 6)。又此時,自 '-級緩衝器I6輸出條碼記號的位置資料到二級緩衝器18。 此後,回到上述步驟S8〇,移動到下一個圖像讀入。 如此,不單只比較記號的四轉角座標位置,進一步以 設置判斷是否平行移動的比較處理,也可防止在一定方向 移動的條碼的二次讀取。 ****第9實施例**** 圖1所示是其構成圖中,以未圖示的説明装置照明含有 條碼記號54的標籤,其反射光入射到攝影機56,在攝影機 56變換光信號成爲電氣信號,進一步附加同步信號而做爲 影像信號送到影像電路58。在影像電路58中,自輸入的影 像信號分離同步信號,進一步做A/D轉換成數位化。此數位 化信號容納在圖框記憶部60。 含有容納在圖框記憶部6〇的條碼記號54的標籤的圖像 以高速演算電路62掃描(記憶部6〇檢出的圖像資訊),實施 條碼記號54的有無檢出及條碼記號54的解碼。解碼的内容 暫時容納在解碼結果容納記憶部64。隨此解碼結束,高速 演算電路62清除(解碼禁止)解碼許可旗標66。 CPU 68是控制各構成部,例如影像電路58输出指示圖 像記憶部6〇的圖像讀入的讀入起動信號,高速演算電路62 本紙張尺度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 82.3. 40,〇〇〇 ------------------------裝------ΤΓ------線 (請先閲讀背面之注意事項再填寫本頁} A6 B6 經濟部中央標準局貝工消費合作社印製 21161' 五、發明説明(18 ) 輸出條碼記號54的檢出起動信號及條碼記號54的解碼起動 信號,又自高速演算電路62控制接收條碼記號54的檢出狀 態信號及條碼記號54的解碼及檢查結束信號的各部動作。 且,檢出條碼記號54時,設定顯示條碼記號54解碼是否良 好的解碼許可旗標66(解碼許可),自解碼結果容納記憶部 64讀出所記錄的條碼記號54的資訊,控制主介面電路70轉 送未圖示的此資訊到主電腦。 以下,有關此種構成的條碼記號讀取裝置的『二次讀 取』防止機構的動作,參照圖I4的流程圖來説明。 首先,CPU 68輸出讀入起動信號到影像電路58,進行 送到圖框記憶部60的圖像讀入(步驟S91)。此圖像讀入結束 後,CPU 68輸出條碼記號54的檢出起動信號到高速演算電 路62,以高速演算電路62進行條碼記號54的有無檢出(步驟 S92)。在此條碼記號的檢出,除上述以外已知各種的方法 ,例如所知的日本特開平第2-23483號公報所發表的,在確 認有多數的平行的條時判斷有條碼記猇的方法。且,在PDF 41·7和資料碼(Data Code)等的二次元條碼記號,以確認所 謂的起動大條和L字形的外廓特徵部份的存在而可以檢知條 碼記號存在的方法。因而高速演算電路62輸出條碼記號54 的檢出結杲做爲檢出狀態信猇到CPU 68。 CPU 68以判斷自此高速算電路62的檢出狀態信號來判 斷讀入圖像記愴部6〇的圖像中是否存在條碼記號54 (步驟S93) 。然後,條碼記號54不存在時,回到步驟S91,再次指示圖 像讀入。又,條碼記號54存在時,輸出條碼記號54的解碼 起動信號到高速演算電路62,使高速演算電路62進行條碼 本紙張又度適用中國國豕標準(CNS)甲4規格(210 X 297公货) 82.3. 40f〇〇〇 (請先閲讀背面之注意事項再塡寫本頁) |裝_ 訂· 21161, A6 B6 經濟部中央標準局貝工消費合作社印製 五、發明説明(19 ) 記號54的解碼(步驟S94)。高速演算電路按照此解碼起動信 號確認所設立的解碼許可旗標66(解碼許可)之後,自讀入 圖框記憶部6〇的條碼記猇54解碼該條碼記號的資訊。進一 步地,高速演算電路62進行此解碼結果的檢查(步驟S95), 此解碼内容檢査單單只解碼結杲確認的情形(JAN/UPC/EAN 碼,ITF碼、碼39、NW-7、碼128等),但一起錯誤訂正的 情形(PDF 417、資料碼等2次元條碼記號)也有。然後,高 速演算電路62輸出包含此檢查結果的資訊的條碼記號59的 解碼及檢查結束信猇到CPU。 於此,CPU判斷自高速演算電路62的解碼及檢查結束信 號(步驟S96),在不能正確解碼時,回到步驟S91,再次反 覆自圖像的讀入。且,可正確解碼時,CPUII出解碼結果保 持信號到高速演算電路62。高速演算電路62按照此解碼結 果保持信號暫時容納解碼的内容在解碼結果容納記憶部64 ,又清除解碼許可旗標66(解碼禁止)(步驟S97)。 其次,CPU 68解碼結果容納記憶部64謓出條碼記號54 所記錄的資訊,控制主介面電路7〇而轉送此資訊到未圖示 的主電腦(步驟S98)。 以後的處理是『二次讀取』防止機能部份。 即,再次,自CPU 68輸入送往圖框記憶部6〇的圖像讀 入起動信號到影像電路58而謓入圖像(步驟S")。此圖像讀 入結束後,以高速演算電路62進行條碼記號54的有無檢出 (步驟(S100)。於是,讀入圖框記憶部6〇的圖像中若存在條 碼記猇54時,確認之解碼許可旗標66清除(步驟101),反覆 自上述步驟S"的圖像讀入。也就是説,轉送到主電腦結束 本紙張尺度適用中國國家標準(CNS)甲4规格(210 X 2W公货) 82.3. 40,000 (請先閱讀背面之注意事項再塡寫本頁) 丨裝· 訂.2UGU A6 B6 Printed by the Ministry of Economic Affairs, Central Standard Staff and Consumers Cooperative V. Description of the invention (16) First, the camera 42 repeatedly captures images, and the captured image data is stored in the frame memory 12 (step S80). The bar code mark detection processing section 14 '~ reads data from the frame memory section 1_2, and detects the coordinates of the four corners of the bar code mark by the above label detection method (step S81). Then, to find the four-corner coordinates of the mark, that is to say, determine whether there is a mark in the image (step S82), if not, return to the above step SSO and move to the next image to read. If it is possible to determine the storage number of the bar code symbol, the detected four-corner coordinates are used as position information to be stored in the primary buffer I6, and the comparison unit 20 is compared with the position information of the mark before the secondary buffer memory. In the comparison unit 20, first, it is judged whether or not the current and previous symbol positions are the same, and the coordinates of the four corners are compared (step S83). If the position is the same, it is judged that the second reading of the same barcode symbol is continued. The symbol read in this time is invalidated without decoding. Return to the above step 80, and move to the next image reading. On the one hand, in the case where the positions are not the same, in the eighth embodiment, the bar code symbol is moving on the conveyor belt, so the focus is on the point where the bar code moves at a fixed speed on a fixed side. Figure I2 shows a bar code image 48 projected on the frame memory portion. In the same figure, 50 is the symbol image S1 taken last time, and S2 is the symbol image S2 taken this time, points 3, b, c, d and points a ', b', c ' , D, respectively indicate the coordinate position of the four corners detected by the mark. The bar code symbol 38 moves on the carousel 40. After reading the symbol 31, the parallel moving symbol S2 is read as the conveyor belt 40 moves. Whether the absolute positions of the marks S1 and S2 are different, if viewed relatively, if there is only a parallel movement relationship of the conveyor belt 40 moving distance in the shooting interval, it is best to judge that the same barcode reading is read in the second succession 38, If the intake interval of the camera 42 is short, there are many cases where the same mark is read in different positions. This paper again uses the Chinese National Standard (CNS) A 4 specifications (210 X 297 Gongmeng) 82.3. 40,000 --------: --------------- -Installed ---------, 玎 ------ line (please read the notes on the back before filling in this page) Printed by the Ministry of Economic Affairs Central Standards Bureau Beigong Consumer Cooperative 211611 A6-_____B6_ V. DESCRIPTION OF THE INVENTION (17) Therefore, in the eighth embodiment, it is determined whether the four-corner coordinates corresponding to only two types of symbols SI and S2 are only moved in parallel (step S84). If it is parallel movement, it is determined that the same bar code symbol is continuously read for the second time, and the process returns to step S80 to move to the next image reading. And, if it is a completely different position, the decoding processing unit 22 decodes it as a new barcode reading mark (step S85). The decoded result is transferred to the conveyor controller 46 (step S816). At this time, the position data of the bar code symbol is output from the '-level buffer I6 to the secondary buffer 18. After that, it returns to the above step S80 and moves to the next image reading. In this way, not only comparing the four-corner coordinate position of the mark, but also setting a comparison process to determine whether to move in parallel, it is also possible to prevent the secondary reading of the bar code moving in a certain direction. **** The ninth embodiment **** FIG. 1 is a diagram of its configuration, a label containing a bar code symbol 54 is illuminated by an explanation device (not shown), the reflected light enters the camera 56, and the light is converted by the camera 56 The signal becomes an electrical signal, and a synchronization signal is further added to the video circuit 58 as a video signal. In the video circuit 58, the synchronization signal is separated from the input video signal, and further A / D converted to digitized. This digitized signal is stored in the frame memory 60. The image containing the label of the barcode mark 54 accommodated in the frame memory section 60 is scanned by the high-speed arithmetic circuit 62 (the image information detected by the memory section 60), and the presence or absence of the barcode mark 54 and the barcode mark 54 are detected. decoding. The decoded content is temporarily stored in the decoding result storage memory 64. Following the end of the decoding, the high-speed arithmetic circuit 62 clears (decoding prohibited) the decoding permission flag 66. The CPU 68 controls each component, for example, the video circuit 58 outputs a read start signal instructing the image storage unit 60 to read the image, and the high-speed arithmetic circuit 62 applies the Chinese National Standard (CNS) A4 standard (210 X 297 mm) 82.3. 40, 〇〇〇 -------------------------------- TΓ ------ Line (please read the precautions on the back before filling in this page) A6 B6 21161 'printed by the Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economy V. Description of the invention (18) The detection start signal and barcode mark 54 of the output barcode mark After decoding the start signal, the high-speed arithmetic circuit 62 controls the operation of each part that receives the detection status signal of the barcode symbol 54 and the decoding of the barcode symbol 54 and the inspection end signal. Also, when the barcode symbol 54 is detected, whether the decoding of the barcode symbol 54 is displayed is set A good decoding permission flag 66 (decoding permission), reads the information of the bar code symbol 54 recorded from the decoding result storage memory 64, and controls the main interface circuit 70 to transfer this information, not shown, to the host computer. "Second Reading" Preventing Machine of Barcode Symbol Reading Device with Various Structures The operation will be described with reference to the flowchart in FIG. I. First, the CPU 68 outputs a read start signal to the video circuit 58 to perform image reading to the frame memory unit 60 (step S91). This image reading ends After that, the CPU 68 outputs the detection start signal of the barcode symbol 54 to the high-speed arithmetic circuit 62, and the presence or absence of the barcode symbol 54 is detected by the high-speed arithmetic circuit 62 (step S92). The detection of the barcode symbol is known in addition to the above Various methods, such as the method disclosed in Japanese Patent Laid-Open No. 2-23483, which is known to determine the presence of bar codes when confirming that there are many parallel bars. Also, in PDF 41.7 and the data code (Data Code), etc., to confirm the existence of the so-called start-up bar and the L-shaped outline feature part and to detect the existence of the bar code symbol. Therefore, the high-speed arithmetic circuit 62 outputs the detection result of the bar code symbol 54 As the detection status information, it is sent to the CPU 68. The CPU 68 determines whether the barcode mark 54 exists in the image read into the image recording unit 60 by determining the detection status signal from the high-speed arithmetic circuit 62 (step S93) ). Then, Article When the code symbol 54 does not exist, it returns to step S91 and instructs image reading again. When the bar code symbol 54 exists, it outputs the decoding start signal of the bar code symbol 54 to the high-speed arithmetic circuit 62, which causes the high-speed arithmetic circuit 62 to perform the barcode book sheet Also applicable to China National Standards (CNS) A4 specifications (210 X 297 public goods) 82.3. 40f〇〇 (please read the precautions on the back before writing this page) | equipment _ order · 21161, A6 B6 economy Printed by the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry 5. Description of invention (19) Decoding of the symbol 54 (step S94). The high-speed arithmetic circuit confirms the established decoding permission flag 66 (decoding permission) in accordance with this decoding start signal, and then reads the information of the barcode symbol from the barcode symbol 54 read into the frame memory unit 60. Further, the high-speed arithmetic circuit 62 checks the decoding result (step S95), and the decoding content check only decodes the case of confirmation (JAN / UPC / EAN code, ITF code, code 39, NW-7, code 128) Etc.), but there are also cases of incorrect corrections (PDF 417, data codes and other two-dimensional bar code symbols). Then, the high-speed arithmetic circuit 62 outputs the decoding and inspection end message of the bar code symbol 59 containing the information of the inspection result to the CPU. Here, the CPU judges the decoding and inspection end signal from the high-speed arithmetic circuit 62 (step S96), and if it cannot be decoded correctly, it returns to step S91 and repeats the reading from the image again. Moreover, when decoding is possible correctly, the CPUII outputs a decoding result holding signal to the high-speed arithmetic circuit 62. The high-speed arithmetic circuit 62 temporarily stores the decoded content in the decoding result storage memory 64 in accordance with the decoding result holding signal, and clears the decoding permission flag 66 (decoding prohibition) (step S97). Next, the decoded result of the CPU 68 accommodates the information recorded in the bar code symbol 54 in the memory section 64, controls the main interface circuit 70, and transfers the information to a host computer (not shown) (step S98). The subsequent processing is the "secondary reading" function preventing part. That is, again, the image reading start signal sent to the frame memory unit 60 is input from the CPU 68 to the video circuit 58 to load the image (step S "). After the reading of this image is completed, the presence or absence of the barcode mark 54 is detected by the high-speed arithmetic circuit 62 (step (S100). Then, if there is a barcode mark 54 in the image read from the frame memory section 60, confirm The decoding permission flag 66 is cleared (step 101), and the image reading from the above step S " is repeated. That is to say, it is transferred to the host computer to end this paper standard. The Chinese National Standard (CNS) A 4 specifications (210 X 2W Public goods) 82.3. 40,000 (Please read the precautions on the back before writing this page) 丨 Package · Order.
經濟部中央標準局負工消費合作社印製 2116ί·1 五、發明説明(20) 之後,尚有條碼記猇54的情形時,判斷轉送到主電腦結束 的條碼記號54尚未自該讀取裝置清除而不要進行以後的處 理。 一方面,條碼記猇不存在時(步驟S101),再次自CPU 68 輸出送往圖框記憶部的圖像讀入起動信號到影像電路58 而讀入圖像(步驟si〇2)。此圖像讀入結束後,以高速演算 電路62進行條碼54的有輛檢出(步驟Sl〇3)。於此讀入圖框 記憶部6〇的圖像中有條碼記號54存在時,確認解碼許可旗 標66的清除(步驟Sl〇4),反覆自上述步驟S99的圖像的讀入 0即,步驟1〇2至步驟1〇4而言,反覆和上述步驟S"至步驟 S101處理的相同處理。 以上述步驟Sl〇4判斷條碼記號54不存在時,CPU 68設 定解碼許多可旗標66(步驟Sl〇5),即第2次連續到圖框記憶 部60讀入圖像中没存在條碼記號54時,可以設定解碼許可 旗標66。此後,回到上述步驟S91,反覆上述的處理。 如上述所做説明,在第9實施例中没有解碼條碼記號54 ,僅以記號的有無檢出可以實現『二次讀取』防止機能, 所以處理速度很快,即因爲在條碼記號S4的解碼處理之前 先必定要記號檢出處理,所以在本實施例中對於以能進行 記號檢出處理爲止的時間來完成,到現在是需要加上此時 間而進一步地到解碼度理爲止的時間。又,即使遗忘記錄 條碼記猇的標籤也不會做『二次謓取』,因不是使用開關 等的附加元件,所以可以説是以元件數及操作性是很理想 方法。 又,如上述,2次連續讀入送到圖框記愴部6〇的圖像中 本紙張又度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 82.3. 40,000 -------------------------装------ir------線 (請先Mit背面之注意事項存瑱寫本頁> 2116x4Printed 2116ί · 1 by the Consumer Labor Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 5. After the description of the invention (20), if there is still a bar code mark 54, it is judged that the bar code mark 54 transferred to the end of the host computer has not been cleared from the reading device Don't do any further processing. On the other hand, when the bar code mark does not exist (step S101), the image reading start signal sent to the frame memory unit is output from the CPU 68 to the video circuit 58 again to read the image (step si〇2). After the image reading is completed, the high-speed arithmetic circuit 62 detects the presence of the barcode 54 (step S103). When there is a bar code symbol 54 in the image read into the frame memory unit 60, the clearing of the decoding permission flag 66 is confirmed (step S104), and the image read from the step S99 is repeated 0, that is, For Step 102 to Step 104, the same processing as the above Step S " to Step S101 is repeated. When it is determined in the above step S104 that the bar code symbol 54 does not exist, the CPU 68 sets to decode many possible flags 66 (step S105), that is, the second consecutive reading to the frame memory unit 60 reads that there is no bar code symbol in the image At 54 hours, the decoding permission flag 66 can be set. After that, it returns to the above step S91 and repeats the above processing. As explained above, in the ninth embodiment, the barcode symbol 54 is not decoded, and only the presence or absence of the symbol can detect the "secondary reading" prevention function, so the processing speed is fast, that is, because the decoding of the barcode symbol S4 The mark detection process must be performed before the processing. Therefore, in this embodiment, the time until the mark detection process can be performed is completed. Now, it is necessary to add this time and further the time until the decoding process. In addition, even if you forget to record the label of the barcode, the "secondary pick" will not be performed. Since it is not an additional component such as a switch, it can be said that the number of components and operability are ideal methods. In addition, as mentioned above, the paper is read in the image sent to the frame 60 of the frame twice, and the paper is again applicable to the Chinese National Standard (CNS) A 4 specifications (210 X 297 mm) 82.3. 40,000 --- ---------------------- installed ------ ir ------ line (please note the back of Mit first, write this page > 2116x4
經濟部中央標準局員工消费合作社印製 五、發明説明(21 ) 没有條碼記猇54存在時,以條碼記猇54已清除而因要設定 解碼許可旗標66,在如該讀取裝置和條碼記號54是任何的 原因而振動的情形,若用此定時完成圖像讀入圖框記憶部 60 ’則即使條碼記號54没有清除也能完成判斷條碼記號54 没有存在,進一步地,清除動作的期間即條碼記號54正在 移動時圖像模糊而能判斷條碼記號54没有存在,但是如果 在此期間一旦就停止條碡記號54時,不管是解碼完成的條 碼記猇54再次解碼,也就是説最後不會做二次讀取。 於此,在此第9實施例中讀入到框記憶部60的圖像中没 有條碼記猇54存在時,以已清除條碼記號54而要設定解碼 許可旗標66,但是若是一次也没存在,以條碼記號54己清 除而即使要設定條碼許可旗標66也可達到『二次讀取』防 止機能。如此實施例經判斷2次連續地不存在時要設定解碼 許可旗標66的話,在如該讀取裝置和條碼記號54因任何的 原因而振的情形,若以其定時完成圖像讀入圖框記憶部6〇 ,則即使條碼記號54没有清除也恐怕有判斷成條碼猇54不 存在的時候,進一步地,在清除動作期間即正使條碼記號 54移動時,影像模糊而判斷條碼記號54不存在,但是假如 在此期間,一旦條碼記號54停止了的時候,不管是解碼完 成的條碼記號54解碼,就是説對於即使已二次讀取完成時 ,因能防止二次讀取,可靠性變高。進一步地,若不能限 定2次連續,即使3次以上也能得到同樣效果。 又,爲迴避如上述的缺點,在實際上,自送到條碼記 號54的圖像圖框記憶部6〇的讀入到條碼記號54的有無判斷 上的讀入循環具有密切的關係。即,若此讀入循環過長時 (請先Μ讀背面之注意事項再填寫本頁) —裝‘ 訂. 本紙張尺度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 82.3. 40,000 A6 B6 五、發明説明(22) 自在步驟S99的讀入到在步驟S102的讀入爲止之間,條碼記 號可以替換完成,而且不管是没有解碼的條碼記號54,最 後變成不能解碼。於是,在本實施例中此讀入循環是〇.3秒 的程度。 ****第10實施例**** 如上述第9實施例自順序地讀入的圖像檢出條碼記號54 的替代,例如圖型記憶部60以兩圖面分的容量,以預定的 時間間隔將圖像讀入各圖面上,在兩圖面上不能檢出條碼 記號54的情形下,即使要設定解碼許可旗標66也能得到同 樣的效果。 ****第11實施例**** 又,在上述第1至第10實施例中,謓取的條碼的種類是 没有特別地限定,而關於條碼記號54的檢出方法經常使用 JAN/UPC/EAN碼、ITF碼、碼39、NW-7碼、碼128等的各條碼 記號的檢出方法,而且有關於二次元條碼(碼16K、碼49、 PDF 417、Date Code等)也使用於條碼記號檢出方法而没有 問題。 如此,各實施例没有限定條碼記號的種類,但關於讀 取時間長的二次元條碼記號是特別有效。 (請先閱讀背面之注意事項再填寫本頁) -裝· 訂. 經濟部中央標準局員工消费合作社印製 本紙張尺度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 82.3. 40,000Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 5. Description of Invention (21) When there is no bar code mark 54, the bar code mark 54 has been cleared and the decoding permission flag 66 is set because of the reading device and bar code. If the symbol 54 is vibrating for any reason, if the image reading into the frame memory section 60 'is completed at this timing, it can be completed even if the barcode symbol 54 is not cleared, and the barcode symbol 54 does not exist. That is, when the bar code symbol 54 is moving, the image is blurred and it can be judged that the bar code symbol 54 does not exist, but if the bar code symbol 54 is stopped once during this period, whether the bar code symbol 54 after decoding is decoded again, that is to say, the final Will do a second reading. Here, in the ninth embodiment, when there is no bar code mark 54 in the image read into the frame memory section 60, the decode permission flag 66 is set with the bar code mark 54 cleared, but if it does not exist once, The barcode mark 54 has been cleared, and even if the barcode permission flag 66 is set, the "secondary reading" prevention function can be achieved. In such an embodiment, if it is determined that the decoding permission flag 66 is to be set when there are two consecutive non-existences, if the reading device and the bar code symbol 54 are vibrated for any reason, if the image reading is completed at its timing The frame memory unit 60, even if the bar code mark 54 is not cleared, it may be judged that the bar code mark 54 does not exist. Furthermore, when the bar code mark 54 is being moved during the clearing operation, the image is blurred and it is judged that the bar code mark 54 is not Exists, but if during this period, once the bar code symbol 54 stops, whether it is the decoded bar code symbol 54 is decoded, that is to say, even if the second reading is completed, the reliability can be prevented by preventing the second reading high. Furthermore, if two consecutive times cannot be defined, the same effect can be obtained even three or more times. In addition, in order to avoid the disadvantages described above, in practice, the reading cycle from the reading of the image frame memory unit 60 sent to the bar code symbol 54 to the presence or absence of the bar code symbol 54 is closely related. That is, if this reading cycle is too long (please read the precautions on the back and then fill out this page)-bookbinding. This paper size is applicable to the Chinese National Standard (CNS) A 4 specifications (210 X 297 mm) 82.3 . 40,000 A6 B6 V. Description of the invention (22) From the reading in step S99 to the reading in step S102, the bar code symbol can be replaced, and no matter the bar code symbol 54 without decoding, it finally becomes undecodeable. Therefore, in this embodiment, the reading cycle is about 0.3 seconds. **** Tenth embodiment **** As in the ninth embodiment described above, the barcode mark 54 is replaced from the sequentially read image, for example, the pattern memory unit 60 has a capacity divided into two planes, which is predetermined When the image is read into each picture at the time interval and the barcode mark 54 cannot be detected on both pictures, the same effect can be obtained even if the decoding permission flag 66 is set. **** Eleventh embodiment **** In addition, in the above-mentioned first to tenth embodiments, the type of bar code that is taken is not particularly limited, and the detection method of the bar code symbol 54 often uses JAN / UPC / EAN code, ITF code, code 39, NW-7 code, code 128, etc. detection method of each bar code symbol, and about two-dimensional bar code (code 16K, code 49, PDF 417, Date Code, etc.) are also used There is no problem in the detection method of barcode symbol. In this way, the embodiments do not limit the type of bar code symbol, but it is particularly effective with respect to the two-dimensional bar code symbol with a long reading time. (Please read the precautions on the back before filling in this page)-Binding and Ordering. The paper printed by the Staff Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs is compliant with the Chinese National Standard (CNS) Grade 4 (210 X 297 mm) 82.3. 40,000
Claims (1)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4033533A JP3064632B2 (en) | 1992-02-20 | 1992-02-20 | Barcode reader |
Publications (1)
Publication Number | Publication Date |
---|---|
TW211614B true TW211614B (en) | 1993-08-21 |
Family
ID=12389196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW82101460A TW211614B (en) | 1992-02-20 | 1993-03-01 | A bar code signal read-in device with the mechanism of preventing second read-in |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP3064632B2 (en) |
TW (1) | TW211614B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4410875B2 (en) * | 1999-06-30 | 2010-02-03 | 富士通株式会社 | Bar code reader and control method thereof |
KR20020009379A (en) * | 2000-10-13 | 2002-02-01 | 신영철 | The wireless barcode scanner with capability of scanning lcd barcode |
JP4932306B2 (en) * | 2006-03-31 | 2012-05-16 | 東芝テック株式会社 | Product sales data processing device |
JP5095668B2 (en) * | 2009-04-17 | 2012-12-12 | 東芝テック株式会社 | Bar code reading apparatus, bar code reading method, merchandise sales data processing apparatus, merchandise sales data processing method, and program |
JP5221599B2 (en) * | 2010-06-24 | 2013-06-26 | 東芝テック株式会社 | Product code reader and program |
JP5166490B2 (en) * | 2010-07-21 | 2013-03-21 | 東芝テック株式会社 | Product code reader and program |
JP5166496B2 (en) * | 2010-09-01 | 2013-03-21 | 東芝テック株式会社 | Code reader and program |
CN104778438A (en) * | 2015-04-04 | 2015-07-15 | 上海和伍新材料科技有限公司 | Bar code based method and device for recognizing ultrasonic detection clamp types |
WO2019198274A1 (en) * | 2018-04-13 | 2019-10-17 | シャープ株式会社 | Heating cooker |
-
1992
- 1992-02-20 JP JP4033533A patent/JP3064632B2/en not_active Expired - Fee Related
-
1993
- 1993-03-01 TW TW82101460A patent/TW211614B/en active
Also Published As
Publication number | Publication date |
---|---|
JPH05233867A (en) | 1993-09-10 |
JP3064632B2 (en) | 2000-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5365048A (en) | Bar code symbol reading apparatus with double-reading preventing function | |
US10331929B2 (en) | Imaging terminal, imaging sensor to determine document orientation based on bar code orientation and methods for operating the same | |
EP3416091B1 (en) | Systems and methods for generating and reading intrinsic matrixed bar codes | |
US9948813B2 (en) | Time-varying barcode in an active display | |
US8640018B2 (en) | User interface tag for use in processing a document | |
EP0791204B1 (en) | Anti-hand-jittering dataform readers and methods | |
US6470096B2 (en) | Method for locating user interface tags in a document processing system | |
US8418922B1 (en) | Time-varying barcodes for information exchange | |
TW211614B (en) | A bar code signal read-in device with the mechanism of preventing second read-in | |
JP3154809B2 (en) | Barcode reader device | |
JPH06309485A (en) | Optical information reader | |
JP2003346105A (en) | Two-dimensional bar code and method for recording the same | |
CN107609448B (en) | Bar code decoding method and bar code decoding device | |
JPH0338791A (en) | Symbol for confirmation and confirmation device thereof | |
JP4874706B2 (en) | QR code reader | |
CN1035287C (en) | Bar code marks reader | |
JP3140184B2 (en) | Barcode symbol reader | |
JPH08329185A (en) | Symbol information reader | |
JPH06231297A (en) | Bar code symbol reader | |
JPH05242278A (en) | Symbol information reader | |
TW320710B (en) | ||
CN112560535A (en) | Decoding output method for panoramic sequencing | |
JPH0668294A (en) | Scanning direction detecting method for bar code label | |
JPH01199287A (en) | Optical character reader | |
JPH10154197A (en) | Symbol information fetching device |