JP2023016535A - Symbol reader, method for reading symbol, and program - Google Patents

Symbol reader, method for reading symbol, and program Download PDF

Info

Publication number
JP2023016535A
JP2023016535A JP2021120912A JP2021120912A JP2023016535A JP 2023016535 A JP2023016535 A JP 2023016535A JP 2021120912 A JP2021120912 A JP 2021120912A JP 2021120912 A JP2021120912 A JP 2021120912A JP 2023016535 A JP2023016535 A JP 2023016535A
Authority
JP
Japan
Prior art keywords
unit
imaging
reading
symbol
lighting
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
JP2021120912A
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 JP2021120912A priority Critical patent/JP2023016535A/en
Publication of JP2023016535A publication Critical patent/JP2023016535A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Studio Devices (AREA)

Abstract

To provide a symbol reader, a method for reading a symbol, and a program that can improve the operability by an efficient imaging by an imaging unit.SOLUTION: The symbol reader of an embodiment includes: an imaging unit; an illumination unit for illuminating an imaging region of the imaging unit by lighting up at predetermined intervals; a reading unit for conducting reading processing of reading information shown by a symbol in a frame image taken by the imaging unit; and an imaging control unit for controlling the imaging operation of the imaging unit on the basis of the reading processing completion timing for the reading unit and the lighting timing for the illumination unit.SELECTED DRAWING: Figure 5

Description

本発明の実施形態は、シンボル読取装置、シンボル読取方法、およびプログラムに関する。 TECHNICAL FIELD Embodiments of the present invention relate to a symbol reading device, a symbol reading method, and a program.

従来、例えばPOS(Point Of Sales)端末などに用いられるシンボル読取装置が知られている。このシンボル読取装置は、店舗が販売する商品に付されたバーコードや二次元コードなどのシンボルから当該商品に関する商品情報を読取り、読取った商品情報をPOS端末に出力する。POS端末は、入力された商品情報に基づいて、顧客が支払を行うための会計処理を実行する。 2. Description of the Related Art Conventionally, there is known a symbol reader used for, for example, a POS (Point Of Sales) terminal. This symbol reading device reads product information about the product from a symbol such as a bar code or two-dimensional code attached to the product sold by the store, and outputs the read product information to the POS terminal. The POS terminal executes accounting processing for the customer to make payment based on the input product information.

シンボル読取装置は、撮像部が所定周期で画像を撮像し、撮像した画像に対して読取処理を実行してシンボルが示す商品情報を読取る。商品情報は、例えば商品を識別するための商品コードなどである。具体的には、撮像部が撮像した1画像からシンボルを抽出し、抽出したシンボルをデコードすることで当該1画像に含まれるシンボルが示す商品情報を読取る。 In the symbol reading device, the imaging section takes an image at a predetermined cycle, performs reading processing on the taken image, and reads product information indicated by the symbol. The product information is, for example, a product code for identifying the product. Specifically, symbols are extracted from one image captured by the imaging unit, and the extracted symbols are decoded to read product information indicated by the symbols included in the one image.

この種のシンボル読取装置として、撮像部を所定周期で動作させ、当該撮像部の撮像タイミングにおいて照明部によって撮像領域を照射するものが知られている。一例として、撮像部の撮像周期よりも短い周期で照明部を点灯させ、撮像部の撮像タイミングに照明部の点灯タイミングを同期するよう制御するものが提案されている(例えば、特許文献1)。照明部の点灯周期を短くしているのは、人間が照明部の周期的な点灯を感じない程度の周期にするためである。これにより、シンボル読取装置の使用者が不快なちらつきを感じることを防ぐようにしている。 As a symbol reading device of this type, there is known one in which an imaging section is operated at a predetermined cycle and an imaging area is illuminated by an illumination section at the imaging timing of the imaging section. As an example, there has been proposed a technique in which an illumination unit is turned on at a cycle shorter than the image capturing cycle of the image capturing unit, and the lighting timing of the illumination unit is controlled to synchronize with the image capturing timing of the image capturing unit (for example, Patent Document 1). The reason for shortening the lighting period of the lighting unit is to set the period to such an extent that human beings do not perceive the periodic lighting of the lighting unit. This prevents the user of the symbol reader from feeling uncomfortable flickering.

しかしながら、上記従来技術では、撮像部の撮像タイミングが読取処理の完了と無関係に定められているため、撮像部による撮像が効率的になされているものではなかった。結果としてシンボル読取装置による読取が効率的であるとはいえず、操作性の面で改善の余地があるものであった。 However, in the conventional technology described above, the imaging timing of the imaging unit is determined independently of the completion of the reading process, so the imaging by the imaging unit is not efficiently performed. As a result, it cannot be said that the reading by the symbol reader is efficient, and there is room for improvement in terms of operability.

本発明が解決しようとする課題は、撮像部による撮像を効率的に行うことで操作性を改善することが可能なシンボル読取装置、シンボル読取方法、およびプログラムを提供することである。 A problem to be solved by the present invention is to provide a symbol reading device, a symbol reading method, and a program capable of improving operability by efficiently performing imaging by an imaging unit.

実施形態のシンボル読取装置は、撮像部と、所定周期で点灯して前記撮像部の撮像領域を照らす照明部と、前記撮像部が撮像したフレーム画像に含まれるシンボルが示す情報を読取る読取処理を実行する読取部と、前記読取部による読取処理の完了タイミングおよび前記照明部の点灯タイミングに基づいて、前記撮像部の撮像動作を制御する撮像制御部と、を備える。 A symbol reading device according to an embodiment includes an imaging unit, an illumination unit that lights up at predetermined intervals to illuminate an imaging area of the imaging unit, and a reading process of reading information indicated by a symbol included in a frame image captured by the imaging unit. and an image pickup control unit that controls an image pickup operation of the image pickup unit based on timing of completion of reading processing by the reading unit and timing of lighting of the illumination unit.

図1は、実施形態に係るシンボル読取装置を備えたPOSシステムの全体構成を示す斜視図である。FIG. 1 is a perspective view showing the overall configuration of a POS system equipped with a symbol reader according to an embodiment. 図2は、実施形態に係るシンボル読取装置の構成を説明するための図である。FIG. 2 is a diagram for explaining the configuration of the symbol reading device according to the embodiment. 図3は、実施形態に係るシンボル読取装置のハードウェア構成を示すブロック図である。FIG. 3 is a block diagram showing the hardware configuration of the symbol reading device according to the embodiment. 図4は、実施形態に係るシンボル読取装置の機能構成を示すブロック図である。FIG. 4 is a block diagram showing the functional configuration of the symbol reading device according to the embodiment. 図5は、実施形態に係るシンボル読取装置の動作を示すタイミングチャートである。FIG. 5 is a timing chart showing the operation of the symbol reading device according to the embodiment. 図6は、実施形態に係るシンボル読取装置の動作と従来例の動作とを対比した一例を示すタイミングチャートである。FIG. 6 is a timing chart showing an example comparing the operation of the symbol reading device according to the embodiment and the operation of the conventional example. 図7は、実施形態に係るシンボル読取装置の動作と従来例の動作とを対比した他の一例を示すタイミングチャートである。FIG. 7 is a timing chart showing another example comparing the operation of the symbol reading device according to the embodiment and the operation of the conventional example. 図8は、実施形態に係るシンボル読取装置の制御部の処理を示すフローチャートである。FIG. 8 is a flow chart showing processing of the control unit of the symbol reading device according to the embodiment.

以下、本実施形態に係るシンボル読取装置、シンボル読取方法、およびプログラムについて図面を参照して説明する。なお、以下に説明する実施形態によりこの発明が限定されるものではない。例えば、本実施形態においては、シンボル読取装置を小売店の店舗に設置されたPOSシステムに適用した例について説明するが、これに限らない。シンボル読取装置は、シンボルから当該シンボルが示す情報を読取る装置であればよく、他の分野にも広く適用可能である。 A symbol reading device, a symbol reading method, and a program according to the present embodiment will be described below with reference to the drawings. In addition, this invention is not limited by embodiment described below. For example, in the present embodiment, an example in which the symbol reading device is applied to a POS system installed in a retail store will be described, but the present invention is not limited to this. The symbol reader may be any device that reads information indicated by the symbol, and is widely applicable to other fields.

図1は、POSシステム1の全体構成を示す斜視図である。POSシステム1は、シンボル読取装置10と、シンボル読取装置10で読み取られた情報に基づき会計処理等を実行するPOS端末20と、を備える。なお、本実施形態のPOSシステム1は、店舗の店員(以下、オペレータともいう)によって操作されるものであるが、顧客自身が操作するセルフPOSシステムであってもよい。 FIG. 1 is a perspective view showing the overall configuration of a POS system 1. FIG. The POS system 1 includes a symbol reader 10 and a POS terminal 20 that executes accounting processing based on information read by the symbol reader 10 . Although the POS system 1 of the present embodiment is operated by a store clerk (hereinafter also referred to as an operator), it may be a self-service POS system operated by the customer himself/herself.

シンボル読取装置10は、商品を入れた買物カゴ等を載置するためのサッカー台2上において、オペレータと顧客とが略対面する場所(略中央部)に立設される。POS端末20は、サッカー台2の一方の端部付近に設けられる。シンボル読取装置10とPOS端末20とは、図示しない伝送路によって通信可能に接続される。シンボル読取装置10とPOS端末20とは、POSシステム1を構成する。 The symbol reader 10 is erected at a place (approximately in the center) where the operator and the customer approximately face each other on the soccer table 2 on which a shopping basket or the like containing products is placed. A POS terminal 20 is provided near one end of the soccer table 2 . The symbol reader 10 and the POS terminal 20 are communicably connected by a transmission line (not shown). The symbol reader 10 and the POS terminal 20 constitute a POS system 1. FIG.

POS端末20は、シンボル読取装置10で読み取られた商品コード等のデータに基づいて、顧客が購入する商品の登録処理や会計処理等を含む販売データ処理を実行する。登録処理は、顧客が購入する商品の商品情報(商品名、価格、商品コード等)を登録する処理で、商品登録ともいう。会計処理は、商品登録された商品情報に基づいて、顧客が購入する商品の代金の支払を行うための処理である。 The POS terminal 20 executes sales data processing including registration processing of products purchased by customers and accounting processing based on data such as product codes read by the symbol reading device 10 . The registration process is a process of registering product information (product name, price, product code, etc.) of the product purchased by the customer, and is also called product registration. Accounting processing is processing for making payment for products purchased by customers based on product information registered as products.

POS端末20は、硬貨及び紙幣を出し入れ自在に収納するドロワ30の上に設置されている。POS端末20は、表示器21と、キーボードや鍵キーを含む入力装置22と、レシートプリンタ23とを備えている。なお、POS端末20は、クレジット決済や二次元コード決済などのキャッシュレスによる会計処理を実行できるように、カードリーダや二次元コードリーダ等を備えていてもよい。 The POS terminal 20 is installed on a drawer 30 that stores coins and banknotes so that they can be put in and taken out. The POS terminal 20 includes a display 21 , an input device 22 including a keyboard and keys, and a receipt printer 23 . The POS terminal 20 may be equipped with a card reader, a two-dimensional code reader, or the like so that cashless accounting processing such as credit settlement or two-dimensional code settlement can be executed.

表示器21は、オペレータ用表示器211と客用表示器212とで構成される。オペレータ用表示器211は、オペレータに対して、商品登録された商品の商品情報や取引の合計金額等の各種情報を表示する。客用表示器212は、顧客に対して、取引の合計金額等を表示する。 The display 21 is composed of an operator display 211 and a customer display 212 . The operator display 211 displays various information such as product information of registered products and the total amount of transaction for the operator. The display for customer 212 displays the total transaction amount and the like to the customer.

入力装置22は、各種キーを備えたキーボードを含む。各種キーは、例えば、バーコード等のシンボルが付されていない商品の商品コードや金額等を入力するための置数キー、販売合計金額の算出を宣言するための小計キー、一取引の締め処理を行って代金を決済することを宣言する締めキー、置数キーによる置数入力を確定する確定キー、入力をクリアするクリアキー等である。 The input device 22 includes a keyboard with various keys. The various keys include, for example, numeric keys for entering product codes and prices for products without symbols such as bar codes, subtotal keys for declaring the calculation of the total sales amount, and closing processing for one transaction. a closing key for declaring that the payment is to be made, a confirmation key for confirming input of numbers by the input keys, a clear key for clearing the input, and the like.

レシートプリンタ23は、例えばサーマルプリンタで構成され、1取引に係る情報を印刷したレシートを発行する。 The receipt printer 23 is composed of, for example, a thermal printer, and issues a receipt on which information relating to one transaction is printed.

次に、シンボル読取装置10の構成について詳細に説明する。図2は、シンボル読取装置10の構成の一例を説明するための図である。ここで、図2は、シンボル読取装置10を撮像窓111が設けられている側(オペレータの立ち位置側)から見た状態を示している。 Next, the configuration of the symbol reading device 10 will be described in detail. FIG. 2 is a diagram for explaining an example of the configuration of the symbol reading device 10. As shown in FIG. Here, FIG. 2 shows the symbol reading device 10 viewed from the side where the imaging window 111 is provided (the operator's standing position side).

図1および図2に示すように、シンボル読取装置10は、本体部11、撮像部12、照明部13、第1表示部14、キーボード15及び第2表示部16等を備える。 As shown in FIGS. 1 and 2, the symbol reading device 10 includes a body portion 11, an imaging portion 12, an illumination portion 13, a first display portion 14, a keyboard 15, a second display portion 16, and the like.

本体部11は、略直方体状に形成されており、サッカー台2上に立設される。本体部11の高さは、一般的なオペレータの身長に応じて設定されている。 The body portion 11 is formed in a substantially rectangular parallelepiped shape and stands on the soccer table 2 . The height of the main body 11 is set according to the general height of the operator.

本体部11におけるオペレータの立ち位置側には、撮像窓111が設けられる。撮像窓111の内側には、撮像部12及び照明部13が設置される。顧客が購入する商品をオペレータが撮像窓111に翳すことで、撮像部12が当該商品を含む画像を撮像する。シンボル読取装置10は、撮像した画像に含まれるバーコード等のシンボルから当該シンボルが示す商品コードを読取る。 An imaging window 111 is provided on the operator's standing position side of the main body 11 . An imaging unit 12 and an illumination unit 13 are installed inside the imaging window 111 . When the operator holds up a product to be purchased by the customer over the imaging window 111, the imaging unit 12 captures an image including the product. The symbol reading device 10 reads a product code indicated by a symbol such as a bar code included in a captured image.

撮像部12は、CCD(Charge Coupled Device)やCMOS(Complementary MOS)等の撮像素子と撮像レンズとを有する。撮像レンズは、撮像領域の画像を撮像素子に結像する。撮像領域とは、撮像部12が撮像窓111を介して撮像するエリアであって、撮像窓111から撮像レンズを通して撮像素子のエリアに結像する領域を指す。 The imaging unit 12 has an imaging element such as a CCD (Charge Coupled Device) or a CMOS (Complementary MOS) and an imaging lens. The imaging lens forms an image of the imaging region on the imaging element. The imaging area is an area that is imaged by the imaging unit 12 through the imaging window 111, and refers to an area that is imaged from the imaging window 111 through the imaging lens to the area of the imaging device.

撮像部12は、撮像窓111を介して、本体部11の外の撮像領域を順次撮像する。例えば、撮像部12は、商品に付されたバーコードや二次元コード等を含む画像を光学的に撮像する。バーコードや二次元コード等は、「シンボル」の一例である。商品に付されたシンボルには、商品を識別する商品コード等のデータがエンコードされた状態で保持されている。なお、色や凹凸など商品の外観の特徴量に基づいて商品を認識するオブジェクト認識により商品コードを読取る場合、撮像画像に含まれる商品画像が「シンボル」を構成する。以下、バーコードや二次元コード等を、単に「シンボル」ともいう。なお、本実施形態において、シンボルは、商品に貼り付けられるラベルに印刷されたバーコードであるものとする。また、バーコードが示す情報は商品を識別する商品コードであるものとする。 The imaging unit 12 sequentially images an imaging area outside the main unit 11 through the imaging window 111 . For example, the imaging unit 12 optically captures an image including a bar code, two-dimensional code, or the like attached to the product. Barcodes, two-dimensional codes, and the like are examples of "symbols." Data such as a product code for identifying the product is encoded and held in the symbol attached to the product. When the product code is read by object recognition that recognizes the product based on the feature amount of the appearance of the product such as color and unevenness, the product image included in the captured image constitutes the "symbol". Hereinafter, bar codes, two-dimensional codes, and the like are also simply referred to as "symbols." In this embodiment, the symbol is assumed to be a barcode printed on a label attached to the product. It is also assumed that the information indicated by the barcode is a product code that identifies the product.

また、撮像部12は、例えば、顧客が所持する携帯端末等の表示画面に表示されたシンボルを光学的に撮像する。顧客の携帯端末等に表示されるシンボルには、店舗の会員であることを示す会員コードや店舗から配信されたクーポン情報などがエンコードされた状態で保持されている。 In addition, the imaging unit 12 optically images the symbol displayed on the display screen of, for example, a portable terminal owned by the customer. The symbol displayed on the customer's mobile terminal or the like holds an encoded membership code indicating that the customer is a member of the store, coupon information distributed from the store, and the like.

照明部13は、光源を有する。照明部13の光源は、例えば、撮像部12の撮像レンズの周囲に配置される。照明部13は、光源を周期的に点灯させることにより撮像部12の撮像領域に光を照射する。照明部13は、例えば1/120秒間隔の短い周期で光源を点灯させることで、オペレータが不快なちらつきを感じることを防いでいる。なお、光源は、例えばLED(Light Emitting Diode)、冷陰極管、蛍光灯、または白熱灯等で構成することができる。 The lighting section 13 has a light source. The light source of the illumination unit 13 is arranged, for example, around the imaging lens of the imaging unit 12 . The illumination unit 13 irradiates the imaging area of the imaging unit 12 with light by periodically turning on the light source. The lighting unit 13 prevents the operator from feeling uncomfortable flickering by turning on the light source at short intervals of, for example, 1/120 second. The light source can be composed of, for example, an LED (Light Emitting Diode), a cold cathode tube, a fluorescent lamp, or an incandescent lamp.

第1表示部14は、オペレータに対して情報を表示する表示装置であって、撮像窓111の上部に設けられる。第1表示部14は、LCD(Liquid Crystal Display)等の表示デバイスで構成されるタッチパネル付きの表示装置である。第1表示部14は、例えば、シンボル読取装置10が読取った商品コードに基づいて取得した商品情報を表示する。シンボル読取装置10は、商品コードと商品情報とを対応付けた商品マスタを記憶するPOS端末20から商品情報を取得する。 The first display unit 14 is a display device that displays information to the operator, and is provided above the imaging window 111 . The first display unit 14 is a display device with a touch panel configured by a display device such as an LCD (Liquid Crystal Display). The first display unit 14 displays, for example, product information acquired based on the product code read by the symbol reading device 10 . The symbol reader 10 acquires product information from the POS terminal 20 that stores a product master in which product codes and product information are associated with each other.

キーボード15は、第1表示部14に隣接して設けられている。キーボード15は、商品コードを入力するための各種キー等を有する。キーボード15は、読取ができないシンボルが付された商品をPOS端末20に商品登録する場合や、シンボルが付されていない商品をPOS端末20に商品登録する場合などに操作される。なお、図2では、第1表示部14とキーボード15とを一体的に設けた例を示しているが、別体としてもよい。 The keyboard 15 is provided adjacent to the first display section 14 . The keyboard 15 has various keys and the like for inputting product codes. The keyboard 15 is operated when registering a product with an unreadable symbol on the POS terminal 20 or when registering a product without a symbol on the POS terminal 20 . In addition, although FIG. 2 shows an example in which the first display unit 14 and the keyboard 15 are provided integrally, they may be provided separately.

第2表示部16は、顧客に対して情報を表示する表示装置であって、本体部11の側部に支持される。第2表示部16は、LCD等の表示デバイスで構成されるタッチパネル付きの表示装置である。第2表示部16は、例えば、シンボル読取装置10が商品に付されたシンボルから読取った商品コードに基づく商品情報を表示する。なお、本実施形態では、図示しない保持部材により、本体部11の側部に第2表示部16を保持する構成としたが、この構成に限らない。 The second display unit 16 is a display device that displays information to the customer, and is supported on the side of the main unit 11 . The second display unit 16 is a display device with a touch panel configured by a display device such as an LCD. The second display unit 16 displays, for example, product information based on the product code read by the symbol reader 10 from the symbol attached to the product. In addition, in the present embodiment, the second display portion 16 is held on the side portion of the main body portion 11 by a holding member (not shown), but the present invention is not limited to this configuration.

図3は、シンボル読取装置10のハードウェア構成の一例を示す図である。シンボル読取装置10は、制御部100と、メモリ部110と、撮像部12と、照明部13と、第1表示部14と、キーボード15と、第2表示部16と、通信部120と、を備えている。制御部100、メモリ部110、撮像部12、照明部13、第1表示部14、キーボード15、第2表示部16、および通信部120は、バス130等を介して互いに接続されている。 FIG. 3 is a diagram showing an example of the hardware configuration of the symbol reading device 10. As shown in FIG. The symbol reader 10 includes a control unit 100, a memory unit 110, an imaging unit 12, an illumination unit 13, a first display unit 14, a keyboard 15, a second display unit 16, and a communication unit 120. I have. Control unit 100, memory unit 110, imaging unit 12, lighting unit 13, first display unit 14, keyboard 15, second display unit 16, and communication unit 120 are connected to each other via bus 130 and the like.

制御部100は、CPU(Central Processing Unit)101、ROM(Read Only Memory)102、RAM(Random Access Memory)103を備えたコンピュータで構成されている。CPU101、ROM102、およびRAM103は、互いにバス130を介して接続されている。 The control unit 100 is configured by a computer having a CPU (Central Processing Unit) 101 , a ROM (Read Only Memory) 102 and a RAM (Random Access Memory) 103 . CPU 101 , ROM 102 and RAM 103 are connected to each other via bus 130 .

CPU101はシンボル読取装置10の全体の動作を制御する。ROM102は、CPU101の駆動に用いられるプログラムなどの各種プログラムや各種データを記憶する。RAM103は、CPU101のワークエリアとして使用され、ROM102やメモリ部110に記憶された各種プログラムや各種データを展開する。制御部100は、CPU101がROM102や、メモリ部110に記憶されてRAM103に展開された制御プログラムに従って動作することによって、シンボル読取装置10の各種制御処理を実行する。 A CPU 101 controls the overall operation of the symbol reading device 10 . The ROM 102 stores various programs such as programs used to drive the CPU 101 and various data. A RAM 103 is used as a work area for the CPU 101 and expands various programs and data stored in the ROM 102 and the memory unit 110 . The control unit 100 executes various control processes of the symbol reading device 10 by the CPU 101 operating according to the ROM 102 or the control program stored in the memory unit 110 and developed in the RAM 103 .

メモリ部110は、HDD(Hard Disk Drive)やフラッシュメモリ等の記憶媒体で構成されており、電源を遮断しても記憶内容を維持する。メモリ部110は、制御プログラム112を記憶する。 The memory unit 110 is composed of a storage medium such as an HDD (Hard Disk Drive) or flash memory, and maintains stored contents even when power is cut off. Memory unit 110 stores control program 112 .

制御プログラム112は、シンボルを読取るための各種制御プログラムである。制御プログラム112は、撮像部12を制御するプログラム、照明部13を制御するプログラム、撮像部12で撮像された画像からシンボルを抽出するためのプログラム、および抽出されたシンボルをデコードして当該シンボルが示す情報を読取るためのプログラムなどである。 The control program 112 is various control programs for reading symbols. The control program 112 includes a program for controlling the imaging unit 12, a program for controlling the illumination unit 13, a program for extracting a symbol from an image captured by the imaging unit 12, and a program for decoding the extracted symbol to obtain the symbol. It is a program for reading the information shown.

撮像部12、照明部13、第1表示部14、キーボード15、および第2表示部16の構成および機能については上述したとおりである。 The configurations and functions of the imaging unit 12, the illumination unit 13, the first display unit 14, the keyboard 15, and the second display unit 16 are as described above.

通信部120は、POS端末20等の外部装置と通信するためのインターフェイスである。制御部100は、通信部120を介して上記外部装置と接続されることで、当該外部装置と情報(データ)の送受信が可能となる。 The communication unit 120 is an interface for communicating with an external device such as the POS terminal 20 . The control unit 100 can transmit and receive information (data) to and from the external device by being connected to the external device via the communication unit 120 .

続いて、シンボル読取装置10の制御部100の機能構成について説明する。図4は、シンボル読取装置10の制御部100の主要な機能構成を示すブロック図である。制御部100は、CPU101がROM102やメモリ部110に記憶された制御プログラムにしたがって動作することで、画像取得部1001、読取部1002、抽出部1003、デコード処理部1004、照明制御部1005、撮像制御部1006、および出力部1007として機能する。なお、これら各機能を専用回路等のハードウェアを用いて構成してもよい。 Next, the functional configuration of the control section 100 of the symbol reading device 10 will be described. FIG. 4 is a block diagram showing the main functional configuration of the control section 100 of the symbol reading device 10. As shown in FIG. The control unit 100 operates according to the control programs stored in the ROM 102 and the memory unit 110 by the CPU 101, thereby controlling the image acquisition unit 1001, the reading unit 1002, the extraction unit 1003, the decoding processing unit 1004, the lighting control unit 1005, and the imaging control. It functions as a unit 1006 and an output unit 1007 . Note that each of these functions may be configured using hardware such as a dedicated circuit.

画像取得部1001は、撮像部12で撮像された画像データを取得する。画像取得部1001は、撮像部12によって撮像された1画像(以下、「フレーム画像」ともいう)を順次取得する。詳細には、画像取得部1001は、撮像部12で順次撮像されたフレーム画像を撮像された順に取り込む。本実施形態においては、撮像部12は、撮像タイミングになれば、撮像窓111に商品が翳されている場合でも、翳されていない場合でも撮像する。このため、画像取得部1001が順次取り込むフレーム画像には、商品を含む画像も含まない画像も存在することとなる。 The image acquisition unit 1001 acquires image data captured by the imaging unit 12 . The image acquisition unit 1001 sequentially acquires one image (hereinafter also referred to as “frame image”) captured by the imaging unit 12 . Specifically, the image acquiring unit 1001 acquires the frame images sequentially captured by the imaging unit 12 in the order in which they were captured. In the present embodiment, the image capturing unit 12 captures an image regardless of whether the product is held over the image capturing window 111 or not at the image capturing timing. Therefore, the frame images sequentially captured by the image acquisition unit 1001 include both images containing products and images not containing products.

読取部1002は、撮像部12が撮像したフレーム画像に含まれるシンボルが示す情報を読取る読取処理を実行する。読取処理は、フレーム画像に含まれるシンボルの情報を読取る処理であり、抽出処理とデコード処理とを含む。読取部1002は、抽出処理を実行する抽出部1003およびデコード処理を実行するデコード処理部1004で構成される。 The reading unit 1002 executes reading processing for reading information indicated by symbols included in the frame image captured by the imaging unit 12 . The reading process is a process of reading symbol information included in the frame image, and includes an extraction process and a decoding process. The reading unit 1002 is composed of an extraction unit 1003 that executes extraction processing and a decoding processing unit 1004 that executes decoding processing.

抽出部1003は、撮像部12が撮像したフレーム画像からシンボルを抽出する。抽出部1003は、画像処理技術を用いて、例えば、画像取得部1001が取得したフレーム画像から当該フレーム画像に含まれるバーコードを抽出する。 The extraction unit 1003 extracts symbols from the frame images captured by the imaging unit 12 . The extraction unit 1003 uses an image processing technique to extract, for example, the barcode included in the frame image acquired by the image acquisition unit 1001 .

デコード処理部1004は、抽出部1003が抽出したシンボルをデコードする。デコード処理部1004は、シンボルをデコードすることで、当該シンボルにエンコードされた情報を取り出す。本実施形態では、デコード処理部1004は、商品に付されたバーコード、つまりフレーム画像に含まれるバーコードから当該商品を識別する商品コードを取り出す。 A decoding processing unit 1004 decodes the symbols extracted by the extraction unit 1003 . The decoding processing unit 1004 extracts information encoded in the symbol by decoding the symbol. In this embodiment, the decoding processing unit 1004 extracts a product code for identifying the product from the barcode attached to the product, that is, the barcode included in the frame image.

照明制御部1005は、照明部13の点灯動作を制御する。具体的には、照明制御部1005は、照明部13を所定周期(例えば、1/120秒間隔)で点灯させる。照明制御部1005は、照明部13が所定周期で点灯する動作を、常時行うよう制御してもよいし、オペレータが撮像窓111の前に商品を翳したことを検出した場合に行うようにしてもよい。 The illumination control unit 1005 controls lighting operation of the illumination unit 13 . Specifically, the illumination control unit 1005 turns on the illumination unit 13 at predetermined intervals (for example, intervals of 1/120 second). The lighting control unit 1005 may control the operation of lighting the lighting unit 13 at a predetermined cycle so that it is always performed, or may be performed when it is detected that the operator holds a product in front of the imaging window 111 . good too.

撮像制御部1006は、読取部1002による読取処理の完了タイミングおよび照明部13の点灯タイミングに基づいて、撮像部12の撮像動作を制御する。撮像制御部1006は、所定周期で点灯する照明部13の点灯タイミングに合わせて撮像するよう撮像部12を制御する。言い換えれば、撮像部12の撮像タイミングは、照明部13の点灯タイミングのいずれかと同期する。撮像部12が照明部13の点灯タイミングに合せて撮像することにより、画像取得部1001は、商品に付されたシンボルの解析が容易なフレーム画像を取得することができる。 The imaging control unit 1006 controls the imaging operation of the imaging unit 12 based on the completion timing of the reading process by the reading unit 1002 and the lighting timing of the illumination unit 13 . The image capturing control unit 1006 controls the image capturing unit 12 so as to capture an image in accordance with the lighting timing of the illumination unit 13 that lights up at a predetermined cycle. In other words, the imaging timing of the imaging unit 12 is synchronized with one of the lighting timings of the illumination unit 13 . The image acquisition unit 1001 can acquire a frame image that facilitates analysis of the symbol attached to the product by capturing the image by the image capturing unit 12 in accordance with the lighting timing of the illumination unit 13 .

より詳細には、撮像制御部1006は、シンボル読取装置10の起動時あるいは撮像窓111の前に商品を検出した時に撮像部12に撮像を開始させるとともに、最初の撮像を照明部13のいずれかの点灯タイミングに合せる。以下の説明において、照明部13の点灯タイミングを単に「点灯タイミング」という場合がある。 More specifically, the imaging control unit 1006 causes the imaging unit 12 to start imaging when the symbol reading device 10 is activated or when a product is detected before the imaging window 111, and the illumination unit 13 performs the first imaging. match the lighting timing of the In the following description, the lighting timing of the illumination unit 13 may be simply referred to as "lighting timing".

また、撮像制御部1006は、以降の撮像部12による撮像を次のように制御する。撮像制御部1006は、撮像部12が撮像したフレーム画像に対する読取部1002の読取処理を完了すると次のフレーム画像を撮像するよう撮像部12を制御する。具体的には、撮像制御部1006は、読取部1002の読取処理の完了直後の点灯タイミングにおいて、撮像部12が次のフレーム画像を撮像するよう制御する。なお、撮像部12は、読取部1002の読取処理の完了直後の点灯タイミングで次のフレーム画像の撮像を行うことが最も効率的であるが、必ずしもこれに限らない。例えば、撮像部12は、読取部1002の読取処理の完了後、2回目の点灯タイミングで撮像してもよい。撮像制御部1006は、読取部1002による読取処理の完了のタイミングおよび点灯タイミングに基づいて、次のフレーム画像の撮像タイミングを設定するものであればよい。 Further, the imaging control unit 1006 controls subsequent imaging by the imaging unit 12 as follows. The image capturing control unit 1006 controls the image capturing unit 12 to capture the next frame image when the reading processing of the frame image captured by the image capturing unit 12 is completed by the reading unit 1002 . Specifically, the image capturing control unit 1006 controls the image capturing unit 12 to capture the next frame image at the lighting timing immediately after the reading processing of the reading unit 1002 is completed. It is most efficient for the imaging unit 12 to capture the next frame image at the lighting timing immediately after the reading process of the reading unit 1002 is completed, but this is not necessarily the case. For example, the image capturing unit 12 may capture an image at the second lighting timing after the reading processing of the reading unit 1002 is completed. The imaging control unit 1006 may set the imaging timing of the next frame image based on the timing of completion of the reading process by the reading unit 1002 and the lighting timing.

ここで、シンボル読取装置10の動作タイミングについて詳細に説明する。図5は、本実施形態に係るシンボル読取装置10の動作を示すタイミングチャートである。 Here, operation timing of the symbol reader 10 will be described in detail. FIG. 5 is a timing chart showing the operation of the symbol reading device 10 according to this embodiment.

図5において、撮像トリガAは、撮像制御部1006が撮像部12に対して出力する撮像トリガ信号のタイミングを示している。言い換えれば、撮像トリガAは、撮像部12の撮像タイミングを示しているということができる。 In FIG. 5 , an imaging trigger A indicates the timing of an imaging trigger signal that the imaging control unit 1006 outputs to the imaging unit 12 . In other words, it can be said that the imaging trigger A indicates the imaging timing of the imaging unit 12 .

点灯トリガBは、照明制御部1005が照明部13に対して出力する点灯トリガ信号のタイミングを示している。言い換えれば、点灯トリガBは、照明部13の点灯タイミングを示しているということができる。 A lighting trigger B indicates the timing of a lighting trigger signal that the lighting control unit 1005 outputs to the lighting unit 13 . In other words, it can be said that the lighting trigger B indicates the lighting timing of the lighting unit 13 .

画像取込処理Cは、画像取得部1001が撮像部12からフレーム画像を取り込む取込処理の開始および完了のタイミングを示している。言い換えれば、画像取込処理Cは、撮像部12からの画像転送タイミングを示しているということができる。 Image capture processing C indicates the timing of the start and completion of capture processing in which the image acquisition unit 1001 captures frame images from the imaging unit 12 . In other words, it can be said that the image capturing process C indicates the timing of image transfer from the imaging unit 12 .

読取処理Dは、読取部1002が実行する読取処理の開始および完了のタイミングを示している。すなわち、読取処理Dは、抽出部1003が実行する抽出処理の開始のタイミング、およびデコード処理部1004が実行するデコード処理の完了のタイミングを示している。 A reading process D indicates the timing of the start and completion of the reading process executed by the reading unit 1002 . That is, read processing D indicates the timing of starting the extraction processing performed by the extraction unit 1003 and the timing of completion of the decoding processing performed by the decoding processing unit 1004 .

なお、読取処理Dの処理時間は、読取処理の対象となるフレーム画像によって異なる。具体的には、フレーム画像に応じて、抽出部1003による抽出処理の処理時間が異なる。例えば、商品に付されたシンボルの近くに複雑な模様や図柄が存在するフレーム画像である場合、抽出部1003がシンボルを抽出する処理時間は長くなり、結果として読取処理の時間が長くなる。また、撮像窓111に商品が翳されていない状態を撮像したフレーム画像などシンボルを含まないフレーム画像である場合、抽出部1003の処理時間は短くなる。この場合、抽出処理によってシンボルは抽出されず、デコード処理は実行されない。 Note that the processing time for the reading process D varies depending on the frame image to be read. Specifically, the processing time of extraction processing by the extraction unit 1003 differs depending on the frame image. For example, in the case of a frame image in which a complicated pattern or pattern exists near the symbol attached to the product, the processing time for the extraction unit 1003 to extract the symbol is long, resulting in a long reading processing time. Also, in the case of a frame image that does not include a symbol, such as a frame image in which no product is held over the imaging window 111, the processing time of the extraction unit 1003 is shortened. In this case, no symbol is extracted by the extraction process and no decoding process is performed.

上述したとおり、撮像制御部1006は、所定周期で点灯する照明部13の点灯タイミングに合わせて撮像するよう撮像部12を制御する。図5においては、タイミングaにおいて、撮像部12による最初のフレーム画像の撮像が行われる。画像取得部1001は、撮像部12が撮像したフレーム画像の取り込みを実行し、タイミングbで画像取込処理を終える。 As described above, the image capturing control unit 1006 controls the image capturing unit 12 so as to capture an image in accordance with the lighting timing of the lighting unit 13 that lights up in a predetermined cycle. In FIG. 5, at timing a, the first frame image is captured by the imaging unit 12 . The image acquisition unit 1001 captures the frame image captured by the imaging unit 12, and ends the image capturing process at timing b.

読取部1002は、画像取得部1001が取得したフレーム画像に含まれるシンボルが示す情報を読取り、タイミングcで読取処理を終える。詳細には、タイミングbにおいて、抽出部1003はシンボルの抽出処理を開始する。抽出部1003による抽出処理に続いて、デコード処理部1004は、抽出部1003によって抽出されたシンボルをデコード処理し、タイミングcにおいてシンボルが示す商品コードの読取りを完了する。これにより、読取部1002による読取処理が完了する。 The reading unit 1002 reads the information indicated by the symbol included in the frame image acquired by the image acquisition unit 1001, and ends the reading process at timing c. Specifically, at timing b, the extraction unit 1003 starts symbol extraction processing. Following the extraction processing by the extraction unit 1003, the decoding processing unit 1004 decodes the symbol extracted by the extraction unit 1003, and completes reading of the product code indicated by the symbol at timing c. This completes the reading process by the reading unit 1002 .

撮像部12は、撮像制御部1006の制御によって、読取部1002による読取処理の完了後の次の点灯タイミングdで撮像を行う。シンボル読取装置10は、この動作を繰り返すことによって、撮像窓111に順次翳される各商品について、当該商品に付されたシンボルが示す商品コードを順次読取っていく。 Under the control of the imaging control unit 1006, the imaging unit 12 performs imaging at the next lighting timing d after the reading processing by the reading unit 1002 is completed. By repeating this operation, the symbol reading device 10 sequentially reads the product code indicated by the symbol attached to each product successively held over the imaging window 111 .

なお、画像取得部1001が取得したフレーム画像がシンボルを含まない場合、読取部1002はフレーム画像にシンボルが含まれないことを認識した時点で読取処理を完了する。そして、撮像制御部1006は、読取処理が完了した後の次の点灯タイミングで撮像部12に撮像を実行させる。 Note that if the frame image acquired by the image acquisition unit 1001 does not include a symbol, the reading unit 1002 completes the reading process when it recognizes that the frame image does not include a symbol. Then, the imaging control unit 1006 causes the imaging unit 12 to perform imaging at the next lighting timing after the completion of the reading process.

図4の機能構成の説明に戻る。出力部1007は、読取部1002が所定時間内に複数の画像から同一の情報を読取った場合、当該複数の画像のいずれかから読取った情報のみを出力する。言い換えると、出力部1007は、読取部1002が読取った商品コードが出力すべきものか否かを判断したうえで、出力すべき商品コードであればPOS端末20に出力するものである。例えば、出力部1007は、読取部1002が読取った商品コードが前回に読取った商品コードと同一であり、かつ、前回の商品コードの読取から所定時間(例えば、0.4秒)内に読み取ったものであれば出力すべき商品コードでないと判断して、読取った商品コードを出力しない。 Returning to the description of the functional configuration of FIG. When the reading unit 1002 reads the same information from a plurality of images within a predetermined time, the output unit 1007 outputs only the information read from any one of the plurality of images. In other words, the output unit 1007 determines whether or not the product code read by the reading unit 1002 should be output, and outputs the product code to the POS terminal 20 if the product code should be output. For example, the output unit 1007 determines that the product code read by the reading unit 1002 is the same as the previously read product code, and that the product code was read within a predetermined time (for example, 0.4 seconds) after the previous product code was read. If so, it is determined that the product code should not be output, and the read product code is not output.

これにより、商品が撮像窓111に翳された状態で複数回の撮像が行われた場合でも、当該商品の商品コードがPOS端末20に複数回出力されることがなく、POS端末20でのいわゆる二重登録を防止することができる。出力部1007は、読取部1002が読取った商品コードが前回に読取った商品コードと異なる場合、あるいは前回に読取った商品コードと同一であっても前回の読取から所定時間経過している場合、読取った商品コードをPOS端末20に出力する。 As a result, even when the product is held up against the imaging window 111 and the product is imaged multiple times, the product code of the product is not output to the POS terminal 20 multiple times. Double registration can be prevented. If the product code read by the reading unit 1002 is different from the previously read product code, or even if the product code is the same as the previously read product code, the output unit 1007 detects that a predetermined time has passed since the previous reading. The product code obtained is output to the POS terminal 20 .

次に、本実施形態のシンボル読取装置10の撮像動作と、従来例の撮像動作とを比較する。図6は本実施形態に係るシンボル読取装置10の動作と従来例の動作とを対比した一例を示すタイミングチャートであり、図7は本実施形態に係るシンボル読取装置10の動作と従来例の動作とを対比した他の一例を示すタイミングチャートである。なお、図6および図7において、点灯トリガB、画像取込処理C、読取処理Dは、従来例においても本実施形態と同様の動作であるものとする。 Next, the imaging operation of the symbol reader 10 of this embodiment and the conventional imaging operation will be compared. FIG. 6 is a timing chart showing an example comparing the operation of the symbol reader 10 according to the present embodiment and the operation of the conventional example, and FIG. 7 is the operation of the symbol reader 10 according to the present embodiment and the operation of the conventional example. 10 is a timing chart showing another example in comparison with . 6 and 7, the lighting trigger B, the image capturing process C, and the reading process D are assumed to be the same operations in the conventional example as in the present embodiment.

図6および図7に示すように、従来例の撮像トリガXは、読取処理Dとは無関係に所定周期で出力されている。具体的には、従来例の撮像部は、所定周期で撮像を行うもので、照明部の点灯タイミングの4回毎に同期して撮像するよう制御されている。 As shown in FIGS. 6 and 7, the imaging trigger X of the conventional example is output at a predetermined cycle regardless of the reading process D. As shown in FIGS. Specifically, the imaging unit of the conventional example performs imaging at a predetermined cycle, and is controlled so as to perform imaging in synchronism with every four lighting timings of the illumination unit.

図6に示す例は、撮像部12によるフレーム画像の撮像から読取部1002による読取処理の完了までの時間が比較的短く従来例の撮像周期よりも短い場合の例である。例えば、シンボルの近辺に複雑な模様や図柄が存在しない商品を撮像部12が撮像し、読取部1002が撮像部12によって撮像されたフレーム画像に含まれるシンボルが示す情報を読取る場合である。 The example shown in FIG. 6 is an example in which the time from the imaging of the frame image by the imaging unit 12 to the completion of the reading process by the reading unit 1002 is relatively short, and is shorter than the imaging cycle of the conventional example. For example, the image capturing unit 12 captures an image of a product that does not have a complicated pattern or pattern near the symbol, and the reading unit 1002 reads information indicated by the symbol included in the frame image captured by the image capturing unit 12 .

本実施形態のシンボル読取装置10は、タイミングaで1回目の撮像が行われ、撮像されたフレーム画像に対する読取処理がタイミングcで完了する。そして、撮像部12は、タイミングcの直後における点灯タイミングdで撮像を行う。言い換えれば、撮像制御部1006は、フレーム画像に対する読取部1002の読取処理の完了タイミングに基づいて、次のフレーム画像を撮像するタイミングを決定している。 In the symbol reading device 10 of the present embodiment, the first imaging is performed at timing a, and the reading process for the captured frame image is completed at timing c. Then, the imaging unit 12 takes an image at the lighting timing d immediately after the timing c. In other words, the imaging control unit 1006 determines the timing of imaging the next frame image based on the completion timing of the reading process of the reading unit 1002 for the frame image.

一方、従来例においては、点灯タイミングの4回毎に撮像部が撮像する。ユーザに不快なちらつきを感じさせない程度の短い周期で照明部13を点灯させる場合、点灯タイミング全てで撮像を行うことは撮像部12の性能上困難な場合がある。もしくは、撮像部12が高性能で上記の短い周期で撮像可能なものである場合、コスト上昇を招くこととなる。このため、上述したように従来例のものは、照明部13の点灯周期よりも長い撮像周期で撮像するものとなっている。 On the other hand, in the conventional example, the imaging unit takes an image every four lighting timings. When the lighting unit 13 is turned on in such a short cycle that the user does not feel uncomfortable flickering, it may be difficult in terms of the performance of the imaging unit 12 to capture images at all lighting timings. Alternatively, if the imaging unit 12 is of high performance and capable of imaging in the above short cycle, the cost will increase. For this reason, as described above, in the conventional example, images are captured at an imaging cycle longer than the lighting cycle of the illumination unit 13 .

図6を参照して、本実施形態のシンボル読取装置10と従来例のものとの撮像タイミングを比較する。本実施形態のシンボル読取装置10は、照明部13の1回目の点灯タイミングで1回目の撮像(1)、3回目の点灯タイミングで2回目の撮像(2)、5回目の点灯タイミングで3回目の撮像(3)を行う。これに対し、従来例のものは、照明部の1回目の点灯タイミングで1回目の撮像(1)、5回目の点灯タイミングで2回目の撮像(2)、9回目の点灯タイミングで3回目の撮像(3)を行う。 Referring to FIG. 6, the imaging timings of the symbol reader 10 of this embodiment and the conventional example will be compared. The symbol reading device 10 of the present embodiment performs the first imaging (1) at the timing of the first lighting of the illumination unit 13, the second imaging (2) at the timing of the third lighting, and the third imaging at the timing of the fifth lighting. is imaged (3). On the other hand, in the conventional example, the first imaging (1) is performed at the first lighting timing of the illumination unit, the second imaging (2) is performed at the fifth lighting timing, and the third imaging is performed at the ninth lighting timing. Imaging (3) is performed.

このように、本実施形態のシンボル読取装置10は、読取部1002の読取処理の完了タイミングに応じて、次のフレーム画像の撮像タイミングを決定することで、効率的な撮像を行うことができる。結果として、シンボルの情報の読取も効率的となり、シンボル読取装置10の操作性を向上させることができる。 As described above, the symbol reading device 10 of the present embodiment can efficiently perform image pickup by determining the image pickup timing of the next frame image according to the completion timing of the reading processing of the reading unit 1002 . As a result, the symbol information can be read efficiently, and the operability of the symbol reading device 10 can be improved.

図7に示す例は、撮像部12によるフレーム画像の撮像から読取部1002による読取処理の完了までの時間が比較的長く従来例の撮像周期より長い場合の例である。例えば、シンボルの近辺に複雑な模様や図柄が一部存在する商品を撮像部12が撮像し、読取部1002が撮像部12によって撮像されたフレーム画像に含まれるシンボルが示す情報を読取る場合である。 The example shown in FIG. 7 is an example in which the time from the imaging of the frame image by the imaging unit 12 to the completion of the reading process by the reading unit 1002 is relatively long and longer than the imaging cycle of the conventional example. For example, there is a case where the image pickup unit 12 picks up an image of a product in which a part of the complicated pattern or design exists near the symbol, and the reading unit 1002 reads information indicated by the symbol contained in the frame image picked up by the image pickup unit 12. .

この場合、本実施形態のシンボル読取装置10は、照明部13の1回目の点灯タイミングで1回目の撮像(1)、6回目の点灯タイミングで2回目の撮像(2)を行う。これに対し、従来例のものは、照明部の1回目の点灯タイミングで1回目の撮像(1)、9回目の点灯タイミングで実質的に2回目の撮像(2)を行う。従来例のものは、実際には5回目の点灯タイミングで2回目の撮像が行われるが、その時点で読取部1002が読取処理を完了しておらず、読取部1002は2回目に撮像されたフレーム画像を読取処理の対象とすることができない。このため、2回目の読取処理の対象となるフレーム画像は、9回目の点灯タイミングで撮像されたものとなるので、9回目の点灯タイミングでの撮像を実質的に2回目の撮像としている。 In this case, the symbol reading device 10 of the present embodiment performs the first image pickup (1) at the first lighting timing of the illumination unit 13, and the second image pickup (2) at the sixth lighting timing. On the other hand, in the conventional example, the first imaging (1) is performed at the first lighting timing of the lighting unit, and the second imaging (2) is substantially performed at the ninth lighting timing. In the conventional example, the second imaging is actually performed at the timing of the fifth lighting. Frame images cannot be read. For this reason, the frame image to be subjected to the second reading process is captured at the ninth lighting timing, so the imaging at the ninth lighting timing is substantially the second imaging.

このように、本実施形態のシンボル読取装置10は、読取処理に比較的長い時間を要するフレーム画像においても効率的な撮像を行うことができ、シンボル読取装置10の操作性を向上させることができる。 As described above, the symbol reading device 10 of the present embodiment can efficiently capture frame images that require a relatively long time for reading processing, and the operability of the symbol reading device 10 can be improved. .

次に、シンボル読取装置10の制御部100の処理について説明する。図8は、シンボル読取装置10の制御部100の処理を示すフローチャートである。 Next, processing of the control section 100 of the symbol reading device 10 will be described. FIG. 8 is a flow chart showing the processing of the control section 100 of the symbol reading device 10. As shown in FIG.

図示しない電源スイッチがオンされると、撮像制御部1006は、照明部13の点灯タイミングのいずれかに合せて撮像部12が撮像するよう最初の撮像トリガを出力する(ステップS1)。なお、最初の撮像トリガの出力は、撮像窓111に商品が翳されたことが検出された場合になされてもよい。 When a power switch (not shown) is turned on, the image capturing control unit 1006 outputs the first image capturing trigger so that the image capturing unit 12 captures an image in accordance with one of the lighting timings of the illumination unit 13 (step S1). Note that the first imaging trigger may be output when it is detected that a product is held over the imaging window 111 .

画像取得部1001は、ステップS1で出力された撮像トリガに基づいて撮像されたフレーム画像を取得する(ステップS2)。続いて、抽出部1003は、画像取得部1001が取得したフレーム画像にシンボルが含まれているか否か判断し(ステップS3)、含まれていれば(ステップS3のY)、シンボルの抽出を行う(ステップS4)。 The image acquisition unit 1001 acquires a frame image captured based on the imaging trigger output in step S1 (step S2). Subsequently, the extraction unit 1003 determines whether or not the frame image acquired by the image acquisition unit 1001 contains a symbol (step S3), and if so (Y in step S3), extracts the symbol. (Step S4).

次いで、デコード処理部1004は、デコード処理を実行する(ステップS5)。すなわち、デコード処理部1004は、シンボルにエンコードされた情報を取り出して商品コードを読取る。これにより、読取部1002の読取処理が完了する。 Next, the decoding processing unit 1004 executes decoding processing (step S5). That is, the decoding processing unit 1004 extracts the information encoded in the symbol and reads the product code. This completes the reading process of the reading unit 1002 .

出力部1007は、読取部1002が読取った商品コードが出力対象の商品コードか否か判断する(ステップS6)。具体的には、出力部1007は、読取部1002が読取った商品コードが、前回の読取から所定時間内に読取ったものであり、かつ、前回に読取った商品コードと同一である場合、出力対象でないと判断する。出力部1007は、読取部1002が読取った商品コードが出力対象であると判断すると(ステップS6のY)、当該商品コードをPOS端末20に出力する(ステップS7)。POS端末20は、入力された商品コードに基づいて、商品登録を実行する。 The output unit 1007 determines whether the product code read by the reading unit 1002 is the product code to be output (step S6). Specifically, if the product code read by the reading unit 1002 was read within a predetermined period of time from the previous reading and is the same as the previously read product code, the output unit 1007 selects the product code to be output. judge not. When the output unit 1007 determines that the product code read by the reading unit 1002 is to be output (Y in step S6), the output unit 1007 outputs the product code to the POS terminal 20 (step S7). The POS terminal 20 executes product registration based on the input product code.

続いて、撮像制御部1006は、照明部13の点灯タイミング(点灯トリガの出力タイミング)になったか否かを判断し(ステップS8)、点灯タイミングでないと(ステップS8のN)、点灯タイミングになるまで待機する。点灯タイミングになると(ステップS8のY)、制御部100はS1の処理に戻る。これにより、撮像部12は、読取部1002の読取処理が完了した直後の点灯タイミングで次のフレーム画像の撮像を行う。 Subsequently, the imaging control unit 1006 determines whether or not the lighting timing of the lighting unit 13 (output timing of the lighting trigger) has come (step S8). wait until When the lighting timing comes (Y in step S8), the control section 100 returns to the process of S1. As a result, the imaging unit 12 captures the next frame image at the lighting timing immediately after the reading process of the reading unit 1002 is completed.

なお、ステップS3の処理において、抽出部1003がフレーム画像からシンボルを検出しない場合(ステップS3のN)、制御部100は、ステップS4~ステップS7の処理をスキップしてステップS8の処理に移行する。 In the process of step S3, if the extraction unit 1003 does not detect a symbol from the frame image (N of step S3), the control unit 100 skips the processes of steps S4 to S7 and proceeds to the process of step S8. .

また、ステップS6の処理において、出力部1007によって、商品コードが出力対象でないと判断された場合(ステップS6のN)、制御部100は、ステップS7の処理をスキップしてステップS8の処理に移行する。 Further, in the process of step S6, when the output unit 1007 determines that the product code is not to be output (N of step S6), the control unit 100 skips the process of step S7 and shifts to the process of step S8. do.

制御部100の上記処理により、撮像部12は、読取部1002による商品コードの読取処理の完了後、速やかに次のフレーム画像を撮像することができる。また、出力部1007が出力対象の商品コードのみをPOS端末20に出力するので、POS端末20でのいわゆる二重登録を防止することができる。 By the above processing of the control unit 100, the image capturing unit 12 can quickly capture the next frame image after the product code reading processing by the reading unit 1002 is completed. In addition, since the output unit 1007 outputs only the product code to be output to the POS terminal 20, so-called double registration at the POS terminal 20 can be prevented.

以上説明したとおり、上記実施形態のシンボル読取装置10は、撮像部12と、所定周期で点灯して撮像部12の撮像領域を照らす照明部13と、撮像部12が撮像したフレーム画像に含まれるシンボルが示す情報を読取る読取処理を実行する読取部1002と、読取部1002による読取処理の完了タイミングおよび照明部13の点灯タイミングに基づいて、撮像部12の撮像動作を制御する撮像制御部1006と、を備える。 As described above, the symbol reading device 10 of the above embodiment includes the imaging unit 12, the illumination unit 13 that lights up at a predetermined cycle to illuminate the imaging area of the imaging unit 12, and the frame image captured by the imaging unit 12. A reading unit 1002 that executes reading processing for reading information indicated by a symbol; , provided.

これにより、撮像部12は、フレーム画像に対する読取部1002の読取処理の完了タイミングに応じて、次のフレーム画像の撮像タイミングが制御されるので、効率的に撮像を行うことができる。結果として、シンボル読取装置10は、シンボルが示す情報を効率的に読取ることができ、操作性を向上させることができる。 As a result, the imaging unit 12 controls the imaging timing of the next frame image according to the completion timing of the reading process of the reading unit 1002 for the frame image, so that imaging can be performed efficiently. As a result, the symbol reading device 10 can efficiently read the information indicated by the symbols, and can improve operability.

また、上記実施形態のシンボル読取装置10の撮像制御部1006は、撮像部12が撮像したフレーム画像に対する読取処理の完了後の次の照明部13の点灯タイミングにおいて、撮像部12が次のフレーム画像を撮像するよう制御する。 Further, the image capturing control unit 1006 of the symbol reading device 10 of the above-described embodiment causes the image capturing unit 12 to read the next frame image at the next lighting timing of the lighting unit 13 after completion of the reading process for the frame image captured by the image capturing unit 12 . is controlled to image.

これにより、撮像部12は最も効率的に撮像を行うことができる。したがって、シンボル読取装置10は、シンボルが示す情報をより効率的に読み取ることができ、さらなる操作性の向上を実現することができる。 As a result, the imaging unit 12 can most efficiently perform imaging. Therefore, the symbol reading device 10 can read the information indicated by the symbols more efficiently, and further improve the operability.

さらに、上記実施形態のシンボル読取装置10の読取部1002は、撮像部12が撮像したフレーム画像からシンボルを抽出する抽出部1003および当該抽出部1003が抽出したシンボルをデコードするデコード処理部1004を備える。 Further, the reading unit 1002 of the symbol reading device 10 of the above embodiment includes an extraction unit 1003 that extracts symbols from the frame image captured by the imaging unit 12, and a decoding processing unit 1004 that decodes the symbols extracted by the extraction unit 1003. .

これにより、シンボル読取装置10は、シンボルにエンコードされた情報を確実に読み取ることができる。 This allows the symbol reader 10 to reliably read the information encoded in the symbol.

加えて、上記実施形態のシンボル読取装置10は、読取部1002が読取った情報を出力する出力部1007をさらに備え、出力部1007は、読取部1002が所定時間内に複数のフレーム画像から同一の情報を読取った場合、当該複数のフレーム画像のいずれかから読取った情報のみを出力する。 In addition, the symbol reading device 10 of the above embodiment further includes an output unit 1007 for outputting information read by the reading unit 1002. The output unit 1007 allows the reading unit 1002 to read the same information from a plurality of frame images within a predetermined time. When information is read, only the information read from one of the plurality of frame images is output.

これにより、同じ撮像対象(例えば、同一の個品)を複数回撮像した場合、当該撮像対象に含まれるシンボルから読取った情報は複数出力されない。したがって、シンボル読取装置10が出力する情報の精度が向上する。 As a result, when the same object to be imaged (for example, the same individual product) is imaged multiple times, the information read from the symbols included in the object to be imaged is not output multiple times. Therefore, the accuracy of the information output by the symbol reader 10 is improved.

なお、上記実施形態において、シンボル読取装置10で実行される制御プログラムは、CD-ROM等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。また、上記実施形態のシンボル読取装置10で実行される制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良く、さらには、インターネット等のネットワーク経由で提供するように構成しても良い。 In the above-described embodiment, the control program executed by the symbol reading device 10 may be provided by being recorded on a computer-readable recording medium such as a CD-ROM. Further, the control program executed by the symbol reading device 10 of the above embodiment may be stored on a computer connected to a network such as the Internet, and may be provided by being downloaded via the network. may be configured to be provided via a network such as the Internet.

以上、本発明の実施形態を説明したが、この実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。この実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。この実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although the embodiment of the present invention has been described above, this embodiment is presented as an example and is not intended to limit the scope of the invention. This embodiment can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the scope of the invention. This embodiment and its modifications are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and its equivalents.

10 シンボル読取装置
12 撮像部
13 照明部
1002 読取部
1003 抽出部
1004 デコード処理部
1006 撮像制御部
REFERENCE SIGNS LIST 10 symbol reading device 12 imaging section 13 illumination section 1002 reading section 1003 extraction section 1004 decoding processing section 1006 imaging control section

特開2015-170035号公報JP 2015-170035 A

Claims (6)

撮像部と、
所定周期で点灯して前記撮像部の撮像領域を照らす照明部と、
前記撮像部が撮像したフレーム画像に含まれるシンボルが示す情報を読取る読取処理を実行する読取部と、
前記読取部による読取処理の完了タイミングおよび前記照明部の点灯タイミングに基づいて、前記撮像部の撮像動作を制御する撮像制御部と、
を備えるシンボル読取装置。
an imaging unit;
an illumination unit that lights up at a predetermined cycle to illuminate an imaging area of the imaging unit;
a reading unit that performs a reading process of reading information indicated by a symbol included in the frame image captured by the imaging unit;
an image capturing control unit that controls an image capturing operation of the image capturing unit based on the completion timing of the reading process by the reading unit and the lighting timing of the lighting unit;
a symbol reader.
前記撮像制御部は、前記撮像部が撮像したフレーム画像に対する読取処理の完了後の次の前記照明部の点灯タイミングにおいて、前記撮像部が次のフレーム画像を撮像するよう制御する、
請求項1に記載のシンボル読取装置。
The imaging control unit controls the imaging unit to capture the next frame image at the next lighting timing of the lighting unit after completion of reading processing for the frame image captured by the imaging unit.
A symbol reader according to claim 1.
前記読取部は、前記撮像部が撮像したフレーム画像からシンボルを抽出する抽出部および当該抽出部が抽出したシンボルをデコードするデコード処理部を備える、
請求項1または2に記載のシンボル読取装置。
The reading unit includes an extraction unit that extracts symbols from the frame image captured by the imaging unit, and a decoding processing unit that decodes the symbols extracted by the extraction unit.
3. A symbol reader according to claim 1 or 2.
前記読取部が読取った情報を出力する出力部をさらに備え、
前記出力部は、前記読取部が所定時間内に複数の画像から同一の情報を読取った場合、当該複数の画像のいずれかから読取った情報のみを出力する、
請求項1ないし請求項3のいずれか1項に記載のシンボル読取装置。
Further comprising an output unit for outputting information read by the reading unit,
When the reading unit reads the same information from a plurality of images within a predetermined time, the output unit outputs only the information read from any one of the plurality of images.
4. A symbol reading device according to any one of claims 1 to 3.
撮像部と、所定周期で点灯して前記撮像部の撮像領域を照らす照明部と、を備えたシンボル読取装置が実行するシンボル読取方法であって、
前記撮像部が撮像したフレーム画像に含まれるシンボルが示す情報を読取る読取処理を実行する読取ステップと、
前記読取ステップによる読取処理の完了タイミングおよび前記照明部の点灯タイミングに基づいて、前記撮像部の撮像動作を制御する撮像制御ステップと、
を含むシンボル読取方法。
A symbol reading method executed by a symbol reading device comprising an imaging unit and an illumination unit that lights up at predetermined intervals to illuminate an imaging area of the imaging unit,
a reading step of reading information indicated by a symbol included in a frame image captured by the imaging unit;
an imaging control step of controlling the imaging operation of the imaging unit based on the completion timing of the reading process by the reading step and the lighting timing of the illumination unit;
Symbol reading method, including
撮像部と、所定周期で点灯して前記撮像部の撮像領域を照らす照明部と、を備えたシンボル読取装置をコンピュータで制御するためのプログラムであって、
前記コンピュータを、
前記撮像部が撮像したフレーム画像に含まれるシンボルが示す情報を読取る読取処理を実行する読取部と、
前記読取部による読取処理の完了タイミングおよび前記照明部の点灯タイミングに基づいて、前記撮像部の撮像動作を制御する撮像制御部と、
して機能させるプログラム。
A program for controlling, by a computer, a symbol reading device including an imaging unit and an illumination unit that lights up at predetermined intervals to illuminate an imaging area of the imaging unit,
the computer,
a reading unit that performs a reading process of reading information indicated by a symbol included in the frame image captured by the imaging unit;
an image capturing control unit that controls an image capturing operation of the image capturing unit based on the completion timing of the reading process by the reading unit and the lighting timing of the lighting unit;
A program that works as
JP2021120912A 2021-07-21 2021-07-21 Symbol reader, method for reading symbol, and program Pending JP2023016535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021120912A JP2023016535A (en) 2021-07-21 2021-07-21 Symbol reader, method for reading symbol, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021120912A JP2023016535A (en) 2021-07-21 2021-07-21 Symbol reader, method for reading symbol, and program

Publications (1)

Publication Number Publication Date
JP2023016535A true JP2023016535A (en) 2023-02-02

Family

ID=85131785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021120912A Pending JP2023016535A (en) 2021-07-21 2021-07-21 Symbol reader, method for reading symbol, and program

Country Status (1)

Country Link
JP (1) JP2023016535A (en)

Similar Documents

Publication Publication Date Title
JP4538056B2 (en) Data code reader and product registration system
US10803438B2 (en) Reading apparatus
US10510218B2 (en) Information processing apparatus, information processing method, and non-transitory storage medium
JP2004127013A (en) Point-of-sale information managing device
JP4792421B2 (en) Product sales registration data processing device
JP2013003866A (en) Sales data processing device and program
JP4523975B2 (en) Data code reader
JP2011154409A (en) Code reader and program
JP2010055248A (en) Sales information generation system with clientele
US20150254488A1 (en) Code symbol reading apparatus and method for reading code symbol
JP5681682B2 (en) Information processing apparatus and program
JP5250670B2 (en) Product sales registration data processing device
US10936935B2 (en) Product tags and product scanning devices and methods
US20120226566A1 (en) Scanner and sale data processor
JP5640112B2 (en) Product recognition apparatus and product recognition program
US20120054052A1 (en) Store system, sales registration apparatus, and control method
JP5782059B2 (en) Code reader and program
JP2013200895A (en) Data processing device and program
JP5256259B2 (en) Product code reading apparatus and product code reading method
JP2023016535A (en) Symbol reader, method for reading symbol, and program
JP5075866B2 (en) Code symbol reader
US10192136B2 (en) Image processing apparatus and image processing method
US20220301400A1 (en) Symbol reading device and method
JP2010218446A (en) Commodity data input device
JP7079118B2 (en) Code readers and programs