JP2012038214A - Reader and program - Google Patents

Reader and program Download PDF

Info

Publication number
JP2012038214A
JP2012038214A JP2010179730A JP2010179730A JP2012038214A JP 2012038214 A JP2012038214 A JP 2012038214A JP 2010179730 A JP2010179730 A JP 2010179730A JP 2010179730 A JP2010179730 A JP 2010179730A JP 2012038214 A JP2012038214 A JP 2012038214A
Authority
JP
Japan
Prior art keywords
voucher
read
information
image
reading
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2010179730A
Other languages
Japanese (ja)
Inventor
Nobuhiro Sugita
延裕 杉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2010179730A priority Critical patent/JP2012038214A/en
Publication of JP2012038214A publication Critical patent/JP2012038214A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a reader and a program which reduce a load of operator's work generated by use of a cash voucher.SOLUTION: A reader of an embodiment comprises imaging means, capturing means, reading means, determining means and inhibiting means. The imaging means takes images. The capturing means captures the taken images. The reading means detects an image of a cash voucher used instead of cash, and also reads cash voucher information for identifying the cash voucher from the detected cash voucher image. The determining means determines whether the read cash voucher information corresponds to used cash voucher information for identifying a used cash voucher. The inhibiting means inhibits use of a cash voucher identified by the read cash voucher information when determining that the read cash voucher information corresponds to the used cash voucher information.

Description

本発明の実施形態は、読取装置およびプログラムに関する。   Embodiments described herein relate generally to a reader and a program.

近年、インストアプロモーション等の一環として、商品を購入した顧客に対して、次回の商品の購入時に行う値引等のサービスを示すサービス情報が印字されたクーポンレシート等の金券を発行する店舗が増えている(特許文献1参照)。顧客は、次回の商品の購入時に、商品の会計業務を行うオペレータに金券を提示することにより、提示した金券に印字されサービス情報が示すサービスを受けることができる。   In recent years, as part of in-store promotions, more and more stores issue coupons, such as coupon receipts, with service information indicating services such as discounts offered at the time of the next product purchase, to customers who have purchased the product. (See Patent Document 1). The customer can receive a service printed on the presented cash voucher and indicated by the service information by presenting the cash voucher to the operator who performs the accounting for the merchandise at the next purchase of the merchandise.

ところで、クーポンレシート等の金券は、一般に紙媒体であるため、不正にコピーされて繰り返し使用される、という実態がある。このような金券の不正使用を防止する方法として、商品の会計業務を行うオペレータが、金券に印字された有効期限等の内容を確認しかつ使用済の金券を回収することにより、金券の不正使用を防止する方法もあるが、金券が提示される度に、オペレータが金券の確認および回収を行わなければならず、作業に負担がかかる。   By the way, since a voucher such as a coupon receipt is generally a paper medium, there is a situation that it is illegally copied and repeatedly used. As a method to prevent such unauthorized use of cash vouchers, an operator who conducts accounting for products checks the contents of the expiration date printed on the cash voucher and collects the used cash voucher for unauthorized use. Although there is a method for preventing this, every time a cash voucher is presented, the operator must check and collect the cash voucher, which puts a burden on the work.

実施形態の読取装置は、撮像手段と、取込手段と、読取手段と、判断手段と、禁止手段と、を備える。前記撮像手段は、画像を撮像する。前記取込手段は、前記撮像された画像を取り込む。前記読取手段は、前記取り込んだ画像から、現金の代わりに用いる金券の画像を検出するとともに、前記検出した金券の画像から、金券を識別する金券情報を読み取る。前記判断手段は、前記読み取った金券情報が、使用済みの金券を識別する使用済金券情報と一致するか否かを判断する。前記禁止手段は、前記読み取った金券情報が前記使用済金券情報と一致すると判断した場合に、前記読み取った金券情報により識別される金券の利用を禁止する。   The reading apparatus according to the embodiment includes an imaging unit, a capturing unit, a reading unit, a determining unit, and a prohibiting unit. The imaging means captures an image. The capturing means captures the captured image. The reading means detects a voucher image used instead of cash from the captured image, and reads voucher information for identifying a voucher from the detected voucher image. The determination means determines whether or not the read voucher information matches used voucher information for identifying a used voucher. The prohibiting means prohibits the use of a voucher identified by the read voucher information when it is determined that the read voucher information matches the used voucher information.

図1は、本実施形態にかかるコード読取装置を備えたチェックアウトレーンシステムの構成を概略的に示す斜視図である。FIG. 1 is a perspective view schematically illustrating a configuration of a checkout lane system including a code reading device according to the present embodiment. 図2は、コード読取装置の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the code reading device. 図3は、商品とカメラの撮像エリアとの関係の一例を示す図である。FIG. 3 is a diagram illustrating an example of the relationship between the product and the imaging area of the camera. 図4は、クーポン券付レシートとカメラの撮像エリアとの関係の一例を示す図である。FIG. 4 is a diagram illustrating an example of a relationship between a receipt with a coupon and an imaging area of a camera. 図5は、通し番号特徴テーブルを説明する図である。FIG. 5 is a diagram for explaining the serial number feature table. 図6は、店舗名特徴テーブルを説明する図である。FIG. 6 is a diagram for explaining the store name feature table. 図7は、有効期限特徴テーブルを説明する図である。FIG. 7 is a diagram for explaining an expiration date feature table. 図8は、サービス表示特徴テーブルを説明する図である。FIG. 8 is a diagram for explaining the service display feature table. 図9は、取り込んだ画像データの一例を示す図である。FIG. 9 is a diagram illustrating an example of captured image data. 図10は、取り込んだ画像データの一例を示す図である。FIG. 10 is a diagram illustrating an example of captured image data. 図11は、バーコードデータを説明するための図である。FIG. 11 is a diagram for explaining the barcode data. 図12は、サービスコードを説明する図である。FIG. 12 is a diagram for explaining a service code. 図13は、複合コードを説明する図である。FIG. 13 is a diagram for explaining the composite code. 図14は、コード読取装置が行う情報出力処理の手順を示したフローチャートである。FIG. 14 is a flowchart showing a procedure of information output processing performed by the code reader.

図1は、本実施形態にかかるコード読取装置を備えたチェックアウトレーンシステムの構成を概略的に示す斜視図である。図1に示すように、チェックアウトレーンシステム4は、商品を入れた買い物かごを戴置するためのサッカー台1と、サッカー台1の略中央に立設されたコード読取装置2と、コード読取装置2と図示しない伝送路によって相互通信可能に接続されたPOS端末3とを備えている。   FIG. 1 is a perspective view schematically illustrating a configuration of a checkout lane system including a code reading device according to the present embodiment. As shown in FIG. 1, a checkout lane system 4 includes a soccer stand 1 for placing a shopping basket containing merchandise, a code reading device 2 erected substantially at the center of the soccer stand 1, and a code reading A device 2 and a POS terminal 3 connected to each other via a transmission path (not shown) are provided.

POS端末3は、客が購入する商品の販売登録を行うものである。図1に示すように、POS端末3には、キーボード31、オペレータ用の表示器32、客用の表示器33、レシート印字等を行うプリンタ34、現金等を収容するためのドロワ35等が設けられている。キーボード31には、商品代金の決済に必要な締めキー等が配設されている。POS端末3は、この種のチェックアウトレーンシステムで標準的に使用されているPOS端末と同様の構成と機能とを備えている。   The POS terminal 3 performs sales registration of products purchased by customers. As shown in FIG. 1, the POS terminal 3 is provided with a keyboard 31, an operator display 32, a customer display 33, a printer 34 for printing receipts, a drawer 35 for storing cash and the like. It has been. The keyboard 31 is provided with a fastening key or the like necessary for settlement of the commodity price. The POS terminal 3 has the same configuration and functions as the POS terminal that is used as standard in this type of checkout lane system.

コード読取装置2は、商品に貼付され、当該商品を示す商品コードなどの商品情報を表すバーコードを検出し、検出したバーコードが表す商品情報をPOS端末3に出力するための装置である。図1に示すように、コード読取装置2は、読取窓21と、キーボード22と、ディスプレイ23と、表示LED24と、ブザー25とを主に備えている。キーボード22は、バーコードで登録不能な商品の登録を行う場合に、各種キーによる入力を受付ける。また、キーボード22は、代金の代わりに用いるクーポン券などの金券の使用を要求するクーポン使用キーを備えている。ディスプレイ23は、登録された商品の品名や価格等を買い物客に対して表示する。表示LED24は、商品に貼付されたバーコードから商品情報が読み取られた場合に点灯して、商品情報が読み取られていることをオペレータに報知する。ブザー25は、商品に貼付されたバーコードが表す商品情報が読み取られた場合にブザー音を鳴らして、オペレータに報知する。読取窓21が設けられたコード読取装置2の内部には、CCD(Charge Coupled Device)カメラ等のカメラ20(図2参照)が内蔵されている。   The code reading device 2 is a device that detects a barcode that is attached to a product and represents product information such as a product code indicating the product, and outputs the product information represented by the detected barcode to the POS terminal 3. As shown in FIG. 1, the code reading device 2 mainly includes a reading window 21, a keyboard 22, a display 23, a display LED 24, and a buzzer 25. The keyboard 22 accepts input from various keys when registering a product that cannot be registered with a barcode. The keyboard 22 includes a coupon use key for requesting the use of a cash voucher such as a coupon used instead of the price. The display 23 displays the registered product name, price, etc. to the shopper. The display LED 24 is turned on when the product information is read from the barcode attached to the product, and notifies the operator that the product information is read. The buzzer 25 sounds a buzzer sound to notify the operator when the product information represented by the barcode attached to the product is read. A camera 20 such as a CCD (Charge Coupled Device) camera (see FIG. 2) is built in the code reading device 2 provided with the reading window 21.

図2は、コード読取装置の構成を示すブロック図である。コード読取装置2は、CPU(Central Processing Unit)50と、ROM(Read Only Memory)42と、RAM(Random Access Memory)43と、通信I/F44と、出力ポート46と、キーボードコントローラ47と、表示コントローラ48と、カメラコントローラ49と、メモリ45とを主に備えており、これらをアドレスバス、データバスなどのバスライン41で接続して構成されている。   FIG. 2 is a block diagram showing the configuration of the code reading device. The code reader 2 includes a CPU (Central Processing Unit) 50, a ROM (Read Only Memory) 42, a RAM (Random Access Memory) 43, a communication I / F 44, an output port 46, a keyboard controller 47, and a display. A controller 48, a camera controller 49, and a memory 45 are mainly provided, and these are connected by a bus line 41 such as an address bus and a data bus.

CPU50は、コード読取装置2の動作全体を制御する制御部として機能する。ROM42は、本実施形態にかかるプログラムや、CPU50の動作を制御するその他のプログラム等を記憶している。RAM43は、CPU50がROM42が記憶する各種プログラムを展開する際にワークエリアとして機能するものである。また、RAM43は、カメラ20によって撮像した画像データなどの各種データを格納する。   The CPU 50 functions as a control unit that controls the entire operation of the code reading device 2. The ROM 42 stores programs according to the present embodiment, other programs that control the operation of the CPU 50, and the like. The RAM 43 functions as a work area when the CPU 50 develops various programs stored in the ROM 42. The RAM 43 stores various data such as image data captured by the camera 20.

通信I/F44は、バスを介して接続されたPOS端末3(図1参照)とのデータ通信を制御する。出力ポート46は、ブザー25と表示LED24に駆動信号を出力する。キーボードコントローラ47は、キーボード22からキー信号を取り込む。表示コントローラ48は、ディスプレイ23に対するデータ表示を制御する。カメラコントローラ49は、カメラ20の撮像動作を制御する。   The communication I / F 44 controls data communication with the POS terminal 3 (see FIG. 1) connected via the bus. The output port 46 outputs a drive signal to the buzzer 25 and the display LED 24. The keyboard controller 47 captures key signals from the keyboard 22. The display controller 48 controls data display on the display 23. The camera controller 49 controls the imaging operation of the camera 20.

カメラ20は、商品に付されたバーコードまたは二次元コード等のコードシンボルや、商品を購入する際に現金の代わりに用いるクーポン券付レシートなどの金券を撮像する。   The camera 20 takes an image of a code symbol such as a bar code or a two-dimensional code attached to a product, or a cash voucher such as a receipt with a coupon used instead of cash when purchasing the product.

次に、本実施形態のコード読取装置2により処理される商品またはクーポン券付レシートとカメラ20の撮像エリアとの関係について説明する。図3は、商品とカメラの撮像エリアとの関係の一例を示す図である。図中鎖線で囲った領域は、カメラ20が1フレームで撮像できる領域である撮像エリア70aである。図3に示す商品60には、バーコードラベル61が貼付されている。   Next, the relationship between the product or the receipt with coupons processed by the code reading device 2 of the present embodiment and the imaging area of the camera 20 will be described. FIG. 3 is a diagram illustrating an example of the relationship between the product and the imaging area of the camera. A region surrounded by a chain line in the figure is an imaging area 70a that is a region that the camera 20 can capture in one frame. A bar code label 61 is affixed to the product 60 shown in FIG.

バーコードラベル61には、商品名「豚バラうす切り」や、商品価格「200円」や、バーコード62等が表示されている。バーコード62には、商品60の販売データをPOS端末3で登録処理するのに必要な商品情報として、商品コード等の情報が組み込まれている。また、バーコード62の下部には、バーコード62が組み込んでいる商品コード「2101234567890」が数字で表示されている。   On the bar code label 61, the product name “pig rose thin cut”, the product price “200 yen”, the bar code 62, and the like are displayed. The bar code 62 incorporates information such as a product code as product information necessary for registering the sales data of the product 60 at the POS terminal 3. In addition, the product code “2101234567890” incorporated in the barcode 62 is displayed in the lower part of the barcode 62 as a number.

図4は、クーポン券付レシートとカメラの撮像エリアとの関係の一例を示す図である。図中鎖線で囲った領域は、カメラ20が1フレームで撮像できる領域である撮像エリア70bである。図4に示すクーポン券付レシート80には、商品60を販売した店舗名、販売日時、販売を担当した担当者、販売した商品の商品名等を含む販売データ80aに加えて、金券の一例であるクーポン券80bが含まれている。   FIG. 4 is a diagram illustrating an example of a relationship between a receipt with a coupon and an imaging area of a camera. An area surrounded by a chain line in the figure is an imaging area 70b that is an area that the camera 20 can capture in one frame. The receipt with coupon voucher 80 shown in FIG. 4 is an example of a cash voucher in addition to the sales data 80a including the name of the store that sold the product 60, the sales date and time, the person in charge of sales, the product name of the sold product, etc. A coupon v 80b is included.

クーポン券80bとしては、クーポン券80bを識別する金券情報としての通し番号81、クーポン券80bを利用可能な店舗名82、クーポン券80bの有効期限83、およびクーポン券80bにより付与されるサービスを示すサービス表示84などを含むものであれば良い。   As the coupon voucher 80b, the serial number 81 as the voucher information for identifying the voucher 80b, the store name 82 that can use the voucher 80b, the expiration date 83 of the voucher 80b, and the service that is given by the coupon voucher 80b Any display including the display 84 may be used.

なお、本実施形態では、サービスを示すサービス表示84がクーポン券80bに印字されている例について説明するが、サービスの内容が組み込まれたバーコードおよび当該バーコードの下部に表示されたサービスコード(例えば、「99××××××××××××」)を含むクーポン券80bであっても良い。一般的には、サービス内容が組み込まれたバーコードの下部に表示されたサービスコードの「99」以下の数字が代金の代わりとして用いることができるクーポン券80bの金額を表している。   In the present embodiment, an example in which the service display 84 indicating the service is printed on the coupon ticket 80b will be described. However, the barcode in which the contents of the service are incorporated and the service code (below the barcode) For example, it may be a coupon ticket 80b including “99xxxxxxx”. In general, the number “99” or less of the service code displayed at the bottom of the barcode in which the service content is incorporated represents the amount of the coupon 80b that can be used instead of the price.

不揮発性のメモリ45は、クーポン券80bを識別する通し番号81と当該通し番号81の特徴とを対応付けた通し番号特徴テーブルT1、クーポン券80bを利用可能な店舗名82と当該店舗名82の特徴とを対応付けた店舗名特徴テーブルT2、クーポン券80bの有効期限83と当該有効期限83の特徴とを対応付けた有効期限特徴テーブルT3、およびサービス表示84が示すサービスの内容であるサービス情報とサービス表示84の特徴とを対応付けたサービス表示特徴テーブルT4を格納している。   The nonvolatile memory 45 includes a serial number feature table T1 in which a serial number 81 for identifying the coupon ticket 80b and a characteristic of the serial number 81 are associated with each other, a store name 82 that can use the coupon ticket 80b, and a feature of the store name 82. Service information and service display that are the contents of the service indicated by the associated store name feature table T2, the expiration date feature table T3 that associates the expiration date 83 of the coupon 80b with the feature of the expiration date 83, and the service display 84 A service display feature table T4 in which 84 features are associated is stored.

図5は、通し番号特徴テーブルを説明する図である。図5に示すように、通し番号特徴テーブルT1は、クーポン券80bを識別する通し番号81と、当該通し番号81が含む文字やシンボルの特徴を示した通し番号特徴データとを対応付けて記憶している。   FIG. 5 is a diagram for explaining the serial number feature table. As shown in FIG. 5, the serial number feature table T1 stores serial numbers 81 for identifying the coupons 80b and serial number feature data indicating the characteristics of the characters and symbols included in the serial numbers 81 in association with each other.

より詳細には、通し番号特徴データとは、クーポン券80bに含まれる通し番号81からOCR等の文字認識処理によって抽出される情報のことである。即ち、図4に示すように、通し番号「NO.0077」と記載されたクーポン券80bについては、図5の通し番号特徴テーブルT1において通し番号「NO.0077」と対応付けられた通し番号特徴データ「NO,0077」という情報が文字認識処理によって抽出される。   More specifically, the serial number feature data is information extracted from a serial number 81 included in the coupon ticket 80b by a character recognition process such as OCR. That is, as shown in FIG. 4, for the coupon ticket 80b described with the serial number “NO.0077”, the serial number feature data “NO,” associated with the serial number “NO.0077” in the serial number feature table T1 of FIG. The information “0077” is extracted by the character recognition process.

図6は、店舗名特徴テーブルを説明する図である。図6に示すように、店舗名特徴テーブルT2は、クーポン券80bを利用可能な店舗の店舗名82と、当該店舗名82が含む文字やシンボルの特徴を示した店舗名特徴データとを対応付けて記憶している。   FIG. 6 is a diagram for explaining the store name feature table. As illustrated in FIG. 6, the store name feature table T2 associates store names 82 of stores that can use the coupon ticket 80b with store name feature data indicating the characteristics of characters and symbols included in the store names 82. I remember.

より詳細には、店舗名特徴データとは、クーポン券80bに含まれる店舗名82からOCR等の文字認識処理によって抽出される情報のことである。即ち、図4に示すように、店舗名「○○スーパー」と記載されたクーポン券80bについては、図6の店舗名特徴テーブルT2において店舗名「○○スーパー」と対応付けられた店舗名特徴データ「○,○,ス,ー,パ,ー」という情報が文字認識処理によって抽出される。   More specifically, the store name characteristic data is information extracted by character recognition processing such as OCR from the store name 82 included in the coupon 80b. That is, as shown in FIG. 4, for the coupon ticket 80b described as the store name “XX super”, the store name feature associated with the store name “XX super” in the store name feature table T2 of FIG. Information of data “○, ○, su, ー, par, ー” is extracted by character recognition processing.

図7は、有効期限特徴テーブルを説明する図である。図7に示すように、有効期限特徴テーブルT3は、クーポン券80bに含まれる有効期限と、当該有効期限が含む文字やシンボル等の特徴を示した有効期限特徴データとを対応付けて記憶している。   FIG. 7 is a diagram for explaining an expiration date feature table. As shown in FIG. 7, the expiration date feature table T3 stores the expiration date included in the coupon 80b in association with the expiration date feature data indicating features such as characters and symbols included in the expiration date. Yes.

より詳細には、有効期限特徴データとは、クーポン券80bに含まれる有効期限からOCR等の文字認識処理によって抽出される情報のことである。即ち、図4に示すように、有効期限「有効期限:2010年6月1日」と記載されたクーポン券80bについては、図7の有効期限特徴テーブルT3において有効期限「2010.06.01」と対応付けられた有効期限特徴データ「有,効,期,限,2010,年,6,月,1,日」という情報が文字認識処理によって抽出される。   More specifically, the expiration date characteristic data is information extracted by a character recognition process such as OCR from the expiration date included in the coupon 80b. That is, as shown in FIG. 4, for the coupon 80b described as the expiration date “expiration date: June 1, 2010”, the expiration date “2011.06.01” in the expiration date feature table T3 of FIG. The information of expiration date characteristic data “existing, effective, period, limit, 2010, year, 6, month, 1, day” associated with is extracted by the character recognition process.

図8は、サービス表示特徴テーブルを説明する図である。図8に示すように、サービス表示特徴テーブルT4は、サービス表示84に含まれる文字やシンボルの特徴を示したサービス表示特徴データと、当該サービス表示84によって付与されるサービスを示すサービス情報とを対応付けて記憶する。   FIG. 8 is a diagram for explaining the service display feature table. As shown in FIG. 8, the service display feature table T4 corresponds to service display feature data indicating the characteristics of characters and symbols included in the service display 84 and service information indicating services provided by the service display 84. Add and remember.

より詳細には、サービス表示特徴データとは、サービス表示84からOCR等の文字認識処理によって抽出される情報のことである。即ち、図4に示すように、「100円引」と記載されたサービス表示84については、図8のサービス表示特徴テーブルT4において、No.1のサービス表示特徴データが示すように、「100,円,引」という情報が文字認識処理によって抽出される。   More specifically, the service display feature data is information extracted from the service display 84 by character recognition processing such as OCR. That is, as shown in FIG. 4, for the service display 84 described as “100 yen discount”, in the service display feature table T4 of FIG. As indicated by one service display feature data, information “100, yen, discount” is extracted by the character recognition process.

サービス情報とは、サービス表示84から読み取った値引情報やポイント付与情報などのサービスに関する情報を、POS端末3の販売登録処理において使用できるよう英数値に変換した情報のことである。例えば、図8に示すように、サービス表示特徴データ「100,円,引」に対しては、100円の値引を意味するサービス情報「−100YEN」が対応付けて記憶されている。   The service information is information obtained by converting information related to services such as discount information and point grant information read from the service display 84 into an alphanumeric value so that it can be used in the sales registration process of the POS terminal 3. For example, as shown in FIG. 8, service information “−100YEN”, which means a discount of 100 yen, is stored in association with service display feature data “100, yen, discount”.

次に、本実施形態のコード読取装置2が有する特徴的な機能について説明する。CPU50は、RAM43に展開されたROM42が記憶するプログラムに従って動作することで、図2に示すように、画像データ取込部51と、第1読取部52と、第2読取部53と、判断部54、禁止部55、情報出力部56と、報知部57として機能する。   Next, characteristic functions of the code reading device 2 of the present embodiment will be described. The CPU 50 operates in accordance with a program stored in the ROM 42 expanded in the RAM 43, so that as shown in FIG. 2, the image data capturing unit 51, the first reading unit 52, the second reading unit 53, and the determination unit 54, a prohibition unit 55, an information output unit 56, and a notification unit 57.

画像データ取込部51は、カメラコントローラ49に撮像オン信号を出力してカメラ20に撮像動作を開始させる。画像データ取込部51は、カメラ20が撮像した撮像エリア70a,70b内の画像データを取り込んで、RAM43の画像ワークエリアに格納する。また、画像データ取込部51は、第1読取部52または第2読取部53の指示を受けた場合に、カメラ20が撮像した撮像エリア70a,70b内の画像データを取り込んで、RAM43の画像ワークエリアに格納する。   The image data capturing unit 51 outputs an imaging on signal to the camera controller 49 to cause the camera 20 to start an imaging operation. The image data capturing unit 51 captures image data in the imaging areas 70 a and 70 b captured by the camera 20 and stores them in the image work area of the RAM 43. Further, when receiving an instruction from the first reading unit 52 or the second reading unit 53, the image data capturing unit 51 captures image data in the imaging areas 70 a and 70 b captured by the camera 20, and the image in the RAM 43. Store in work area.

ここで、画像データ取込部51が取り込む画像データについて図3、図4、図9、および図10を用いて説明する。図9および図10は、取り込んだ画像データの一例を示す図である。   Here, the image data captured by the image data capturing unit 51 will be described with reference to FIGS. 3, 4, 9, and 10. 9 and 10 are diagrams illustrating an example of the captured image data.

図3に示すように、画像データ取込部51は、第1読取部52の指示を受けた場合に、商品60に貼付されたバーコードラベル61の画像901および当該バーコードラベル61に表示されたバーコード62の画像902を含む画像データ900(図9参照)をRAM43の画像ワークエリアに格納する。   As shown in FIG. 3, when receiving an instruction from the first reading unit 52, the image data capturing unit 51 is displayed on the image 901 of the barcode label 61 affixed to the product 60 and the barcode label 61. The image data 900 including the image 902 of the barcode 62 (see FIG. 9) is stored in the image work area of the RAM 43.

さらに、画像データ取込部51は、第2読取部53の指示を受けた場合に、クーポン券付レシート80に含まれるクーポン券80bの画像1001を含む画像データ1000(図10参照)をRAM43の画像ワークエリアに格納する。なお、クーポン券80bの画像1001には、通し番号81、店舗名82、有効期限83、およびサービス表示84が含まれているものとする。   Further, when receiving an instruction from the second reading unit 53, the image data capturing unit 51 stores the image data 1000 (see FIG. 10) including the image 1001 of the coupon voucher 80 b included in the receipt 80 with coupon voucher in the RAM 43. Store in the image work area. The image 1001 of the coupon ticket 80b includes a serial number 81, a store name 82, an expiration date 83, and a service display 84.

第1読取部52は、画像データ取込部51がRAM43の画像ワークエリアに格納した画像データ900から、バーコード62の画像902を検出し、検出したバーコード62の画像902から商品60の商品情報を読み取るバーコード読取処理を行う。   The first reading unit 52 detects the image 902 of the barcode 62 from the image data 900 stored in the image work area of the RAM 43 by the image data capturing unit 51, and the product 60 of the product 60 from the detected image 902 of the barcode 62. A barcode reading process for reading information is performed.

より詳細には、第1読取部52は、RAM43の画像ワークエリアに格納された1フレームの画像データ900(図9参照)を2値化し、2値化したデータ内にバーコード62に関するデータ領域が存在するか否かを検出する。第1読取部52は、取り込んだ画像データ900においてバーコード62に関するデータ領域を検出した場合には、バーコード62をデコードして、図11に示すJ1〜J13のバーコードデータ(JANコード)C1を、商品60の商品情報として読み取る。図11は、バーコードデータを説明するための図である。バーコードデータC1は、メーカーコードや、商品情報としての商品コードや、チェックデジット等を含んでいる。第1読取部52は、読み取ったバーコードデータC1をRAM43のバーコードワークエリアに格納する。   More specifically, the first reading unit 52 binarizes one frame of image data 900 (see FIG. 9) stored in the image work area of the RAM 43, and a data area relating to the barcode 62 in the binarized data. Whether or not exists is detected. When the first reading unit 52 detects a data area related to the barcode 62 in the captured image data 900, the first reading unit 52 decodes the barcode 62 and displays the barcode data (JAN code) C1 of J1 to J13 shown in FIG. Is read as product information of the product 60. FIG. 11 is a diagram for explaining the barcode data. The barcode data C1 includes a manufacturer code, a product code as product information, a check digit, and the like. The first reading unit 52 stores the read barcode data C1 in the barcode work area of the RAM 43.

第2読取部53は、キーボード22が備えるクーポン使用キーが押下された場合に、画像データ取込部51に対して画像データ1000の取り込みを指示する。そして、第2読取部53は、画像データ取込部51がRAM43の画像ワークエリアに格納した画像データ1000から、クーポン券80bの画像1001を検出し、検出したクーポン券80bの画像1001に含まれるサービス表示84からサービス情報(図8参照)を読み取る。   The second reading unit 53 instructs the image data capturing unit 51 to capture the image data 1000 when a coupon use key included in the keyboard 22 is pressed. Then, the second reading unit 53 detects the image 1001 of the coupon 80b from the image data 1000 stored in the image work area of the RAM 43 by the image data capturing unit 51, and is included in the detected image 1001 of the coupon 80b. The service information (see FIG. 8) is read from the service display 84.

より具体的には、第2読取部53は、RAM43の画像ワークエリアに格納された1フレームの画像データ1000(図10参照)に対して、OCR(Optical Character Reader)等の文字認識処理を行う。第2読取部53は、クーポン券80bが含む文字や絵やシンボル等の特徴と、サービス表示特徴テーブルT4とを照合して、一致度の高いサービス表示特徴データを検出した場合に、クーポン券80bの画像1001からサービス表示84を検出したと判断する。   More specifically, the second reading unit 53 performs character recognition processing such as OCR (Optical Character Reader) on one frame of the image data 1000 (see FIG. 10) stored in the image work area of the RAM 43. . When the second reading unit 53 collates the characters, pictures, symbols, and other features included in the coupon ticket 80b with the service display feature table T4 and detects service display feature data having a high degree of coincidence, the coupon ticket 80b It is determined that the service display 84 is detected from the image 1001.

次いで、第2読取部53は、検出したサービス表示特徴データに該当するサービス情報をサービス表示特徴テーブルT4から読み取る。さらに、第2読取部53は、読み取ったサービス情報をコード化してサービスコードC2(図12参照)を生成し、RAM43のサービスコードワークエリアに格納する。   Next, the second reading unit 53 reads service information corresponding to the detected service display feature data from the service display feature table T4. Further, the second reading unit 53 encodes the read service information to generate a service code C2 (see FIG. 12) and stores it in the service code work area of the RAM 43.

なお、本実施形態では、第2読取部53は、文字認識処理によりサービス表示84を検出し、当該サービス表示84からサービス情報を読み取っているが、クーポン券80bにサービスの内容が組み込まれたバーコードが含まれている場合には、画像データ1000を2値化し、2値化したデータ内にサービスの内容が組み込まれたバーコードに関するデータ領域が存在するか否かを検出し、バーコードに関するデータ領域を検出した場合には、バーコードをデコードして、サービスコードC2(図12参照)を、サービス情報として読み取る。   In the present embodiment, the second reading unit 53 detects the service display 84 by the character recognition process and reads the service information from the service display 84. However, the bar in which the contents of the service are incorporated in the coupon ticket 80b is used. If a code is included, the image data 1000 is binarized, and it is detected whether or not there is a data area related to the barcode in which the contents of the service are incorporated in the binarized data. When the data area is detected, the barcode is decoded and the service code C2 (see FIG. 12) is read as service information.

図12は、サービスコードを説明する図である。図12に示すように、サービスコードC2は、サービスの種類を設定するフラグFと、値引額や値引率や付与ポイント数など提供されるサービスの値を示すデータP1〜P5を含んでいる。フラグFは、例えば、1:値引率、2:値引金額、3:ポイントとしてサービスの種類を表すことができる。   FIG. 12 is a diagram for explaining a service code. As shown in FIG. 12, the service code C2 includes a flag F for setting the type of service, and data P1 to P5 indicating the value of the provided service such as a discount amount, a discount rate, and the number of points granted. The flag F can represent the type of service as, for example, 1: discount rate, 2: discount amount, 3: points.

また、第2読取部53は、クーポン券80bの画像1001から、通し番号81、店舗名82、および有効期限83を読み取る。   Further, the second reading unit 53 reads the serial number 81, the store name 82, and the expiration date 83 from the image 1001 of the coupon ticket 80b.

より具体的には、第2読取部53は、RAM43の画像ワークエリアに格納された1フレームの画像データ1000(図10参照)に対して、OCR等の文字認識処理を行う。第2読取部53は、クーポン券80bが含む文字や絵やシンボル等の特徴と、各テーブルT1〜T3とを照合して、一致度の高いデータ(通し番号特徴データ、店舗名特徴データ、有効期限特徴データ)を検出した場合に、クーポン券80bの画像1001から通し番号81、店舗名82、および有効期限83を検出したと判断する。   More specifically, the second reading unit 53 performs character recognition processing such as OCR on one frame of image data 1000 (see FIG. 10) stored in the image work area of the RAM 43. The second reading unit 53 collates the characteristics such as characters, pictures, symbols, etc. included in the coupon ticket 80b with the tables T1 to T3, and has a high degree of coincidence (serial number characteristic data, store name characteristic data, expiration date). When the feature data is detected, it is determined that the serial number 81, the store name 82, and the expiration date 83 are detected from the image 1001 of the coupon ticket 80b.

また、第2読取部53は、検出したデータ(通し番号特徴データ、店舗名特徴データ、有効期限特徴データ)に該当する通し番号81、店舗名82、および有効期限83を、各テーブルT1〜T3から読み取る。   The second reading unit 53 reads the serial number 81, the store name 82, and the expiration date 83 corresponding to the detected data (serial number feature data, store name feature data, expiration date feature data) from each of the tables T1 to T3. .

判断部54は、第2読取部53により読み取られた通し番号81、店舗名82、および有効期限83を用いて、クーポン券80bが有効なものであるか否かを判断するものである。   The determination unit 54 determines whether the coupon voucher 80b is valid using the serial number 81, the store name 82, and the expiration date 83 read by the second reading unit 53.

具体的には、判断部54は、通信I/F44を介してPOS端末3または店舗内のホスト端末(不図示)から、使用済のクーポン券の通し番号を記憶するマスタファイルを読み込む。次に、判断部54は、第2読取部53により読み取られた通し番号81と、読み込んだマスタファイルに記憶された使用済のクーポン券の通し番号とが一致するか否かを判断する。そして、判断部54は、第2読取部53により読み取られた通し番号81とマスタファイルに記憶された使用済のクーポン券の通し番号とが一致した場合には、クーポン券80bが有効なものでないと判断する。なお、判断部54は、第2読取部53により読み取られた通し番号81がマスタファイルに記憶されていなかった場合、マスタファイルに当該通し番号81を記憶させるものとする。   Specifically, the determination unit 54 reads a master file that stores a serial number of a used coupon ticket from the POS terminal 3 or a host terminal (not shown) in the store via the communication I / F 44. Next, the determination unit 54 determines whether or not the serial number 81 read by the second reading unit 53 matches the serial number of the used coupon ticket stored in the read master file. When the serial number 81 read by the second reading unit 53 matches the serial number of the used coupon ticket stored in the master file, the determination unit 54 determines that the coupon ticket 80b is not valid. To do. If the serial number 81 read by the second reading unit 53 is not stored in the master file, the determination unit 54 stores the serial number 81 in the master file.

また、判断部54は、第2読取部53により読み取られた店舗名82が、クーポン券80bが利用された店舗の店舗名と一致するか否かを判断する。そして、判断部54は、第2読取部53により読み取られた店舗名82が、クーポン券80bが利用された店舗の店舗名と一致しなかった場合、クーポン券80bが有効なものでないと判断する。   The determination unit 54 determines whether the store name 82 read by the second reading unit 53 matches the store name of the store where the coupon ticket 80b is used. If the store name 82 read by the second reading unit 53 does not match the store name of the store where the coupon ticket 80b is used, the determining unit 54 determines that the coupon ticket 80b is not valid. .

また、判断部54は、第2読取部53により読み取られた有効期限83が現在の日時を過ぎているか否かを判断する。そして、判断部54は、第2読取部53により読み取られた有効期限83が現在の日時を過ぎていた場合、クーポン券80bが有効でないと判断する。   Further, the determination unit 54 determines whether or not the expiration date 83 read by the second reading unit 53 has passed the current date and time. Then, when the expiration date 83 read by the second reading unit 53 has passed the current date and time, the determination unit 54 determines that the coupon ticket 80b is not valid.

禁止部55は、判断部54によりクーポン券80bが有効でないと判断された場合、第2読取部53によってRAM43のサービスコードワークエリアに格納されたサービスコードC2を消去して、第2読取部53により読み取られた通し番号81により識別されるクーポン券80bの利用を禁止する。   When the determination unit 54 determines that the coupon ticket 80b is not valid, the prohibition unit 55 deletes the service code C2 stored in the service code work area of the RAM 43 by the second reading unit 53, and the second reading unit 53 The use of the coupon voucher 80b identified by the serial number 81 read by is prohibited.

情報出力部56は、第2読取部53が生成したサービスコードC2がRAM43に格納されている場合には、第1読取部52によりRAM43に格納されているバーコードデータC1にサービスコードC2を結合して複合コードC3を生成し、これをPOS端末3に出力する。   When the service code C2 generated by the second reading unit 53 is stored in the RAM 43, the information output unit 56 combines the service code C2 with the barcode data C1 stored in the RAM 43 by the first reading unit 52. Then, a composite code C3 is generated and output to the POS terminal 3.

図13は、複合コードを説明する図である。図13に示すように、複合コードC3は、スタートコードで始まり、バーコードデータC1と、サービスコードC2と、サービスコードC2のチェックデジットCDと、複合コードC3のチェックデジットCODE128CDとを含んでおり、ストップコードで終わるコードとなっている。POS端末3は、コード読取装置2から受け取った複合コードC3に基づいて、商品60にサービスコードC2が示すサービスを付与した販売登録を行う。   FIG. 13 is a diagram for explaining the composite code. As shown in FIG. 13, the composite code C3 starts with a start code, and includes bar code data C1, a service code C2, a check digit CD of the service code C2, and a check digit CODE 128CD of the composite code C3. The code ends with a stop code. Based on the composite code C3 received from the code reading device 2, the POS terminal 3 performs sales registration in which the service indicated by the service code C2 is given to the product 60.

一例として、図4に示すように、クーポン券80bに100円引きのサービス表示84が含まれていた場合には、第2読取部53が読み取ったサービス情報「−100YEN」をデジタル化したサービスコードC2が生成される。従って、複合コードC3は、商品コード「2101234567890」に対応するバーコードデータC1と、「−100YEN」に対応するサービスコードC2を含むこととなる。POS端末3は、POS端末3または店舗内のホスト端末(不図示)が保持する商品マスタ等を参照して、バーコードデータC1に対応する商品60の価格を読み込む。さらにPOS端末3は、サービスコードC2に基づいて、読み込んだ価格から100円値引をして、商品の販売登録を行う。   As an example, as shown in FIG. 4, when the coupon ticket 80 b includes a service display 84 of 100 yen discount, a service code obtained by digitizing the service information “−100YEN” read by the second reading unit 53. C2 is generated. Therefore, the composite code C3 includes the barcode data C1 corresponding to the product code “21012345567890” and the service code C2 corresponding to “−100YEN”. The POS terminal 3 reads the price of the product 60 corresponding to the barcode data C1 with reference to a product master or the like held by the POS terminal 3 or a host terminal (not shown) in the store. Furthermore, the POS terminal 3 performs sales registration of the product by discounting 100 yen from the read price based on the service code C2.

報知部57は、第1読取部52によって商品情報が読み取られた場合に、商品情報が読み取られた状態にあることをオペレータに報知するため、バーコードオン信号を出力して表示LED24を発光させる。また、報知部57は、情報出力部56がPOS端末3に対して複合コードC3、或いはバーコードデータC1を出力した場合に、バーコードオフ信号を出力して表示LED24を消灯する。   When the product information is read by the first reading unit 52, the notification unit 57 outputs a barcode on signal to cause the display LED 24 to emit light in order to notify the operator that the product information is in a read state. . In addition, when the information output unit 56 outputs the composite code C3 or the barcode data C1 to the POS terminal 3, the notification unit 57 outputs a barcode off signal and turns off the display LED 24.

さらに、報知部57は、情報出力部56がPOS端末3にバーコードデータC1を出力した場合には、ブザー25を駆動して、商品情報のみが読み取られ、サービス情報は読み取られなかったことを示す第1のブザー音(例えば“ピッ”)を鳴らす。   Further, when the information output unit 56 outputs the barcode data C1 to the POS terminal 3, the notification unit 57 drives the buzzer 25 to read only the product information and not the service information. The first buzzer sound shown (for example, “beep”) is sounded.

また、報知部57は、情報出力部56がPOS端末3に複合データC3を出力した場合には、ブザー25を駆動して、商品情報およびサービス情報の双方が読み取られたことを示す第2のブザー音(例えば“ピッ、ピッ”)を鳴らす。   When the information output unit 56 outputs the composite data C3 to the POS terminal 3, the notification unit 57 drives the buzzer 25 to indicate that both the product information and the service information are read. Play a buzzer sound (for example, “beep”).

さらに、報知部57は、判断部54によりクーポン券80bが有効でないと判断された場合に、表示コントローラ48を介してディスプレイ23にメッセージを表示して、金券の不正使用であることを報知する。   Furthermore, when the determination unit 54 determines that the coupon voucher 80b is not valid, the notification unit 57 displays a message on the display 23 via the display controller 48 to notify that the voucher is illegally used.

次に、コード読取装置2が行う商品の販売登録処理について図14を用いて説明する。図14は、コード読取装置が行う情報出力処理の手順を示したフローチャートである。   Next, the merchandise sales registration process performed by the code reader 2 will be described with reference to FIG. FIG. 14 is a flowchart showing a procedure of information output processing performed by the code reader.

コード読取装置2のCPU50は、POS端末3からのコマンドにより業務起動が指令されると、情報出力処理を開始する。画像データ取込部51は、カメラコントローラ49に撮像オン信号を出力し、カメラ20による撮像動作を開始する(ステップS1401)。画像データ取込部51は、カメラ20が撮像した画像データ900をRAM43の画像ワークエリアに取り込む(ステップS1402)。そして、第1読取部52は、上述したバーコード読取処理を開始する(ステップS1403)。   The CPU 50 of the code reading device 2 starts an information output process when a job activation is instructed by a command from the POS terminal 3. The image data capturing unit 51 outputs an imaging on signal to the camera controller 49 and starts an imaging operation by the camera 20 (step S1401). The image data capturing unit 51 captures the image data 900 captured by the camera 20 into the image work area of the RAM 43 (step S1402). Then, the first reading unit 52 starts the barcode reading process described above (step S1403).

第1読取部52は、ステップS1403のバーコード読取処理においてバーコード62の画像902を検出したか否かを判断する(ステップS1404)。バーコード62の画像902を検出していない場合(ステップS1404:No)には、第1読取部52はカメラ20による撮像を続ける(ステップS1402)。   The first reading unit 52 determines whether or not the image 902 of the barcode 62 has been detected in the barcode reading process of step S1403 (step S1404). When the image 902 of the barcode 62 is not detected (step S1404: No), the first reading unit 52 continues the imaging with the camera 20 (step S1402).

バーコード62の画像902を検出している場合(ステップS1404:Yes)には、報知部57は、バーコードオン信号を出力して表示LED24を点灯させ(ステップS1405)、バーコード62の画像902が検出されたことをオペレータに報知する。次いで、第2読取部53は、キーボード22が備えるクーポン使用キーが押下されたか否かを判断する(ステップS1406)。   When the image 902 of the barcode 62 is detected (step S1404: Yes), the notification unit 57 outputs a barcode on signal to light the display LED 24 (step S1405), and the image 902 of the barcode 62 is detected. The operator is notified that is detected. Next, the second reading unit 53 determines whether or not a coupon use key included in the keyboard 22 has been pressed (step S1406).

次に、画像データ取込部51は、キーボード22が備えるクーポン使用キーが押下され(ステップS1406:Yes)、かつ第2読取部53からの指示を受けると、カメラ20が撮像した新たな画像データ1000をRAM43の画像ワークエリアに取り込む(ステップS1407)。そして、第2読取部53は、ステップS1407でRAM43の画像ワークエリアに取り込んだ画像データ1000に対して、サービス情報、通し番号81、店舗名82、および有効期限83の読取処理を開始する(ステップS1408)。そして、判断部54は、第2読取部53により読み取られた通し番号81、店舗名82、および有効期限83を用いて、クーポン券80bが有効なものであるか否かを判断する(ステップS1409)。   Next, when the coupon use key included in the keyboard 22 is pressed (Step S1406: Yes) and the instruction from the second reading unit 53 is received, the image data capturing unit 51 receives new image data captured by the camera 20. 1000 is taken into the image work area of the RAM 43 (step S1407). Then, the second reading unit 53 starts reading the service information, serial number 81, store name 82, and expiration date 83 for the image data 1000 captured in the image work area of the RAM 43 in step S1407 (step S1408). ). Then, the determination unit 54 determines whether the coupon voucher 80b is valid using the serial number 81, the store name 82, and the expiration date 83 read by the second reading unit 53 (step S1409). .

クーポン券80bが有効なものであると判断した場合(ステップS1409:Yes)には、情報出力部56は、RAM43のバーコードワークエリアに格納されているバーコードデータC1とサービスコードワークエリアに格納されているサービスコードC2とから、複合コードC3(図13参照)を生成する(ステップS1410)。そして、情報出力部56は、生成した複合コードC3を通信I/F44を介してPOS端末3に伝送出力する(ステップS1411)。報知部57は、ブザー25を駆動して第2のブザー音を鳴らす(ステップS1412)。さらに、報知部57は、バーコードオフ信号を出力して商品情報が読み取られていることをオペレータに報知していたLED等の表示器を消灯する(ステップS1413)。   When it is determined that the coupon ticket 80b is valid (step S1409: Yes), the information output unit 56 stores the barcode data C1 stored in the barcode work area of the RAM 43 and the service code work area. The composite code C3 (see FIG. 13) is generated from the service code C2 that has been set (step S1410). Then, the information output unit 56 transmits and outputs the generated composite code C3 to the POS terminal 3 via the communication I / F 44 (step S1411). The notification unit 57 drives the buzzer 25 to make a second buzzer sound (step S1412). Further, the notification unit 57 outputs a bar code off signal and turns off the indicator such as an LED that has notified the operator that the product information has been read (step S1413).

その後、POS端末3からのコマンドにより業務終了が指令されたか否かを判断する(ステップS1418)。業務終了が指令されていない場合(ステップS1418:No)には、ステップS1402に戻って、ステップS1402〜S1418を全ての商品の販売登録が終了するまで繰り返す。業務終了が指令された場合には(ステップS1418:Yes)、CPU50は、カメラコントローラ49に撮像オフ信号を出力し(ステップS1419)、カメラ20による撮像動作を終了する。   Thereafter, it is determined whether or not the end of the job is instructed by a command from the POS terminal 3 (step S1418). If the business end is not instructed (step S1418: No), the process returns to step S1402, and steps S1402 to S1418 are repeated until the sales registration of all the products is completed. When the business end is instructed (step S1418: Yes), the CPU 50 outputs an imaging off signal to the camera controller 49 (step S1419), and ends the imaging operation by the camera 20.

一方、クーポン券80bが有効なものでないと判断された場合(ステップS1409:No)、禁止部55は、第2読取部53によってRAM43のサービスコードワークエリアに格納されたサービスコードC2を消去して、第2読取部53により読み取られた通し番号81により識別されるクーポン券80bの利用を禁止する。さらに、報知部57は、ディスプレイ23にメッセージを表示して、クーポン券80bの不正利用が発生したことを報知する(ステップS1414)。   On the other hand, when it is determined that the coupon ticket 80b is not valid (step S1409: No), the prohibition unit 55 deletes the service code C2 stored in the service code work area of the RAM 43 by the second reading unit 53. The use of the coupon ticket 80b identified by the serial number 81 read by the second reading unit 53 is prohibited. Further, the notification unit 57 displays a message on the display 23 to notify that the unauthorized use of the coupon ticket 80b has occurred (step S1414).

次いで、ディスプレイ23にメッセージが表示された場合およびキーボード22が備えるクーポン使用キーが押下されなかった場合(ステップS1406:No)、情報出力部56は、RAM43のバーコードワークエリアに格納されているバーコードデータC1を、通信I/F44を介してPOS端末3に伝送出力する(ステップS1415)。報知部57は、ブザー25を駆動して第1のブザー音を鳴らす(ステップS1416)。また、報知部57は、バーコードオフ信号を出力して商品情報が読み取られていることをオペレータに報知していたLED等の表示器を消灯する(ステップS1417)。その後、CPU50は、ステップS1418に移行する。   Next, when a message is displayed on the display 23 and when the coupon use key included in the keyboard 22 is not pressed (step S1406: No), the information output unit 56 displays the bar stored in the barcode work area of the RAM 43. The code data C1 is transmitted and output to the POS terminal 3 via the communication I / F 44 (step S1415). The notification unit 57 drives the buzzer 25 to sound the first buzzer sound (step S1416). Further, the notification unit 57 outputs a bar code off signal and turns off the indicator such as an LED that has notified the operator that the product information has been read (step S1417). Thereafter, the CPU 50 proceeds to step S1418.

このように本実施形態にかかるコード読取装置2によれば、クーポン券80bの画像1001を含む画像データ1000を撮像し、撮像した画像データ1000を取り込み、取り込んだ画像データ1000から、クーポン券80bの画像1001を検出するとともに、検出したクーポン券80bの画像1001から、通し番号81を読み取り、読み取った通し番号81が、使用済みのクーポン券を識別する通し番号と一致するか否かを判断し、読み取った通し番号81が使用済のクーポン券の通し番号と一致した場合に、読み取った通し番号81により識別されるクーポン券80bの利用を禁止することにより、オペレータがクーポン券80bの確認や回収を行わなくてもクーポン券80bの不正使用を防止できるので、クーポン券80bの利用により生じるオペレータの作業の負担を軽減することができる。   As described above, according to the code reading device 2 according to the present embodiment, the image data 1000 including the image 1001 of the coupon 80b is captured, the captured image data 1000 is captured, and the coupon data 80b is extracted from the captured image data 1000. While detecting the image 1001, the serial number 81 is read from the image 1001 of the detected coupon 80b, and it is determined whether or not the read serial number 81 matches the serial number that identifies the used coupon ticket. If 81 matches the serial number of the used coupon ticket, the coupon certificate 80b identified by the read serial number 81 is prohibited, so that the coupon certificate can be used without the operator confirming or collecting the coupon certificate 80b. Since the unauthorized use of 80b can be prevented, It is possible to reduce the burden on the operator of the work caused by the use.

以上説明したとおり、本実施形態によれば、金券の利用により生じるオペレータの作業の負担を軽減することができる。   As described above, according to the present embodiment, the burden on the operator's work caused by the use of the cash voucher can be reduced.

なお、本実施形態のコード読取装置2で実行されるプログラムは、ROM42等に予め組み込まれて提供されるが、本実施形態のコード読取装置2で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the code reading device 2 of the present embodiment is provided by being incorporated in advance in the ROM 42 or the like. However, the program executed by the code reading device 2 of the present embodiment can be installed or executed The file may be recorded in a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk).

さらに、本実施形態のコード読取装置2で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態の〜装置で実行される〜プログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the code reading device 2 of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. In addition, the program executed in the apparatus of the present embodiment may be provided or distributed via a network such as the Internet.

2 コード読取装置
20 カメラ
51 画像データ取込部
52 第1読取部
53 第2読取部
54 判断部
55 禁止部
56 情報出力部
57 報知部
80b クーポン券
81 通し番号
82 店舗名
83 有効期限
84 サービス表示
2 Code Reading Device 20 Camera 51 Image Data Acquisition Unit 52 First Reading Unit 53 Second Reading Unit 54 Judgment Unit 55 Prohibition Unit 56 Information Output Unit 57 Notification Unit 80b Coupon Voucher 81 Serial Number 82 Store Name 83 Expiration Date 84 Service Display

特開2002−367037公報JP 2002-367037 A

Claims (6)

画像を撮像する撮像手段と、
前記撮像された画像を取り込む取込手段と、
前記取り込んだ画像から、現金の代わりに用いる金券の画像を検出するとともに、前記検出した金券の画像から、金券を識別する金券情報を読み取る読取手段と、
前記読み取った金券情報が、使用済みの金券を識別する使用済金券情報と一致するか否かを判断する判断手段と、
前記読み取った金券情報が前記使用済金券情報と一致すると判断した場合に、前記読み取った金券情報により識別される金券の利用を禁止する禁止手段と、
を備えたことを特徴とする読取装置。
An imaging means for capturing an image;
Capture means for capturing the captured image;
A reading means for detecting a voucher image used instead of cash from the captured image and reading voucher information for identifying the voucher from the detected voucher image;
Judgment means for judging whether or not the read voucher information matches used voucher information for identifying a used voucher;
A prohibiting means for prohibiting the use of the voucher identified by the read voucher information when it is determined that the read voucher information matches the used voucher information;
A reading apparatus comprising:
前記読取手段は、前記検出した金券の画像から、金券の通し番号を前記金券情報として読み取り、
前記判断手段は、前記金券情報として読み取られた通し番号が、使用済の金券の通し番号である前記使用済金券情報と一致するか否かを判断し、
前記禁止手段は、前記金券情報として読み取られた通し番号が、使用済の金券の通し番号である前記使用済金券情報と一致した場合に、前記読み取った金券情報により識別される金券の利用を禁止することを特徴とする請求項1に記載の読取装置。
The reading means reads a serial number of the voucher as the voucher information from the image of the detected voucher,
The determination means determines whether or not the serial number read as the cash voucher information matches the used cash voucher information that is the serial number of the used cash voucher,
The prohibition means prohibits the use of the voucher identified by the read voucher information when the serial number read as the voucher information matches the used voucher information that is the serial number of the used voucher. The reading apparatus according to claim 1.
前記読取手段は、前記検出した金券の画像から、金券の有効期限を読み取り、
前記判断手段は、前記読み取った有効期限が現在の日時を過ぎているか否かを判断し、
前記禁止手段は、前記読み取った有効期限が現在の日時を過ぎていると判断した場合に、前記読み取った金券情報により識別される金券の利用を禁止することを特徴とする請求項1または2に記載の読取装置。
The reading means reads the expiration date of the voucher from the image of the detected cash voucher,
The determination means determines whether the read expiration date has passed the current date and time,
The said prohibition means prohibits the use of the voucher identified by the read voucher information when it is determined that the read expiration date has passed the current date and time. The reading device described.
前記読取手段は、前記検出した金券の画像から、金券を利用可能な店舗名を読み取り、
前記判断手段は、前記読み取った店舗名が、前記金券情報により識別される金券が利用された店舗の店舗名と一致するか否かを判断し、
前記禁止手段は、前記読み取った店舗名が、前記金券情報により識別される金券が利用された店舗の店舗名と一致しなかった場合に、前記読み取った金券情報により識別される金券の利用を禁止することを特徴とする請求項1から3のいずれか一に記載の読取装置。
The reading unit reads a store name that can use the voucher from the image of the detected voucher,
The determination means determines whether or not the read store name matches the store name of the store where the voucher identified by the voucher information is used,
The prohibition means prohibits the use of the voucher identified by the read voucher information when the read store name does not match the store name of the store where the voucher identified by the voucher information is used. The reading apparatus according to any one of claims 1 to 3, wherein:
前記読み取った金券情報が前記使用済金券情報と一致すると判断した場合に、金券の不正使用であることを報知する報知手段をさらに備えたことを特徴とする請求項1から4のいずれか一に記載の読取装置。   The information processing apparatus according to any one of claims 1 to 4, further comprising notification means for notifying that the voucher is illegally used when it is determined that the read voucher information matches the used voucher information. The reading device described. コンピュータを、
撮像手段により撮像された画像を取り込む取込手段と、
前記取り込んだ画像から、現金の代わりに用いる金券の画像を検出するとともに、前記検出した金券の画像から、金券を識別する金券情報を読み取る読取手段と、
前記読み取った金券情報が、使用済みの金券を識別する使用済金券情報と一致するか否かを判断する判断手段と、
前記読み取った金券情報が前記使用済金券情報と一致すると判断した場合に、前記読み取った金券情報により識別される金券の利用を禁止する禁止手段と、
として機能させるためのプログラム。
Computer
Capture means for capturing an image captured by the imaging means;
A reading means for detecting a voucher image used in place of cash from the captured image, and reading voucher information for identifying the voucher from the detected voucher image;
Judgment means for judging whether or not the read voucher information matches used voucher information for identifying a used voucher;
A prohibiting means for prohibiting the use of the voucher identified by the read voucher information when it is determined that the read voucher information matches the used voucher information;
Program to function as.
JP2010179730A 2010-08-10 2010-08-10 Reader and program Pending JP2012038214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010179730A JP2012038214A (en) 2010-08-10 2010-08-10 Reader and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010179730A JP2012038214A (en) 2010-08-10 2010-08-10 Reader and program

Publications (1)

Publication Number Publication Date
JP2012038214A true JP2012038214A (en) 2012-02-23

Family

ID=45850123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010179730A Pending JP2012038214A (en) 2010-08-10 2010-08-10 Reader and program

Country Status (1)

Country Link
JP (1) JP2012038214A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310561A (en) * 2012-03-05 2013-09-18 东芝泰格有限公司 Commodity recognition apparatus and commodity recognition method
JP2017509090A (en) * 2014-12-31 2017-03-30 小米科技有限責任公司Xiaomi Inc. Image classification method and apparatus
EP3537358A1 (en) * 2018-03-05 2019-09-11 Toshiba Tec Kabushiki Kaisha Sales data processing apparatus, information processing apparatus, and information processing method
JP2019219854A (en) * 2018-06-19 2019-12-26 東芝テック株式会社 Article recognition device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09128656A (en) * 1995-10-31 1997-05-16 Fujitsu Ltd Point service system
JP2001143159A (en) * 1999-11-12 2001-05-25 Toshiba Tec Corp Merchandise sales registration data processor
JP2008134731A (en) * 2006-11-27 2008-06-12 Toshiba Tec Corp Sticker reader, data code reader and privilege sticker
JP2008221957A (en) * 2007-03-12 2008-09-25 Mk Seiko Co Ltd Car washing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09128656A (en) * 1995-10-31 1997-05-16 Fujitsu Ltd Point service system
JP2001143159A (en) * 1999-11-12 2001-05-25 Toshiba Tec Corp Merchandise sales registration data processor
JP2008134731A (en) * 2006-11-27 2008-06-12 Toshiba Tec Corp Sticker reader, data code reader and privilege sticker
JP2008221957A (en) * 2007-03-12 2008-09-25 Mk Seiko Co Ltd Car washing device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310561A (en) * 2012-03-05 2013-09-18 东芝泰格有限公司 Commodity recognition apparatus and commodity recognition method
CN103310561B (en) * 2012-03-05 2017-03-01 东芝泰格有限公司 Commodity reading device and commodity read method
JP2017509090A (en) * 2014-12-31 2017-03-30 小米科技有限責任公司Xiaomi Inc. Image classification method and apparatus
EP3537358A1 (en) * 2018-03-05 2019-09-11 Toshiba Tec Kabushiki Kaisha Sales data processing apparatus, information processing apparatus, and information processing method
JP2019219854A (en) * 2018-06-19 2019-12-26 東芝テック株式会社 Article recognition device
CN110619536A (en) * 2018-06-19 2019-12-27 东芝泰格有限公司 Article identification device

Similar Documents

Publication Publication Date Title
JP5663955B2 (en) Checkout system, product registration device, and checkout device
JP4976512B2 (en) Code reader, sales registration system and program
JP5038456B2 (en) Sales registration device, checkout system and program
JP2007272585A (en) Commodity sales data processor
JP4997321B2 (en) Code reader and program
JP5880623B2 (en) Checkout system
JP2013050787A (en) Code reader, sales data processor, and program
CN102265316A (en) Transactional apparatus
CN110378456B (en) Stickers, code symbol reading apparatus and method, readable storage medium, and device
JP2012038214A (en) Reader and program
JPH07234971A (en) Commodity sale register data processor
JP4814181B2 (en) Electronic cash register and POS system
JP2011048460A (en) Public utility bill payment processor and program
US20110315764A1 (en) Code reading apparatus and code reading method
JP2013175099A (en) Code reader, sales registration device and program
JP2011141586A (en) Merchandise return processing system, method of controlling the same, and program
JP2011186683A (en) Merchandise sales data processing apparatus and control program thereof
JP5457310B2 (en) Product code reader and program
JP6175741B2 (en) Payment apparatus, checkout system and program
JP2012053781A (en) Code reading device, information processing unit and program
JP5386603B2 (en) Code reader, sales registration system and program
JP5958672B2 (en) Product registration device, payment device and program
JP7295988B2 (en) Code symbol reader and program
JP2019128782A (en) Accounting system and accounting apparatus
JP5499109B2 (en) Checkout system, product information reading device and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130408

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130611