JP2019083065A - Code reading device and program - Google Patents

Code reading device and program Download PDF

Info

Publication number
JP2019083065A
JP2019083065A JP2019028626A JP2019028626A JP2019083065A JP 2019083065 A JP2019083065 A JP 2019083065A JP 2019028626 A JP2019028626 A JP 2019028626A JP 2019028626 A JP2019028626 A JP 2019028626A JP 2019083065 A JP2019083065 A JP 2019083065A
Authority
JP
Japan
Prior art keywords
product
service
code
information
unit
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
JP2019028626A
Other languages
Japanese (ja)
Other versions
JP6692949B2 (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 JP2019028626A priority Critical patent/JP6692949B2/en
Publication of JP2019083065A publication Critical patent/JP2019083065A/en
Application granted granted Critical
Publication of JP6692949B2 publication Critical patent/JP6692949B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

To provide a code reading device and a program capable of efficiently reading a service label attached to a commodity.SOLUTION: The code reading device includes: imaging means that picks up an image of a commodity; first detection means that detects a piece of commodity information of the commodity from the image of the commodity picked up by the imaging means; second detection means that detects a service label indicating content of a service imparted to the commodity from the image of the commodity picked up by the imaging means; and determination means that determines whether the commodity of the commodity information detected by the first detection means is registered in a list in which pieces of commodity information of commodities are registered to be excluded from the detection objects by the second detection means. When the determine means determines the commodity is not registered, the second detection means detects the service label.SELECTED DRAWING: Figure 2

Description

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

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

しかしながら、商品コードの登録数の増加に伴い、商品コードの検索に要する時間も増加するため、サービスラベルの読み取りに要する時間が増大する可能性があった。   However, 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.

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

実施形態のコード読取装置は、商品を撮像する撮像手段と、前記撮像手段が撮像した前記商品の画像から、当該商品の商品情報を検出する第1検出手段と、前記撮像手段が撮像した前記商品の画像から、当該商品に対して付与されるサービスの内容を示したサービスラベルを検出する第2検出手段と、前記第2検出手段による検出の対象又は非対象とする商品の商品情報が登録された設定情報に基づいて、前記第1検出手段が検出した商品情報の商品が前記第2検出手段の検出対象か否かを判定する判定手段と、サービス付与の対象とするサービス対象商品の商品数と、サービス付与の対象外とするサービス非対象商品の商品数との関係に応じて、前記設定情報に登録する商品の商品情報を切り替える切替手段と、を備える。   The code reading device according to the embodiment includes an imaging unit configured to image a product, a first detection unit configured to detect product information of the product from an image of the product imaged by the imaging unit, and the product imaged by the imaging unit. Product information of a product to be detected or not detected by the second detection unit is registered from a second detection unit that detects a service label indicating the content of the service given to the product from the image of Determination means for determining whether or not the product of the product information detected by the first detection unit is the detection target of the second detection unit based on the setting information, and the number of products of the service target product targeted for service provision And switching means for switching product information of a product to be registered in the setting information in accordance with the relationship between the number of products of the service non-target product to be excluded from the service provision.

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

[第1の実施形態]
図1は、第1の実施形態に係るコード読取装置2を備えたチェックアウトレーンシステム4の外観構成を概略的に示す図である。図1に示すように、チェックアウトレーンシステム4は、商品を入れた買い物かごを戴置するためのサッカー台1と、サッカー台1の略中央に立設されたコード読取装置2と、コード読取装置2と図示しない伝送路によって相互通信可能に接続されたPOS端末3とを備える。
First Embodiment
FIG. 1 is a view schematically showing an appearance configuration of a checkout lane system 4 provided with a code reader 2 according to the first embodiment. As shown in FIG. 1, the checkout lane system 4 includes a football stand 1 for placing a shopping basket in which goods are placed, a code reading device 2 provided substantially at the center of the football stand 1, and a code reading The apparatus 2 and the POS terminal 3 communicably connected to each other by a transmission line (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 that performs sales registration of a product purchased by a customer. As shown in FIG. 1, the POS terminal 3 includes a keyboard 31, a display 32 for an operator, a display 33 for a customer, a printer 34 for printing receipts and the like, and a drawer 35 for storing cash and the like. The keyboard 31 is provided with a closing key and the like necessary for settlement of the commodity price. The POS terminal 3 has the same configuration and function as the POS terminal that is typically used 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 display for customer 23, a display for shop clerk 24, a buzzer 25, and an LED 26.

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

読取窓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) inside (see FIG. 2). The camera 20 may be an imaging device using, for example, a charge coupled device (CCD), or may be an imaging device using another imaging element such as a complementary metal oxide semiconductor (CMOS). The camera 20 picks up an article 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 showing the configuration of the code reader 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, 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 overall operation of the code reader 2. The ROM 42 stores a program according to the present embodiment, other programs for controlling 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 also 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 display 24 for the store clerk. 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 bar code or a two-dimensional code attached to a product, a label (service label) displaying a service such as discount or point addition, or the like.

図3は、商品60とカメラ20の撮像エリアとの関係の一例を示す図である。図中2点鎖線で囲った撮像エリア70a、70bは、カメラ20が1フレームで撮像可能な領域である。図3に示す商品60には、バーコードラベル61に加えて、サービスラベルの一例である値引ラベルL1が貼付されている。   FIG. 3 is a view showing an example of the relationship between the product 60 and the imaging area of the camera 20. As shown in FIG. The imaging areas 70a and 70b surrounded by a two-dot chain line in the drawing are areas in which the camera 20 can capture an image in one frame. In addition to the bar code 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 commodity name “commodity A1” of the commodity 60, the commodity price “200 yen”, the barcode 62 and the like. In the bar code 62, information such as a product code is incorporated as product information necessary for registering sales data of the product 60 at the POS terminal 3. At the bottom of the barcode 62, a product code "2101234567890" incorporated in the barcode 62 is displayed. The discount label L1 displays character information “50 yen discount from the displayed price” indicating the discount amount for the product 60.

なお、サービスラベルとしては、商品60に付され、商品60の販売登録時に付与されるサービスを表示するものであればよい。即ち、サービスラベルは、バーコード62が含む商品60の商品情報に対して付与される所定のサービスを、文字やシンボルで示す表示である。サービスラベルの他の例としては、商品60の割引率を表示した割引ラベルや、商品60を購入した客に対して、通常のポイント付与数より割増されて付与されるポイント数を表示したポイント割増ラベル等がある。   The service label may be any label that is attached to the product 60 and displays the service provided at the time of sale registration of the product 60. That is, the service label is a display that indicates a predetermined service provided to the product information of the product 60 included in the barcode 62 by characters or symbols. As another example of the service label, a discount label indicating the discount rate of the product 60 or a point discount indicating the number of points to be provided to the customer who purchased the product 60 more than the normal number of point grants There is a label etc.

図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 separated and attached to each other in 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 sets the product 60 a plurality of times by a plurality of frames of the imaging area 70a including the bar code 62 and the imaging area 70b including the discount label L1. Divide the image into

図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, the product code of the product not to be detected by the service label detection unit 54 described later is registered. Specifically, in the present embodiment, the product code of a product (hereinafter referred to as a non-service target product) which is not targeted for service provision 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 registered individually for each service non-target product. Further, if the numerical values constituting the product code are partially common due to the same category etc., the common number sequence part (for example, the upper three digits) may be registered. A non-serviceable item is an item that is not discounted. Examples of non-serviceable products are cigarettes, liquor, books, tickets, CDs, securities (stamps, stamps, gift certificates, gift certificates, telephone cards, postal cards, meal tickets, etc.), and high-end products.

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

画像取込部51は、カメラコントローラ49に撮像オン信号を出力してカメラ20に撮像動作を開始させる。また、画像取込部51は、サービスラベル検出部54の指示を受けた場合に、カメラ20が撮像した撮像エリア70a又は70b(図3参照)内の画像を取り込んで、RAM43の画像ワークエリアに格納する。   The image capture 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 enters 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, detection of a barcode from the captured image by pattern matching technology, detection of a two-dimensional code from a predetermined finder pattern, and the like are performed. The barcode detection unit 52 converts a code symbol detected according to a predetermined decoding method into code information, and reads 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 the product code is registered in the target product list F1. If the target product determination unit 53 determines that the target product list F1 is registered, the target product determination unit 53 determines that the service label is not detected. If the target product determination unit 53 determines that the target product list F1 is not registered, the target product determination unit 53 determines that the service label is to be detected.

ところで、従来の技術では、サービス付与の対象となる商品(以下、サービス対象商品という)、つまりサービスラベルの検出(読み取り)対象となる商品の商品コードを予め登録しておき、該当する商品コードが読み取られた場合にサービスラベルの検出を行っている。また、値引やポイントサービス等のサービスを提供する店舗では、サービス対象商品の商品数も増加する傾向にある。しかしながら、この場合、商品コードの登録数の増加に伴い、商品コードの検索に要する時間も増加するため、サービスラベルの読み取りに要する時間が増大する可能性があった。   By the way, in the prior art, the product code of the product for which the service is to be provided (hereinafter referred to as the service target product), that is, the product code of the product for which the service label is detected (read) is registered in advance. When read, the service label is detected. In addition, 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 the product code also increases, which may increase the time required to read the service label.

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

サービスラベル検出部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 generates an image of the service label from the image stored in the image work area of the RAM 43 when the target product determination unit 53 determines that the service label is to be detected. To detect Further, while the timer 54a has not timed out, that is, while the predetermined time set in advance has not elapsed, the service label detection unit 54 continues to detect the service label.

より具体的には、サービスラベル検出部54は、タイマー54aがタイムアウトしていない場合で、且つサービスラベル検出部54がサービスラベルを検出していない間は、画像取込部51に対して画像取込を行うよう指示する。そして、画像取込部51はカメラ20が撮像した撮像エリア内の画像を新たに取り込み、サービスラベル検出部54は、新たに取り込まれた画像に対してサービスラベルを検出する処理を行う。   More specifically, when the timer 54 a has not timed out, and the service label detection unit 54 has not detected the service label, the service label detection unit 54 transmits an image to the image capture unit 51. Instructs you to Then, the image capture 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 on the newly captured image.

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

より具体的には、サービスラベル検出部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 the image recognition technology using information indicating the feature (frame line, shape, etc.) of the service label, which is set in advance in the ROM 42 or the like. Then, the service label detection unit 54 performs a character recognition process such as an optical character reader (OCR) on the detected label, or performs pattern matching by object recognition, thereby displaying a discount amount displayed on the label, a discount rate, Read service information such as grant points. For example, in the example of FIG. 3, the service label detection unit 54 detects the discount label L1. Next, the service label detection unit 54 recognizes characters such as "50 yen" and "description" written on the discount label L1, and reads service information that is to be discounted by 50 yen.

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

なお、サービスラベル検出部54は、文字情報の識別処理に限定されず、ラベルや図形等の色や大きさ、形状等を識別して、それらの特徴に対応付けられたサービス情報を読み取ってもよい。   The service label detection unit 54 is not limited to the identification process of character information, and may identify the color, size, shape, etc. of a label, a figure, etc. 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 a service label is attached to the product 60 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 attached to the product 60, the notification unit 55 sounds the buzzer 25 and controls the display controller 48, as shown in FIG. The first message such as “Please scan” is displayed on the display 24 for the store clerk. Furthermore, the notification unit 55 may cause the LED 26 to blink.

また、報知部55は、対象商品判定部53によってサービスラベルの検出対象と判定された場合であって、サービスラベル検出部54によってサービスラベルが上述の所定の時間内に検出されなかった場合に、商品60にはサービスラベルが添付されている旨、もしくは、商品60に添付されているサービスラベルを読み込む旨の指示をオペレータに報知する。   Further, 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 a service label within the above-described predetermined time. The operator is notified that a service label is attached to the product 60 or an instruction to read the service label attached to the product 60.

より具体的には、報知部55は、サービスラベルの検出対象と判定されたが、サービスラベルが検出されずにタイマー54aがタイムアウトした場合に、ブザー25を鳴動させる。また、報知部55は、「値引ラベルはありませんか?」(図5−1参照)或いは「値引ラベルが読み込まれていません。値引ラベルをスキャンして下さい。」(図5−2参照)等の第2メッセージを店員用ディスプレイ24に表示させる。   More specifically, the notification unit 55 makes the buzzer 25 sound when it is determined that the service label is to be detected, but the timer 54 a times out without detecting the service label. In addition, the notification unit 55 “does not have a discount label?” (See FIG. 5-1) or “the discount label is not read. Please scan the discount label” (FIG. 5-2). The second message such as reference) 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, to the POS terminal 3, at least one of the code information read by the bar code detection unit 52 and the service information read by the service label detection unit 54.

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

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

なお、サービスラベルが剥がれる等して、本来値引されるべき商品ではあるが、商品60にサービスラベルが付されていない場合には、キーボード22から値引額や値引率等のサービス情報を入力してもよい。   In addition, although the service label is peeled off, etc., it is a product that should be discounted originally, but if the service label is not attached to the product 60, enter service information such as discount amount or discount rate 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 reader 2 and performs sales registration of the product 60 using the received code information. When the POS terminal 3 receives the service information together with the code information, the POS terminal 3 adds the service corresponding to the service information to the product 60 and performs sales registration of the product 60.

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

POS端末3からスキャン開始の指示を受信すると、コード読取装置2の画像取込部51は、カメラコントローラ49に撮像オン信号を出力し、カメラ20による撮像を開始する(ステップS11)。画像取込部51は、カメラ20が撮像した画像の画像データをRAM43の画像ワークエリアに取り込む(ステップS12)。   When receiving the scan start instruction from the POS terminal 3, the image capture unit 51 of the code reader 2 outputs an imaging on signal to the camera controller 49, and starts imaging by the camera 20 (step S11). The image capture unit 51 captures the image data of the 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 the image of the barcode 62 is 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 by the camera 20 (step S12). When the 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 code information (product code) read by the barcode detection unit 52 from the target product list F1 to determine whether the product code is registered in the target product list F1. Is determined (step S14). When 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)、サービスラベルの検出を行う。   When 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 measures the time for detecting the service label by starting the timer 54a (step S15), and detects the service label.

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

サービスラベルが検出されなかった場合(ステップS17:No)には、タイマー54aがタイムアウトしたか判定する(ステップS19)。タイムアウトした場合(ステップS19:Yes)には、報知部55は、ブザー25を鳴らすとともに、店員用ディスプレイ24に「値引ラベルはありませんか?」等の第2メッセージ(図5−1参照)を表示させて、サービスラベルが貼付されていないか再度オペレータに報知する(ステップS20)。   When 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 the second display (see FIG. 5-1) such as "Is there a discount label?" The message is displayed, and the operator is notified again whether the service label is attached (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 generates code information (product code). Is output to the POS terminal 3 (step S23).

一方、ステップS19でタイムアウトしていない場合(ステップS19:No)又はステップS21でエンターキーが押下されていない場合(ステップS21:No)、画像取込部51は、カメラ20が撮像した画像を取り込んで(ステップS22)、ステップS17に移行する。   On the other hand, when time-out does not occur at step S19 (step S19: No) or when the enter key is not pressed at step S21 (step S21: No), the image capturing unit 51 captures an image captured by the camera 20 Then (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 the sale registration process has been completed from the POS terminal 3 and the end of the bar code reading process has been instructed (step S24). When the end of the bar code 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 ends the imaging by the camera 20.

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

[第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 detection target of the service label. However, it is also assumed that the number of products to which the service label is added is smaller than the number of products to which the service label is not added. Therefore, in the second embodiment, the product code to be registered in the target product list F1 is switched according to the ratio between the number of products to which the service label is added that occupies the total number of products and the number of products to which the service label is not added. The possible configurations 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 reader 2a according to the second embodiment. The code reader 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, which are connected by a bus line 41 such as an address bus or data bus. 48, a camera controller 49, and a memory 27. Further, the memory 27 stores the target product list F1.

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

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

ここで、「商品コードの総数(個数)」は、互いに異なる数列で表された商品コードの個数を意味し、同一の数列で表される商品コードを一つの商品コードとして取り扱う。なお、本実施形態では、店舗内で使用される商品コードの総数は、サービスラベルを付加する商品の商品コードの個数と、サービスラベルを付加しない商品の商品コードの個数との積算値となることを想定している。   Here, “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 this embodiment, the total number of product codes used in the store is an integrated value of the number of product codes of products to which service labels are added and the number of product codes of 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 to be added and the number of products to which the service label is not to be added, based on the above calculation result. The target product switching unit 57 adds the service label when the ratio of the product to which the service label is to be added is equal to or more than a predetermined threshold (for example, 50%) Register the product code of the product not to be sold 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 as the detection target of the service label.

また、対象商品切替部57は、サービスラベルを付加する商品の割合が閾値(例えば、50%)未満の場合(或いは、サービスラベルを付加しない商品の割合が閾値以上の場合)、サービスラベルを付加する商品の商品コードを対象商品リストF1に登録する。そして、対象商品切替部57は、対象商品リストF1に登録された商品コードをサービスラベルの検出対象とする第2設定を、対象商品判定部58に指示する。   Further, the target product switching unit 57 adds the service label when the ratio of the products to which the service label is to be added is less than a threshold (for example, 50%) (or the ratio of the products to which the service label is not to be added is 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 make a 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. The target product determination unit 58 switches the determination criteria as to whether or not the product code registered in the target product list F1 is to be detected in response to the instruction from the target product switching unit 57.

具体的には、対象商品判定部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 determining unit 58 performs the determination process with the product code registered in the target product list F1 as not to be detected. In addition, when the second setting is instructed from the target product switching unit 57, the target product determining unit 58 performs a determination process on 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 when the product code is registered in the target product list F1, the determination is made according to the above determination criteria. Do the processing.

このように、本実施形態では、サービスラベルを付加する商品の個数と、サービスラベルを付加しない商品の個数との比率を算出し、その割合が少ない商品の商品コードを対象商品リストF1に登録する。また、本実施形態では、対象商品リストF1の更新に伴い、対象商品判定部58の判定基準を切り替える。これにより、サービス対象商品の商品数が、サービス非対象商品の商品数を大きく上回るような場合であっても、或いはその反対の事象が生じた場合であっても、商品コードの検索に要する時間を減少させることができるため、サービスラベルの読み取りを効率的に行うことができる。   As described above, in this embodiment, 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 calculated is calculated, and the product code of the product having a small ratio is registered in the target product list F1. . Further, in the present embodiment, along with the update of the target product list F1, the determination criteria of the target product determination unit 58 are switched. Thereby, even if the number of products of the service target product greatly exceeds the number of non-service target products or the opposite event occurs, the time required for the product code search As a result, 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 the present embodiment will be described using FIG. FIG. 8 is a flowchart showing the procedure of the setting switching process performed by the code reader 2a. As a premise of this process, it is assumed that each of the product codes used in the store is stored in the memory 27 as setting information. Further, it is assumed that either 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). Further, 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 the service target products (step S33). Next, the target product switching unit 57 determines whether the ratio calculated in step S33 is equal to or more than the threshold (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 in step S34 (step S34: Yes), the target product switching unit 57 registers the product code of the service non-target product for which the service label is not added in the target product list F1 (step S35). Then, the target product switching unit 57 switches the determination criteria of the target product determination unit 58 to the first setting for excluding the product code of the target product list F1 as the detection target of the service label (step S36), and ends this processing.

また、対象商品切替部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 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 criteria 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 the present process is ended.

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

また、第2の実施形態のコード読取装置2aが実行する情報読取処理は、対象商品判定部58の設定により対象商品判定部58の判定基準が切り替わる以外は、第1の実施形態の情報読取処理と同様である。そのため、本実施形態での情報読取処理の説明は省略する。   Further, the information reading process performed by the code reading device 2a of the second embodiment is the information reading process of the first embodiment except that the determination criteria of the target product determining unit 58 are switched by the setting of the target product determining unit 58. Is the same as Therefore, the description of the information reading process in the present 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 according to the ratio between the number of products to which the service label is added that occupies the total number of products and the number of products to which the service label is not added. Dynamically switch the product code registered in F1. As a result, when one of the service target product and the non-service target product becomes larger than the other, the search time for the product code from the target product list F1 can be reduced, so 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 non-service target product, detection of the service label is not performed, so that fraud can be prevented. That is, even if the discount label is intentionally removed from the discounted product and the discount label is attached to the non-discounted product, the discount is not discounted from the non-discounted product. At this time, it may be displayed on the store clerk display 24 that the discount label is attached to the product which is not the discount product.

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

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

また、値引や割引等のサービス情報及びバーコード62は、ラベルに印刷される形態に限定されるものではない。その他の例として、サービス情報やバーコード62を商品60に直接記載又は印刷するとしてもよい。   Further, the service information such as discount or discount 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 reader 2 or 2a of the above embodiment is provided by being incorporated in advance in the ROM 42, the memory 27 or the like. The program executed by the code reader 2 or 2a of the above embodiment is a file of an installable format or an executable format, and is a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk). Etc.) may be recorded and provided on a computer readable recording medium.

さらに、上記実施形態のコード読取装置2、2aで実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上記実施形態のコード読取装置2、2aで実行されるプログラムをインターネット等のネットワーク経由で提供又は配布するように構成してもよい。   Furthermore, the program executed by the code reader 2 or 2a of the above embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Further, the program executed by the code reader 2 or 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 reading device 2 or 2a according to the above embodiment includes the above-described units (image capturing unit 51, barcode detecting unit 52, target product determining unit 53, service label detecting unit 54, notifying unit 55, information) The module configuration includes an output unit 56, a target product switching unit 57, a target product determination unit 58), and the CPU 50 (processor) reads a program from the ROM 42 or the memory 27 and executes it as actual hardware. The above units are loaded onto the main storage device, and the image capture 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 judgment 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 (4)

商品を撮像する撮像手段と、
前記撮像手段が撮像した前記商品の画像から、当該商品の商品情報を検出する第1検出手段と、
前記撮像手段が撮像した前記商品の画像から、当該商品に対して付与されるサービスの内容を示したサービスラベルを検出する第2検出手段と、
前記第2検出手段による検出の対象又は非対象とする商品の商品情報が登録された設定情報に基づいて、前記第1検出手段が検出した商品情報の商品が前記第2検出手段の検出対象か否かを判定する判定手段と、
サービス付与の対象とするサービス対象商品の商品数と、サービス付与の対象外とするサービス非対象商品の商品数との関係に応じて、前記設定情報に登録する商品の商品情報を切り替える切替手段と、
を備えるコード読取装置。
Imaging means for imaging a product;
First detection means for detecting product information of the product from the image of the product taken by the imaging device;
A second detection unit that detects a service label indicating the content of a service provided to the product from the image of the product captured by the imaging unit;
Whether the product of the product information detected by the first detection unit is the detection target of the second detection unit based on the setting information in which the product information of the product to be detected or not targeted by the second detection unit is registered Determining means for determining whether or not
And switching means for switching product information of the product to be registered in the setting information according to the relationship between the number of products of service target products to which service is to be provided and the number of products of non-service target products to be out of service. ,
A code reader comprising:
前記判定手段が前記第2検出手段の検出対象と判定したにも拘わらず、前記第2検出手段で前記サービスラベルを検出できない場合に、前記商品に対して付与するサービスの内容を示したサービス情報の入力を受け付ける入力受付手段を更に備える請求項1に記載のコード読取装置。   Service information indicating the content of a service to be provided to the product when the second detection unit can not detect the service label although the determination unit determines that the second detection unit detects the detection target The code reading device according to claim 1, further comprising input receiving means for receiving an input of 前記切替手段は、前記サービス対象商品及び前記サービス非対象商品のうち、商数数が少ない方の商品情報を前記設定情報に登録する請求項1に記載のコード読取装置。   The code reader according to claim 1, wherein the switching unit registers, in the setting information, product information of a smaller number of quotients out of the service target product and the service non-target product. 商品を撮像する撮像手段を備えたコード読取装置のコンピュータを、
前記撮像手段が撮像した前記商品の画像から、当該商品の商品情報を検出する第1検出手段と、
前記撮像手段が撮像した前記商品の画像から、当該商品に対して付与されるサービスの内容を示したサービスラベルを検出する第2検出手段と、
前記第2検出手段による検出の対象又は非対象とする商品の商品情報が登録された設定情報に基づいて、前記第1検出手段が検出した商品情報の商品が前記第2検出手段の検出対象か否かを判定する判定手段と、
サービス付与の対象とするサービス対象商品の商品数と、サービス付与の対象外とするサービス非対象商品の商品数との関係に応じて、前記設定情報に登録する商品の商品情報を切り替える切替手段と、
して機能させるためのプログラム。
A computer of a code reader provided with imaging means for imaging a product;
First detection means for detecting product information of the product from the image of the product taken by the imaging device;
A second detection unit that detects a service label indicating the content of a service provided to the product from the image of the product captured by the imaging unit;
Whether the product of the product information detected by the first detection unit is the detection target of the second detection unit based on the setting information in which the product information of the product to be detected or not targeted by the second detection unit is registered Determining means for determining whether or not
And switching means for switching product information of the product to be registered in the setting information according to the relationship between the number of products of service target products to which service is to be provided and the number of products of non-service target products to be out of service. ,
Program to make it work.
JP2019028626A 2019-02-20 2019-02-20 Code reader and program Active JP6692949B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019028626A JP6692949B2 (en) 2019-02-20 2019-02-20 Code reader and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019028626A JP6692949B2 (en) 2019-02-20 2019-02-20 Code reader and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017123356A Division JP6487498B2 (en) 2017-06-23 2017-06-23 Code reader

Publications (2)

Publication Number Publication Date
JP2019083065A true JP2019083065A (en) 2019-05-30
JP6692949B2 JP6692949B2 (en) 2020-05-13

Family

ID=66670574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019028626A Active JP6692949B2 (en) 2019-02-20 2019-02-20 Code reader and program

Country Status (1)

Country Link
JP (1) JP6692949B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272585A (en) * 2006-03-31 2007-10-18 Toshiba Tec Corp Commodity sales data processor
JP2011221585A (en) * 2010-04-02 2011-11-04 Toshiba Tec Corp Code reader, sale registration device and program
JP2012094069A (en) * 2010-10-28 2012-05-17 Toshiba Tec Corp Code symbol reader and program
JP2012113689A (en) * 2010-11-01 2012-06-14 Toshiba Tec Corp Code reader and program
JP2012203574A (en) * 2011-03-24 2012-10-22 Toshiba Tec Corp Sale processing apparatus, program and sale processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272585A (en) * 2006-03-31 2007-10-18 Toshiba Tec Corp Commodity sales data processor
JP2011221585A (en) * 2010-04-02 2011-11-04 Toshiba Tec Corp Code reader, sale registration device and program
JP2012094069A (en) * 2010-10-28 2012-05-17 Toshiba Tec Corp Code symbol reader and program
JP2012113689A (en) * 2010-11-01 2012-06-14 Toshiba Tec Corp Code reader and program
JP2012203574A (en) * 2011-03-24 2012-10-22 Toshiba Tec Corp Sale processing apparatus, program and sale processing system

Also Published As

Publication number Publication date
JP6692949B2 (en) 2020-05-13

Similar Documents

Publication Publication Date Title
JP5297506B2 (en) Code reader and program
JP5788928B2 (en) Information processing apparatus and program
JP5502821B2 (en) Code reading device, sales data processing device, and program
JP5038456B2 (en) Sales registration device, checkout system and program
JP2013008104A (en) Commodity list issuing apparatus, program and commodity list issuing method
JP5782059B2 (en) Code reader and program
JP2018113041A (en) Sticker
JP2012053701A (en) Code reader and program
JP5681682B2 (en) Information processing apparatus and program
JP2012053697A (en) Code reader and program
JP2012053709A (en) Reading device 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
JP5349631B2 (en) Scanner and program
JP2012022529A (en) Commodity code reader and program
JP5349444B2 (en) Code reader and program
JP6401214B2 (en) Information processing apparatus and program
JP6671412B2 (en) Checkout system, receipt issuing method, and program
JP2014174569A (en) Information processor and program
JP5499109B2 (en) Checkout system, product information reading device and program
JP5377581B2 (en) Reading apparatus, merchandise sales information processing apparatus, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200415

R150 Certificate of patent or registration of utility model

Ref document number: 6692949

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150