JP2014170404A - Code reader and program - Google Patents

Code reader and program Download PDF

Info

Publication number
JP2014170404A
JP2014170404A JP2013042161A JP2013042161A JP2014170404A JP 2014170404 A JP2014170404 A JP 2014170404A JP 2013042161 A JP2013042161 A JP 2013042161A JP 2013042161 A JP2013042161 A JP 2013042161A JP 2014170404 A JP2014170404 A JP 2014170404A
Authority
JP
Japan
Prior art keywords
product
service
registered
code
service label
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
Application number
JP2013042161A
Other languages
Japanese (ja)
Other versions
JP5782059B2 (en
Inventor
Yuta Sasaki
勇太 佐々木
Hitoshi Iizaka
仁志 飯坂
Hidemi Mihara
日出海 見原
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 JP2013042161A priority Critical patent/JP5782059B2/en
Publication of JP2014170404A publication Critical patent/JP2014170404A/en
Application granted granted Critical
Publication of JP5782059B2 publication Critical patent/JP5782059B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a code reader and a program capable of efficiently reading a service label attached to a commodity.SOLUTION: The code reader includes: imaging means for taking an image of a commodity; first detection means for detecting commodity information on the commodity from the image of the commodity taken by the imaging means; second detection means for detecting a service label indicating the content of a service to be given to the commodity from the commodity image taken by the imaging means: and determination means for determining whether the commodity for the commodity information detected by the first defection means is registered in a list in which commodity information on commodities which are not subject to detection by the second detection means is registered. The second detection means detects a service label when the determination means determines that the commodity is not registered in the list.

Description

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

従来、CCD(Charge Coupled Device)イメージセンサ等の撮像素子を用いて、バーコードと、当該バーコードの近傍に貼付されたサービスラベルとを撮像し、この撮像した画像から商品コードと、サービスラベルが示すサービス内容とを読み取る技術が提案されている。また、係る技術では、サービスラベルの読み取り対象となる各商品の商品コードを予め登録しておき、登録された商品(商品コード)のみサービスラベルを読み取ることで、読み取り時間の短縮化を図っている。   Conventionally, an image pickup device such as a CCD (Charge Coupled Device) image sensor is used to take an image of a barcode and a service label attached in the vicinity of the barcode, and a product code and a service label are obtained from the captured image. Techniques have been proposed for reading the service content shown. In addition, in this technology, the product code of each product for which the service label is to be read is registered in advance, and the service label is read only for the registered product (product code), thereby shortening the reading time. .

しかしながら、商品コードの登録数の増加に伴い、商品コードの検索に要する時間も増加するため、サービスラベルの読み取りに要する時間が増大する可能性があった。   However, as the number of registered product codes increases, the time required to search for product codes also increases, which may increase the time required to read service labels.

本発明の実施形態が解決しようとする課題は、商品に付加されたサービスラベルの読み取りを効率的に行うことが可能なコード読取装置及びプログラムを提供することである。   A problem to be solved by an embodiment of the present invention is to provide a code reading apparatus and a program capable of efficiently reading a service label added to a product.

実施形態のコード読取装置は、撮像手段と、第1検出手段と、第2検出手段と、判定手段とを備える。撮像手段は、商品を撮像する。第1検出手段は、前記撮像手段が撮像した前記商品の画像から、当該商品の商品情報を検出する。第2検出手段は、前記撮像手段が撮像した前記商品の画像から、当該商品に対して付与されるサービスの内容を示したサービスラベルを検出する。判定手段は、前記第2検出手段による検出を非対象とする商品の商品情報を登録したリストに、前記第1検出手段が検出した商品情報の商品が登録されているか否かを判定する。また、第2検出手段は、前記判定手段が登録されていないと判定した場合に、前記サービスラベルの検出を行う。   The code reading apparatus according to the embodiment includes an imaging unit, a first detection unit, a second detection unit, and a determination unit. The imaging means images the product. The first detection unit detects the product information of the product from the image of the product captured by the imaging unit. The second detection unit detects a service label indicating the content of the service provided to the product from the image of the product captured by the imaging unit. The determination means determines whether or not a product with the product information detected by the first detection means is registered in a list in which product information of products that are not targeted for detection by the second detection means is registered. The second detection unit detects the service label when it is determined that the determination unit is not registered.

図1は、第1の実施形態に係るチェックアウトレーンシステムの外観構成を概略的に示す図である。FIG. 1 is a diagram schematically showing an external configuration of a checkout lane system according to the first embodiment. 図2は、第1の実施形態に係るコード読取装置の構成を示す図である。FIG. 2 is a diagram illustrating a configuration of the code reading device according to the first embodiment. 図3は、商品とカメラの撮像エリアとの関係の一例を示す図である。FIG. 3 is a diagram illustrating an example of the relationship between the product and the imaging area of the camera. 図4は、店員用ディスプレイに表示される第1メッセージの一例を示す図である。FIG. 4 is a diagram illustrating an example of a first message displayed on the store clerk display. 図5−1は、店員用ディスプレイに表示される第2メッセージの一例を示す図である。FIG. 5A is a diagram illustrating an example of a second message displayed on the store clerk display. 図5−2は、店員用ディスプレイに表示される第2メッセージの他の例を示す図である。FIG. 5-2 is a diagram illustrating another example of the second message displayed on the store clerk display. 図6は、第1の実施形態に係るコード読取装置が実行する情報読取処理の手順を示すフローチャートである。FIG. 6 is a flowchart illustrating a procedure of information reading processing executed by the code reading device according to the first embodiment. 図7は、第2の実施形態に係るコード読取装置の構成を示すブロック図である。FIG. 7 is a block diagram showing a configuration of a code reading apparatus according to the second embodiment. 図8は、第2の実施形態に係るコード読取装置が実行する設定切替処理の手順を示すフローチャートである。FIG. 8 is a flowchart illustrating a procedure of setting switching processing executed by the code reading apparatus according to the second embodiment.

[第1の実施形態]
図1は、第1の実施形態に係るコード読取装置2を備えたチェックアウトレーンシステム4の外観構成を概略的に示す図である。図1に示すように、チェックアウトレーンシステム4は、商品を入れた買い物かごを戴置するためのサッカー台1と、サッカー台1の略中央に立設されたコード読取装置2と、コード読取装置2と図示しない伝送路によって相互通信可能に接続されたPOS端末3とを備える。
[First Embodiment]
FIG. 1 is a diagram schematically showing an external configuration of a checkout lane system 4 including a code reading device 2 according to the first 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 The apparatus 2 and the POS terminal 3 connected so as to be able to communicate with each other by 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 is a terminal for registering sales of products purchased by customers. As shown in FIG. 1, the POS terminal 3 includes a keyboard 31, an operator display 32, a customer display 33, a receipt printing printer 34, and cash drawer 35. 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と、店員用ディスプレイ24と、ブザー25と、LED26とを備える。   The code reading device 2 is a device for reading a barcode attached to a product and outputting product information included in the barcode to the POS terminal 3. As shown in FIG. 1, the code reading device 2 includes a reading window 21, a keyboard 22, a customer display 23, a store clerk display 24, a buzzer 25, and an LED 26.

キーボード22は、バーコードで登録不能な商品の登録を行う場合に、各種キーによる入力を受付ける。客用ディスプレイ23は、登録された商品の品名や価格等を買い物客又は店員に対して表示する。店員用ディスプレイ24は、登録された商品の品名や価格、その他のエラーメッセージ等をオペレータの店員に対して表示する。   The keyboard 22 accepts input from various keys when registering a product that cannot be registered with a barcode. The customer display 23 displays the registered product name, price, etc. to the shopper or store clerk. The store clerk display 24 displays the registered product name, price, and other error messages to the operator store clerk.

読取窓21が設けられたコード読取装置2は、その内部にカメラ20(撮像手段)を備える(図2参照)。カメラ20は、例えばCCD(Charge Coupled Device)を用いた撮像装置であってもよいし、CMOS(Complementary Metal Oxide Semiconductor)等その他の撮像素子を用いた撮像装置であってもよい。カメラ20は、読取窓21に相対する撮像領域にかざされた商品を撮像する。   The code reading device 2 provided with the reading window 21 includes a camera 20 (imaging means) therein (see FIG. 2). The camera 20 may be an imaging device using, for example, a CCD (Charge Coupled Device), or may be an imaging device using another imaging element such as a CMOS (Complementary Metal Oxide Semiconductor). The camera 20 captures an image of a product held over an imaging area facing the reading window 21.

図2は、第1の実施形態に係るコード読取装置2の構成を示す図である。コード読取装置2は、アドレスバスやデータバス等のバスライン41で接続された、CPU50と、ROM42と、RAM43と、通信I/F44と、出力ポート45と、キーボードコントローラ46と、表示コントローラ47、48と、カメラコントローラ49と、メモリ27とを備える。   FIG. 2 is a diagram illustrating a configuration of the code reading device 2 according to the first embodiment. The code reader 2 includes a CPU 50, a ROM 42, a RAM 43, a communication I / F 44, an output port 45, a keyboard controller 46, a display controller 47, a display controller 47, which are connected by a bus line 41 such as an address bus or a data bus. 48, a camera controller 49, and a memory 27.

CPU50は、コード読取装置2の動作全体を制御する制御部として機能する。ROM42は、本実施形態にかかるプログラムや、CPU50の動作を制御するその他のプログラム、各種の対象商品リスト等を記憶する。   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, various target product lists, and the like.

RAM43は、ROM42が記憶する各種プログラムをCPU50が展開する際にワークエリアとして機能する。また、RAM43は、カメラ20によって撮像した画像データ等の各種データを格納する。   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参照)とのデータ通信を制御する。出力ポート45は、ブザー25とLED26に駆動信号を出力する。キーボードコントローラ46は、キーボード22からキー信号を取り込む。表示コントローラ47は、客用ディスプレイ23に対するデータ表示を制御する。表示コントローラ48は、店員用ディスプレイ24に対するデータ表示を制御する。カメラコントローラ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 45 outputs a drive signal to the buzzer 25 and the LED 26. The keyboard controller 46 takes in key signals from the keyboard 22. The display controller 47 controls data display on the customer display 23. The display controller 48 controls data display on the store clerk display 24. The camera controller 49 controls the imaging operation of the camera 20.

カメラ20は、商品に付されたバーコード又は二次元コード等のコードシンボル(第1シンボル)、値引やポイント付加等のサービスを表示したラベル(サービスラベル)等を撮像する。   The camera 20 images a code symbol (first symbol) such as a barcode or a two-dimensional code attached to a product, a label (service label) displaying a service such as discount or point addition.

図3は、商品60とカメラ20の撮像エリアとの関係の一例を示す図である。図中2点鎖線で囲った撮像エリア70a、70bは、カメラ20が1フレームで撮像可能な領域である。図3に示す商品60には、バーコードラベル61に加えて、サービスラベルの一例である値引ラベルL1が貼付されている。   FIG. 3 is a diagram illustrating an example of the relationship between the product 60 and the imaging area of the camera 20. Imaging areas 70a and 70b surrounded by a two-dot chain line in the figure are areas in which the camera 20 can capture images in one frame. In addition to the barcode label 61, a discount label L1 which is an example of a service label is attached to the product 60 shown in FIG.

バーコードラベル61には、商品60の商品名「商品A1」、商品価格「200円」、バーコード62等が含まれる。バーコード62には、商品60の販売データをPOS端末3で登録処理するのに必要な商品情報として、商品コード等の情報が組み込まれる。また、バーコード62の下部には、バーコード62に組み込まれた商品コード「2101234567890」が表示される。値引ラベルL1は、商品60に関する値引額を示す文字情報「表示価格より50円引き」を表示する。   The barcode label 61 includes the product name “product A1” of the product 60, the product price “200 yen”, the barcode 62, and the like. In the barcode 62, information such as a product code is incorporated as product information necessary for registering the sales data of the product 60 at the POS terminal 3. The product code “2101234567890” incorporated in the barcode 62 is displayed below the barcode 62. The discount label L1 displays character information “50 yen discount from display price” indicating the discount amount related to the product 60.

なお、サービスラベルとしては、商品60に付され、商品60の販売登録時に付与されるサービスを表示するものであればよい。即ち、サービスラベルは、バーコード62が含む商品60の商品情報に対して付与される所定のサービスを、文字やシンボルで示す表示である。サービスラベルの他の例としては、商品60の割引率を表示した割引ラベルや、商品60を購入した客に対して、通常のポイント付与数より割増されて付与されるポイント数を表示したポイント割増ラベル等がある。   In addition, as a service label, what is attached | subjected to the goods 60 and displays the service provided at the time of sale registration of the goods 60 should just be displayed. In other words, the service label is a display indicating a predetermined service given to the product information of the product 60 included in the barcode 62 by characters or symbols. Other examples of service labels include a discount label that displays the discount rate of the product 60, and a point surcharge that displays the number of points that are given to the customer who purchased the product 60 in addition to the normal number of points granted. There are labels.

図3に示すように、商品60においてバーコード62と値引ラベルL1とが離れて貼付されている場合には、バーコード62と値引ラベルL1とは同一の撮像エリアには納まらない。このような場合、オペレータは読取窓21にかざす商品60の位置を変えて、バーコード62を含む撮像エリア70aと、値引ラベルL1を含む撮像エリア70bとの複数のフレームにより商品60を複数回に分けて撮像する。   As shown in FIG. 3, when the barcode 62 and the discount label L1 are pasted apart from each other on the product 60, the barcode 62 and the discount label L1 do not fit in the same imaging area. In such a case, the operator changes the position of the product 60 held over the reading window 21, and the product 60 is moved a plurality of times by a plurality of frames of the imaging area 70a including the barcode 62 and the imaging area 70b including the discount label L1. Take images separately.

図2に戻り、メモリ27は、フラッシュメモリ等の不揮発性のメモリである。メモリ27は、CPU50が実行する各種プログラムや、対象商品リストF1等の各種設定情報を記憶する。   Returning to FIG. 2, the memory 27 is a non-volatile memory such as a flash memory. The memory 27 stores various programs executed by the CPU 50 and various setting information such as the target product list F1.

対象商品リストF1には、後述するサービスラベル検出部54による検出の非対象とする商品の商品コードが登録される。具体的に、本実施形態では、サービス付与の非対象となる商品(以下、サービス非対象商品という)の商品コードを、対象商品リストF1に登録する。なお、商品コードの登録方法は特に問わず、種々の形態を採用することが可能である。例えば、サービス非対象商品毎に、その商品コードを個別に登録してもよい。また、同一カテゴリ等の理由により、商品コードを構成する数値が部分的に共通する場合には、その共通する数列部分(例えば、上3桁)を登録してもよい。サービス非対象商品とは、値引きを行わない商品である。サービス非対象商品は、例えば、たばこ、酒、書籍、チケット、CD、有価証券(切手、印紙、商品券、ギフト券、テレホンカード、郵便はがき、食事券等)、高級商品である。   In the target product list F1, product codes of products that are not detected by the service label detection unit 54 described later are registered. Specifically, in the present embodiment, a product code of a product that is not subject to service grant (hereinafter referred to as a service non-target product) is registered in the target product list F1. The product code registration method is not particularly limited, and various forms can be adopted. For example, the product code may be individually registered for each service non-target product. In addition, when the numerical values constituting the product code are partially common due to reasons such as the same category, the common sequence portion (for example, the first three digits) may be registered. Non-service target products are products that are not discounted. Non-service target products are, for example, cigarettes, sake, books, tickets, CDs, securities (stamps, stamps, gift certificates, gift cards, telephone cards, postcards, meal tickets, etc.) and high-end products.

次に、CPU50がプログラムを実行することで実現される、コード読取装置2の機能構成について説明する。CPU50は、RAM43に展開されたROM42が記憶するプログラムに従って動作することで、図2に示すように、画像取込部51と、バーコード検出部52(第1検出手段)と、対象商品判定部53(判定手段)と、サービスラベル検出部54(第2検出手段)と、報知部55(報知手段)と、情報出力部56として機能する。   Next, a functional configuration of the code reading device 2 that is realized by the CPU 50 executing the program will be described. The CPU 50 operates according to a program stored in the ROM 42 expanded in the RAM 43, so that as shown in FIG. 2, the image capturing unit 51, the barcode detection unit 52 (first detection means), and the target product determination unit 53 (determination unit), service label detection unit 54 (second detection unit), notification unit 55 (notification unit), and information output unit 56.

画像取込部51は、カメラコントローラ49に撮像オン信号を出力してカメラ20に撮像動作を開始させる。また、画像取込部51は、サービスラベル検出部54の指示を受けた場合に、カメラ20が撮像した撮像エリア70a又は70b(図3参照)内の画像を取り込んで、RAM43の画像ワークエリアに格納する。   The image capturing unit 51 outputs an imaging on signal to the camera controller 49 to cause the camera 20 to start an imaging operation. Further, when receiving an instruction from the service label detection unit 54, the image capture unit 51 captures an image in the imaging area 70a or 70b (see FIG. 3) captured by the camera 20 and stores it in the image work area of the RAM 43. Store.

バーコード検出部52は、画像取込部51が取り込む画像からコードシンボルを検出する。具体的には、取り込まれた画像からパターンマッチング技術によるバーコードの検出や、所定のファインダパターンから二次元コードの検出等を行う。バーコード検出部52は、所定のデコード方法に従って検出したコードシンボルをコード情報に変換し、コードシンボルに対応するコード情報を読み取る。例えば、図3の例では、バーコード検出部52は、バーコード62を検出し、そのバーコード62に対応する商品コード「2101234567890」を読み取る。   The barcode detection unit 52 detects a code symbol from the image captured by the image capture unit 51. Specifically, barcode detection by a pattern matching technique from a captured image, detection of a two-dimensional code from a predetermined finder pattern, and the like are performed. The barcode detection unit 52 converts the code symbol detected according to a predetermined decoding method into code information, and reads the code information corresponding to the code symbol. For example, in the example of FIG. 3, the barcode detection unit 52 detects the barcode 62 and reads the product code “2101234567890” corresponding to the barcode 62.

対象商品判定部53は、バーコード検出部52が読み取った商品コードを対象商品リストF1から検索し、当該商品コードが対象商品リストF1に登録されているか否かを判定する。対象商品判定部53は、対象商品リストF1に登録されていると判定した場合、サービスラベルの検出対象外と判定する。また、対象商品判定部53は、対象商品リストF1に登録されていないと判定した場合、サービスラベルの検出対象と判定する。   The target product determination unit 53 searches the target product list F1 for the product code read by the barcode detection unit 52, and determines whether or not the product code is registered in the target product list F1. When the target product determination unit 53 determines that the target product list F1 is registered in the target product list F1, the target product determination unit 53 determines that the service label is not detected. Further, when the target product determination unit 53 determines that the target product list F1 is not registered in the target product list F1, the target product determination unit 53 determines that the service label is to be detected.

ところで、従来の技術では、サービス付与の対象となる商品(以下、サービス対象商品という)、つまりサービスラベルの検出(読み取り)対象となる商品の商品コードを予め登録しておき、該当する商品コードが読み取られた場合にサービスラベルの検出を行っている。また、値引やポイントサービス等のサービスを提供する店舗では、サービス対象商品の商品数も増加する傾向にある。しかしながら、この場合、商品コードの登録数の増加に伴い、商品コードの検索に要する時間も増加するため、サービスラベルの読み取りに要する時間が増大する可能性があった。   By the way, in the conventional technology, a product code of a product for which a service is to be granted (hereinafter referred to as a service target product), that is, a product for which a service label is to be detected (read) is registered in advance. When it is read, the service label is detected. Further, in stores that provide services such as discounts and point services, the number of products targeted for service tends to increase. However, in this case, as the number of product code registrations increases, the time required to search for product codes also increases, which may increase the time required to read service labels.

そこで、本実施形態のコード読取装置2では、サービス非対象商品の商品コードを対象商品リストF1に登録し、登録された商品コード以外の商品コードが読み取られた場合に、サービスラベルの検出を行うよう制御する。これにより、サービス対象商品の商品数が、サービス非対象商品の商品数を大きく上回るような場合であっても、商品コードの検索に要する時間を減少させることができるため、サービスラベルの読み取りを効率的に行うことができる。   Therefore, in the code reading device 2 of the present embodiment, the product code of the service non-target product is registered in the target product list F1, and the service label is detected when a product code other than the registered product code is read. Control as follows. This makes it possible to reduce the time required to search for a product code even when the number of products subject to service greatly exceeds the number of products subject to non-service, so the service label can be read efficiently. Can be done automatically.

サービスラベル検出部54は、対象商品判定部53の判定結果に基づき、サービスラベルの検出を行う。具体的には、サービスラベル検出部54は、対象商品判定部53がサービスラベルの検出対象と判定した場合に、画像取込部51がRAM43の画像ワークエリアに格納した画像から、サービスラベルの画像を検出する。また、サービスラベル検出部54は、タイマー54aがタイムアウトしていない間、すなわち予め設定された所定の時間が経過しない間はサービスラベルを検出し続ける。   The service label detection unit 54 detects a service label based on the determination result of the target product determination unit 53. Specifically, the service label detection unit 54 determines the service label image from the image stored in the image work area of the RAM 43 by the image capture unit 51 when the target product determination unit 53 determines that the service label is to be detected. Is detected. Further, the service label detection unit 54 continues to detect the service label while the timer 54a has not timed out, that is, while a predetermined time has not elapsed.

より具体的には、サービスラベル検出部54は、タイマー54aがタイムアウトしていない場合で、且つサービスラベル検出部54がサービスラベルを検出していない間は、画像取込部51に対して画像取込を行うよう指示する。そして、画像取込部51はカメラ20が撮像した撮像エリア内の画像を新たに取り込み、サービスラベル検出部54は、新たに取り込まれた画像に対してサービスラベルを検出する処理を行う。   More specifically, the service label detection unit 54 performs image capture to the image capture unit 51 when the timer 54a has not timed out and while the service label detection unit 54 has not detected the service label. Instruct them to Then, the image capturing unit 51 newly captures an image in the imaging area captured by the camera 20, and the service label detection unit 54 performs a process of detecting a service label for the newly captured image.

また、サービスラベル検出部54は、サービスラベルの画像を検出した場合には、検出したサービスラベルの画像からそのサービスラベルに対応したサービス情報を読み取る。   When the service label detection unit 54 detects a service label image, the service label detection unit 54 reads service information corresponding to the service label from the detected service label image.

より具体的には、サービスラベル検出部54は、ROM42等に予め設定されている、サービスラベルの特徴(枠線や形状等)を示す情報を用いて、画像認識技術によりそのラベルを検出する。そして、サービスラベル検出部54は、検出したラベルに対してOCR(Optical Character Reader)等の文字認識処理や、オブジェクト認識によるパターンマッチングを行うことで、ラベルに表示されている値引額、割引率、付与ポイント等のサービス情報を読み取る。例えば、図3の例では、サービスラベル検出部54は、値引ラベルL1を検出する。次いで、サービスラベル検出部54は、その値引ラベルL1に記載された「50円」「引き」等の文字を認識し、50円の値引を行うとするサービス情報を読み取る。   More specifically, the service label detection unit 54 detects the label by image recognition technology using information indicating the characteristics (frame line, shape, etc.) of the service label set in advance in the ROM 42 or the like. Then, the service label detection unit 54 performs character recognition processing such as OCR (Optical Character Reader) on the detected label and pattern matching by object recognition, so that the discount amount, the discount rate, Read service information such as points granted. For example, in the example of FIG. 3, the service label detector 54 detects the discount label L1. Next, the service label detection unit 54 recognizes characters such as “50 yen” and “deduction” written on the discount label L1, and reads service information for performing 50 yen discount.

上述のようにすることで、オペレータは、タイマー54aがタイムアウトしていない所定の時間の間は、商品60をカメラ20によって複数回撮像することができる。従って、図3のように、サービスラベルがバーコードラベル61を含む撮像エリア70a内に含まれていない場合であっても、オペレータはサービスラベルを含む撮像エリア70bによって撮像しなおすことが可能となり、コード情報及びサービス情報の双方を確実に読み込むことができる。   As described above, the operator can take an image of the product 60 with the camera 20 a plurality of times during a predetermined time when the timer 54a has not timed out. Therefore, as shown in FIG. 3, even if the service label is not included in the imaging area 70a including the barcode label 61, the operator can re-image the imaging area 70b including the service label. Both code information and service information can be read reliably.

なお、サービスラベル検出部54は、文字情報の識別処理に限定されず、ラベルや図形等の色や大きさ、形状等を識別して、それらの特徴に対応付けられたサービス情報を読み取ってもよい。   Note that the service label detection unit 54 is not limited to the character information identification process, and can identify colors, sizes, shapes, and the like of labels and figures, and read service information associated with those features. Good.

報知部55は、対象商品判定部53がサービスラベルの検出対象と判定した場合に、商品60にはサービスラベルが付されている旨、もしくはサービスラベルを読み込む旨の指示をオペレータに報知する。   When the target product determination unit 53 determines that the service label is to be detected, the notification unit 55 notifies the operator that the product 60 has a service label attached or an instruction to read the service label.

例えば、報知部55は、商品60にサービスラベルが付加されていると判定された場合には、ブザー25を鳴らすとともに、表示コントローラ48を制御して、図4に示すように「値引ラベルをスキャンして下さい。」等の第1メッセージを店員用ディスプレイ24に表示させる。さらに報知部55は、LED26を点滅させるとしてもよい。   For example, when it is determined that the service label is added to the product 60, the notification unit 55 sounds the buzzer 25 and controls the display controller 48 to display “a discount label as shown in FIG. The first message such as “Please scan” is displayed on the store clerk display 24. Furthermore, the notification unit 55 may blink the LED 26.

また、報知部55は、対象商品判定部53によってサービスラベルの検出対象と判定された場合であって、サービスラベル検出部54によってサービスラベルが上述の所定の時間内に検出されなかった場合に、商品60にはサービスラベルが添付されている旨、もしくは、商品60に添付されているサービスラベルを読み込む旨の指示をオペレータに報知する。   In addition, the notification unit 55 is a case where the target product determination unit 53 determines that the service label is to be detected, and the service label detection unit 54 does not detect the service label within the predetermined time. The operator is notified of the instruction that the service label is attached to the product 60 or the service label attached to the product 60 is read.

より具体的には、報知部55は、サービスラベルの検出対象と判定されたが、サービスラベルが検出されずにタイマー54aがタイムアウトした場合に、ブザー25を鳴動させる。また、報知部55は、「値引ラベルはありませんか?」(図5−1参照)或いは「値引ラベルが読み込まれていません。値引ラベルをスキャンして下さい。」(図5−2参照)等の第2メッセージを店員用ディスプレイ24に表示させる。   More specifically, the notification unit 55 sounds the buzzer 25 when it is determined that the service label is to be detected but the timer 54a times out without detecting the service label. In addition, the notification unit 55 displays “Are there any discount labels?” (Refer to FIG. 5-1) or “No discount labels have been read. Scan the discount labels.” (FIG. 5-2 The second message such as “see” is displayed on the clerk display 24.

情報出力部56は、バーコード検出部52が読み取ったコード情報を、通信I/F44を介してPOS端末3に出力する。また、情報出力部56は、サービスラベル検出部54がサービス情報を読み取った場合には、読み取ったサービス情報をコード情報とともにPOS端末3に出力する。   The information output unit 56 outputs the code information read by the barcode detection unit 52 to the POS terminal 3 via the communication I / F 44. Further, when the service label detection unit 54 reads the service information, the information output unit 56 outputs the read service information to the POS terminal 3 together with the code information.

商品によっては値引ラベルL1が添付されていない場合もあるため、バーコード検出部52によってコード情報の読み取りのみが行われる場合もある。従って、情報出力部56は、バーコード検出部52が読み取ったコード情報と、サービスラベル検出部54が読み取ったサービス情報との少なくとも一方をPOS端末3へ出力する。   Since the discount label L1 may not be attached depending on the product, the barcode detection unit 52 may only read the code information. Therefore, the information output unit 56 outputs at least one of the code information read by the barcode detection unit 52 and the service information read by the service label detection unit 54 to the POS terminal 3.

また、情報出力部56は、サービスラベルが検出されずにタイマー54aがタイムアウトした場合であっても、キーボード22のエンターキー等が押下された場合には、バーコード検出部52が読み取ったコード情報のみをPOS端末3に出力する。   The information output unit 56 also reads the code information read by the barcode detection unit 52 when the enter key or the like of the keyboard 22 is pressed even when the service label is not detected and the timer 54a times out. Only to the POS terminal 3.

即ち、上述のように店員用ディスプレイ24に「値引ラベルはありませんか?」等の第2メッセージ(図5−1参照)が表示される。店員は、サービスラベルが添付されていないか商品60を確認する。そして、商品60にサービスラベルが添付されていないと判明した場合、店員は例えばエンターキーを押下して、先に読み込んだコード情報のみをPOS端末3に出力する。POS端末3は、コード情報により商品60の販売登録を行う。   That is, as described above, the second message (see FIG. 5A) such as “Is there a discount label?” Is displayed on the store clerk display 24. The store clerk checks the product 60 to see if the service label is attached. If it is determined that the service label is not attached to the product 60, the store clerk presses the enter key, for example, and outputs only the previously read code information to the POS terminal 3. The POS terminal 3 registers the sale of the product 60 based on the code information.

なお、サービスラベルが剥がれる等して、本来値引されるべき商品ではあるが、商品60にサービスラベルが付されていない場合には、キーボード22から値引額や値引率等のサービス情報を入力してもよい。   If the service label is peeled off and the product is to be discounted, but the product 60 has no service label, service information such as a discount amount and a discount rate is input from the keyboard 22. May be.

POS端末3は、コード読取装置2の情報出力部56が出力したコード情報を受信し、受信したコード情報を用いて商品60の販売登録を行う。また、POS端末3は、コード情報とともにサービス情報を受信した場合には、サービス情報に対応するサービスを商品60に付与して、当該商品60の販売登録を行う。   The POS terminal 3 receives the code information output from the information output unit 56 of the code reading device 2 and registers the sale of the product 60 using the received code information. When the service information is received together with the code information, the POS terminal 3 gives a service corresponding to the service information to the product 60 and registers the product 60 for sale.

次に、本実施形態のコード読取装置2が実行する情報読取処理の手順について、図6を用いて説明する。図6は、コード読取装置2が実行する情報読取処理の手順を示すフローチャートである。   Next, a procedure of information reading processing executed by the code reading device 2 of the present embodiment will be described with reference to FIG. FIG. 6 is a flowchart showing a procedure of information reading processing executed by the code reading device 2.

POS端末3からスキャン開始の指示を受信すると、コード読取装置2の画像取込部51は、カメラコントローラ49に撮像オン信号を出力し、カメラ20による撮像を開始する(ステップS11)。画像取込部51は、カメラ20が撮像した画像の画像データをRAM43の画像ワークエリアに取り込む(ステップS12)。   When receiving an instruction to start scanning from the POS terminal 3, the image capturing unit 51 of the code reading device 2 outputs an imaging on signal to the camera controller 49, and starts imaging by the camera 20 (step S11). The image capturing unit 51 captures image data of an image captured by the camera 20 into the image work area of the RAM 43 (step S12).

バーコード検出部52は、取り込んだ画像内にバーコード62の画像を検出したか否かを判定する(ステップS13)。バーコード62の画像を検出していない場合(ステップS13:No)には、画像取込部51はカメラ20による撮像を続ける(ステップS12)。バーコード62の画像を検出した場合(ステップS13:Yes)には、バーコード検出部52は、検出したバーコード62に対応するコード情報を読み取る。   The barcode detection unit 52 determines whether an image of the barcode 62 has been detected in the captured image (step S13). When the image of the barcode 62 is not detected (step S13: No), the image capturing unit 51 continues the imaging with the camera 20 (step S12). When an image of the barcode 62 is detected (step S13: Yes), the barcode detection unit 52 reads code information corresponding to the detected barcode 62.

次に、対象商品判定部53は、対象商品リストF1からバーコード検出部52が読み取ったコード情報(商品コード)を検索することで、当該商品コードが対象商品リストF1に登録されているか否かを判定する(ステップS14)。対象商品判定部53は、サービス非対象商品が対象商品リストF1に登録されていると判定した場合(ステップS14:Yes)、サービスラベルの検出対象外と判定し、ステップS23に移行する。   Next, the target product determination unit 53 searches the target product list F1 for the code information (product code) read by the barcode detection unit 52, thereby determining whether or not the product code is registered in the target product list F1. Is determined (step S14). If the target product determination unit 53 determines that the service non-target product is registered in the target product list F1 (step S14: Yes), the target product determination unit 53 determines that the service label is not detected, and proceeds to step S23.

対象商品判定部53は、対象商品リストF1に登録されていないと判定した場合(ステップS14:No)、対象商品判定部53は、サービスラベルの検出対象と判定する。この場合、サービスラベル検出部54は、タイマー54aを開始することで、サービスラベルを検出する時間を計測し(ステップS15)、サービスラベルの検出を行う。   If it is determined that the target product determination unit 53 is not registered in the target product list F1 (step S14: No), the target product determination unit 53 determines that the service label is to be detected. In this case, the service label detection unit 54 starts the timer 54a, measures the time for detecting the service label (step S15), and detects the service label.

また、報知部55は、例えばブザー25を鳴らすとともに、店員用ディスプレイ24に「値引ラベルをスキャンして下さい。」等の第1メッセージ(図4参照)を表示させて、商品60にサービスラベルが付されている旨を報知する(ステップS16)。そして、サービスラベル検出部54は、サービスラベルを検出したか否かを判定する(ステップS17)。   For example, the notification unit 55 sounds the buzzer 25 and displays a first message (see FIG. 4) such as “Please scan the discount label” on the store clerk display 24 to display the service label on the product 60. Is notified (step S16). Then, the service label detection unit 54 determines whether or not a service label has been detected (step S17).

サービスラベルが検出された場合(ステップS17:Yes)には、情報出力部56は、バーコード62をデコードして読み取ったコード情報(商品コード)と、サービスラベルからOCR等によって読み取ったサービス情報とをPOS端末3に出力する(ステップS18)。   When the service label is detected (step S17: Yes), the information output unit 56 decodes the barcode 62 and reads the code information (product code), and the service information read from the service label by OCR or the like. Is output to the POS terminal 3 (step S18).

サービスラベルが検出されなかった場合(ステップS17:No)には、タイマー54aがタイムアウトしたか判定する(ステップS19)。タイムアウトした場合(ステップS19:Yes)には、報知部55は、ブザー25を鳴らすとともに、店員用ディスプレイ24に「値引ラベルはありませんか?」等の第2メッセージ(図5−1参照)を表示させて、サービスラベルが貼付されていないか再度オペレータに報知する(ステップS20)。   If the service label is not detected (step S17: No), it is determined whether the timer 54a has timed out (step S19). When the time-out occurs (step S19: Yes), the notification unit 55 sounds the buzzer 25 and displays a second message (see FIG. 5-1) such as “Is there a discount label?” On the clerk display 24. Then, the operator is notified again whether the service label is affixed (step S20).

これに対してオペレータは商品60にサービスラベルが付されていないことを確認して、キーボード22のエンターキーを押下した場合(ステップS21:Yes)、情報出力部56は、コード情報(商品コード)のみをPOS端末3に出力する(ステップS23)。   On the other hand, when the operator confirms that the service label is not attached to the product 60 and presses the enter key of the keyboard 22 (step S21: Yes), the information output unit 56 displays the code information (product code). Only to the POS terminal 3 (step S23).

一方、ステップS19でタイムアウトしていない場合(ステップS19:No)又はステップS21でエンターキーが押下されていない場合(ステップS21:No)、画像取込部51は、カメラ20が撮像した画像を取り込んで(ステップS22)、ステップS17に移行する。   On the other hand, if the time-out has not occurred in step S19 (step S19: No) or the enter key has not been pressed in step S21 (step S21: No), the image capturing unit 51 captures an image captured by the camera 20. (Step S22), the process proceeds to Step S17.

ステップS18又はステップS23の後、コード読取装置2は、POS端末3から販売登録処理が終了してバーコード読取処理の終了を指示されたか否か判定する(ステップS24)。バーコード読取処理の終了が指示されていない場合(ステップS24:No)には、ステップS12に戻り以降の処理を続ける。バーコード読取処理の終了が指示された場合(ステップS24:Yes)には、コード読取装置2は、カメラコントローラ49に撮像オフ信号を出力し(ステップS25)、カメラ20による撮像を終了する。   After step S18 or step S23, the code reading device 2 determines whether or not the sales registration process is finished from the POS terminal 3 and the end of the barcode reading process is instructed (step S24). If the end of the barcode reading process is not instructed (step S24: No), the process returns to step S12 and the subsequent processes are continued. When the end of the barcode reading process is instructed (step S24: Yes), the code reading device 2 outputs an imaging off signal to the camera controller 49 (step S25), and the imaging by the camera 20 is terminated.

以上説明したとおり、第1の実施形態のコード読取装置2によれば、サービスラベルの検出対象外となる商品の商品コードを対象商品リストF1に登録し、登録された商品コード以外の商品コードが読み取られた場合にサービスラベルの検出を行う。これにより、サービスラベルを付加する商品数が、サービスラベルを付加しない商品数より膨大となった場合に、商品コードの検索時間を減少させることができるため、サービスラベルの読み取りを効率的に行うことができる。また、第1の実施形態のコード読取装置2によれば、サービス非対象商品であると判断する場合、サービスラベルの検出を行わないので、不正を防止することができる。つまり、値引き商品から、値引きラベルが故意にはがされ、値引き商品でない商品に値引きラベルが貼られた場合であっても、値引き商品でない商品から値引きをすることはない。このとき、値引き商品でない商品に、値引きラベルが貼られている旨を店員用ディスプレイ24に表示するようにしてもよい。   As described above, according to the code reading device 2 of the first embodiment, the product codes of the products that are not detected by the service label are registered in the target product list F1, and the product codes other than the registered product codes are registered. When it is read, the service label is detected. As a result, when the number of products to which service labels are added becomes larger than the number of products to which service labels are not added, the search time for product codes can be reduced, so service labels can be read efficiently. Can do. Further, according to the code reading device 2 of the first embodiment, when it is determined that the product is a service non-target product, since the service label is not detected, fraud can be prevented. That is, even if a discount label is intentionally peeled off from a discounted product and a discount label is attached to a product that is not a discounted product, no discount is given from a product that is not a discounted product. At this time, you may make it display on the display 24 for shop assistants that the discount label is stuck on the goods which are not discount goods.

[第2の実施形態]
第1の実施形態では、対象商品リストF1に登録する商品コードを、サービスラベルの検出対象外とした。しかしながら、サービスラベルを付加する商品数が、サービスラベルを付加しない商品数より少数となる場合も想定される。そこで、第2の実施形態では、全商品数を占めるサービスラベルを付加する商品の個数と、サービスラベルを付加しない商品の個数との割合に応じて、対象商品リストF1に登録する商品コードを切り替えることが可能な構成について説明する。なお、第1の実施形態と同様の構成要素については、同一の符号を付与して説明を省略する。
[Second Embodiment]
In the first embodiment, the product code registered in the target product list F1 is excluded from the service label detection target. However, it may be assumed that the number of products to which service labels are added is smaller than the number of products to which service labels are not added. Therefore, in the second embodiment, the product codes to be registered in the target product list F1 are switched according to the ratio between the number of products to which service labels occupying the total number of products and the number of products to which no service labels are added. A possible configuration will be described. In addition, about the component similar to 1st Embodiment, the same code | symbol is provided and description is abbreviate | omitted.

図7は、第2の実施形態に係るコード読取装置2aの構成を示すブロック図である。コード読取装置2aは、アドレスバスやデータバス等のバスライン41で接続された、CPU50と、ROM42と、RAM43と、通信I/F44と、出力ポート45と、キーボードコントローラ46と、表示コントローラ47、48と、カメラコントローラ49と、メモリ27とを備える。また、メモリ27は、対象商品リストF1を記憶する。   FIG. 7 is a block diagram showing the configuration of the code reading device 2a according to the second embodiment. The code reading device 2a includes a CPU 50, a ROM 42, a RAM 43, a communication I / F 44, an output port 45, a keyboard controller 46, a display controller 47, a bus line 41 such as an address bus and a data bus. 48, a camera controller 49, and a memory 27. The memory 27 stores the target product list F1.

次に、CPU50がプログラムを実行することで実現される、コード読取装置2aの機能構成について説明する。CPU50は、RAM43に展開されたROM42が記憶するプログラムに従って動作することで、図7に示すように、画像取込部51と、バーコード検出部52と、サービスラベル検出部54と、報知部55と、情報出力部56と、対象商品切替部57(切替手段)と、対象商品判定部58(判定手段)として機能する。   Next, a functional configuration of the code reading device 2a realized by the CPU 50 executing the program will be described. The CPU 50 operates according to a program stored in the ROM 42 expanded in the RAM 43, so that an image capturing unit 51, a barcode detection unit 52, a service label detection unit 54, and a notification unit 55 are operated as shown in FIG. And an information output unit 56, a target product switching unit 57 (switching unit), and a target product determination unit 58 (determination unit).

対象商品切替部57は、サービスラベルを付加する商品数と、サービスラベルを付加しない商品数との割合に応じて、対象商品リストF1に登録する商品コードを切り替える機能を有する。具体的には、対象商品切替部57は、店舗内で使用される商品コードの総数に対し、サービスラベルを付加する商品の商品コードの個数(或いは、サービスラベルを付加しない商品の商品コードの個数)が占める割合を算出する。   The target product switching unit 57 has a function of switching the product code to be registered in the target product list F1 according to the ratio between the number of products to which the service label is added and the number of products to which the service label is not added. Specifically, the target product switching unit 57 compares the total number of product codes used in the store with the number of product codes to which service labels are added (or the number of product codes with products that are not added with service labels). ) Is calculated.

ここで、「商品コードの総数(個数)」は、互いに異なる数列で表された商品コードの個数を意味し、同一の数列で表される商品コードを一つの商品コードとして取り扱う。なお、本実施形態では、店舗内で使用される商品コードの総数は、サービスラベルを付加する商品の商品コードの個数と、サービスラベルを付加しない商品の商品コードの個数との積算値となることを想定している。   Here, the “total number (number) of product codes” means the number of product codes represented by different number sequences, and the product codes represented by the same number sequence are handled as one product code. In the present embodiment, the total number of product codes used in the store is an integrated value of the number of product codes for products to which service labels are added and the number of product codes for products to which service labels are not added. Is assumed.

対象商品切替部57は、上記の算出結果に基づき、サービスラベルを付加する商品数と、サービスラベルを付加しない商品数との割合を算出する。対象商品切替部57は、サービスラベルを付加する商品の割合が所定の閾値(例えば、50%)以上の場合(或いは、サービスラベルを付加しない商品の割合が閾値未満の場合)、サービスラベルを付加しない商品の商品コードを対象商品リストF1に登録する。そして、対象商品切替部57は、対象商品リストF1に登録された商品コードをサービスラベルの検出対象外とする第1設定を、対象商品判定部58に指示する。   The target product switching unit 57 calculates the ratio between the number of products to which the service label is added and the number of products to which the service label is not added based on the above calculation result. The target product switching unit 57 adds a service label when the ratio of products to which service labels are added is equal to or greater than a predetermined threshold (for example, 50%) (or when the ratio of products to which service labels are not added is less than the threshold). The product code of the product not to be registered is registered in the target product list F1. Then, the target product switching unit 57 instructs the target product determination unit 58 to perform the first setting for excluding the product code registered in the target product list F1 from the service label detection target.

また、対象商品切替部57は、サービスラベルを付加する商品の割合が閾値(例えば、50%)未満の場合(或いは、サービスラベルを付加しない商品の割合が閾値以上の場合)、サービスラベルを付加する商品の商品コードを対象商品リストF1に登録する。そして、対象商品切替部57は、対象商品リストF1に登録された商品コードをサービスラベルの検出対象とする第2設定を、対象商品判定部58に指示する。   Further, the target product switching unit 57 adds the service label when the ratio of the product to which the service label is added is less than a threshold (for example, 50%) (or when the ratio of the product to which the service label is not added is equal to or greater than the threshold). The product code of the product to be registered is registered in the target product list F1. Then, the target product switching unit 57 instructs the target product determination unit 58 to perform the second setting in which the product code registered in the target product list F1 is the detection target of the service label.

対象商品判定部58は、上述した対象商品判定部53に対応する機能部である。対象商品判定部58は、対象商品切替部57からの指示に応じて、対象商品リストF1に登録された商品コードを検出対象とするか否かの判定基準を切り替える。   The target product determination unit 58 is a functional unit corresponding to the target product determination unit 53 described above. In response to an instruction from the target product switching unit 57, the target product determination unit 58 switches a determination criterion as to whether or not the product code registered in the target product list F1 is a detection target.

具体的には、対象商品判定部58は、対象商品切替部57から第1設定が指示されると、対象商品リストF1に登録された商品コードを検出対象外として判定処理を行う。また、対象商品判定部58は、対象商品切替部57から第2設定が指示されると、対象商品リストF1に登録された商品コードを検出対象として判定処理を行う。   Specifically, when the first setting is instructed from the target product switching unit 57, the target product determination unit 58 performs a determination process with the product code registered in the target product list F1 as a detection target. In addition, when the second setting is instructed from the target product switching unit 57, the target product determination unit 58 performs a determination process using the product code registered in the target product list F1 as a detection target.

そして、対象商品判定部58は、バーコード検出部52が読み取った商品コードを対象商品リストF1から検索し、当該商品コードが対象商品リストF1に登録されている場合に、上記の判定基準に従って判定処理を行う。   Then, the target product determination unit 58 searches the target product list F1 for the product code read by the barcode detection unit 52, and determines that the product code is registered in the target product list F1 according to the above-described determination criteria. Process.

このように、本実施形態では、サービスラベルを付加する商品の個数と、サービスラベルを付加しない商品の個数との比率を算出し、その割合が少ない商品の商品コードを対象商品リストF1に登録する。また、本実施形態では、対象商品リストF1の更新に伴い、対象商品判定部58の判定基準を切り替える。これにより、サービス対象商品の商品数が、サービス非対象商品の商品数を大きく上回るような場合であっても、或いはその反対の事象が生じた場合であっても、商品コードの検索に要する時間を減少させることができるため、サービスラベルの読み取りを効率的に行うことができる。   As described above, in the present embodiment, the ratio between the number of products to which service labels are added and the number of products to which service labels are not added is calculated, and the product codes of products with a low ratio are registered in the target product list F1. . In the present embodiment, the determination criterion of the target product determination unit 58 is switched with the update of the target product list F1. As a result, even if the number of products subject to service is significantly greater than the number of products subject to service, or the opposite event occurs, the time required to search for product codes Therefore, the service label can be read efficiently.

次に、本実施形態のコード読取装置2aが実行する対象商品リストF1の更新(切替)処理の手順について、図8を用いて説明する。図8は、コード読取装置2aが実行する設定切替処理の手順を示すフローチャートである。なお、本処理の前提として、店舗内で使用される商品コードの各々が設定情報としてメモリ27に記憶されているとする。また、サービスラベルを付加する商品の商品コード、サービスラベルを付加しない商品の商品コードの何れか一方又は両方が設定情報としてメモリ27に記憶されているとする。   Next, the procedure of the update (switching) process of the target product list F1 executed by the code reading device 2a of this embodiment will be described with reference to FIG. FIG. 8 is a flowchart illustrating a procedure of setting switching processing executed by the code reading device 2a. As a premise of this process, it is assumed that each product code used in the store is stored in the memory 27 as setting information. Further, it is assumed that one or both of the product code of the product to which the service label is added and the product code of the product to which the service label is not added is stored in the memory 27 as setting information.

まず、対象商品切替部57は、店舗内で使用される商品コードの総数を算出する(ステップS31)。また、対象商品切替部57は、サービス対象商品の商品コードの個数を算出する(ステップS32)。   First, the target product switching unit 57 calculates the total number of product codes used in the store (step S31). In addition, the target product switching unit 57 calculates the number of product codes of the service target product (step S32).

続いて、対象商品切替部57は、ステップS31で算出した商品コードの総数に対する、ステップS32で算出した商品コードの個数が占める割合、つまりサービス対象商品が占める割合を算出する(ステップS33)。次いで、対象商品切替部57は、ステップS33で算出した割合が閾値以上か否かを判定する(ステップS34)。   Subsequently, the target product switching unit 57 calculates the ratio of the number of product codes calculated in step S32 to the total number of product codes calculated in step S31, that is, the ratio of service target products (step S33). Next, the target product switching unit 57 determines whether or not the ratio calculated in step S33 is equal to or greater than a threshold value (step S34).

対象商品切替部57は、ステップS34において閾値以上と判定すると(ステップS34:Yes)、サービスラベルを付加しないサービス非対象商品の商品コードを対象商品リストF1に登録する(ステップS35)。そして、対象商品切替部57は、対象商品リストF1の商品コードをサービスラベルの検出対象外とする第1設定に対象商品判定部58の判定基準を切り替え(ステップS36)、本処理を終了する。   If the target product switching unit 57 determines that the value is equal to or greater than the threshold value in step S34 (step S34: Yes), the product code of the service non-target product to which the service label is not added is registered in the target product list F1 (step S35). Then, the target product switching unit 57 switches the determination criterion of the target product determination unit 58 to the first setting that excludes the product code of the target product list F1 from the service label detection target (step S36), and ends this process.

また、対象商品切替部57は、ステップS34において閾値未満と判定すると(ステップS34:No)、サービスラベルを付加するサービス対象商品の商品コードを対象商品リストF1に登録する(ステップS37)。そして、対象商品切替部57は、対象商品リストF1の商品コードをサービスラベルの検出対象とする第2設定に対象商品判定部58の判定基準を切り替え(ステップS38)、本処理を終了する。   If the target product switching unit 57 determines that the value is less than the threshold value in step S34 (step S34: No), the target product switching unit 57 registers the product code of the service target product to which the service label is added in the target product list F1 (step S37). Then, the target product switching unit 57 switches the determination criterion of the target product determination unit 58 to the second setting in which the product code of the target product list F1 is the detection target of the service label (step S38), and ends this process.

なお、上記処理では、ステップS32において、サービス対象商品の商品コードの個数を算出したが、サービス非対象商品の商品コードの個数を算出してもよい。この場合、続く処理において、反対の判定及び設定を行うものとする。   In the above process, the number of product codes of service target products is calculated in step S32. However, the number of product codes of service non-target products may be calculated. In this case, the opposite determination and setting are performed in the subsequent processing.

また、第2の実施形態のコード読取装置2aが実行する情報読取処理は、対象商品判定部58の設定により対象商品判定部58の判定基準が切り替わる以外は、第1の実施形態の情報読取処理と同様である。そのため、本実施形態での情報読取処理の説明は省略する。   The information reading process executed by the code reading device 2a of the second embodiment is the information reading process of the first embodiment, except that the determination criterion of the target product determination unit 58 is switched by the setting of the target product determination unit 58. It is the same. Therefore, the description of the information reading process in this embodiment is omitted.

以上説明したとおり、第2の実施形態のコード読取装置2aによれば、全商品数を占めるサービスラベルを付加する商品数と、サービスラベルを付加しない商品数との割合に応じて、対象商品リストF1に登録する商品コードを動的に切り替える。これにより、サービス対象商品及びサービス非対象商品の一方が他方より多数となった場合に、対象商品リストF1からの商品コードの検索時間を減少させることができるため、サービスラベルの読み取りを効率的に行うことができる。また、第2の実施形態のコード読取装置2によれば、サービス非対象商品であると判断する場合、サービスラベルの検出を行わないので、不正を防止することができる。つまり、値引き商品から、値引きラベルが故意にはがされ、値引き商品でない商品に値引きラベルが貼られた場合であっても、値引き商品でない商品から値引きをすることはない。このとき、値引き商品でない商品に、値引きラベルが貼られている旨を店員用ディスプレイ24に表示するようにしてもよい。   As described above, according to the code reading device 2a of the second embodiment, the target product list is selected according to the ratio between the number of products to which the service labels occupy the total number of products and the number of products to which no service labels are added. The product code registered in F1 is dynamically switched. Thereby, when one of the service target product and the service non-target product is larger than the other, the search time of the product code from the target product list F1 can be reduced, so that the service label can be read efficiently. It can be carried out. Further, according to the code reading device 2 of the second embodiment, when it is determined that the product is a service non-target product, since the service label is not detected, fraud can be prevented. That is, even if a discount label is intentionally peeled off from a discounted product and a discount label is attached to a product that is not a discounted product, no discount is given from a product that is not a discounted product. At this time, you may make it display on the display 24 for shop assistants that the discount label is stuck on the goods which are not discount goods.

以上、本発明の実施形態を説明したが、上記実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。上記実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、追加、組み合わせ等を行うことができる。また、上記実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   As mentioned above, although embodiment of this invention was described, the said embodiment was shown as an example and is not intending limiting the range of invention. The above embodiment can be implemented in various other forms, and various omissions, replacements, changes, additions, combinations, and the like can be made without departing from the scope of the invention. Moreover, the said embodiment and its deformation | transformation are included in the range of the invention, the summary, and the invention described in the claim, and its equal range.

例えば、上記実施形態では、商品60にサービスラベルが1枚貼付される例について説明したが、商品60に貼付されるサービスラベルは複数枚であってもよい。この場合、情報出力部56は、コード情報とともに、各サービスラベルから読み取った複数のサービス情報をPOS端末3に出力する。   For example, in the above-described embodiment, an example in which one service label is attached to the product 60 has been described. However, a plurality of service labels may be attached to the product 60. In this case, the information output unit 56 outputs a plurality of service information read from each service label to the POS terminal 3 together with the code information.

また、値引や割引等のサービス情報及びバーコード62は、ラベルに印刷される形態に限定されるものではない。その他の例として、サービス情報やバーコード62を商品60に直接記載又は印刷するとしてもよい。   Further, service information such as discounts and discounts and the barcode 62 are not limited to the form printed on the label. As another example, the service information and the barcode 62 may be directly described or printed on the product 60.

上記実施形態のコード読取装置2、2aで実行されるプログラムは、ROM42やメモリ27等に予め組み込まれて提供される。また、上記実施形態のコード読取装置2、2aで実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the code readers 2 and 2a of the above embodiment is provided by being incorporated in advance in the ROM 42, the memory 27, and the like. The programs executed by the code readers 2 and 2a of the above embodiment are files in an installable or executable format, such as CD-ROM, flexible disk (FD), CD-R, DVD (Digital Versatile Disk). ) Or the like may be recorded and provided on a computer-readable recording medium.

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

上記実施形態のコード読取装置2、2aで実行されるプログラムは、上述した各部(画像取込部51、バーコード検出部52、対象商品判定部53、サービスラベル検出部54、報知部55、情報出力部56、対象商品切替部57、対象商品判定部58)を含むモジュール構成となっており、実際のハードウェアとしてはCPU50(プロセッサ)が上記ROM42やメモリ27からプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、画像取込部51、バーコード検出部52、対象商品判定部53、サービスラベル検出部54、報知部55、情報出力部56、対象商品切替部57、対象商品判定部58がRAM43(主記憶装置)上に生成されるようになっている。   The program executed by the code readers 2 and 2a of the above embodiment includes the above-described units (image capture unit 51, barcode detection unit 52, target product determination unit 53, service label detection unit 54, notification unit 55, information). The module configuration includes an output unit 56, a target product switching unit 57, and a target product determination unit 58). As actual hardware, the CPU 50 (processor) reads the program from the ROM 42 and the memory 27 and executes it. The above units are loaded on the main storage device, and the image capturing unit 51, the barcode detection unit 52, the target product determination unit 53, the service label detection unit 54, the notification unit 55, the information output unit 56, the target product switching unit 57, The target product determination unit 58 is generated on the RAM 43 (main storage device).

2、2a コード読取装置
51 画像取込部
52 バーコード検出部
53、58 対象商品判定部
54 サービスラベル検出部
54a タイマー
55 報知部
56 情報出力部
57 対象商品切替部
F1 対象商品リスト
2, 2a Code reader 51 Image capture unit 52 Bar code detection unit 53, 58 Target product determination unit 54 Service label detection unit 54a Timer 55 Notification unit 56 Information output unit 57 Target product switching unit F1 Target product list

特開2012−22529号公報JP 2012-22529 A

Claims (6)

商品を撮像する撮像手段と、
前記撮像手段が撮像した前記商品の画像から、当該商品の商品情報を検出する第1検出手段と、
前記撮像手段が撮像した前記商品の画像から、当該商品に対して付与されるサービスの内容を示したサービスラベルを検出する第2検出手段と、
前記第2検出手段による検出を非対象とする商品の商品情報を登録したリストに、前記第1検出手段が検出した商品情報の商品が登録されているか否かを判定する判定手段と、
を備え、
前記第2検出手段は、前記判定手段が登録されていないと判定した場合に、前記サービスラベルの検出を行うコード読取装置。
Imaging means for imaging the product;
First detection means for detecting product information of the product from the image of the product imaged by the imaging means;
Second detection means for detecting a service label indicating the content of a service given to the product from the image of the product taken by the imaging means;
A determination unit that determines whether or not a product of the product information detected by the first detection unit is registered in a list in which product information of products that are not targeted for detection by the second detection unit is registered;
With
The code reading device that detects the service label when the second detection unit determines that the determination unit is not registered.
前記判定手段は、前記サービス付与の非対象とする商品の商品情報を登録した前記リストに、前記第1検出手段が検出した商品情報の商品が登録されているか否かを判定する請求項1に記載のコード読取装置。   2. The determination unit according to claim 1, wherein the determination unit determines whether or not a product of the product information detected by the first detection unit is registered in the list in which the product information of the non-target product for service grant is registered. The code reader according to the description. 前記サービス付与の対象とする商品の商品数と、前記サービス付与の非対象とする商品の商品数との比率に応じて、前記リストに登録する商品の商品情報を切り替える切替手段を更に備える請求項1又は2に記載のコード読取装置。   The apparatus further comprises switching means for switching product information of a product to be registered in the list according to a ratio between the number of products of the product to be serviced and the number of products of the product not to be serviced. The code reader according to 1 or 2. 前記切替手段は、前記比率が少数となる商品の商品情報を前記リストに登録する請求項3に記載のコード読取装置。   The code reading device according to claim 3, wherein the switching unit registers, in the list, merchandise information of merchandise for which the ratio is a small number. 前記判定手段が登録されていないと判定した場合に、前記サービスラベルが存在する旨の報知を行う報知手段を更に備える請求項1〜4の何れか一項に記載のコード読取装置。   The code reading device according to any one of claims 1 to 4, further comprising notification means for notifying that the service label exists when it is determined that the determination means is not registered. 商品を撮像する撮像手段を備えたコード読取装置のコンピュータを、
前記撮像手段が撮像した前記商品の画像から、当該商品の商品情報を検出する第1検出手段と、
前記撮像手段が撮像した前記商品の画像から、当該商品に対して付与されるサービスの内容を示したサービスラベルを検出する第2検出手段と、
前記第2検出手段による検出を非対象とする商品の商品情報を登録したリストに、前記第1検出手段が検出した商品情報の商品が登録されているか否かを判定する判定手段と、
して機能させ、
前記第2検出手段は、前記判定手段が登録されていないと判定した場合に、前記サービスラベルの検出を行うプログラム。
A computer of a code reader having an imaging means for imaging a product,
First detection means for detecting product information of the product from the image of the product imaged by the imaging means;
Second detection means for detecting a service label indicating the content of a service given to the product from the image of the product taken by the imaging means;
A determination unit that determines whether or not a product of the product information detected by the first detection unit is registered in a list in which product information of products that are not targeted for detection by the second detection unit is registered;
To function,
The second detection unit is a program for detecting the service label when it is determined that the determination unit is not registered.
JP2013042161A 2013-03-04 2013-03-04 Code reader and program Active JP5782059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013042161A JP5782059B2 (en) 2013-03-04 2013-03-04 Code reader and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013042161A JP5782059B2 (en) 2013-03-04 2013-03-04 Code reader and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015142327A Division JP6166753B2 (en) 2015-07-16 2015-07-16 Code reader

Publications (2)

Publication Number Publication Date
JP2014170404A true JP2014170404A (en) 2014-09-18
JP5782059B2 JP5782059B2 (en) 2015-09-24

Family

ID=51692750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013042161A Active JP5782059B2 (en) 2013-03-04 2013-03-04 Code reader and program

Country Status (1)

Country Link
JP (1) JP5782059B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018066660A (en) * 2016-10-20 2018-04-26 株式会社寺岡精工 Inspection device
JP2019144647A (en) * 2018-02-16 2019-08-29 東芝テック株式会社 Commodity sales processing device and program
JP2019152673A (en) * 2019-04-26 2019-09-12 株式会社寺岡精工 Inspection device
JP2021015125A (en) * 2019-04-26 2021-02-12 株式会社寺岡精工 Inspection device, program, and inspection method
JP2021192066A (en) * 2020-10-21 2021-12-16 株式会社寺岡精工 Inspection device and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000207402A (en) * 1999-01-12 2000-07-28 Nec Corp Information retrieval system, information retrieving method and program recording medium for information retrieval
JP2007272585A (en) * 2006-03-31 2007-10-18 Toshiba Tec Corp Commodity sales data processor
JP2009271916A (en) * 2008-04-08 2009-11-19 Toshiba Tec Corp Product registration processing apparatus
JP2012203574A (en) * 2011-03-24 2012-10-22 Toshiba Tec Corp Sale processing apparatus, program and sale processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000207402A (en) * 1999-01-12 2000-07-28 Nec Corp Information retrieval system, information retrieving method and program recording medium for information retrieval
JP2007272585A (en) * 2006-03-31 2007-10-18 Toshiba Tec Corp Commodity sales data processor
JP2009271916A (en) * 2008-04-08 2009-11-19 Toshiba Tec Corp Product registration processing apparatus
JP2012203574A (en) * 2011-03-24 2012-10-22 Toshiba Tec Corp Sale processing apparatus, program and sale processing system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018066660A (en) * 2016-10-20 2018-04-26 株式会社寺岡精工 Inspection device
JP2019144647A (en) * 2018-02-16 2019-08-29 東芝テック株式会社 Commodity sales processing device and program
JP7111475B2 (en) 2018-02-16 2022-08-02 東芝テック株式会社 Merchandise sales processing device and program
JP2019152673A (en) * 2019-04-26 2019-09-12 株式会社寺岡精工 Inspection device
JP2021015125A (en) * 2019-04-26 2021-02-12 株式会社寺岡精工 Inspection device, program, and inspection method
JP2021192066A (en) * 2020-10-21 2021-12-16 株式会社寺岡精工 Inspection device and program
JP7125809B2 (en) 2020-10-21 2022-08-25 株式会社寺岡精工 Inspection device, inspection method

Also Published As

Publication number Publication date
JP5782059B2 (en) 2015-09-24

Similar Documents

Publication Publication Date Title
JP5297506B2 (en) Code reader and program
JP5788928B2 (en) Information processing apparatus and program
JP5038456B2 (en) Sales registration device, checkout system and program
JP5320360B2 (en) Product code reader and program
JP2013008104A (en) Commodity list issuing apparatus, program and commodity list issuing method
JP5782059B2 (en) Code reader and program
JP2013050787A (en) Code reader, sales data processor, and program
JP2018113041A (en) Sticker
JP5681682B2 (en) Information processing apparatus and program
JP2012053697A (en) Code reader and program
JP6487498B2 (en) Code reader
JP5422769B2 (en) Code reader and program
JP5462302B2 (en) Code reading device, sales registration device and program
JP6692949B2 (en) Code reader and program
JP6166753B2 (en) Code reader
JP2012022529A (en) Commodity code reader and program
JP5349631B2 (en) Scanner and program
JP5349444B2 (en) Code reader and program
JP2013069306A (en) Merchandise information reading apparatus, merchandise information processing apparatus and program
JP6401214B2 (en) Information processing apparatus and program
JP5499109B2 (en) Checkout system, product information reading device and program
JP5377581B2 (en) Reading apparatus, merchandise sales information processing apparatus, and control program
JP2014174569A (en) Information processor and program
JP5599494B2 (en) Product code reader and program
JP2012133823A (en) Code reader, sales registration system and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150324

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150525

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: 20150616

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150716

R150 Certificate of patent or registration of utility model

Ref document number: 5782059

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150