JP2013008290A - Code reader, seal and control program - Google Patents

Code reader, seal and control program Download PDF

Info

Publication number
JP2013008290A
JP2013008290A JP2011141790A JP2011141790A JP2013008290A JP 2013008290 A JP2013008290 A JP 2013008290A JP 2011141790 A JP2011141790 A JP 2011141790A JP 2011141790 A JP2011141790 A JP 2011141790A JP 2013008290 A JP2013008290 A JP 2013008290A
Authority
JP
Japan
Prior art keywords
barcode
code
image
partial
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011141790A
Other languages
Japanese (ja)
Inventor
Osamu Tsuchiya
修 土屋
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 JP2011141790A priority Critical patent/JP2013008290A/en
Publication of JP2013008290A publication Critical patent/JP2013008290A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent incorrect processing due to incorrect reading of a bar code.SOLUTION: A code reader includes: partial bar code generation means for generating a partial bar code constituting part of a bar code from each of multiple areas into which the bar code is divided by a predetermined graphic; combination means for combining multiple partial bar codes to generate the bar code; condition determination means for determining whether an image satisfies a predetermined output condition; and output control means for outputting an information code corresponding to the bar code combined by the combination means when the image satisfies the predetermined output condition.

Description

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

スーパーマーケット等の店舗では、生鮮品の廃棄ロスを削減するために、閉店時間が近づくと値引額や割引率等を表示した値引ラベルを商品に貼付して、商品の値引販売を行う。   In a store such as a supermarket, in order to reduce the loss of disposal of fresh products, a discount label indicating a discount amount, a discount rate, etc. is attached to the product when the store closes, and the product is sold at a discount.

従来、CCD(Charge Coupled Device)イメージセンサ等の撮像素子を用いて、バーコード近傍に貼付された値引ラベルを、バーコードとともに撮像し、撮像した画像から商品コードと、値引ラベル(サービス表示ラベル)が示す値引情報(サービス情報)とを読み取るコード読取装置が開示されている。コード読取装置は、読み取った商品コードと、値引情報とをPOS(Point Of Sales)端末装置に出力する。POS端末装置は、受け取った商品コードおよび値引情報により、商品の値引販売を行うことができる。   Conventionally, a discount label affixed in the vicinity of a barcode is imaged together with a barcode using an image sensor such as a CCD (Charge Coupled Device) image sensor, and a product code and a discount label (service display) are captured from the captured image. A code reading device that reads discount information (service information) indicated by a label is disclosed. The code reading device outputs the read product code and discount information to a POS (Point Of Sales) terminal device. The POS terminal device can carry out discount sales of products based on the received product code and discount information.

しかしながら従来技術においては、値引ラベルが、バーコードとともにワンショットで撮像できる撮像エリア内に貼付されていない場合には、バーコードのみを読み取って、読み取った商品コードをPOS端末に通知してしまい、値引き前の価格で商品を販売してしまい、値引を確実に行うことが難しいという問題がある。   However, in the prior art, if the discount label is not attached to the imaging area that can be imaged with the barcode in one shot, only the barcode is read and the read product code is notified to the POS terminal. There is a problem that it is difficult to sell the product at the price before the discount and to surely perform the discount.

実施形態のコード読取装置は、部分バーコード生成手段と、合成手段と、条件判別手段と、出力制御手段と、を備える。
部分バーコード生成手段は、バーコードを所定の図形により複数の領域に分断された領域から、前記バーコードの一部を構成する部分バーコードを生成する。
これにより、合成手段は、複数の部分バーコードを合成してバーコードを生成する。
一方、条件判別手段は、画像が所定の出力条件を満たすかを判別し、出力制御手段は、判別の結果に基づいて、画像が所定の出力条件を満たす場合には、合成手段により合成されたバーコードに対応する情報コードを出力する。
The code reading apparatus according to the embodiment includes a partial bar code generation unit, a synthesis unit, a condition determination unit, and an output control unit.
The partial barcode generating means generates a partial barcode constituting a part of the barcode from an area where the barcode is divided into a plurality of areas by a predetermined graphic.
Thus, the synthesizing unit generates a barcode by synthesizing a plurality of partial barcodes.
On the other hand, the condition determining means determines whether the image satisfies a predetermined output condition, and the output control means is based on the determination result and is synthesized by the combining means when the image satisfies the predetermined output condition. The information code corresponding to the barcode is output.

また、シールは、バーコードを構成する複数のバーが配置された領域を複数の領域に分断して、一連の前記バーの読み取りを阻害可能な図形と、この図形が形成された透明のシール部材と、を備える。   In addition, the seal is divided into a plurality of areas in which a plurality of bars constituting the barcode are arranged, and a graphic that can inhibit reading of the series of the bars, and a transparent seal member on which the figures are formed And comprising.

また、実施形態の制御プログラムは、バーコードに対応する情報コードを出力するコード読取装置をコンピュータにより制御するための制御プログラムであって、コンピュータを、バーコードを所定の図形により複数の領域に分断された領域から、前記バーコードの一部を構成する部分バーコードを生成する部分バーコード生成手段と、複数の部分バーコードを合成して前記バーコードを生成する合成手段と、前記画像が所定の出力条件を満たすかを判別する条件判別手段と、判別の結果に基づいて、画像が所定の出力条件を満たす場合には、合成手段により合成されたバーコードに対応する情報コードを出力する出力制御手段と、して機能させる。   The control program of the embodiment is a control program for controlling a code reading device that outputs an information code corresponding to a barcode by a computer, and the computer divides the barcode into a plurality of areas by a predetermined figure. A partial barcode generation unit that generates a partial barcode that constitutes a part of the barcode from the generated area; a synthesis unit that generates a barcode by combining a plurality of partial barcodes; and A condition determination unit that determines whether the output condition is satisfied, and an output that outputs an information code corresponding to the barcode synthesized by the synthesis unit when the image satisfies a predetermined output condition based on the determination result It functions as a control means.

図1は、第1実施形態のコード読取装置を備えたチェックアウトシステムの概要構成を示す外観斜視図である。FIG. 1 is an external perspective view showing a schematic configuration of a checkout system including a code reading device according to the first embodiment. 図2は、スキャナの概要構成ブロック図である。FIG. 2 is a schematic configuration block diagram of the scanner. 図3は、商品とカメラの撮像エリアとの関係の一例を示す図である。FIG. 3 is a diagram illustrating an example of the relationship between the product and the imaging area of the camera. 図4は、フラグシールの概要構成説明図である。FIG. 4 is a schematic configuration explanatory diagram of the flag seal. 図5は、フラグシールをバーコード上に理想的な状態で貼付した状態の説明図である。FIG. 5 is an explanatory diagram of a state where the flag seal is affixed on the barcode in an ideal state. 図6は、フラグシールを元のコードシンボルを合成可能な状態でバーコード上に傾けて貼付した状態の説明図である。FIG. 6 is an explanatory diagram of a state in which the flag sticker is tilted and pasted on the barcode in a state where the original code symbol can be synthesized. 図7は、フラグシールが機能しない状態でバーコード上に貼付した状態の説明図である。FIG. 7 is an explanatory diagram of a state where the flag sticker is stuck on the barcode in a state where it does not function. 図8は、実施形態の処理フローチャートである。FIG. 8 is a processing flowchart of the embodiment. 図9は、処理状態の説明図である。FIG. 9 is an explanatory diagram of the processing state. 図10は、検出状態の説明図(その1)である。FIG. 10 is an explanatory diagram (part 1) of the detection state. 図11は、検出状態の説明図(その2)である。FIG. 11 is an explanatory diagram (part 2) of the detection state. 図12は、検出状態の説明図(その3)である。FIG. 12 is an explanatory diagram (part 3) of the detection state. 図13は、第1実施形態の変形例の処理フローチャートである。FIG. 13 is a process flowchart of a modification of the first embodiment. 図14は、第2実施形態のコード読取装置を備えたチェックアウトシステムの概要構成ブロック図である。FIG. 14 is a schematic block diagram of a checkout system including the code reading device according to the second embodiment. 図15は、他のフラグシールの概要構成説明図である。FIG. 15 is an explanatory diagram of a schematic configuration of another flag seal.

次に実施形態について図面を参照して説明する。
[1]第1実施形態
図1は、第1実施形態のコード読取装置を備えたチェックアウトシステムの概要構成を示す外観斜視図である。
チェックアウトシステム10は、図1に示すように、商品を入れた買い物かごを戴置するためのチェックアウトカウンタ11と、チェックアウトカウンタ11に隣接して配置され、客が購入する商品の販売登録を行うPOS端末装置12と、POS端末装置12と図示しない通信ネットワークを介して相互通信可能に接続されるとともに、チェックアウトカウンタ11の略中央に立設されたコード読取装置として機能するスキャナ装置13と、を備えている。
Next, embodiments will be described with reference to the drawings.
[1] First Embodiment FIG. 1 is an external perspective view showing a schematic configuration of a checkout system including a code reading device according to a first embodiment.
As shown in FIG. 1, the checkout system 10 is arranged adjacent to the checkout counter 11 for placing a shopping basket containing products, and sales registration of products purchased by customers. The POS terminal device 12 that performs the above-described operation, and the POS terminal device 12 that are communicably connected to each other via a communication network (not shown), and that function as a code reading device that is erected substantially at the center of the checkout counter 11 And.

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

スキャナ13は、商品に貼付されたバーコードを読み取って、バーコードが含む商品情報(商品コード)をPOS端末装置12に出力するための装置である。図1に示すように、スキャナ13は、読取窓21と、キーボード22と、客用ディスプレイ23と、店員用ディスプレイ24と、ブザー25と、LED26とを主に備えている。   The scanner 13 is a device for reading a barcode attached to a product and outputting product information (product code) included in the barcode to the POS terminal device 12. As shown in FIG. 1, the scanner 13 mainly 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が設けられたスキャナ13の内部には、カメラ20(図2参照)が内蔵されている。カメラ20は、例えばCCD(Charge Coupled Device)を用いた撮像装置であってもよいし、CMOS(Complementary Metal Oxide Semiconductor)などその他の撮像素子を用いた撮像装置であってもよい。カメラ20は、読取窓21に相対する撮像領域にかざされた商品を撮像する。   A camera 20 (see FIG. 2) is built in the scanner 13 provided with the reading window 21. The camera 20 may be, for example, an imaging device using 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は、スキャナの概要構成ブロック図である。
スキャナ13は、CPU50と、ROM42と、RAM43と、通信I/F44と、出力ポート45と、キーボードコントローラ46と、表示コントローラ47、48と、カメラコントローラ49と、メモリ27とを主に備えており、これらがアドレスバス、データバスなどのバスライン41を介して接続されている。
FIG. 2 is a schematic configuration block diagram of the scanner.
The scanner 13 mainly includes a CPU 50, a ROM 42, a RAM 43, a communication I / F 44, an output port 45, a keyboard controller 46, display controllers 47 and 48, a camera controller 49, and a memory 27. These are connected via a bus line 41 such as an address bus or a data bus.

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

通信I/F44は、バスを介して接続されたPOS端末装置12(図1参照)とのデータ通信を制御する。
出力ポート45は、ブザー25とLED26に駆動信号を出力する。
キーボードコントローラ46は、キーボード22からキー信号を取り込む。
表示コントローラ47は、客用ディスプレイ23に対するデータ表示を制御する。表示コントローラ48は、店員用ディスプレイ24に対するデータ表示を制御する。
カメラコントローラ49は、カメラ20の撮像動作を制御する。
The communication I / F 44 controls data communication with the POS terminal device 12 (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は、商品に付されたバーコードまたは二次元コード等のコードシンボルや、値引やポイント付加等のサービスを表示したラベル(サービス表示部材)、通常の読取処理においてコードシンボルの読み取りを阻害するフラグシール等を撮像する。   The camera 20 obstructs the reading of code symbols such as bar codes or two-dimensional codes attached to products, labels (service display members) displaying services such as discounts and point addition, and normal reading processing. The flag sticker etc. to be imaged.

上記構成において、CPU50は、制御プログラムが実行されることで、図2に示すように、画像取込部51と、バーコード読取部52と、サービス判定部53と、サービス表示検出部54と、報知部55と、情報出力部56として機能する。   In the above configuration, the CPU 50 executes the control program, and as shown in FIG. 2, the image capturing unit 51, the barcode reading unit 52, the service determining unit 53, the service display detecting unit 54, It functions as a notification unit 55 and an information output unit 56.

図3は、商品とカメラの撮像エリアとの関係の一例を示す図である。
画像取込部51は、カメラコントローラ49を制御して、カメラ20に撮像動作を行わせ、撮像した画像の取込を行う。また、画像取込部51は、サービス表示検出部54の指示を受けた場合に、図3に示すように、カメラ20が撮像した撮像エリア70内の画像をRAM43の画像ワークエリアに格納する。
FIG. 3 is a diagram illustrating an example of the relationship between the product and the imaging area of the camera.
The image capturing unit 51 controls the camera controller 49 to cause the camera 20 to perform an image capturing operation and capture a captured image. Further, when receiving an instruction from the service display detection unit 54, the image capture unit 51 stores the image in the imaging area 70 captured by the camera 20 in the image work area of the RAM 43 as shown in FIG. 3.

バーコード読取部52は、画像取込部51が取り込んだ画像からバーコードであると思われる画像を、パターン認識やオブジェクト認識等の認識処理により検出して、バーコードに対応するコードシンボルを抽出し、あるいは、バーコードに含まれるコードシンボルを構成する部分コードシンボルを複数抽出し、所定手順で合成して、コードシンボルを生成する。そして、バーコード読取部52は、所定のデコード方法に従って検出したコードシンボルを情報コード(本実施形態では、商品コード)に変換して出力する。
サービス判定部53は、バーコード読取部52が検出したコードシンボルが、(後述するフラグライン等により)一部欠損しており、そのまま通常の読取処理を行ったのでは、コードシンボルが抽出できず、ひいては情報コードに変換することができない場合には、当該商品にはサービス表示部材が付されているであろうと判定することとなる。
The barcode reading unit 52 detects an image that seems to be a barcode from the image captured by the image capturing unit 51 by a recognition process such as pattern recognition or object recognition, and extracts a code symbol corresponding to the barcode. Alternatively, a plurality of partial code symbols constituting code symbols included in the barcode are extracted and synthesized by a predetermined procedure to generate code symbols. The barcode reading unit 52 converts the code symbol detected in accordance with a predetermined decoding method into an information code (a product code in the present embodiment) and outputs the information code.
In the service determination unit 53, a part of the code symbol detected by the barcode reading unit 52 is missing (due to a flag line or the like to be described later), and the code symbol cannot be extracted if the normal reading process is performed as it is. If the information code cannot be converted, it is determined that a service display member will be attached to the product.

サービス表示検出部54は、画像取込部51がRAM43の画像ワークエリアに格納した画像に対し、パターン認識やオブジェクト認識等の認識処理によりサービス表示部材の画像を検出し、対応するサービス情報(本実施形態では、サービスコード)に変換して出力する。
報知部55は、サービス判定部53が商品60にはサービス表示が付されていると判定した場合に、商品60にはサービス表示が付されている旨、もしくはサービス表示を読み込む旨の指示をオペレータに報知する。
The service display detection unit 54 detects the image of the service display member by recognition processing such as pattern recognition and object recognition on the image stored in the image work area of the RAM 43 by the image capture unit 51, and corresponding service information (this In the embodiment, it is converted into a service code and output.
When the service determination unit 53 determines that the service display is attached to the product 60, the notification unit 55 gives an instruction to the effect that the service display is attached to the product 60 or to read the service display. To inform.

情報出力部56は、バーコード読取部52が読み取った情報コードを、通信I/F44を介してPOS端末装置12に出力する。また、情報出力部56は、サービス表示検出部54がサービス情報(サービスコード)を読み取った場合には、読み取ったサービス情報(サービスコード)を情報コード(商品コード)と共にPOS端末装置12に出力する。   The information output unit 56 outputs the information code read by the barcode reading unit 52 to the POS terminal device 12 via the communication I / F 44. Further, when the service display detection unit 54 reads the service information (service code), the information output unit 56 outputs the read service information (service code) to the POS terminal device 12 together with the information code (product code). .

ここで、カメラ20によるバーコード、サービス表示部材及びフラグシールの撮像について図3を参照して説明する。
図3中、二点鎖線で囲った領域は、カメラ20が1フレームで撮像できる領域である撮像エリア70である。図3に示す商品60には、バーコードラベル61に加えて、サービス表示部材の一例である割引ラベルL及び通常の読取処理ではバーコードラベル61の読み取りが阻害されるフラグシール80が貼付されている。
Here, imaging of the barcode, service display member, and flag sticker by the camera 20 will be described with reference to FIG.
In FIG. 3, an area surrounded by a two-dot chain line is an imaging area 70 that is an area that the camera 20 can capture in one frame. In addition to the bar code label 61, the product 60 shown in FIG. 3 is attached with a discount label L, which is an example of a service display member, and a flag seal 80 that prevents reading of the bar code label 61 in a normal reading process. Yes.

バーコードラベル61には、商品名「豚バラうす切り」や、商品価格「200円」や、バーコード62等が表示されている。バーコード62には、商品60の販売データをPOS端末装置12で登録処理するのに必要な商品情報として、商品コード等の情報が組み込まれている。また、バーコード62の下部には、バーコード62が組み込んでいる商品コード「2101234567890」が数字で表示されている。
サービス表示部材としての割引ラベルLには、商品60に関する割引率を示す文字情報「半額」が表示されている。
On the bar code label 61, the product name “pig rose thin cut”, the product price “200 yen”, the bar code 62, and the like are displayed. The bar code 62 incorporates information such as a product code as product information necessary for registering the sales data of the product 60 with the POS terminal device 12. In addition, the product code “2101234567890” incorporated in the barcode 62 is displayed in the lower part of the barcode 62 as a number.
On the discount label L as the service display member, character information “half price” indicating the discount rate related to the product 60 is displayed.

尚、サービス表示部材の表示するサービスとしては、商品60の購入時に付与されるサービスに関するものであればよい。サービス表示部材のその他の例としては、商品60の購入時の値引き額(例えば、50円引等)を表示した値引きラベルや、商品60を購入した客に対して、通常のポイント付与数より割増されて付与されるポイント数を表示したポイント割増ラベル等がある。   The service displayed by the service display member may be a service related to a service given when the product 60 is purchased. Other examples of service display members include discount labels that display discounts at the time of purchase of the product 60 (for example, a discount of 50 yen, etc.) and a premium for the number of customers who purchase the product 60 from the normal number of points awarded There are point premium labels and the like indicating the number of points awarded.

図4は、フラグシールの概要構成説明図である。
フラグシール80は、透明のシート状の樹脂部材で形成され、裏面に粘着剤が塗布された略長方形状の透明シート部材(シール部材)81と、透明シート部材81上に印刷され、透明シート部材81の長手方向の仮想中央ラインCL1上を透明シート部材81の短手方向の辺縁部82Aから辺縁部82Bに亘って横断するように配置された第1フラグライン83を備えている。
FIG. 4 is a schematic configuration explanatory diagram of the flag seal.
The flag seal 80 is formed of a transparent sheet-like resin member, and is printed on a substantially rectangular transparent sheet member (seal member) 81 having a back surface coated with an adhesive, and the transparent sheet member 81. A first flag line 83 is provided so as to traverse the imaginary center line CL1 in the longitudinal direction of 81 from the side edge portion 82A in the short direction of the transparent sheet member 81 to the edge portion 82B.

さらにフラグシール80は、第1フラグライン83の位置P11から透明シート部材81の長手方向の辺縁部84Aにおいて中央ラインCL2から所定距離W2だけ離間した位置P12に向かう直線として形成された第2フラグライン85Aと、第1フラグライン83の位置P21から透明シート部材81の長手方向の辺縁部84Bにおいて中央ラインCL2から所定距離W2だけ離間した位置P22に向かう直線として形成された第3フラグライン85Bと、を備えている。なお、フラグシール80の形状は長方形状とする必要はなく、適宜変更が可能である。例えば、楕円形状、三角形状、円形状などに変更することができる。
このフラグシール80を構成する第1フラグライン83、第2フラグライン85A、第3フラグライン85Bは、バーコード62を構成する複数のバーが配置された領域を複数の領域に分断して、一連のバーの読み取りを阻害可能とするものである。
Further, the flag seal 80 is a second flag formed as a straight line from the position P11 of the first flag line 83 toward the position P12 that is separated from the center line CL2 by a predetermined distance W2 at the longitudinal edge portion 84A of the transparent sheet member 81. The third flag line 85B formed as a straight line from the position 85A of the first flag line 83 to the position P22 that is separated from the center line CL2 by a predetermined distance W2 from the position P21 of the first flag line 83 in the longitudinal edge portion 84B. And. Note that the shape of the flag seal 80 is not necessarily rectangular, and can be changed as appropriate. For example, the shape can be changed to an elliptical shape, a triangular shape, a circular shape, or the like.
The first flag line 83, the second flag line 85A, and the third flag line 85B constituting the flag seal 80 are divided into a plurality of areas by dividing a region where a plurality of bars constituting the barcode 62 are arranged. The bar reading can be inhibited.

ここで、第1フラグライン83と第2フラグライン85Aとは、所定角度θをなすように位置P11で接しており、第1フラグライン83と第3フラグライン85Bとは、所定角度θをなすように位置P21で接している。
この結果、第2フラグライン85Aと、第3フラグライン85Bとは、フラグシール80の中央点OCに対して点対称となるように形成されている。なお、第2フラグライン85Aと、第3フラグライン85Bとは、必ずしも、中央点OCに対して点対称となるように形成する必要はないが、本実施形態では、フラグシール80をバーコード62に対して、貼付方向があまり影響を受けないように、特に逆さまに貼付した場合でも同様の状態となるように中央点OCに対して点対称となるように形成している。
Here, the first flag line 83 and the second flag line 85A are in contact with each other at a position P11 so as to form a predetermined angle θ, and the first flag line 83 and the third flag line 85B form a predetermined angle θ. As shown in FIG.
As a result, the second flag line 85A and the third flag line 85B are formed to be point-symmetric with respect to the center point OC of the flag seal 80. The second flag line 85A and the third flag line 85B are not necessarily formed so as to be point-symmetric with respect to the center point OC. However, in the present embodiment, the flag seal 80 is attached to the barcode 62. On the other hand, it is formed so as to be point-symmetric with respect to the center point OC so that the same state can be obtained even when pasted upside down so that the pasting direction is not significantly affected.

図5は、フラグシールをバーコード上に理想的な状態で貼付した状態の説明図である。
ここで、理想的な状態とは、フラグシール80の第1フラグライン83がバーコード62の高さ方向(図5における上下方向)の中心を通る仮想ライン上に配置され、フラグシール80の中央ラインCL2がバーコード62の幅方向の中心上(センターバーに相当する位置)に配置された状態である。
FIG. 5 is an explanatory diagram of a state where the flag seal is affixed on the barcode in an ideal state.
Here, the ideal state is that the first flag line 83 of the flag seal 80 is arranged on a virtual line passing through the center of the barcode 62 in the height direction (vertical direction in FIG. 5), and the center of the flag seal 80 This is a state in which the line CL2 is arranged on the center of the barcode 62 in the width direction (position corresponding to the center bar).

この状態においては、図5に示すように、バーコード62は、4つの領域AR1〜AR4に分断される。
この結果、バーコード62上をどの方向に読取ったとしても、第1フラグライン83、第2フラグライン85Aあるいは第3フラグライン85Bを横切らずにバーコード62を構成する全てのバー(黒バー及び白バー)を読み取ることはできず、バーコード62を一般的な手順で読み取るバーコード通常読取処理では、バーコード62からバーコードシンボルの抽出、ひいては、情報コード(本実施形態では、商品コード)の読み取りが阻害されることとなる。
In this state, as shown in FIG. 5, the barcode 62 is divided into four areas AR1 to AR4.
As a result, no matter which direction the bar code 62 is read, all the bars (black bar and black bar) constituting the bar code 62 without crossing the first flag line 83, the second flag line 85A, or the third flag line 85B. In the normal barcode reading process in which the barcode 62 is read by a general procedure, the barcode symbol is extracted from the barcode 62, and the information code (in this embodiment, the product code) is not read. Reading will be inhibited.

一方、フラグシール80の中央ラインCL2から距離W2の領域内には、第1フラグライン83のみしか存在しないため、分断されたバーコード62の4つの領域AR1〜AR4のうち、左下の領域AR1で読み取り可能なデータキャラクタ(後述の部分コードシンボルに相当)と、右上の領域AR2で読み取り可能なデータキャラクタ(後述の部分コードシンボルに相当)と、を合成すれば、バーコード62に含まれるコードシンボルを生成することが可能となる。   On the other hand, since only the first flag line 83 exists in the area of the distance W2 from the center line CL2 of the flag seal 80, the lower left area AR1 among the four areas AR1 to AR4 of the divided barcode 62. If a readable data character (corresponding to a partial code symbol described later) and a data character readable in the upper right area AR2 (corresponding to a partial code symbol described later) are combined, a code symbol included in the barcode 62 Can be generated.

例えば、左下の領域AR1で読み取り可能なデータキャラクタが「21012345」であり、右上の領域AR2で読み取り可能なデータキャラクタが「34567890」である場合には、共通であるデータキャラクタ「345」を一方のデータキャラクタから省いて、合成することにより、元のコードシンボルである「2101234567890」を生成することが可能となる。   For example, if the data character readable in the lower left area AR1 is “21012345” and the data character readable in the upper right area AR2 is “345567890”, the common data character “345” It is possible to generate “21012345567890”, which is the original code symbol, by omitting the data character and combining it.

図6は、フラグシールを元のコードシンボルを合成可能な状態でバーコード上に傾けて貼付した状態の説明図である。
図6に示す場合においては、バーコード62に対して傾いた状態でフラグシール80が貼付されているが、この状態においてもバーコード62は、4つの領域AR1〜AR4に分断されている。
したがって、図5の場合と同様に、左下の領域AR1で読み取り可能なデータキャラクタが「21012」であり、右上の領域AR2で読み取り可能なデータキャラクタが「1234567890」である場合には、共通であるデータキャラクタ「12」を一方のデータキャラクタから省いて、合成することにより、元のコードシンボルである「2101234567890」を生成することが可能となる。
FIG. 6 is an explanatory diagram of a state in which the flag sticker is tilted and pasted on the barcode in a state where the original code symbol can be synthesized.
In the case shown in FIG. 6, the flag seal 80 is attached while being tilted with respect to the barcode 62, but the barcode 62 is divided into four regions AR <b> 1 to AR <b> 4 even in this state.
Therefore, as in the case of FIG. 5, the data character that can be read in the lower left area AR1 is “21012”, and the data character that can be read in the upper right area AR2 is “12345567890”. By excluding the data character “12” from one data character and synthesizing it, the original code symbol “21012345567890” can be generated.

図7は、フラグシールが機能しない状態でバーコード上に貼付した状態の説明図である。
図7に示す場合においては、第2フラグライン85Aの終端に相当する位置P12(図4参照)がバーコード62の内部に位置している。
この結果、一点鎖線で示す領域RDA内においては、フラグシール80が貼付されているにもかかわらず、通常の読取処理でコードシンボルが読み取れることとなり、実質的にフラグシール80の機能が無効とされている。
したがって、この場合には、スキャナ13によりフラグシール80が貼付されていない場合と同様に処理される可能性があるので、フラグシール80を用いる場合には、このような状態とならないようにバーコード62上に貼付を行う必要がある。
FIG. 7 is an explanatory diagram of a state where the flag sticker is stuck on the barcode in a state where it does not function.
In the case shown in FIG. 7, a position P12 (see FIG. 4) corresponding to the end of the second flag line 85A is located inside the barcode 62.
As a result, in the region RDA indicated by the alternate long and short dash line, the code symbol can be read by a normal reading process even though the flag seal 80 is attached, and the function of the flag seal 80 is substantially invalidated. ing.
Therefore, in this case, there is a possibility that the processing is performed in the same manner as when the flag seal 80 is not attached by the scanner 13, and therefore, when the flag seal 80 is used, the barcode is set so as not to be in such a state. It is necessary to put on 62.

次に第1実施形態の動作を説明する。
図8は、実施形態の処理フローチャートである。
まず、CPU50は、画像取込部51として機能し、カメラコントローラ49を介してカメラ20を制御し、画像取得を行う(ステップS11)。
続いてCPU50は、バーコード読取部52及びサービス表示検出部54として機能し、画像取込部51が取り込んだ画像からバーコードであると思われる画像についてパターンマッチングやオブジェクト認識により検出し、バーコードに対応するコードシンボルを抽出し、あるいは、バーコードに含まれるコードシンボルを構成する部分コードシンボルを複数抽出するとともに、画像取込部51がRAM43の画像ワークエリアに格納した画像についてパターンマッチングやオブジェクト認識により、サービス表示部材の画像を検出し、対応するサービス情報(本実施形態では、サービスコード)に変換して出力する(ステップS12)。
Next, the operation of the first embodiment will be described.
FIG. 8 is a processing flowchart of the embodiment.
First, the CPU 50 functions as the image capturing unit 51, controls the camera 20 via the camera controller 49, and acquires an image (step S11).
Subsequently, the CPU 50 functions as a barcode reading unit 52 and a service display detection unit 54, detects an image that is considered to be a barcode from the image captured by the image capture unit 51 by pattern matching or object recognition, and performs barcode processing. Or a plurality of partial code symbols constituting a code symbol included in a barcode, and pattern matching or object extraction for an image stored in the image work area of the RAM 43 by the image capturing unit 51 By recognition, an image of the service display member is detected, converted into corresponding service information (a service code in the present embodiment), and output (step S12).

次にバーコード読取部52として機能するCPU50は、少なくとも部分コードシンボルが抽出できたか否かに基づいて、取り込んだ画像にバーコード画像が含まれていたか否かを判別する(ステップS13)。
ステップS13の判別において、コードシンボルのみならず、部分コードシンボルさえも抽出できない状態であり、取り込んだ画像にバーコード画像が含まれていなかったと判別した場合には(ステップS13;No)、再び処理をステップS11に移行して、以下、同様の処理を繰り返す。
Next, the CPU 50 functioning as the barcode reading unit 52 determines whether or not a barcode image is included in the captured image based on whether or not at least a partial code symbol has been extracted (step S13).
If it is determined in step S13 that not only a code symbol but also a partial code symbol cannot be extracted, and it is determined that a barcode image is not included in the captured image (step S13; No), the processing is performed again. Is transferred to step S11, and the same processing is repeated thereafter.

ステップS13の判別において、コードシンボルあるいは複数の部分コードシンボルが抽出でき、取り込んだ画像にバーコード画像が含まれていたと判別した場合には(ステップS13;Yes)、コードシンボルに基づくバーコード通常読取処理を行う(ステップS14)。
続いて、CPU50は、バーコード通常読取処理において、読み取りが完了したか否か、すなわち、読み取った画像からコードシンボルが抽出できており、情報コード(本実施形態では、商品コード)を生成できたか否かを判別する(ステップS15)。
If it is determined in step S13 that a code symbol or a plurality of partial code symbols can be extracted and a bar code image is included in the captured image (step S13; Yes), bar code normal reading based on the code symbol is performed. Processing is performed (step S14).
Subsequently, in the barcode normal reading process, the CPU 50 determines whether or not reading has been completed, that is, whether or not a code symbol has been extracted from the read image and an information code (product code in the present embodiment) has been generated. It is determined whether or not (step S15).

図9は、処理状態の説明図である。
ステップS15の判別において、読み取った画像からコードシンボルが抽出できており、情報コード(本実施形態では、商品コード)を生成できて読取が完了したと判別できた場合には(ステップS15;Yes)、フラグシール80が貼付されていないとされ、フラグラインが無い状態であると言うことであるので、バーコード62の読取状態は、図9に示すように、パターンPT1あるいはパターンPT3のいずれかとなる。
FIG. 9 is an explanatory diagram of the processing state.
If it is determined in step S15 that a code symbol has been extracted from the read image and an information code (product code in the present embodiment) can be generated and it has been determined that reading has been completed (step S15; Yes). Since the flag seal 80 is not attached and the flag line is not present, the reading state of the bar code 62 is either the pattern PT1 or the pattern PT3 as shown in FIG. .

そこで、CPU50は、サービス表示検出部54として機能し、RAM43の画像ワークエリアに格納した画像のオブジェクト認識を行い、サービス表示部材(図3に示した割引ラベルL)の画像を検出できたか否かを判別する(ステップS21)。   Therefore, the CPU 50 functions as the service display detection unit 54, performs object recognition of the image stored in the image work area of the RAM 43, and determines whether the image of the service display member (discount label L shown in FIG. 3) has been detected. Is determined (step S21).

図10は、検出状態の説明図(その1)である。
ステップS21の判別において、サービス表示部材の画像を検出できた場合には(ステップS21;Yes)、検出状態は、図9に示すパターンPT3であるので、実際に取得された画像は、例えば、図10に示すような状態となっており、状況としてはフラグライン無しのサービス販売(フラグライン無しの割引販売)として、POS端末装置12においてサービス登録(割引登録)が行えるように、情報出力部56として機能するCPU50は、通信I/F44を介してPOS端末装置12に情報コード(商品コード)及びサービス表示部材に対応するサービスコード(本実施形態の場合、半額割引に相当するコード)を出力する(ステップS19)。
FIG. 10 is an explanatory diagram (part 1) of the detection state.
If the image of the service display member can be detected in the determination of step S21 (step S21; Yes), the detection state is the pattern PT3 shown in FIG. 9, and thus the actually acquired image is, for example, FIG. The information output unit 56 is configured so that service registration (discount registration) can be performed in the POS terminal device 12 as service sales without flag lines (discount sales without flag lines). The CPU 50 functioning as an information terminal outputs an information code (product code) and a service code corresponding to a service display member (a code corresponding to a half-price discount in this embodiment) to the POS terminal device 12 via the communication I / F 44. (Step S19).

図11は、検出状態の説明図(その2)である。
また、ステップS21の判別において、サービス表示部材の画像を検出できなかった場合には(ステップS21;No)、検出状態は、図9に示すパターンPT1であるので、実際に取得された画像は、例えば、図11に示すような状態となっており、状況としてはフラグライン無し、かつ、サービス販売無しの通常販売として、POS端末装置12において通常登録が行えるように、情報出力部56として機能するCPU50は、通信I/F44を介してPOS端末装置12に情報コード(商品コード)を出力する(ステップS22)。
FIG. 11 is an explanatory diagram (part 2) of the detection state.
Further, when the image of the service display member cannot be detected in the determination of step S21 (step S21; No), the detection state is the pattern PT1 shown in FIG. For example, the state is as shown in FIG. 11 and functions as the information output unit 56 so that normal registration can be performed in the POS terminal device 12 as normal sales without flag lines and without service sales. The CPU 50 outputs an information code (product code) to the POS terminal device 12 via the communication I / F 44 (step S22).

ステップS15の判別において、読み取った画像から通常読取処理により、コードシンボルが抽出できておらず、読取りが完了できないと判別された場合には(ステップS15;No)、フラグシール80が貼付されているとされ、フラグラインが存在する可能性があるので、バーコード62の読取状態は、図9に示すように、パターンPT2あるいはパターンPT4のいずれかの可能性が高い。   If it is determined in step S15 that the code symbol cannot be extracted from the read image by the normal reading process and the reading cannot be completed (step S15; No), the flag seal 80 is attached. Since there is a possibility that a flag line exists, the reading state of the barcode 62 is highly likely to be either the pattern PT2 or the pattern PT4 as shown in FIG.

そこで、CPU50は、実際に取得された画像は、例えば、図3に示すような状態となっているので、バーコード読取部52として機能するCPU50は、図5を参照して説明したように、分断されたバーコード62の4つの領域AR1〜AR4のうち、左下の領域AR1で読み取り可能なデータキャラクタ(部分コードシンボルに相当)と、右上の領域AR2で読み取り可能なデータキャラクタ(部分コードシンボルに相当)と、を合成するバーコード合成読取処理を行う(ステップS16)。
続いて、CPU50は、バーコード合成読取処理において、読み取りが完了したか否か、すなわち、読み取った画像から部分コードシンボルが抽出できており、複数の部分コードシンボルを合成してコードシンボルを生成して情報コード(本実施形態では、商品コード)を生成できたか否かを判別する(ステップS17)。
Therefore, since the CPU 50 actually acquires the image as shown in FIG. 3, for example, the CPU 50 functioning as the barcode reading unit 52, as described with reference to FIG. Of the four areas AR1 to AR4 of the divided barcode 62, a data character (corresponding to a partial code symbol) that can be read in the lower left area AR1 and a data character that can be read in the upper right area AR2 (into the partial code symbol) Barcode synthesis reading processing is performed (step S16).
Subsequently, in the barcode synthesis reading process, the CPU 50 can extract whether or not reading is completed, that is, a partial code symbol can be extracted from the read image, and generates a code symbol by synthesizing a plurality of partial code symbols. Then, it is determined whether or not an information code (a product code in this embodiment) has been generated (step S17).

ステップS17の判別において、バーコード合成読取処理において、読み取りが完了したと判別した場合には(ステップS17;Yes)、CPU50は、サービス表示検出部54として機能し、RAM43の画像ワークエリアに格納した画像のオブジェクト認識を行い、サービス表示部材(図3に示した割引ラベルL)の画像を検出できたか否かを判別する(ステップS18)。   In the determination of step S17, when it is determined that the reading is completed in the barcode synthesis reading process (step S17; Yes), the CPU 50 functions as the service display detection unit 54 and stores it in the image work area of the RAM 43. Object recognition of the image is performed, and it is determined whether or not the image of the service display member (discount label L shown in FIG. 3) has been detected (step S18).

ステップS18の判別において、サービス表示部材の画像を検出できた場合には(ステップS18;Yes)、検出状態は、図9に示すパターンPT4であるので、実際に取得された画像は、例えば、図3に示すような状態となっており、状況としてはフラグライン有りのサービス販売(割引販売)として、POS端末装置12においてサービス登録(割引登録)が行えるように、情報出力部56として機能するCPU50は、通信I/F44を介してPOS端末装置12に情報コード(商品コード)及びサービス表示部材に対応するサービスコード(本実施形態の場合、半額割引に相当するコード)を出力する(ステップS19)。   If it is determined in step S18 that an image of the service display member can be detected (step S18; Yes), the detection state is the pattern PT4 shown in FIG. 9, and thus the actually acquired image is, for example, FIG. The CPU 50 functions as the information output unit 56 so that service registration (discount registration) can be performed at the POS terminal device 12 as service sales (discount sales) with a flag line. Outputs the information code (product code) and the service code corresponding to the service display member (a code corresponding to a half price discount in this embodiment) to the POS terminal device 12 via the communication I / F 44 (step S19). .

図12は、検出状態の説明図(その3)である。
一方、ステップS18の判別において、サービス表示部材の画像を検出できなかった場合には(ステップS18;No)、検出状態は、図9に示すパターンPT2であるので、実際に取得された画像は、例えば、図12に示すような状態となっており、サービス表示未検出として、エラー報知を行うとともに(ステップS20)、POS端末装置12における登録処理は行わない。
FIG. 12 is an explanatory diagram (part 3) of the detection state.
On the other hand, in the determination of step S18, when the image of the service display member cannot be detected (step S18; No), the detection state is the pattern PT2 shown in FIG. For example, the state is as shown in FIG. 12, an error notification is given as service display not detected (step S20), and the registration process in the POS terminal device 12 is not performed.

また、ステップS17の判別において、バーコード合成読取処理において、読み取りが完了できなかったと判別した場合には、バーコードの読み取り不能として、エラー報知を行って(ステップS20)、処理を終了する。
以上の説明のように、本第1実施形態によれば、フラグシール80が正常な状態でバーコード62上に貼付されている場合には、撮像した画像が所定の条件、例えば、撮像した画像にサービス表示部材の画像が含まれ、その内容が検出できない場合には、バーコード62のコードシンボル、ひいては、コードシンボルに対応する情報コードがPOS端末装置12に出力されて誤った処理がなされることはない。
[1.1]第1実施形態の変形例
図13は、第1実施形態の変形例の処理フローチャートである。
図13において、図8の処理フローチャートと同様の部分には同一の符号を付し、その詳細な説明を援用するものとする。
図13の処理フローチャートが図8の処理フローチャートと異なる点は、バーコード合成処理に先立って、サービス表示検出を行い、サービス表示が検出された場合にのみ、バーコード合成処理を行う点である。
次に第1実施形態の変形例の動作について要部のみを説明する。
ステップS14の処理において、バーコードの通常読取処理がなされ、ステップS15の判別において、読み取った画像から通常読取処理によりコードシンボルが抽出できておらず、読取りが完了できないと判別された場合には(ステップS15;No)、フラグシール80が貼付されているとされ、フラグラインが存在する可能性がある。
If it is determined in step S17 that the reading has not been completed in the barcode synthesis reading process, an error is notified that the barcode cannot be read (step S20), and the process ends.
As described above, according to the first embodiment, when the flag seal 80 is affixed on the barcode 62 in a normal state, the captured image has a predetermined condition, for example, the captured image. If the image of the service display member is included and the contents cannot be detected, the code symbol of the bar code 62, and thus the information code corresponding to the code symbol, is output to the POS terminal device 12 and erroneous processing is performed. There is nothing.
[1.1] Modified Example of First Embodiment FIG. 13 is a process flowchart of a modified example of the first embodiment.
In FIG. 13, the same parts as those in the process flowchart of FIG. 8 are denoted by the same reference numerals, and the detailed description thereof is incorporated.
The process flowchart of FIG. 13 differs from the process flowchart of FIG. 8 in that service display detection is performed prior to the barcode synthesis process, and the barcode synthesis process is performed only when the service display is detected.
Next, only the main part of the operation of the modified example of the first embodiment will be described.
In the process of step S14, a normal barcode reading process is performed. In the determination of step S15, if it is determined that the code symbol cannot be extracted from the read image by the normal reading process and the reading cannot be completed ( Step S15; No), it is assumed that the flag seal 80 is attached, and there is a possibility that a flag line exists.

そこで、CPU50は、サービス表示検出部54として機能し、RAM43の画像ワークエリアに格納した画像のオブジェクト認識を行い、サービス表示部材(図3に示した割引ラベルL)の画像を検出できたか否かを判別する(ステップS31)。   Therefore, the CPU 50 functions as the service display detection unit 54, performs object recognition of the image stored in the image work area of the RAM 43, and determines whether the image of the service display member (discount label L shown in FIG. 3) has been detected. Is discriminated (step S31).

ステップS31の判別において、サービス表示部材の画像を検出できた場合には(ステップS31;Yes)、実際に取得された画像は、例えば、図3に示したような状態となっているので、バーコード読取部52として機能するCPU50は、図5を参照して説明したように、分断されたバーコード62の4つの領域AR1〜AR4のうち、左下の領域AR1で読み取り可能なデータキャラクタ(部分コードシンボルに相当)と、右上の領域AR2で読み取り可能なデータキャラクタ(部分コードシンボルに相当)と、を合成するバーコード合成読取処理を行う(ステップS32)。
続いて、CPU50は、バーコード合成読取処理において、読み取りが完了したか否か、すなわち、読み取った画像から部分コードシンボルが抽出できており、複数の部分コードシンボルを合成してコードシンボルを生成して情報コード(本実施形態では、商品コード)を生成できたか否かを判別する(ステップS33)。
If it is determined in step S31 that an image of the service display member can be detected (step S31; Yes), the actually acquired image is in a state as shown in FIG. As described with reference to FIG. 5, the CPU 50 functioning as the code reading unit 52 is a data character (partial code) that can be read in the lower left area AR1 among the four areas AR1 to AR4 of the divided barcode 62. A barcode synthesis reading process is performed for synthesizing the data character (corresponding to a symbol) and a data character (corresponding to a partial code symbol) readable in the upper right area AR2 (step S32).
Subsequently, in the barcode synthesis reading process, the CPU 50 can extract whether or not reading is completed, that is, a partial code symbol can be extracted from the read image, and generates a code symbol by synthesizing a plurality of partial code symbols. Then, it is determined whether or not an information code (a product code in this embodiment) has been generated (step S33).

ステップS33の判別において、バーコード合成読取処理において、読み取りが完了したと判別した場合には(ステップS33;Yes)、フラグライン有りのサービス販売(割引販売)として、POS端末装置12においてサービス登録(割引登録)が行えるように、情報出力部56として機能するCPU50は、通信I/F44を介してPOS端末装置12に情報コード(商品コード)及びサービス表示部材に対応するサービスコード(本実施形態の場合、半額割引に相当するコード)を出力する(ステップS19)。
また、ステップS33の判別において、バーコード合成読取処理において、読み取りが完了できなかったと判別した場合には、バーコードの読み取り不能として、エラー報知を行って(ステップS20)、処理を終了する。
以上の説明のように、本第1実施形態の変形例によれば、バーコード合成処理に先立って、サービス表示検出を行い、サービス表示が検出された場合にのみ、バーコード合成処理を行うので、サービス表示が検出されない場合には、バーコード合成処理が行われることが無く、処理効率が向上して、処理速度を向上させることができる。
In the determination of step S33, if it is determined that the reading is completed in the barcode synthesis reading process (step S33; Yes), the service registration (discount sales) with the flag line is registered in the POS terminal device 12 ( The CPU 50 functioning as the information output unit 56 can perform discount registration) via the communication I / F 44 to the POS terminal device 12 with the information code (product code) and the service code corresponding to the service display member (in this embodiment). In this case, a code corresponding to a half price discount) is output (step S19).
If it is determined in step S33 that the reading has not been completed in the barcode synthesis reading process, an error is notified that the barcode cannot be read (step S20), and the process ends.
As described above, according to the modification of the first embodiment, the service display detection is performed prior to the barcode synthesis process, and the barcode synthesis process is performed only when the service display is detected. When the service display is not detected, the barcode synthesis process is not performed, the processing efficiency is improved, and the processing speed can be improved.

[2]第2実施形態
以上の第1実施形態は、スキャナ13がコード読取装置として機能する場合の実施形態であったが、本第2実施形態は、スキャナ及びPOS端末装置をコード読取装置として機能させる場合の実施形態である。
[2] Second Embodiment The first embodiment described above is an embodiment in which the scanner 13 functions as a code reading device. In the second embodiment, the scanner and the POS terminal device are used as a code reading device. It is an embodiment in the case of making it function.

図14は、第2実施形態のコード読取装置の概要構成ブロック図である。
第2実施形態のコード読取装置100は、スキャナ101と、POS端末装置120と、を備えている。
スキャナ101は、CPU102と、ROM103と、RAM104と、通信I/F105と、出力ポート106と、カメラ107が接続されたカメラコントローラ108と、メモリ109とを主に備えており、これらがアドレスバス、データバスなどのバスライン110を介して接続されている。
FIG. 14 is a schematic configuration block diagram of a code reading apparatus according to the second embodiment.
The code reading device 100 according to the second embodiment includes a scanner 101 and a POS terminal device 120.
The scanner 101 mainly includes a CPU 102, a ROM 103, a RAM 104, a communication I / F 105, an output port 106, a camera controller 108 to which a camera 107 is connected, and a memory 109, which are an address bus, They are connected via a bus line 110 such as a data bus.

CPU102は、スキャナ101の動作全体を制御する制御部として機能するとともに、第1実施形態における画像取込部51と同様に機能する。
ROM103は、画像取込にかかるプログラムや、CPU102の動作を制御するその他のプログラム等を記憶している。
RAM104は、ROM103が記憶する各種プログラムをCPU102が展開する際にワークエリアとして機能するものである。また、RAM104は、カメラ107によって撮像した画像データなどの各種データを格納する。
The CPU 102 functions as a control unit that controls the overall operation of the scanner 101 and functions in the same manner as the image capturing unit 51 in the first embodiment.
The ROM 103 stores a program for image capture, other programs for controlling the operation of the CPU 102, and the like.
The RAM 104 functions as a work area when the CPU 102 develops various programs stored in the ROM 103. The RAM 104 stores various data such as image data captured by the camera 107.

通信I/F105は、バスを介して接続されたPOS端末装置12(図1参照)とのデータ通信を制御する。
出力ポート106は、ブザー111とLED112に駆動信号を出力する。
カメラ107は、商品に付されたバーコードまたは二次元コード等のコードシンボルや、値引やポイント付加等のサービスを表示したラベル(サービス表示部材)、バーコード通常読取処理においてコードシンボルの読み取りを阻害するフラグシール等を撮像する。
The communication I / F 105 controls data communication with the POS terminal device 12 (see FIG. 1) connected via the bus.
The output port 106 outputs a drive signal to the buzzer 111 and the LED 112.
The camera 107 reads a code symbol such as a bar code or a two-dimensional code attached to a product, a label (service display member) that displays a service such as discount or point addition, and the code symbol in a normal barcode reading process. Take an image of the hindered flag sticker.

POS端末装置120は、CPU121と、ROM122と、RAM123と、通信I/F124と、出力ポート125と、キーボードコントローラ126と、表示コントローラ127、128と、メモリ129とを主に備えており、これらがアドレスバス、データバスなどのバスライン130を介して接続されている。   The POS terminal device 120 mainly includes a CPU 121, a ROM 122, a RAM 123, a communication I / F 124, an output port 125, a keyboard controller 126, display controllers 127 and 128, and a memory 129. They are connected via a bus line 130 such as an address bus or a data bus.

CPU121は、POS端末装置120の動作全体を制御する制御部として機能する。
ROM122は、本実施の形態にかかるプログラムや、CPU121の動作を制御するその他のプログラム等を記憶している。
RAM123は、ROM122が記憶する各種プログラムをCPU121が展開する際にワークエリアとして機能するものである。
The CPU 121 functions as a control unit that controls the overall operation of the POS terminal device 120.
The ROM 122 stores programs according to the present embodiment, other programs that control the operation of the CPU 121, and the like.
The RAM 123 functions as a work area when the CPU 121 develops various programs stored in the ROM 122.

通信I/F124は、バスを介して接続されたスキャナ101とのデータ通信を制御する。
出力ポート125は、ブザー131とLED132に駆動信号を出力する。
キーボードコントローラ126は、キーボード133からキー信号を取り込む。
表示コントローラ127は、客用ディスプレイ134に対するデータ表示を制御する。 表示コントローラ128は、店員用ディスプレイ135に対するデータ表示を制御する。
The communication I / F 124 controls data communication with the scanner 101 connected via the bus.
The output port 125 outputs a drive signal to the buzzer 131 and the LED 132.
The keyboard controller 126 takes in key signals from the keyboard 133.
The display controller 127 controls data display on the customer display 134. The display controller 128 controls data display on the store clerk display 135.

上記構成において、CPU121は、制御プログラムが実行されることで、図14に示すように、図2のバーコード読取部52と同機能のバーコード読取部141と、図2のサービス判定部53と同機能のサービス判定部142と、図2のサービス表示検出部54と同機能のサービス表示検出部143と、図2の報知部55と同機能の報知部144と、図2の情報出力部56と同機能の情報出力部145と、して機能する。   In the above configuration, the CPU 121 executes the control program, and as shown in FIG. 14, the barcode reading unit 141 having the same function as the barcode reading unit 52 in FIG. 2 and the service determination unit 53 in FIG. The service determination unit 142 having the same function, the service display detection unit 143 having the same function as the service display detection unit 54 in FIG. 2, the notification unit 144 having the same function as the notification unit 55 in FIG. 2, and the information output unit 56 in FIG. It functions as an information output unit 145 having the same function.

次に再び図8を参照して、第2実施形態の動作を説明する。
まず、スキャナ101のCPU102は、画像取込部51として機能し、カメラコントローラ108を介してカメラ107を制御し、画像取得を行う(ステップS11)。
続いてスキャナ101のCPU102は、通信I/F部105を介して、POS端末装置120に取り込んだ画像に対応する画像データを送信する。
一方、通信I/F部124を介して画像データを受信したPOS端末120のCPU121は、受信した画像データをRAM123の画像ワークエリアに格納する。そして、CPU121は、バーコード読取部141及びサービス表示検出部142として機能し、受信した画像データに対応する画像からバーコードであると思われる画像についてパターンマッチングやオブジェクト認識により検出し、バーコードに対応するコードシンボルを抽出し、あるいは、バーコードに含まれるコードシンボルを構成する部分コードシンボルを複数抽出するとともに、RAM43の画像ワークエリアに格納した画像についてパターンマッチングやオブジェクト認識により、サービス表示部材の画像を検出し、対応するサービス情報(本実施形態では、サービスコード)に変換して出力する(ステップS12)。
Next, the operation of the second embodiment will be described with reference to FIG. 8 again.
First, the CPU 102 of the scanner 101 functions as the image capturing unit 51, controls the camera 107 via the camera controller 108, and acquires an image (step S11).
Subsequently, the CPU 102 of the scanner 101 transmits image data corresponding to the image captured by the POS terminal device 120 via the communication I / F unit 105.
On the other hand, the CPU 121 of the POS terminal 120 that has received the image data via the communication I / F unit 124 stores the received image data in the image work area of the RAM 123. The CPU 121 functions as a barcode reading unit 141 and a service display detection unit 142, detects an image that seems to be a barcode from an image corresponding to the received image data by pattern matching or object recognition, and converts it into a barcode. The corresponding code symbol is extracted, or a plurality of partial code symbols constituting the code symbol included in the bar code are extracted, and the image stored in the image work area of the RAM 43 is subjected to pattern matching or object recognition. The image is detected, converted into corresponding service information (service code in the present embodiment), and output (step S12).

次にバーコード読取部141として機能するCPU121は、少なくとも部分コードシンボルが抽出できたか否かに基づいて、取り込んだ画像にバーコード画像が含まれていたか否かを判別する(ステップS13)。
ステップS13の判別において、コードシンボルのみならず、部分コードシンボルさえも抽出できない状態であり、取り込んだ画像にバーコード画像が含まれていなかったと判別した場合には(ステップS13;No)、再び処理をステップS11に移行して、以下、同様の処理を繰り返す。
Next, the CPU 121 functioning as the barcode reading unit 141 determines whether or not a barcode image is included in the captured image, based on whether or not at least a partial code symbol has been extracted (step S13).
If it is determined in step S13 that not only a code symbol but also a partial code symbol cannot be extracted, and it is determined that a barcode image is not included in the captured image (step S13; No), the processing is performed again. Is transferred to step S11, and the same processing is repeated thereafter.

ステップS13の判別において、コードシンボルあるいは複数の部分コードシンボルが抽出でき、取り込んだ画像にバーコード画像が含まれていたと判別した場合には(ステップS13;Yes)、コードシンボルに基づくバーコード通常読取処理を行う(ステップS14)。
続いて、CPU121は、バーコード通常読取処理において、読み取りが完了したか否か、すなわち、読み取った画像からコードシンボルが抽出できており、情報コード(本実施形態では、商品コード)を生成できたか否かを判別する(ステップS15)。
If it is determined in step S13 that a code symbol or a plurality of partial code symbols can be extracted and a bar code image is included in the captured image (step S13; Yes), bar code normal reading based on the code symbol is performed. Processing is performed (step S14).
Subsequently, in the normal barcode reading process, the CPU 121 determines whether or not reading has been completed, that is, whether or not a code symbol has been extracted from the read image, and an information code (product code in this embodiment) has been generated. It is determined whether or not (step S15).

ステップS15の判別において、読み取った画像からコードシンボルが抽出できており、情報コード(本実施形態では、商品コード)を生成できて読取が完了したと判別できた場合には(ステップS15;Yes)、フラグシール80が貼付されていないとされ、フラグラインが無い状態であると言うことであるので、バーコード62の読取状態は、図9に示したパターンPT1あるいはパターンPT3のいずれかとなる。   If it is determined in step S15 that a code symbol has been extracted from the read image and an information code (product code in the present embodiment) can be generated and it has been determined that reading has been completed (step S15; Yes). Since the flag seal 80 is not attached and there is no flag line, the reading state of the barcode 62 is either the pattern PT1 or the pattern PT3 shown in FIG.

そこで、CPU121は、サービス表示検出部143として機能し、RAM123の画像ワークエリアに格納した画像に対してパターンマッチングやオブジェクト認識等を行い、サービス表示部材(図3に示した割引ラベルL)の画像を検出できたか否かを判別する(ステップS21)。   Therefore, the CPU 121 functions as the service display detection unit 143, performs pattern matching, object recognition, etc. on the image stored in the image work area of the RAM 123, and displays an image of the service display member (discount label L shown in FIG. 3). Is detected (step S21).

ステップS21の判別において、サービス表示部材の画像を検出できた場合には(ステップS21;Yes)、検出状態は、図9に示したパターンPT3であるので、状況としてはフラグライン無しのサービス販売(フラグライン無しの割引販売)として、POS端末装置120においてサービス登録(割引登録)が行えるように、情報出力部145として機能するCPU121は、チェックアウト処理対象の情報コード(商品コード)及びサービス表示部材に対応するサービスコード(本実施形態の場合、半額割引に相当するコード)として出力し(ステップS19)、チェックアウト処理における登録処理に、それらの情報コードびサービスコードを用いることとなる。   If it is determined in step S21 that the image of the service display member can be detected (step S21; Yes), the detected state is the pattern PT3 shown in FIG. As a discount sale without flag line), the CPU 121 functioning as the information output unit 145 allows the POS terminal device 120 to perform service registration (discount registration). The information code (product code) to be checked out and the service display member (In this embodiment, a code corresponding to half price discount) is output (step S19), and the information code and the service code are used for the registration process in the checkout process.

また、ステップS21の判別において、サービス表示部材の画像を検出できなかった場合には(ステップS21;No)、検出状態は、図9に示すパターンPT1であるので、状況としてはフラグライン無し、かつ、サービス販売無しの通常販売として、チェックアウト処理において、通常登録が行えるように、情報出力部145として機能するCPU121は、情報コード(商品コード)を出力し(ステップS22)、チェックアウト処理における登録処理に情報コードを用いることとなる。   If the service display member image is not detected in the determination in step S21 (step S21; No), the detection state is the pattern PT1 shown in FIG. The CPU 121 functioning as the information output unit 145 outputs an information code (product code) so that normal registration can be performed in the checkout process as normal sales without service sales (step S22), and registration in the checkout process. An information code is used for processing.

ステップS15の判別において、読み取った画像から通常読取処理により、コードシンボルが抽出できておらず、読取りが完了できないと判別された場合には(ステップS15;No)、フラグシール80が貼付されているとされ、フラグラインが存在する可能性があるので、バーコード62の読取状態は、図9に示すように、パターンPT2あるいはパターンPT4のいずれかの可能性が高い。   If it is determined in step S15 that the code symbol cannot be extracted from the read image by the normal reading process and the reading cannot be completed (step S15; No), the flag seal 80 is attached. Since there is a possibility that a flag line exists, the reading state of the barcode 62 is highly likely to be either the pattern PT2 or the pattern PT4 as shown in FIG.

そこで、CPU121は、バーコード読取部141として機能し、図5を参照して説明したように、分断されたバーコード62の4つの領域AR1〜AR4のうち、左下の領域AR1で読み取り可能なデータキャラクタ(部分コードシンボルに相当)と、右上の領域AR2で読み取り可能なデータキャラクタ(部分コードシンボルに相当)と、を合成するバーコード合成読取処理を行う(ステップS16)。
続いて、CPU121は、バーコード合成読取処理において、読み取りが完了したか否か、すなわち、読み取った画像から部分コードシンボルが抽出できており、複数の部分コードシンボルを合成してコードシンボルを生成して情報コード(本実施形態では、商品コード)を生成できたか否かを判別する(ステップS17)。
Therefore, the CPU 121 functions as the barcode reading unit 141, and as described with reference to FIG. 5, the data that can be read in the lower left area AR1 among the four areas AR1 to AR4 of the divided barcode 62. A barcode synthesis reading process is performed for synthesizing the character (corresponding to the partial code symbol) and the data character (corresponding to the partial code symbol) readable in the upper right area AR2 (step S16).
Subsequently, in the barcode synthesis reading process, the CPU 121 can extract whether or not reading is completed, that is, a partial code symbol can be extracted from the read image, and generates a code symbol by synthesizing a plurality of partial code symbols. Then, it is determined whether or not an information code (a product code in this embodiment) has been generated (step S17).

ステップS17の判別において、バーコード合成読取処理において、読み取りが完了したと判別した場合には(ステップS17;Yes)、CPU121は、サービス表示検出部143として機能し、RAM123の画像ワークエリアに格納した画像にパターンマッチングやオブジェクト認識を行って、サービス表示部材(図3に示した割引ラベルL)の画像を検出できたか否かを判別する(ステップS18)。   In the determination of step S17, when it is determined that the reading is completed in the barcode synthesis reading process (step S17; Yes), the CPU 121 functions as the service display detection unit 143 and stores it in the image work area of the RAM 123. Pattern matching or object recognition is performed on the image to determine whether or not the image of the service display member (discount label L shown in FIG. 3) has been detected (step S18).

ステップS18の判別において、サービス表示部材の画像を検出できた場合には(ステップS18;Yes)、検出状態は、図9に示すパターンPT4であるので、状況としてはフラグライン有りのサービス販売(割引販売)として、サービス登録(割引登録)が行えるように、情報出力部145として機能するCPU121は、情報コード(商品コード)及びサービス表示部材に対応するサービスコード(本実施形態の場合、半額割引に相当するコード)を出力し(ステップS19)、チェックアウト処理における登録処理に情報コード及びサービスコードを用いることとなる。   If it is determined in step S18 that an image of the service display member can be detected (step S18; Yes), the detected state is the pattern PT4 shown in FIG. The CPU 121 functioning as the information output unit 145 allows the service code (product code) and the service code corresponding to the service display member (in the case of the present embodiment, half price discount) so that service registration (discount registration) can be performed as sales. (Corresponding code) is output (step S19), and the information code and the service code are used for the registration process in the checkout process.

一方、ステップS18の判別において、サービス表示部材の画像を検出できなかった場合には(ステップS18;No)、検出状態は、図9に示すパターンPT2であるので、サービス表示未検出として、エラー報知を行うとともに(ステップS20)、チェックアウト処理において、登録処理は行わない。
また、ステップS17の判別において、バーコード合成読取処理において、読み取りが完了できなかったと判別した場合には、バーコードの読み取り不能として、エラー報知を行って(ステップS20)、処理を終了する。
以上の説明のように、本第2実施形態によっても、フラグシール80が正常な状態でバーコード62上に貼付されている場合には、撮像した画像が所定の条件、例えば、撮像した画像にサービス表示部材の画像が含まれ、その内容が検出できない場合には、バーコード62のコードシンボル、ひいては、コードシンボルに対応する情報コードがPOS端末装置120において誤った処理がなされることはない。
On the other hand, if it is determined in step S18 that the image of the service display member cannot be detected (step S18; No), the detection state is the pattern PT2 shown in FIG. (Step S20), and the registration process is not performed in the checkout process.
If it is determined in step S17 that the reading has not been completed in the barcode synthesis reading process, an error is notified that the barcode cannot be read (step S20), and the process ends.
As described above, also in the second embodiment, when the flag sticker 80 is affixed on the barcode 62 in a normal state, the captured image is changed to a predetermined condition, for example, the captured image. If an image of the service display member is included and the content cannot be detected, the code symbol of the barcode 62 and thus the information code corresponding to the code symbol is not erroneously processed in the POS terminal device 120.

以上の説明においては、バーコードを含む画像中のバー配置領域をそれぞれ線分として構成された第1フラグライン83、第2フラグライン85A及び第3フラグライン85Bで分断していたが、線分(直線)にかぎらず、その他の図形により分断する構成とすることも可能である。
[2.1]第2実施形態の変形例
以上の説明においては、第2実施形態の動作を説明するのに図8の処理フローチャートを参照して説明したが、図13の処理フローチャートを用いて処理を行うように構成することも可能である。
この場合においても、バーコード合成処理に先立って、サービス表示検出を行い、サービス表示が検出された場合にのみ、バーコード合成処理を行うので、サービス表示が検出されない場合には、バーコード合成処理が行われることが無く、処理効率が向上して、処理速度を向上させることができる。
In the above description, the bar arrangement area in the image including the bar code is divided by the first flag line 83, the second flag line 85A, and the third flag line 85B each configured as a line segment. Not only (straight line) but also a configuration in which the figure is divided by other figures is also possible.
[2.1] Modified Example of Second Embodiment In the above description, the operation of the second embodiment has been described with reference to the processing flowchart of FIG. 8, but the processing flowchart of FIG. 13 is used. It is also possible to configure to perform processing.
Even in this case, since the service display detection is performed prior to the barcode synthesis process, and the barcode synthesis process is performed only when the service display is detected, the barcode synthesis process is performed when the service display is not detected. Is not performed, the processing efficiency is improved, and the processing speed can be improved.

[3]実施形態の変形例
図15は、他のフラグシールの概要構成説明図である。
図15のフラグシール80Aが、図4のフラグシール80と異なる点は、図4における第1フラグライン83及び第2フラグライン85Aで規定される領域AR3に相当する部分を塗りつぶした略台形状の第1フラグマスク部151と、図4における第1フラグライン83及び第3フラグライン85Bで規定される領域AR4に相当する部分を塗りつぶした略台形状の第2フラグマスク部152と、を備えた点である。
[3] Modified Example of Embodiment FIG. 15 is an explanatory diagram of a schematic configuration of another flag seal.
The flag seal 80A in FIG. 15 is different from the flag seal 80 in FIG. 4 in that the part corresponding to the area AR3 defined by the first flag line 83 and the second flag line 85A in FIG. A first flag mask portion 151 and a substantially trapezoidal second flag mask portion 152 in which a portion corresponding to the area AR4 defined by the first flag line 83 and the third flag line 85B in FIG. 4 is filled. Is a point.

以上の説明においては、バーコード62のフォーマットとして、JANコードを一例として説明したが、EANコード、UPCコード等、その他のフォーマットを用いるように構成することも可能である。   In the above description, the JAN code has been described as an example of the format of the bar code 62, but other formats such as an EAN code and a UPC code may be used.

また、以上の説明においては、商品60にサービス表示部材(割引ラベルL)が1枚貼付される例について説明したが、商品60に貼付されるサービス表示部材は複数枚とすることも可能である。この場合においては、情報出力部56として機能するCPU50は、情報コード(商品コード)とともに、各サービス表示部材から読み取った複数のサービス情報(サービスコード)をPOS端末装置12に出力するように構成する。   In the above description, an example in which one service display member (discount label L) is attached to the product 60 has been described. However, a plurality of service display members attached to the product 60 may be used. . In this case, the CPU 50 functioning as the information output unit 56 is configured to output a plurality of service information (service codes) read from each service display member to the POS terminal device 12 together with the information code (product code). .

また、以上の説明においては、バーコード62及び値引や割引などのサービス情報を含むサービス表示部材(割引ラベルL)は、ラベルに印刷される形態を例として説明したが、サービスコードやバーコードを商品60に直接記載または印刷するように構成することも可能である。   In the above description, the barcode 62 and the service display member (discount label L) including service information such as discounts and discounts have been described as an example of being printed on the label. It is also possible to configure so as to be described or printed directly on the product 60.

また、本実施形態のスキャナ13あるいはPOS端末装置120(コード読取装置)で実行される制御プログラムは、ROM等に予め組み込まれて提供される。本実施形態のスキャナ13あるいはPOS端末装置120(コード読取装置)で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   A control program executed by the scanner 13 or the POS terminal device 120 (code reading device) of the present embodiment is provided by being incorporated in advance in a ROM or the like. A program executed by the scanner 13 or the POS terminal device 120 (code reading device) according to the present embodiment is a file in an installable format or an executable format, and is a CD-ROM, flexible disk (FD), CD-R, DVD. (Digital Versatile Disk) or the like may be provided by being recorded on a computer-readable recording medium.

さらに、本実施形態のスキャナ13あるいはPOS端末装置120(コード読取装置)で実行される制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のスキャナ13で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the control program executed by the scanner 13 or the POS terminal device 120 (code reading device) of the present embodiment is stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. You may comprise. Further, the program executed by the scanner 13 of the present embodiment may be provided or distributed via a network such as the Internet.

本実施形態のスキャナ13あるいはスキャナ及びPOS端末装置120(コード読取装置)で実行される制御プログラムは、上述した各部(画像取込部51、バーコード読取部52、サービス判定部53、サービス表示検出部54、報知部55、情報出力部56)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROMからプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、画像取込部51、バーコード読取部52、サービス判定部53、サービス表示検出部54、報知部55、情報出力部56が主記憶装置上に生成されるようになっている。   The control program executed by the scanner 13 or the scanner and the POS terminal device 120 (code reading device) according to the present embodiment includes the above-described units (image capturing unit 51, bar code reading unit 52, service determination unit 53, service display detection). Unit 54, notification unit 55, and information output unit 56). As actual hardware, a CPU (processor) reads a program from the ROM and executes the program so that the above-described units are on the main storage device. The image capturing unit 51, the barcode reading unit 52, the service determination unit 53, the service display detection unit 54, the notification unit 55, and the information output unit 56 are generated on the main storage device.

また、この発明は前記各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、前記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を組合わせてもよい。   Further, the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, the constituent elements over different embodiments may be combined.

10 チェックアウトシステム
12 POS端末装置
13 スキャナ(コード読取装置)
20 カメラ
50 CPU
51 画像取込部
52 バーコード読取部
53 サービス判定部
54 サービス表示検出部
55 報知部
56 情報出力部
60 商品
61 バーコードラベル
62 バーコード
70 撮像エリア
80 フラグシール(シール)
81 透明シート部材
83 第1フラグライン
85A 第2フラグライン
85B 第3フラグライン
101 スキャナ(コード読取装置)
120 POS端末装置(コード読取装置)
AR1〜AR4 領域
L 割引ラベル(サービス表示部材)
10 Checkout System 12 POS Terminal Device 13 Scanner (Code Reading Device)
20 camera 50 CPU
51 Image Capture Unit 52 Barcode Reading Unit 53 Service Determination Unit 54 Service Display Detection Unit 55 Notification Unit 56 Information Output Unit 60 Product 61 Barcode Label 62 Barcode 70 Imaging Area 80 Flag Sticker (Seal)
81 transparent sheet member 83 first flag line 85A second flag line 85B third flag line 101 scanner (code reading device)
120 POS terminal device (code reader)
AR1 to AR4 Area L Discount Label (Service Display Member)

特開2008−33640公報JP 2008-33640 A

Claims (6)

バーコードを所定の図形により複数の領域に分断された領域から、前記バーコードの一部を構成する部分バーコードを生成する部分バーコード生成手段と、
複数の部分バーコードを合成して前記バーコードを生成する合成手段と、
前記画像が所定の出力条件を満たすかを判別する条件判別手段と、
前記判別の結果に基づいて、前記画像が所定の出力条件を満たす場合には、前記合成手段により合成されたバーコードに対応する情報コードを出力する出力制御手段と、
を備えたコード読取装置。
Partial barcode generation means for generating a partial barcode constituting a part of the barcode from an area where the barcode is divided into a plurality of areas by a predetermined figure;
A synthesis means for synthesizing a plurality of partial barcodes to generate the barcode;
Condition determining means for determining whether the image satisfies a predetermined output condition;
Based on the determination result, when the image satisfies a predetermined output condition, output control means for outputting an information code corresponding to the barcode synthesized by the synthesis means;
A code reader comprising:
前記出力条件は、前記画像にサービス表示部材の画像が含まれている、
ことである請求項1記載のコード読取装置。
The output condition includes an image of a service display member in the image,
The code reading device according to claim 1.
前記サービス表示部材の画像に基づいて、当該サービス表示部材が対応するサービス内容を特定して、サービスコードを生成するサービスコード生成手段を備えた請求項2記載のコード読取装置。   3. The code reading device according to claim 2, further comprising service code generation means for generating a service code by specifying service contents corresponding to the service display member based on an image of the service display member. 前記部分バーコードは、少なくとも前記バーコードの先頭部分を含む第1部分バーコードと、
少なくとも前記バーコードの末尾部分を含み、前記第1部分バーコードとその一部が重複する第2部分バーコードと、
を含む、請求項1ないし請求項3のいずれかに記載のコード読取装置。
The partial barcode includes a first partial barcode including at least a head portion of the barcode;
A second partial barcode including at least a tail portion of the barcode, and a portion of the first partial barcode overlapping with the first partial barcode;
The code reading device according to any one of claims 1 to 3, further comprising:
バーコードを構成する複数のバーが配置された領域を複数の領域に分断して、一連の前記バーの読み取りを阻害可能な図形と、
前記図形が形成された透明のシール部材と、
を備える、シール。
Dividing a region where a plurality of bars constituting a barcode are arranged into a plurality of regions, a figure that can inhibit reading of a series of the bars,
A transparent seal member on which the figure is formed;
A seal.
バーコードに対応する情報コードを出力するコード読取装置をコンピュータにより制御するための制御プログラムであって、
前記コンピュータを、
バーコードを所定の図形により複数の領域に分断された領域から、前記バーコードの一部を構成する部分バーコードを生成する部分バーコード生成手段と、
複数の部分バーコードを合成して前記バーコードを生成する合成手段と、
前記画像が所定の出力条件を満たすかを判別する条件判別手段と、
前記判別の結果に基づいて、前記画像が所定の出力条件を満たす場合には、前記合成手段により合成されたバーコードに対応する情報コードを出力する出力制御手段と、
して機能させる制御プログラム。
A control program for controlling a code reader that outputs an information code corresponding to a barcode by a computer,
The computer,
Partial barcode generation means for generating a partial barcode constituting a part of the barcode from an area where the barcode is divided into a plurality of areas by a predetermined figure;
A synthesis means for synthesizing a plurality of partial barcodes to generate the barcode;
Condition determining means for determining whether the image satisfies a predetermined output condition;
Based on the determination result, when the image satisfies a predetermined output condition, output control means for outputting an information code corresponding to the barcode synthesized by the synthesis means;
Control program to function.
JP2011141790A 2011-06-27 2011-06-27 Code reader, seal and control program Pending JP2013008290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011141790A JP2013008290A (en) 2011-06-27 2011-06-27 Code reader, seal and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011141790A JP2013008290A (en) 2011-06-27 2011-06-27 Code reader, seal and control program

Publications (1)

Publication Number Publication Date
JP2013008290A true JP2013008290A (en) 2013-01-10

Family

ID=47675568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011141790A Pending JP2013008290A (en) 2011-06-27 2011-06-27 Code reader, seal and control program

Country Status (1)

Country Link
JP (1) JP2013008290A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08180126A (en) * 1994-12-21 1996-07-12 Fujitsu Ltd Method and device for reading bar code
JPH09222855A (en) * 1996-02-16 1997-08-26 Shimokuni:Kk Discount label and usage
JP2009289286A (en) * 2009-09-08 2009-12-10 Toshiba Tec Corp Data code reading apparatus and reading method thereof
JP2011018289A (en) * 2009-07-10 2011-01-27 Toshiba Tec Corp Code symbol reading apparatus and control program thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08180126A (en) * 1994-12-21 1996-07-12 Fujitsu Ltd Method and device for reading bar code
JPH09222855A (en) * 1996-02-16 1997-08-26 Shimokuni:Kk Discount label and usage
JP2011018289A (en) * 2009-07-10 2011-01-27 Toshiba Tec Corp Code symbol reading apparatus and control program thereof
JP2009289286A (en) * 2009-09-08 2009-12-10 Toshiba Tec Corp Data code reading apparatus and reading method thereof

Similar Documents

Publication Publication Date Title
JP5297506B2 (en) Code reader and program
JP5788928B2 (en) Information processing apparatus and program
JP4976512B2 (en) Code reader, sales registration system and program
JP5502821B2 (en) Code reading device, sales data processing device, and program
JP5038456B2 (en) Sales registration device, checkout system and program
JP5320360B2 (en) Product code reader and program
JP6728430B2 (en) Information detecting device and information detecting program
JP4997321B2 (en) Code reader and program
JP2012053697A (en) Code reader and program
JP5256259B2 (en) Product code reading apparatus and product code reading method
JP5462302B2 (en) Code reading device, sales registration device and program
JP5502662B2 (en) Store system and product code reader
JP5422769B2 (en) Code reader and program
JP2012022529A (en) Commodity code reader and program
JP5349444B2 (en) Code reader and program
JP5349631B2 (en) Scanner and program
JP2013008290A (en) Code reader, seal and control program
JP5377581B2 (en) Reading apparatus, merchandise sales information processing apparatus, and control program
JP5386603B2 (en) Code reader, sales registration system and program
JP6401214B2 (en) Information processing apparatus and program
JP5255027B2 (en) Code reader and program
JP5183767B2 (en) Code reader and program
JP5499109B2 (en) Checkout system, product information reading device and program
JP2024045844A (en) Reading device and program
JP2014174569A (en) Information processor and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130528

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130722

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130827