JP2013225337A - Merchandise code reader and program - Google Patents
Merchandise code reader and program Download PDFInfo
- Publication number
- JP2013225337A JP2013225337A JP2013145826A JP2013145826A JP2013225337A JP 2013225337 A JP2013225337 A JP 2013225337A JP 2013145826 A JP2013145826 A JP 2013145826A JP 2013145826 A JP2013145826 A JP 2013145826A JP 2013225337 A JP2013225337 A JP 2013225337A
- Authority
- JP
- Japan
- Prior art keywords
- label
- code
- image
- service
- information
- 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.)
- Granted
Links
Images
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Abstract
Description
本発明の実施形態は、商品コード読取装置及びプログラムに関する。 Embodiments described herein relate generally to a product code reader and a program.
従来、スーパーマーケット等の小売店では、生鮮品の廃棄ロスを削減するために、閉店時間が近付くと商品を値引して販売することが行われている。この場合、店側は、値引額等のサービス内容を表示したラベル(以下、サービス表示ラベルという)を商品の所定位置に貼付することで、顧客に値引対象商品であることを明示している。また、POS(Point Of Sales)端末のオペレータは、顧客が買上げる商品にサービス表示ラベルが貼付されている場合に、スキャナで当該商品のバーコードを読み取るとともに、キーボードやタッチパネル等を操作することでサービス表示ラベルに応じたサービス(値引等)を提供している。 2. Description of the Related Art Conventionally, in retail stores such as supermarkets, products are discounted and sold when closing time approaches, in order to reduce the waste loss of fresh products. In this case, the store side clearly indicates to the customer that the product is a discount target product by affixing a label (hereinafter referred to as a service display label) indicating the service content such as a discount amount to a predetermined position of the product. . Further, when a service display label is affixed to a product purchased by a customer, a POS (Point Of Sales) terminal operator reads a barcode of the product with a scanner and operates a keyboard, a touch panel, or the like. Services (discounts, etc.) are provided according to the service label.
また、バーコードの読み取りに関し、CCD等のイメージセンサを用いて、バーコード及びサービス表示ラベルを撮像し、この撮像した画像から読み取った商品コード及び値引等に関する情報をPOS端末に出力することで、POS端末における値引処理を自動的に行う技術が知られている。 In addition, regarding barcode reading, an image sensor such as a CCD is used to capture an image of a barcode and a service display label, and information related to a product code and a discount read from the captured image is output to a POS terminal. A technique for automatically performing discount processing in a POS terminal is known.
しかしながら、上述した従来の技術では、悪意ある顧客等により非正規の位置に不正なサービス表示ラベルが貼付された場合に、このサービス表示ラベルを正規のサービス表示ラベルとして処理してしまう可能性があり、更なる改善の余地があった。 However, in the conventional technology described above, when an unauthorized service display label is affixed to an unauthorized location by a malicious customer or the like, the service display label may be processed as an authorized service display label. There was room for further improvement.
実施の形態の商品コード読取装置は、画像取込手段と、コード検出手段と、ラベル検出手段と、判定手段と、送信手段と、確認手段とを備えている。画像取込手段は、撮像手段が撮像した商品の画像を取り込む。コード検出手段は、画像取込手段が取り込んだ画像に含まれるコードシンボルを検出する。ラベル検出手段は、画像取込手段が取り込んだ画像に含まれるサービス内容を表示したサービス表示ラベルを検出する。判定手段は、画像中におけるコードシンボルの検出位置とサービス表示ラベルの検出位置との相対的な位置関係が、予め定められた位置関係と一致するか否かを判定する。送信手段は、判定手段が一致と判定した場合に、コード検出手段が検出したコードシンボルが保持するコード情報を、ラベル検出手段が検出したサービス表示ラベルに対応するラベル情報とともに外部装置に送信する。確認手段は、判定手段が不一致と判定した場合に、ラベル情報の送信を行うか否かをオペレータに確認し、当該オペレータからの指示を受け付ける。また、送信手段は、確認手段が受け付けたオペレータからの指示に応じて、コード情報のみ又は当該コード情報とともにラベル情報を外部装置に送信する。 The product code reader according to the embodiment includes an image capturing unit, a code detection unit, a label detection unit, a determination unit, a transmission unit, and a confirmation unit. The image capturing means captures an image of the product imaged by the imaging means. The code detection unit detects a code symbol included in the image captured by the image capture unit. The label detecting means detects a service display label that displays the service contents included in the image taken in by the image taking means. The determination unit determines whether or not the relative positional relationship between the detection position of the code symbol and the detection position of the service display label in the image matches a predetermined positional relationship. The transmission means transmits the code information held by the code symbol detected by the code detection means to the external device together with the label information corresponding to the service display label detected by the label detection means when the determination means determines that they match. The confirmation unit confirms with the operator whether or not to transmit the label information when the determination unit determines that they do not match, and accepts an instruction from the operator. Further, the transmission means transmits only the code information or the label information together with the code information to the external device in accordance with the instruction from the operator received by the confirmation means.
以下図面を参照し、チェックアウトシステムを例に本実施形態にかかる商品コード読取装置及びプログラムを説明する。なお、本実施形態では、飲食店やスーパーマーケット等の店舗に導入されたチェックアウトシステムに適用した例について説明する。 A product code reading apparatus and program according to the present embodiment will be described below with reference to the drawings, taking a checkout system as an example. In addition, this embodiment demonstrates the example applied to the checkout system introduced into stores, such as a restaurant and a supermarket.
図1は、本実施形態に係るチェックアウトシステムの構成を概略的に示す斜視図である。図1に示すように、チェックアウトシステムは、POS端末100と商品コード読取装置200とを備える。
FIG. 1 is a perspective view schematically showing a configuration of a checkout system according to the present embodiment. As shown in FIG. 1, the checkout system includes a
POS端末100は、顧客が購入する商品の販売登録を行うための商品情報処理装置であって、チェックアウト台11に載置されている。POS端末100は、キーボード101と、オペレータ用の表示器102と、顧客用の表示器103と、プリンタ104と、ドロワ105とを備えている。なお、POS端末100が備える各部については後述する。
The
また、チェックアウト台11とL字を形成するようにして、横長テーブル状のカウンタ台12が配置されている。カウンタ台12の上面には、荷受面13が形成されている。商品コード読取装置200は、この荷受面13に載置され、有線又は無線によりPOS端末100との間で通信可能に接続されている。
A counter table 12 having a horizontally long table is arranged so as to form an L shape with the checkout table 11. A
商品コード読取装置200は、商品に貼付されたバーコードを読み取り、該バーコードが保持する商品コードをPOS端末100に送信(出力)するための装置である。図1に示すように、商品コード読取装置200は、読取窓201と、キーボード202と、オペレータ用の表示器203と、顧客用の表示器204とを備えている。なお、商品コード読取装置200が備える各部については後述する。
The product
荷受面13には、後述するコードラベルやサービス表示ラベルが貼付された各商品Gを収納する買物カゴ14が載置される。買物カゴ14は、顧客によって持ち込まれる第1の買物カゴ14aと、第1の買物カゴ14aから商品コード読取装置200を挟んだ位置に載置される第2の買物カゴ14bとに分別される。
On the
顧客によって持ち込まれた第1の買物カゴ14aには、一取引にかかる商品Gが収納されている。商品Gには、バーコードや二次元コード等のコードシンボルを表したコードラベルや、値引やポイント付加等を表した後述するサービス表示ラベルが貼付されている。コードシンボルには、商品Gに関する商品コードが符号化された状態で保持されている。ここで商品コードは、商品Gを特定するために各商品に割り当てられたコードであり、一例としてJANコードがある。
In the
第1の買物カゴ14a内の商品Gは、商品コード読取装置200を操作するオペレータにより第2の買物カゴ14bへと移動される。この移動過程で、コードラベル及びサービス表示ラベルが商品コード読取装置200の読取窓201に向けられる。この際、読取窓201内に設けられた後述する撮像部216(図2参照)は、コードラベルやサービス表示ラベルを撮像する。
The commodity G in the
商品コード読取装置200では、撮像部216により撮像された画像に含まれるコードシンボルを検出しデコード(復号)することで、商品Gに関する商品コードを読み取る。なお、本実施形態ではコードシンボルとしてバーコードを用いた例を説明するが、これに限らず二次元コードを用いる形態としてもよい。
The
次に、図2を参照して、チェックアウトシステムの構成について説明する。ここで、図2は、POS端末100及び商品コード読取装置200の構成を示すブロック図である。
Next, the configuration of the checkout system will be described with reference to FIG. Here, FIG. 2 is a block diagram showing the configuration of the
図2に示すように、POS端末100は、情報処理を実行するマイクロコンピュータとして、CPU(Central Processing Unit)111、ROM(Read Only Memory)112及びRAM(Random Access Memory)113を備えている。
As shown in FIG. 2, the
CPU111は、ROM112や後述する記憶部114に記憶された各種プログラムを実行することにより、POS端末100を統括的に制御する。ROM112は、基本動作を行うためのプログラムが記憶される。RAM113は、POS端末100の主記憶装置であって、CPU111のワークエリアとして機能する。
The CPU 111 performs overall control of the
また、CPU111には、各種の入出力回路(図示せず)を介して、上述したキーボード101、表示器102、表示器103、プリンタ104及びドロワ105が接続されている。
Further, the above-described
キーボード101は、POS端末100を操作するオペレータから入力されたキーの情報(以下、キー情報という)をCPU111に通知する入力デバイスである。このキーボード101には、数字や演算子を入力するためのテンキーや、商品代金の決済に必要な締めキー等の各種操作キーが配設されている。
The
表示器102及び表示器103は、LCD(Liquid Crystal Display)等の表示デバイスを有し、CPU111の指示に基づいて商品の名称や価格等の各種の情報を表示する。ここで、表示器102は、POS端末100を操作するオペレータ用の表示器であって、その表示面がオペレータに向けて配置されている(図1参照)。また、表示器103は、顧客用の表示器であって、その表示面が顧客に向けて配置されている(図1参照)。なお、表示器102をタッチパネル構成とすることで、キーボード101の全てのキー又は一部のキーをタッチパネル上に実現する形態としてもよい。
The
プリンタ104は、サーマルプリンタ等の印刷装置であって、CPU111の制御に従い、レシートやジャーナル等を印字する。ドロワ105は、現金等を収容するためのキャッシュドロワであって、CPU111の制御に従い開閉する。
The
また、CPU111には、各種の入出力回路(図示せず)を介して、記憶部114及び通信I/F115が接続されている。 The CPU 111 is connected to a storage unit 114 and a communication I / F 115 via various input / output circuits (not shown).
記憶部114は、HDD(Hard Disk Drive)やフラッシュメモリ等の記憶媒体であって、CPU111が実行可能なプログラム114aや各種ファイルを記憶している。記憶部114に記憶されるプログラム114aの例としては、商品の販売登録処理用のプログラムが挙げられる。また、記憶部114に記憶されるファイルの例としては、PLUファイル114b等が挙げられる。ここで、PLUファイル114bは、各商品にユニークに割り当てられた商品コードと、その商品の名称、価格、商品分類等の商品に関する情報とを対応付けて管理するためのファイルである。
The storage unit 114 is a storage medium such as an HDD (Hard Disk Drive) or a flash memory, and stores a
通信I/F115は、商品コード読取装置200とデータ通信を行うためのインタフェースである。CPU111は、この通信I/F115を介し、商品コード読取装置200との間で種々のデータを送受信する。
The communication I / F 115 is an interface for performing data communication with the product
一方、商品コード読取装置200も、情報処理を実行するマイクロコンピュータとして、CPU211、ROM212及びRAM213を備えている。
On the other hand, the product
CPU211は、ROM212や後述する記憶部217に記憶された各種プログラムを実行することにより、商品コード読取装置200を統括的に制御する。ROM212は、基本動作を行うためのプログラムが記憶される。RAM213は、商品コード読取装置200の主記憶装置であって、CPU211のワークエリアとして機能する。
The
また、CPU211には、各種の入出力回路(図示せず)を介して、上述したキーボード202、表示器203及び表示器204が接続されている。
In addition, the above-described
キーボード202は、商品コード読取装置200を操作するオペレータから入力されたキー情報をCPU211に通知する入力デバイスである。このキーボード202は、販売個数の入力や、バーコードを読み取ることができない商品の商品コードの入力を行う場合等に用いられる。
The
表示器203及び表示器204は、LCD等の表示デバイスを有し、CPU211の指示に基づいて商品の名称や価格等の各種の情報を表示する。ここで、表示器203は、商品コード読取装置200を操作するオペレータ用の表示器であって、その表示面がオペレータに向けて配置されている(図1参照)。また、表示器204は、顧客用の表示器であって、その表示面が顧客に向けて配置されている(図1参照)。なお、表示器203をタッチパネル構成とすることで、キーボード202の全てのキー又は一部のキーを該タッチパネル上に実現する形態としてもよい。
The
また、CPU211には、各種の入出力回路(図示せず)を介して、通信I/F214、計時部215、撮像部216及び記憶部217が接続されている。
The
通信I/F214は、POS端末100とデータ通信を行うためのインタフェースである。CPU211は、この通信I/F214を介し、POS端末100との間で種々のデータを送受信する。計時部215は、RTC等の計時装置であって、現在日時(時間)をCPU211に出力する。
The communication I /
撮像部216は、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等のイメージセンサであって、図1に示した読取窓201内に設けられている。また、撮像部216は、CPU211の制御に従い、商品に付されたコードシンボルやサービス表示ラベルを撮像する。
The imaging unit 216 is an image sensor such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and is provided in the
ここで、図3を参照して、撮像部216の撮像領域と商品Gとの関係について説明する。図3は、撮像部216の撮像領域と商品Gとの関係の一例を示す図である。図中2点鎖線で囲った領域は、撮像部216が1フレームで撮像できる領域である撮像領域216aである。また、図3に示す商品Gには、コードラベルCLに加えて、サービス表示ラベルの一例である値引ラベルSL1が貼付されている。
Here, with reference to FIG. 3, the relationship between the imaging region of the imaging part 216 and the goods G is demonstrated. FIG. 3 is a diagram illustrating an example of the relationship between the imaging region of the imaging unit 216 and the product G. A region surrounded by a two-dot chain line in the figure is an
コードラベルCLには、商品名「豚バラうす切り」や商品価格「200円」の他、コードシンボルとしてバーコードBC等が表されている。また、バーコードBCの下部には、このバーコードBCに組み込まれている商品コードの数値「2101234567890」が表されている。 In the code label CL, a bar code BC or the like is represented as a code symbol in addition to the product name “pig rose thin slice” and the product price “200 yen”. In addition, a numerical value “21012345567890” of a product code incorporated in the barcode BC is displayed below the barcode BC.
また、値引ラベルSL1には、商品Gに関する値引額を示す文字情報「表示価格より50円引き」が表示されている。なお、サービス表示ラベルとしては、商品Gに付され、商品Gの購入時に付与されるサービスに関するサービスを表示しているものであればよい。サービス表示ラベルの他の例としては、図4に示すように、商品Gの値引率を表示した値引ラベルSL2や、図5に示すように、割増して付与するポイント数を表示したポイント割増ラベルSL3等が挙げられる。なお、サービス表示ラベルをロゴタイプ(logotype)等で表す形態としてもよい。 In addition, the discount label SL1 displays character information “50 yen discount from display price” indicating the discount amount for the product G. In addition, as a service display label, what is attached | subjected to the goods G and displays the service regarding the service provided at the time of the purchase of the goods G should just be displayed. As another example of the service display label, as shown in FIG. 4, the discount label SL2 that displays the discount rate of the product G, or the point premium label that displays the number of points to be added as shown in FIG. SL3 etc. are mentioned. The service display label may be represented by a logotype or the like.
図2に戻り、記憶部217は、HDDやフラッシュメモリ等の記憶媒体であって、CPU211が実行可能なプログラム217aや、各種ファイルを記憶している。ここで、記憶部217に記憶されるプログラム217aの例としては、撮像部216の制御用プログラムや、コードシンボル読取用のプログラム、OCRやパターンマッチング等の画像や文字認識用のプログラム等が挙げられる。また、記憶部217は、商品コード読取装置200の動作に必要なファイルとして、ラベル特徴ファイル217bと、貼付位置定義ファイル217cとを保持している。
Returning to FIG. 2, the
ラベル特徴ファイル217bは、サービス表示ラベルの特徴と、サービス表示ラベルが示すサービスの内容とを対応付けたデータテーブルである。ここで、図6は、ラベル特徴ファイル217bを説明するための図である。同図に示すように、ラベル特徴ファイル217bは、サービス表示ラベルが含む文字やシンボルの特徴を示したラベル特徴データと、当該サービス表示ラベルに対応するラベル情報として、このサービス表示ラベルによって商品に付与されるサービス内容を示したサービス情報と、を対応付けて記憶している。
The
より詳細には、ラベル特徴データとは、サービス表示ラベルからパターン認識やOCR等の認識処理によって抽出される情報である。即ち、図3に示すように、「表示価格より50円引き」と記載された値引ラベルSL1については、図6のラベル特徴ファイル217bにおいてNo.1のラベル特徴データに示すように、「50、円、引」という情報がパターン認識や文字認識処理によって抽出される。同様に、図4、図5に示す値引ラベルSL2、ポイント割増ラベルSL3に対しても、図6のNo.2、No.3のラベル特徴データに示すように、「10、%、引」や「10、ポイント」という値引やポイント付与に関する情報が抽出される。
More specifically, the label feature data is information extracted from the service display label by a recognition process such as pattern recognition or OCR. That is, as shown in FIG. 3, the discount label SL1 described as “50 yen discount from display price” is No. in the
また、サービス情報とは、サービス表示ラベルから読み取った値引やポイント付与等のサービス内容に関する情報を、POS端末100の販売登録処理において使用できるよう英数値に変換した情報のことである、即ち、図6に示すように、ラベル特徴データ「50、円、引」に対しては、50円の値引を意味するサービス情報「−50YEN」が対応付けて記憶されている。また、ラベル特徴データ「10、%、引」に対しては、10%の値引を意味するサービス情報「−10%」が対応付けて記憶されている。さらに、ラベル特徴データ「10、ポイント」に対しては、10ポイントのポイント割増を意味するサービス情報「+10P」が対応付けて記憶されている。
The service information is information obtained by converting information about service contents such as discounts and point grants read from the service display label into alphanumeric values so that they can be used in the sales registration process of the
貼付位置定義ファイル217cは、商品Gに付されるコードシンボル(バーコード)と、サービス表示ラベルとの相対的な位置関係を定義したデータを保持するファイルである。貼付位置定義ファイル217cに定義されるコードシンボルとサービス表示ラベルとの位置関係は、サービス表示ラベルの正規の貼付位置を定めるためのものであって、後述する貼付位置判定部224は、この貼付位置定義ファイル217cに定義された位置関係に基づいてサービス表示ラベルが正規の位置に貼付されているか否かを判定する。
The pasting
ここで、図7は、貼付位置定義ファイル217cが保持するデータの一例を模式的に示した図である。同図では、コードシンボルの存在位置(以下、コード位置CPという)と、サービス表示ラベルの存在位置(以下、ラベル位置LPという)との相対的な位置関係を示しており、コード位置CPとラベル位置LPとが略並列に所定の間隙を隔てて配置されている。なお、同図では、実際のコードシンボルの大きさに準じてコード位置CP(斜線範囲)を定めているため、当該コード位置CPの大きさからラベル位置LPとの離間距離を特定することができる。
Here, FIG. 7 is a diagram schematically illustrating an example of data held in the pasting
次に、商品コード読取装置200が有する特徴的な機能について説明する。CPU211は、ROM212や記憶部217が記憶するプログラムとの協働により、図2に示すように、画像データ取込部221、コード読取部222、ラベル読取部223、貼付位置判定部224及び情報出力部225を実現させる。
Next, characteristic functions of the product
画像データ取込部221は、撮像部216に撮像オン信号を出力することで撮像部216に撮像動作を開始させる。画像データ取込部221は、撮像部216が撮像した撮像領域216a内の画像データを取り込んで、RAM213に格納する。また、画像データ取込部221は、ラベル読取部223の指示を受けた場合に、撮像部216が撮像した撮像領域216a内の画像データを取り込んで、RAM213に格納する。
The image
コード読取部222は、画像データ取込部221がRAM213に格納した画像データから、バーコードの画像を検出し、該バーコードが保持する商品コードを読み取るバーコード読取処理を行う。具体的に、コード読取部222は、RAM213に格納された1フレームの画像データを二値化し、この二値化したデータ内にバーコードに関するデータ領域が存在するか否かを検出する。コード読取部222は、バーコードに関するデータ領域を検出した場合には、そのバーコードをデコードし、デコードしたデータを商品Gの商品コードとして読み取る。そして、コード読取部222は、読み取った商品コードをRAM213に格納する。
The
ラベル読取部223は、画像データ取込部221がRAM213の画像ワークエリアに格納した1フレームの画像データから、サービス表示ラベルの画像を検出するラベル読取処理を行う。このラベル読取処理では、ラベル読取部223は、パターン認識やOCR文字認識によりサービス表示ラベルが含む文字や絵やシンボル等の特徴と、ラベル特徴ファイル217bのラベル特徴データ(図6参照)とを照合し、一致度の高いラベル特徴データを検出した場合に、サービス表示ラベルを検出したと判定する。そして、ラベル読取部223は、サービス表示ラベルの画像を検出すると、この検出したラベル特徴データに該当するサービス情報を貼付位置定義ファイル217cから読み取り、この読み取ったサービス情報をRAM213に格納する。
The
貼付位置判定部224は、画像データ取込部221により取り込まれた1フレームの画像データからコード読取部222が検出したバーコードの検出位置と、当該画像データかたラベル読取部223が検出したサービス表示ラベルの検出位置とに基づいて、バーコードとサービス表示ラベルとの相対的な位置関係と特定する。
The pasting
また、貼付位置判定部224は、特定したバーコードとサービス表示ラベルとの相対的な位置関係と、貼付位置定義ファイル217cに定義されたコード位置CPとラベル位置LPとの位置関係とを比較し、両位置関係が一致(又は略一致)するか否かを判定する。そして、貼付位置判定部224は、両位置関係が一致すると判定した場合に、サービス表示ラベルが正規の位置に貼付されていると判断し、このサービス表示ラベルのサービス情報を情報出力部225からPOS端末100に送信させる。
In addition, the pasting
一方、貼付位置判定部224は、両位置関係が不一致と判定した場合に、サービス表示ラベルが正規の位置に貼付されていないと判断し、その旨を報知するメッセージをオペレータ用の表示器203に表示する。そして、貼付位置判定部224は、サービス情報の送信を行うか否かをオペレータに確認する画面を表示器203に表示し、オペレータからの指示に応じて、このサービス表示ラベルのサービス情報を情報出力部225からPOS端末100に送信させる。
On the other hand, when the pasting
以下、図8及び図9を参照して、貼付位置判定部224の動作について説明する。ここで、図8及び図9は、商品Gに付されたバーコードBC及び値引ラベルSL1の位置関係と、貼付位置定義ファイル217cに定義されたコード位置CP及びラベル位置LPの位置関係とを説明するための図である。なお、バーコードBC及び値引ラベルSL1は、同一の撮像領域216a内に含まれているものとする。
Hereinafter, with reference to FIG. 8 and FIG. 9, the operation of the pasting
図8において、バーコードBCと値引ラベルSL1との位置関係は、貼付位置定義ファイル217cに定義されたコード位置CPとラベル位置LPとの位置関係と一致している。この場合、貼付位置判定部224は、撮像領域216a内でのバーコードBCと値引ラベルSL1との相対的な位置関係と、コード位置CPとラベル位置LPとの位置関係との比較結果から両位置関係が一致と判定する。そのため、貼付位置判定部224は、この値引ラベルSL1から読み取られたサービス情報(−50YEN)を、情報出力部225からPOS端末100に送信させる。
In FIG. 8, the positional relationship between the barcode BC and the discount label SL1 matches the positional relationship between the code position CP and the label position LP defined in the pasting
一方、図9では、バーコードBCと値引ラベルSL1との位置関係は、貼付位置定義ファイル217cに定義されたコード位置CPとラベル位置LPとの位置関係と一致していない。この場合、貼付位置判定部224は、撮像領域216a内でのバーコードBCと値引ラベルSL1との相対的な位置関係と、コード位置CPとラベル位置LPとの位置関係との比較結果から両位置関係が不一致と判定し、サービス情報の送信を抑制する。
On the other hand, in FIG. 9, the positional relationship between the barcode BC and the discount label SL1 does not match the positional relationship between the code position CP and the label position LP defined in the pasting
なお、貼付位置判定部224は、貼付位置定義ファイル217cに定義されたコード位置CPとラベル位置LPとの相対的な位置関係を維持しつつ、コード位置CP及びラベル位置LP全体の回転や拡大/縮小を行うことで、実際に撮像されたバーコードBC及び値引ラベルSL1の位置関係と比較可能な状態に、コード位置CP及びラベル位置LPを調整するものとする。
The pasting
図2に戻り、情報出力部225は、RAM213に格納された商品コードを、通信I/F214を介しPOS端末100に送信(出力)する。また、情報出力部225は、貼付位置判定部224の制御に従い、RAM213に格納されたサービス情報を、商品コードとともにPOS端末100に送信する。
Returning to FIG. 2, the
例えば、図3に示すように、商品Gに50円引きの値引ラベルSL1が貼付されていた場合、ラベル読取部223は、値引ラベルSL1に該当するサービス情報「−50YEN」を図6に示したラベル特徴ファイル217bから読み取り、サービス情報をRAM213に格納する。従って、商品コード読取装置200は、貼付位置判定部224からサービス情報の送信が指示された場合、バーコードBCから読み取られた「2101234567890」を表わす商品コードと、「−50YEN」を表わすサービス情報との組をPOS端末100に送信することになる。
For example, as shown in FIG. 3, when a 50 yen discount label SL1 is attached to the product G, the
一方、POS端末100のCPU111では、商品コード読取装置200から商品コードを受け付けると、PLUファイル114bを参照して、その商品コードに対応する商品の価格等を読み込む。さらにPOS端末100は、商品コードとともにサービス情報を受け付けた場合には、そのサービス情報が表わすサービス内容に応じた処理を施す。例えば、サービス情報が「−50YEN」を表わす場合には、商品マスタに基づいて読み込んだ価格から50円を値引して商品の販売登録を行う。
On the other hand, when the CPU 111 of the
次に、図10を参照して、本実施形態のチェックアウトシステムの動作について説明する。ここで、図10は、商品コード読取装置200が行う情報出力処理の手順を示すフローチャートである。
Next, the operation of the checkout system of this embodiment will be described with reference to FIG. Here, FIG. 10 is a flowchart showing a procedure of information output processing performed by the product
商品コード読取装置200のCPU211は、POS端末100から入力される所定の信号により業務起動が指示されると、情報出力処理を開始する。画像データ取込部221は、撮像部216に撮像オン信号を出力し、撮像部216による撮像動作を開始する(ステップS11)。画像データ取込部221は、撮像部216が撮像した画像データをRAM213に取り込む(ステップS12)。そして、コード読取部222は、上述したバーコード読取処理を開始する(ステップS13)。
When the business activation is instructed by a predetermined signal input from the
コード読取部222は、ステップS13のバーコード読取処理においてバーコードを検出したか否かを判定する(ステップS14)。バーコードを検出することができない場合には(ステップS14;No)、ステップS12に再び戻り、コード読取部222は撮像部216による撮像を継続する。
The
バーコードを検出した場合(ステップS14:Yes)、ラベル読取部223は、ステップS12でRAM213に取り込まれた画像データに対して、ラベル読取処理を開始する(ステップS15)。そして、ラベル読取部223は、ステップS13のラベル読取処理においてサービス表示ラベルを検出したか否かを判定する(ステップS16)。ここで、ラベル読取部223がサービス表示ラベルを検出できない場合(ステップS16;No)、ステップS22に直ちに移行する。
When the barcode is detected (step S14: Yes), the
また、ラベル読取部223がサービス表示ラベルを検出すると(ステップS16:Yes)、貼付位置判定部224は、ステップS13のバーコード読取処理で検出されたバーコードの画像と、ステップS15のラベル読取処理で検出されたサービス表示ラベルの画像との相対的な位置関係と、貼付位置定義ファイル217cに定義されたコード位置CPとラベル位置LPとの位置関係とを比較する(ステップS17)。ここで、両位置関係が一致と判定すると(ステップS18;No)、貼付位置判定部224は、サービス表示ラベルが正規の位置に貼付されていると判断し、ステップS23に移行する。
When the
一方、両位置関係が不一致と判定すると(ステップS18;No)、貼付位置判定部224は、サービス表示ラベルが正規の位置に貼付されていないと判断し、その旨を報知するメッセージを表示器203に表示する(ステップS19)。続いて、貼付位置判定部224は、サービス情報の送信を行うか否かを商品コード読取装置200のオペレータに確認する画面を表示し(ステップS20)、オペレータからの入力を待機する(ステップS21)。
On the other hand, if it is determined that the positional relationship is inconsistent (step S18; No), the pasting
ここで、図11は、ステップS19及びS20で表示される表示画面の一例を示す図である。同図に示すように、サービス表示ラベルが非正規の位置に貼付されていることを報知するメッセージが表示器203に表示される。これにより、商品コード読取装置200を操作するオペレータは、表示器203に表示されたこのメッセージにより、サービス表示ラベルが正規の位置に貼付されていないことを容易に把握することができる。
Here, FIG. 11 is a diagram showing an example of the display screen displayed in steps S19 and S20. As shown in the figure, a message notifying that the service display label is affixed at an irregular position is displayed on the
また、図11において、選択ボタンB11及びB12は、サービス情報の送信を行うか否かを指示するためのボタンである。ここで、選択ボタンB11は、サービス情報を送信することを指示するためのボタンであり、選択ボタンB12は、サービス情報を送信しないことを指示するためのボタンである。なお、選択ボタンB11、B12の選択は、キーボード202やタッチパネル操作により行われるものとする。
In FIG. 11, selection buttons B11 and B12 are buttons for instructing whether or not to transmit service information. Here, the selection button B11 is a button for instructing transmission of service information, and the selection button B12 is a button for instructing not to transmit service information. The selection buttons B11 and B12 are selected by
図10に戻り、貼付位置判定部224がサービス情報の非送信が指示されたと判定すると(ステップS21;No)、ステップS22に移行する。ステップS22において、情報出力部225は、RAM213に格納された商品コードを、通信I/F214を介してPOS端末100に送信し(ステップS22)、ステップS24に移行する。
Returning to FIG. 10, when the pasting
一方、サービス情報の送信が指示されたと判定すると(ステップS21;Yes)、貼付位置判定部224は、情報出力部225に対しサービス情報の送信を指示する。次いで、情報出力部225は、RAM213に格納された商品コード及びサービス情報を、通信I/F214を介してPOS端末100に送信し(ステップS23)、ステップS24に移行する。
On the other hand, when it is determined that the transmission of the service information is instructed (step S21; Yes), the pasting
ステップS24において、CPU211は、POS端末100から入力される所定の信号により取引の終了が指示されたか否かを判定する(ステップS24)。ここで、取引終了が指示されない場合には(ステップS24;No)、ステップS12に再び戻り、ステップS12〜S23を全ての商品の販売登録が完了するまで繰り返し実行する。また、取引の終了が指示された場合(ステップS24;Yes)、画像データ取込部221は、撮像部216に撮像オフ信号を出力し、撮像部216による撮像動作を停止した後(ステップS25)、本処理を終了する。
In step S24, the
以上のように、本実施形態の商品コード読取装置200によれば、撮像部216が撮像した画像データに含まれるコードシンボル及びサービス表示ラベルの相対的な位置関係と、貼付位置定義ファイル217cに定義された位置関係とを比較することで、サービス表示ラベルが正規の位置に貼付されているか否かを判定するため、非正規の位置に貼付されたサービス表示ラベルを検出することができる。
As described above, according to the product
また、位置関係が不一致と判定した場合に、サービス情報の送信を行うか否かをオペレータに確認し、送信を行う旨の指示を受け付けた場合に、商品コードとサービス情報との送信を行うことで、当該サービス情報に応じたサービスを提供することができる。これにより、顧客に対するサービスの提供を柔軟且つ円滑に進めることができる。 In addition, when it is determined that the positional relationship is inconsistent, the operator confirms whether or not to transmit service information, and when an instruction to transmit is received, the product code and service information are transmitted. Thus, a service corresponding to the service information can be provided. Thereby, provision of the service with respect to a customer can be advanced flexibly and smoothly.
以上、本発明の実施形態について説明したが、本発明はこれに限定されるものではなく、本発明の主旨を逸脱しない範囲での種々の変更、置換、追加等が可能である。 The embodiment of the present invention has been described above, but the present invention is not limited to this, and various modifications, substitutions, additions, and the like are possible without departing from the spirit of the present invention.
例えば、上記実施形態では、コードシンボル及びサービス表示ラベルの相対的な位置関係が、貼付位置定義ファイル217cに定義された位置関係と一致しない場合、このサービス表示ラベルに対応するサービス情報の送信を商品コード読取装置200のオペレータに確認する形態としたが、これに限らず、ステップS19の後直ちにステップS22に移行することで、オペレータへの確認を省略する形態としてもよい。
For example, in the above embodiment, if the relative positional relationship between the code symbol and the service display label does not match the positional relationship defined in the pasting
また、上記実施形態のPOS端末100及び商品コード読取装置200で実行されるプログラムを、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。
In addition, the program executed by the
また、上記実施形態のPOS端末100及び商品コード読取装置200で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上記実施形態のPOS端末100及び商品コード読取装置200で実行されるプログラムを、インターネット等のネットワーク経由で提供又は配布するように構成してもよい。
In addition, the program executed by the
11 チェックアウト台
12 カウンタ台
13 荷受面
14、14a、14b 買物カゴ
100 POS端末
101 キーボード
102 表示器
103 表示器
104 プリンタ
105 ドロワ
111 CPU
112 ROM
113 RAM
114 記憶部
114a プログラム
114b PLUファイル
115 通信I/F
200 商品コード読取装置
201 読取窓
202 キーボード
203 表示器
204 表示器
211 CPU
212 ROM
213 RAM
214 通信I/F
215 計時部
216 撮像部
217 記憶部
217a プログラム
217b ラベル特徴ファイル
217c 貼付位置定義ファイル
221 画像データ取込部
222 コード読取部
223 ラベル読取部
224 貼付位置判定部
225 情報出力部
DESCRIPTION OF
112 ROM
113 RAM
114
200 Product
212 ROM
213 RAM
214 Communication I / F
215 Timing unit 216
実施の形態の商品コード読取装置は、画像取込手段と、コード検出手段と、ラベル検出手段と、記憶手段と、調整手段と、判定手段と、送信手段とを備えている。画像取込手段は、撮像手段が撮像した商品の画像を取り込む。コード検出手段は、前記画像取込手段が取り込んだ画像に含まれるコードシンボルを検出する。ラベル検出手段は、前記画像取込手段が取り込んだ画像に含まれる表示ラベルを検出する。記憶手段は、前記コードシンボルと前記表示ラベルとの相対的な位置関係を定義した定義ファイルを記憶する。調整手段は、前記定義ファイルに定義された前記コードシンボル及び前記表示ラベル全体の大きさ又は向きを、相対的な位置関係を維持した状態で調整する。判定手段は、前記画像中から検出された前記コードシンボル及び前記表示ラベルの位置関係と、前記調整手段で調整された前記コードシンボル及び前記表示ラベルの位置関係とを比較し、両位置関係が一致するか否かを判定する。送信手段は、前記判定手段が一致と判定した場合に、前記コード検出手段が検出したコードシンボルが保持するコード情報と、前記ラベル検出手段が検出した表示ラベルに対応するラベル情報とを外部装置に送信する。The product code reader according to the embodiment includes an image capturing unit, a code detection unit, a label detection unit, a storage unit, an adjustment unit, a determination unit, and a transmission unit. The image capturing means captures an image of the product imaged by the imaging means. The code detecting means detects a code symbol included in the image taken by the image taking means. The label detecting unit detects a display label included in the image captured by the image capturing unit. The storage means stores a definition file that defines a relative positional relationship between the code symbol and the display label. The adjusting unit adjusts the size or orientation of the code symbol and the entire display label defined in the definition file while maintaining a relative positional relationship. The determination unit compares the positional relationship between the code symbol and the display label detected from the image with the positional relationship between the code symbol and the display label adjusted by the adjustment unit, and the positional relationship is identical. It is determined whether or not to do. The transmission means transmits, to an external device, code information held by the code symbol detected by the code detection means and label information corresponding to the display label detected by the label detection means when the determination means determines that they match. Send.
Claims (3)
前記画像取込手段が取り込んだ画像に含まれるコードシンボルを検出するコード検出手段と、
前記画像取込手段が取り込んだ画像に含まれるサービス内容を表示したサービス表示ラベルを検出するラベル検出手段と、
前記画像中における前記コードシンボルの検出位置と前記サービス表示ラベルの検出位置との相対的な位置関係が、予め定められた位置関係と一致するか否かを判定する判定手段と、
前記判定手段が一致と判定した場合に、前記コード検出手段が検出したコードシンボルが保持するコード情報を、前記ラベル検出手段が検出したサービス表示ラベルに対応するラベル情報とともに外部装置に送信する送信手段と、
前記判定手段が不一致と判定した場合に、前記ラベル情報の送信を行うか否かをオペレータに確認し、当該オペレータからの指示を受け付ける確認手段と、
を備え、
前記送信手段は、前記確認手段が受け付けた前記オペレータからの指示に応じて、前記コード情報のみ又は当該コード情報とともに前記ラベル情報を前記外部装置に送信することを特徴とする商品コード読取装置。 Image capturing means for capturing an image of the product imaged by the imaging means;
Code detecting means for detecting a code symbol included in the image captured by the image capturing means;
Label detection means for detecting a service display label displaying the service content included in the image captured by the image capture means;
Determining means for determining whether a relative positional relationship between the detection position of the code symbol and the detection position of the service display label in the image matches a predetermined positional relationship;
Transmission means for transmitting code information held by the code symbol detected by the code detection means together with label information corresponding to the service display label detected by the label detection means to an external device when the determination means determines that they match. When,
When the determination means determines that there is a mismatch, the operator confirms whether or not to transmit the label information, and a confirmation means for receiving an instruction from the operator;
With
The product code reading device, wherein the transmission unit transmits only the code information or the label information together with the code information to the external device in accordance with an instruction from the operator received by the confirmation unit.
撮像手段が撮像した商品の画像を取り込む画像取込手段と、
前記画像取込手段が取り込んだ画像に含まれるコードシンボルを検出するコード検出手段と、
前記画像取込手段が取り込んだ画像に含まれるサービス内容を表示したサービス表示ラベルを検出するラベル検出手段と、
前記画像中における前記コードシンボルの検出位置と前記サービス表示ラベルの検出位置との相対的な位置関係が、予め定められた位置関係と一致するか否かを判定する判定手段と、
前記判定手段が一致と判定した場合に、前記コード検出手段が検出したコードシンボルが保持するコード情報を、前記ラベル検出手段が検出したサービス表示ラベルに対応するラベル情報とともに外部装置に送信する送信手段と、
前記判定手段が不一致と判定した場合に、前記ラベル情報の送信を行うか否かをオペレータに確認し、当該オペレータからの指示を受け付ける確認手段と、
して機能させ、
前記送信手段は、前記確認手段が受け付けた前記オペレータからの指示に応じて、前記コード情報のみ又は当該コード情報とともに前記ラベル情報を前記外部装置に送信することを特徴とするプログラム。 Computer
Image capturing means for capturing an image of the product imaged by the imaging means;
Code detecting means for detecting a code symbol included in the image captured by the image capturing means;
Label detection means for detecting a service display label displaying the service content included in the image captured by the image capture means;
Determining means for determining whether a relative positional relationship between the detection position of the code symbol and the detection position of the service display label in the image matches a predetermined positional relationship;
Transmission means for transmitting code information held by the code symbol detected by the code detection means together with label information corresponding to the service display label detected by the label detection means to an external device when the determination means determines that they match. When,
When the determination means determines that there is a mismatch, the operator confirms whether or not to transmit the label information, and a confirmation means for receiving an instruction from the operator;
To function,
The transmission means transmits the label information only to the code information or together with the code information to the external device in accordance with an instruction from the operator received by the confirmation means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013145826A JP5599494B2 (en) | 2013-07-11 | 2013-07-11 | Product code reader and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013145826A JP5599494B2 (en) | 2013-07-11 | 2013-07-11 | Product code reader and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010197127A Division JP5320360B2 (en) | 2010-09-02 | 2010-09-02 | Product code reader and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013225337A true JP2013225337A (en) | 2013-10-31 |
JP5599494B2 JP5599494B2 (en) | 2014-10-01 |
Family
ID=49595297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013145826A Active JP5599494B2 (en) | 2013-07-11 | 2013-07-11 | Product code reader and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5599494B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004272859A (en) * | 2003-03-07 | 2004-09-30 | Sony Corp | Image collating device, image collating method and program |
JP2005071262A (en) * | 2003-08-27 | 2005-03-17 | Casio Comput Co Ltd | Slip processing system |
JP2007293764A (en) * | 2006-04-27 | 2007-11-08 | Toshiba Tec Corp | Attendant terminal |
JP2008257429A (en) * | 2007-04-04 | 2008-10-23 | Toshiba Tec Corp | Merchandise sales data processor |
JP2009289286A (en) * | 2009-09-08 | 2009-12-10 | Toshiba Tec Corp | Data code reading apparatus and reading method thereof |
-
2013
- 2013-07-11 JP JP2013145826A patent/JP5599494B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004272859A (en) * | 2003-03-07 | 2004-09-30 | Sony Corp | Image collating device, image collating method and program |
JP2005071262A (en) * | 2003-08-27 | 2005-03-17 | Casio Comput Co Ltd | Slip processing system |
JP2007293764A (en) * | 2006-04-27 | 2007-11-08 | Toshiba Tec Corp | Attendant terminal |
JP2008257429A (en) * | 2007-04-04 | 2008-10-23 | Toshiba Tec Corp | Merchandise sales data processor |
JP2009289286A (en) * | 2009-09-08 | 2009-12-10 | Toshiba Tec Corp | Data code reading apparatus and reading method thereof |
Also Published As
Publication number | Publication date |
---|---|
JP5599494B2 (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5320360B2 (en) | Product code reader and program | |
JP5149950B2 (en) | Product information reading apparatus and program | |
JP5228010B2 (en) | Product information processing apparatus and program | |
JP5596630B2 (en) | Product list ticketing device | |
JP5681682B2 (en) | Information processing apparatus and program | |
JP2012053787A (en) | Merchandise information processor and program | |
JP5457312B2 (en) | Product information processing apparatus and program | |
JP2012048480A (en) | Code reader and program | |
JP2014170404A (en) | Code reader and program | |
JP5476446B2 (en) | Product information reading device, product information processing device, and program | |
JP5462302B2 (en) | Code reading device, sales registration device and program | |
JP5457310B2 (en) | Product code reader and program | |
JP2012058789A (en) | Commodity information processor and program | |
JP5599494B2 (en) | Product code reader and program | |
JP5463248B2 (en) | Product information processing apparatus and program | |
JP5483618B2 (en) | Product code reader and program | |
JP5341844B2 (en) | Store system, sales registration device and program | |
JP2012094069A (en) | Code symbol reader and program | |
JP2012058790A (en) | Commodity code reader, commodity information processing device and program | |
JP5255027B2 (en) | Code reader and program | |
JP5437203B2 (en) | Product code reader and program | |
JP2012053713A (en) | Store system, sales registration device and program | |
JP2012098943A (en) | Code reader and program | |
JP5377581B2 (en) | Reading apparatus, merchandise sales information processing apparatus, and control program | |
JP2012133823A (en) | Code reader, sales registration system and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140515 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140520 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140710 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140729 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140812 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5599494 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |