JP7211447B2 - Image recognition device, system, method and program - Google Patents

Image recognition device, system, method and program Download PDF

Info

Publication number
JP7211447B2
JP7211447B2 JP2021062498A JP2021062498A JP7211447B2 JP 7211447 B2 JP7211447 B2 JP 7211447B2 JP 2021062498 A JP2021062498 A JP 2021062498A JP 2021062498 A JP2021062498 A JP 2021062498A JP 7211447 B2 JP7211447 B2 JP 7211447B2
Authority
JP
Japan
Prior art keywords
product
image
recognition
image recognition
area
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.)
Active
Application number
JP2021062498A
Other languages
Japanese (ja)
Other versions
JP2021119470A (en
Inventor
亮真 飯尾
浩太 岩元
秀雄 横井
亮 高田
和也 小山
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2021062498A priority Critical patent/JP7211447B2/en
Publication of JP2021119470A publication Critical patent/JP2021119470A/en
Application granted granted Critical
Publication of JP7211447B2 publication Critical patent/JP7211447B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Image Analysis (AREA)

Description

本発明は、画像認識を行う装置、システム、方法およびプログラムに関する。 The present invention relates to an apparatus, system, method, and program for image recognition.

従来、顧客が小売店等において商品を購入する際には、POS端末が商品に付されたバーコードを読み取ることによって商品を識別し、名称や価格等の商品情報を取得することが一般的であった。近年、商品にバーコードが付されていることを必要とせず、画像認識技術を用いて商品の外観的な特徴に基づいて商品を識別する技術が開発されている。 Conventionally, when a customer purchases a product at a retail store, it is common for a POS terminal to read the bar code attached to the product to identify the product and acquire product information such as name and price. there were. In recent years, technology has been developed to identify products based on the appearance characteristics of products using image recognition technology, without requiring the products to be bar-coded.

特許文献1には、所定の認識領域に配置された複数の商品を撮像し、撮像された画像の特徴量から該複数の商品を一括して認識する技術が記載されている。これにより、複数の商品を同時に識別して商品情報を効率的に取得することができる。 Japanese Patent Application Laid-Open No. 2002-200002 describes a technique of capturing images of a plurality of products arranged in a predetermined recognition area and collectively recognizing the plurality of products from the feature values of the captured images. As a result, it is possible to simultaneously identify a plurality of products and efficiently acquire product information.

特開2013-54673号公報JP 2013-54673 A

飲料缶のように共通のロゴマークを含み様々な大きさで販売されている商品は、画像認識の処理で見分けることが難しい場合がある。また、生鮮食品のように形状や色が多様であり、形状や色を用いる画像認識の処理が適用しづらい商品がある。そのため、商品の種類や状態に従って異なる処理を行うことによって、画像認識の精度を向上させることができると考えられる。しかしながら、特許文献1に記載の技術では、認識領域内に配置される複数の商品が等しく扱われるため、商品によって異なる認識処理を適用することはできない。 Products such as beverage cans that have common logos and are sold in various sizes may be difficult to distinguish by image recognition processing. In addition, there are products such as perishables that come in a variety of shapes and colors, making it difficult to apply image recognition processing that uses shapes and colors. Therefore, it is considered that the accuracy of image recognition can be improved by performing different processing according to the type and condition of the product. However, with the technique described in Patent Document 1, multiple products arranged in the recognition area are treated equally, so different recognition processing cannot be applied to each product.

本発明は、上述の問題に鑑みて行われたものであって、画像認識対象の複数の商品に対してそれぞれ異なる認識処理を適用することができる画像認識装置、システム、方法およびプログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and provides an image recognition apparatus, system, method, and program that can apply different recognition processes to a plurality of products to be subjected to image recognition. for the purpose.

本発明の第1の態様は、画像認識装置であって、商品の画像を取得する画像取得部と、取得した前記画像中の商品を識別する画像認識部と、を備え、前記画像認識部は、前記商品の位置に基づいて、異なる画像認識処理を用いて前記商品を識別する。 A first aspect of the present invention is an image recognition device comprising an image acquisition unit for acquiring an image of a product, and an image recognition unit for identifying the product in the acquired image, wherein the image recognition unit , based on the location of the item, identify the item using different image recognition processes.

本発明の第2の態様は、画像認識方法であって、商品の画像を取得するステップと、取得した前記画像中の商品を識別するステップと、を有し、前記商品を識別するステップは、前記商品の位置に基づいて、異なる画像認識処理を用いて前記商品を識別するステップを含む。 A second aspect of the present invention is an image recognition method, comprising the steps of acquiring an image of a product, and identifying the product in the acquired image, wherein the step of identifying the product comprises: Identifying the item using different image recognition processes based on the location of the item.

本発明の第3の態様は、プログラムであって、コンピュータに、商品の画像を取得するステップと、取得した前記画像中の商品を識別するステップと、を有する画像認識方法であって、前記商品を識別するステップは、前記商品の位置に基づいて、異なる画像認識処理を用いて前記商品を識別するステップを含む、画像識別方法を実行させる。 A third aspect of the present invention is a program, which is an image recognition method comprising the steps of acquiring an image of a product in a computer, and identifying the product in the acquired image, wherein the product comprises identifying the item using different image recognition processes based on the location of the item.

本発明の第4の態様は、画像認識システムであって、商品を載置するための載置台と、撮像装置によって取得される前記商品の画像に対して画像認識を行う画像認識装置と、を備え、前記画像認識装置は、前記載置台上に配置されている前記商品の前記画像を取得する画像取得部と、取得した前記画像中の商品を識別する画像認識部と、を備え、前記画像認識部は、前記商品の位置に基づいて、異なる画像認識処理を用いて前記商品を識別する。 A fourth aspect of the present invention is an image recognition system comprising a placing table for placing a product, and an image recognition device for performing image recognition on an image of the product acquired by an imaging device. wherein the image recognition device comprises an image acquisition unit that acquires the image of the product placed on the mounting table, and an image recognition unit that identifies the product in the acquired image, A recognition unit identifies the item using different image recognition processes based on the location of the item.

本発明によれば、認識領域に配置されている複数の商品に対してそれぞれ商品の位置に基づいて異なる画像認識の処理を行うことができる。 According to the present invention, different image recognition processes can be performed on a plurality of products arranged in a recognition area based on the position of each product.

第1の実施形態に係る画像認識システムの模式図である。1 is a schematic diagram of an image recognition system according to a first embodiment; FIG. 第1の実施形態に係るPOS端末のブロック図である。1 is a block diagram of a POS terminal according to the first embodiment; FIG. 第1の実施形態に係る支持部の斜視図である。It is a perspective view of the support part which concerns on 1st Embodiment. 第1の実施形態で認識対象とする商品の模式図である。FIG. 2 is a schematic diagram of a product to be recognized in the first embodiment; FIG. 第1の実施形態に係る商品が配置された状態の支持部の上面図である。It is a top view of the support part in the state where the goods which concern on 1st Embodiment are arrange|positioned. 第1の実施形態に係るPOS端末の概略構成図である。1 is a schematic configuration diagram of a POS terminal according to a first embodiment; FIG. 第1の実施形態に係る画像認識方法のフローチャートを示す図である。It is a figure which shows the flowchart of the image recognition method which concerns on 1st Embodiment. 第2の実施形態に係る載置台上の認識領域の上面図である。FIG. 11 is a top view of a recognition area on a mounting table according to the second embodiment; 第2の実施形態に係る画像認識方法のフローチャートを示す図である。FIG. 10 is a diagram showing a flowchart of an image recognition method according to the second embodiment; 第3の実施形態に係る載置台上の認識領域の上面図である。FIG. 11 is a top view of a recognition area on a mounting table according to the third embodiment; 第3の実施形態に係る画像認識方法のフローチャートを示す図である。FIG. 13 is a diagram showing a flowchart of an image recognition method according to the third embodiment; 各実施形態に係るPOS端末の概略構成図である。1 is a schematic configuration diagram of a POS terminal according to each embodiment; FIG.

以下、図面を参照して、本発明の実施形態を説明するが、本発明は本実施形態に限定されるものではない。なお、以下で説明する図面で、同機能を有するものは同一符号を付け、その繰り返しの説明は省略することもある。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings, but the present invention is not limited to these embodiments. In the drawings described below, elements having the same function are denoted by the same reference numerals, and repeated description thereof may be omitted.

(第1の実施形態)
図1は、本実施形態に係る画像認識システム10の模式図である。画像認識システム10は、画像認識装置としてのPOS端末(販売時点情報管理端末)100、画像認識の対象とする商品を載置するための載置台14、および載置台14上において商品を支持するための支持部200を備える。POS端末100には、載置台14上の商品を撮像可能な位置に設けられた撮像装置11、載置台14上に所定の像を投影可能な投影装置12、および商品に係る情報を表示する表示装置13が接続されている。本実施形態では、画像認識装置は、POS端末100と一体として構成されているが、POS端末100とは別に設けられ、POS端末100と必要な情報を授受して本実施形態に係る画像認識方法を実施するように構成されてもよい。
(First embodiment)
FIG. 1 is a schematic diagram of an image recognition system 10 according to this embodiment. The image recognition system 10 includes a POS terminal (point-of-sale information management terminal) 100 as an image recognition device, a mounting table 14 for placing a product to be subjected to image recognition, and a table for supporting the product on the mounting table 14. is provided with a support portion 200 of The POS terminal 100 includes an imaging device 11 provided at a position capable of capturing an image of the product on the mounting table 14, a projection device 12 capable of projecting a predetermined image on the mounting table 14, and a display for displaying information related to the product. A device 13 is connected. In the present embodiment, the image recognition apparatus is configured integrally with the POS terminal 100, but is provided separately from the POS terminal 100, and exchanges necessary information with the POS terminal 100 to obtain the image recognition method according to the present embodiment. may be configured to implement

POS端末100は、表示装置13に会計中の商品情報、会計の金額、所定のメッセージ等を表示する。商品情報は、後述の画像認識方法によって取得される。また、POS端末100は、入出金やレシートの印刷等、会計に係る任意の処理を行ってよい。 The POS terminal 100 displays, on the display device 13, product information during checkout, the checkout amount, a predetermined message, and the like. Merchandise information is acquired by an image recognition method, which will be described later. In addition, the POS terminal 100 may perform arbitrary processing related to accounting, such as depositing and withdrawing money, printing receipts, and the like.

載置台14は、水平方向(すなわち重力方向に対して垂直な方向)に延在する載置面を有する。載置台14の載置面上に1つ以上の商品Bが載置される。 The mounting table 14 has a mounting surface extending in the horizontal direction (that is, the direction perpendicular to the direction of gravity). One or more products B are placed on the placing surface of the placing table 14 .

撮像装置11は、重力方向に沿って載置台14の上方に設けられ、不図示の柱、アーム、天井等に固定される。撮像装置11は、例えばCCD(Charge Coupled Device)センサ、CMOS(Complementary Metal Oxide Semiconductor)センサ等のイメージセンサによって画像を取得するカメラ又はスキャナ等の任意の撮像装置である。撮像装置11は、少なくとも載置台14の載置面を含む領域を撮像可能であり、撮像した画像を示す信号をPOS端末100に送信する。撮像装置11が撮像した画像を示す信号は、直接POS端末100に送信されてよく、あるいは一旦記憶装置に記録された後にPOS端末100によって読み出されてよい。載置台14上の商品を一様に撮像するために、撮像装置11の光軸は載置台14の載置面の法線と一致していることが望ましい。撮像装置11は、所定の時間間隔で撮像を行ってよく、あるいはPOS端末100からの指示に従って撮像を行ってよい。 The imaging device 11 is provided above the mounting table 14 along the direction of gravity, and fixed to a pillar, an arm, a ceiling, or the like (not shown). The imaging device 11 is an arbitrary imaging device such as a camera or a scanner that acquires an image using an image sensor such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor. The imaging device 11 can capture an image of at least an area including the mounting surface of the mounting table 14 and transmits a signal indicating the captured image to the POS terminal 100 . A signal indicating an image captured by the imaging device 11 may be directly transmitted to the POS terminal 100 or may be read by the POS terminal 100 after being temporarily recorded in a storage device. It is desirable that the optical axis of the imaging device 11 is aligned with the normal line of the mounting surface of the mounting table 14 in order to uniformly image the products on the mounting table 14 . The imaging device 11 may take images at predetermined time intervals, or may take images according to instructions from the POS terminal 100 .

投影装置12は、重力方向に沿って載置台14の上方に設けられ、不図示の柱、アーム、天井等に固定される。投影装置12はランプ、LED(Light Emitting Diode)等の光源を用いて所望の像を投影するプロジェクタ等の任意の投影装置である。投影装置12は、POS端末100からの信号に従って、載置台14の載置面上に像を投影する。投影装置12は、このような投影が実現可能な所定位置に設置される。投影装置12の設置位置は設計的事項である。例えば、投影装置12は、載置面の真上や斜め上方に設置され、当該方向から像を投影してもよい。その他、投影装置12は、載置面上に設置され、横方向から像を投影してもよい。その他、載置台14を透明の部材で構成し、載置台14の下方に投影装置12を設置してもよい。この場合、投影装置12は、載置台14の下側から、載置台14の載置面上に像を投影する。 The projection device 12 is provided above the mounting table 14 along the direction of gravity, and fixed to a pillar, an arm, a ceiling, or the like (not shown). The projection device 12 is an arbitrary projection device such as a projector that projects a desired image using a light source such as a lamp or an LED (Light Emitting Diode). The projection device 12 projects an image onto the mounting surface of the mounting table 14 according to the signal from the POS terminal 100 . The projection device 12 is installed at a predetermined position where such projection can be realized. The installation position of the projection device 12 is a matter of design. For example, the projection device 12 may be installed directly above or obliquely above the placement surface and project an image from that direction. Alternatively, the projection device 12 may be installed on the mounting surface and project the image from the lateral direction. Alternatively, the mounting table 14 may be made of a transparent member, and the projector 12 may be installed below the mounting table 14 . In this case, the projection device 12 projects an image onto the mounting surface of the mounting table 14 from below the mounting table 14 .

本実施形態において投影装置12は、撮像装置11によって撮像されて画像認識が行われる認識領域Aを示す像(例えば認識領域Aを取り囲む枠)を載置台14の載置面上に投影する。認識領域Aは、撮像装置11の撮像領域と一致してよく、あるいは撮像装置11の撮像領域の一部でよい。認識領域Aは、POS端末100において予め設定されてよく、あるいは利用者によって設定されてよい。 In this embodiment, the projection device 12 projects an image (for example, a frame surrounding the recognition region A) indicating the recognition region A imaged by the imaging device 11 and subjected to image recognition onto the mounting surface of the mounting table 14 . The recognition area A may match the imaging area of the imaging device 11 or may be a part of the imaging area of the imaging device 11 . The recognition area A may be preset in the POS terminal 100, or may be set by the user.

支持部200は、載置台14の載置面上において、商品Bを重力方向に対して所定の角度に支持するための支持構造である。支持部200は、認識領域A内において、載置台14と一体に(すなわち載置台14の一部として)構成されてよく、あるいは載置台14上に載置される部材として構成されてよい。支持部200の詳細な構成については、図3を用いて後述する。 The support part 200 is a support structure for supporting the product B on the mounting surface of the mounting table 14 at a predetermined angle with respect to the direction of gravity. In the recognition area A, the support part 200 may be configured integrally with the mounting table 14 (that is, as part of the mounting table 14 ), or may be configured as a member mounted on the mounting table 14 . A detailed configuration of the support portion 200 will be described later with reference to FIG. 3 .

表示装置13は、利用者(すなわち店員又は顧客)に対して商品情報等の任意の情報を表示する表示装置である。表示装置13として、CRT(Cathode Ray Tube)ディスプレイ、液晶ディスプレイ等の任意の表示装置を用いてよい。 The display device 13 is a display device that displays arbitrary information such as product information to a user (that is, a store clerk or a customer). As the display device 13, any display device such as a CRT (Cathode Ray Tube) display, a liquid crystal display, or the like may be used.

商品認識方法を実行する際には、認識対象の各商品Bは載置台14上の認識領域A内に直接配置されるか、あるいは支持部200に配置される。具体的には、商品Bが置かれる時に、商品Bの外観的な特徴を自然と重力方向に沿って上方に向けられる(すなわち撮像装置11に向けられる)場合には、その商品Bは載置台14上の認識領域A内に直接配置される。一方、商品Bが置かれる時に、商品Bの外観的な特徴が重力方向に対して側方に向く(すなわち撮像装置11に向かない)場合には、その商品Bは支持部200の上に配置される。外観的な特徴が重力方向に対して側方に向く商品Bは、例えば、飲料缶のように略円柱形を有している物品、あるいは透明な容器に入った柔らかい菓子のように横倒しにすることで破損する物品である。 When executing the product recognition method, each product B to be recognized is placed directly within the recognition area A on the mounting table 14 or placed on the support section 200 . Specifically, when the product B is placed, if the external features of the product B are naturally directed upward along the direction of gravity (that is, directed toward the imaging device 11), the product B is placed on the placing table. 14 directly within the recognition area A. On the other hand, when the product B is placed, if the external features of the product B face the direction of gravity (that is, do not face the imaging device 11), the product B is placed on the support section 200. be done. Commodity B, whose external features are oriented laterally with respect to the direction of gravity, is laid down, for example, like a drink can, which has a substantially cylindrical shape, or a soft confectionery in a transparent container. It is an article that will be damaged by

図2は、本実施形態に係るPOS端末100(画像認識装置)のブロック図である。図2において、矢印は主なデータの流れを示しており、図2に示したもの以外のデータの流れがあってよい。図2において、各ブロックはハードウェア(装置)単位の構成ではなく、機能単位の構成を示している。そのため、図2に示すブロックは単一の装置内に実装されてよく、あるいは複数の装置内に別れて実装されてよい。ブロック間のデータの授受は、データバス、ネットワーク、可搬記憶媒体等、任意の手段を介して行われてよい。 FIG. 2 is a block diagram of the POS terminal 100 (image recognition device) according to this embodiment. In FIG. 2, arrows indicate main data flows, and there may be data flows other than those shown in FIG. In FIG. 2, each block does not show the configuration in units of hardware (apparatus), but the configuration in units of functions. As such, the blocks shown in FIG. 2 may be implemented within a single device, or may be implemented separately within multiple devices. Data exchange between blocks may be performed via any means such as a data bus, network, or portable storage medium.

POS端末100は、処理部として、画像取得部110、画像認識部120、商品情報取得部130および表示制御部140を備える。また、POS端末100は、記憶部として、識別情報記憶部151および商品情報記憶部152を備える。 The POS terminal 100 includes an image acquisition unit 110, an image recognition unit 120, a product information acquisition unit 130, and a display control unit 140 as processing units. The POS terminal 100 also includes an identification information storage unit 151 and a product information storage unit 152 as storage units.

画像取得部110は、撮像装置11によって撮像された画像を示す信号を受け取り、画像データとしてPOS端末100に入力する。画像データは、撮像装置11から直接取得されてよく、あるいは記憶装置に記録されたものを読み出すことにより取得されてよい。 The image acquisition unit 110 receives a signal indicating an image captured by the imaging device 11 and inputs the signal to the POS terminal 100 as image data. The image data may be obtained directly from the imaging device 11, or may be obtained by reading out data recorded in a storage device.

画像認識部120は、画像取得部110によって取得された画像データに含まれる各商品を抽出する。画像認識部120は、通常の画像認識処理として、例えば、識別情報記憶部151には、様々な商品の基準画像から予め算出された特徴量が、各商品を識別する商品IDと関連付けられて記録される。特徴量として、形状、色、色の分布等、画像データから算出可能な商品の外観を示す任意の情報を用いてよい。画像認識部120は、画像取得部110によって取得された画像データから特徴量を算出し、識別情報記憶部151に記録された特徴量と比較する。そして、画像認識部120は、識別情報記憶部151の中で最も類似する(すなわち所定の基準を満たす)特徴量を有する商品を、画像データ中の商品として識別する。画像認識部120は、識別された商品の商品IDを識別情報記憶部151から取得する。画像認識部120によって実行される商品認識方法として、ここに示した具体的な方法に限定されず、画像データから商品を識別可能な任意の画像認識技術が用いられてよい。さらに本実施形態では、通常の画像認識処理に加えて又は代えて、後述のように商品が配置されている位置(領域)ごとに異なる画像認識処理を行う。 The image recognition section 120 extracts each product included in the image data acquired by the image acquisition section 110 . The image recognition unit 120 performs normal image recognition processing, for example, in the identification information storage unit 151, feature amounts calculated in advance from reference images of various products are recorded in association with product IDs that identify each product. be done. Any information indicating the appearance of a product that can be calculated from image data, such as shape, color, and color distribution, may be used as the feature amount. The image recognition unit 120 calculates a feature amount from the image data acquired by the image acquisition unit 110 and compares it with the feature amount recorded in the identification information storage unit 151 . Then, the image recognition unit 120 identifies the product having the most similar feature amount (that is, satisfying a predetermined criterion) in the identification information storage unit 151 as the product in the image data. The image recognition unit 120 acquires the product ID of the identified product from the identification information storage unit 151 . The product recognition method executed by the image recognition unit 120 is not limited to the specific methods shown here, and any image recognition technology that can identify products from image data may be used. Furthermore, in this embodiment, in addition to or in place of normal image recognition processing, different image recognition processing is performed for each position (region) where products are arranged as described later.

さらに画像認識部120は、支持部200によって支持される商品と、載置台14に直接載置される(すなわち支持部200によって支持されない)商品との間で異なる処理を適用する。支持部200が商品を支持する角度C1(図3参照)、および撮像装置11と支持部200との位置関係は一定であり、既知である。そのため、画像認識部120は、画像データの中で支持部200に対応する領域に対して、角度C1および撮像装置11と支持部200との位置関係を用いて補正する。すなわち、画像認識部120は、撮像装置11により撮像された商品の画像を、商品が支持される角度C1および撮像装置11と支持部200との位置関係を用いて伸長することによって、該商品の側面を真正面から撮像する場合に近い画像を生成する。このように補正された画像は一般的に真正面から商品を撮像することによって取得される基準画像と近い状態となるため、上述の画像認識の精度を向上させることができる。 Furthermore, the image recognition unit 120 applies different processing to products supported by the support unit 200 and products placed directly on the mounting table 14 (that is, not supported by the support unit 200). The angle C1 (see FIG. 3) at which the support section 200 supports the product and the positional relationship between the imaging device 11 and the support section 200 are constant and known. Therefore, the image recognition section 120 corrects the area corresponding to the support section 200 in the image data using the angle C<b>1 and the positional relationship between the imaging device 11 and the support section 200 . That is, the image recognition unit 120 expands the image of the product imaged by the imaging device 11 using the angle C1 at which the product is supported and the positional relationship between the imaging device 11 and the support unit 200, thereby recognizing the image of the product. To generate an image similar to the case of imaging a side face from the front. Since the image corrected in this way is generally in a state similar to the reference image obtained by photographing the product from the front, the accuracy of the image recognition described above can be improved.

商品情報記憶部152には、商品の名称、価格等の商品に係る任意の商品情報が、商品IDと関連付けられて予め記録される。商品情報取得部130は、画像認識部120によって取得された商品IDに基づいて、商品情報記憶部152に記録された商品情報を取得する。 In the product information storage unit 152, arbitrary product information related to products such as product names and prices is recorded in advance in association with product IDs. The product information acquisition unit 130 acquires product information recorded in the product information storage unit 152 based on the product ID acquired by the image recognition unit 120 .

表示制御部140は、商品情報取得部130によって取得された各商品の商品情報を表示する制御を行う。本実施形態において表示制御部140は、表示装置13による表示のほか、プリンタによるレシート印刷等、利用者に対して視覚的に示す処理を制御する。 The display control unit 140 controls display of product information of each product acquired by the product information acquisition unit 130 . In this embodiment, the display control unit 140 controls not only the display by the display device 13 but also the processing visually presented to the user, such as receipt printing by a printer.

図3は、本実施形態に係る商品支持構造としての支持部200の斜視図である。本実施形態では支持部200は載置台14と別の部材として構成されているが、載置台14の載置面の一部を図3の商品支持構造にすることによって構成されてよい。支持部200は、側面支持体210および底面支持体220を備える。側面支持体210は商品の側面を支持する側面支持面211を有し、底面支持体220は商品の底面を支持する底面支持面221を有する。側面支持面211および底面支持面221が互いに垂直(すなわちそれらのなす角度が90度)であり、かつ側面支持面211が水平方向(すなわち重力方向に対して垂直な方向)に対して所定の角度C1をなすように、側面支持体210および底面支持体220は設けられている。このような構成により、支持部200は商品を角度C1で支持し、撮像装置11による商品の側面の撮像を容易にすることができる。 FIG. 3 is a perspective view of a support portion 200 as a product support structure according to this embodiment. In the present embodiment, the support portion 200 is configured as a member separate from the mounting table 14, but may be configured by forming part of the mounting surface of the mounting table 14 into the commodity support structure shown in FIG. Support 200 comprises side supports 210 and bottom supports 220 . Side supports 210 have side support surfaces 211 for supporting the sides of the item, and bottom supports 220 have bottom support surfaces 221 for supporting the bottom of the item. The side support surface 211 and the bottom support surface 221 are perpendicular to each other (that is, the angle formed by them is 90 degrees), and the side support surface 211 is at a predetermined angle with respect to the horizontal direction (that is, the direction perpendicular to the direction of gravity). A side support 210 and a bottom support 220 are provided to form C1. With such a configuration, the support section 200 supports the product at the angle C1, and the imaging device 11 can easily image the side surface of the product.

角度C1は、撮像装置11が商品の側面を安定して撮像できるように、好ましくは0度より大きく90度より小さい角度であり、より好ましくは30度以上60度以下の角度であり、本実施形態では45度である。角度C1が水平方向に対して60度より大きい角度である場合には、商品の側面を撮像装置11から急角度で撮像することになるため、画像認識の精度が低下する。角度C1が水平方向に対して30度より小さい角度である場合には、略円柱形の商品が転がったり、柔らかい商品が破損したりするおそれがある。 The angle C1 is preferably an angle larger than 0 degrees and smaller than 90 degrees, more preferably an angle of 30 degrees or more and 60 degrees or less, so that the imaging device 11 can stably image the side surface of the product. In form it is 45 degrees. If the angle C1 is greater than 60 degrees with respect to the horizontal direction, the side surface of the product will be imaged at a steep angle from the imaging device 11, resulting in deterioration in image recognition accuracy. If the angle C1 is less than 30 degrees with respect to the horizontal direction, there is a risk that the substantially cylindrical product will roll or the soft product will be damaged.

側面支持面211には、側面支持面211を2つの領域に区分する領域区分部212が設けられる。領域区分部212は、側面支持面211上において底面支持面221に垂直な方向に延在する突起である。領域区分部212は、領域を利用者に視覚的に示すことができれば、側面支持面211上に表された記号又は色、あるいは投影装置12により投影された光、あるいは側面支持面211上に設けられた構造でよい。 The side support surface 211 is provided with a region dividing portion 212 that divides the side support surface 211 into two regions. The area dividing portion 212 is a projection extending in a direction perpendicular to the bottom support surface 221 on the side support surface 211 . The area segmentation part 212 is formed by a symbol or color displayed on the side support surface 211, light projected by the projection device 12, or provided on the side support surface 211, as long as the area can be visually indicated to the user. It is good to have a structure that is

図4は、本実施形態で認識対象とする商品D1、D2の模式図である。商品D1、D2は飲料缶のように略円柱形を有している物品である。商品D1、D2は互いに異なる大きさを有しており、例えば商品D1は350ml入りであり、商品D2は500ml入りである。商品D1、D2の側面には、共通のロゴマークEが表されている。すなわち、商品D1、D2は大きさが異なるバリエーションの商品である。一般的な画像認識技術は画像データ中の形状、色、色の分布等の特徴量に基づいて画像認識を行う。そのため共通のロゴマークEを有する商品D1、D2は、画像認識によって区別されづらく、同一の商品であると誤認されやすい。 FIG. 4 is a schematic diagram of products D1 and D2 to be recognized in this embodiment. Products D1 and D2 are articles having a substantially cylindrical shape, such as beverage cans. Products D1 and D2 have different sizes. For example, product D1 contains 350 ml and product D2 contains 500 ml. A common logo mark E is displayed on the sides of the products D1 and D2. That is, the products D1 and D2 are products of variations with different sizes. General image recognition technology performs image recognition based on feature amounts such as shape, color, and color distribution in image data. Therefore, the products D1 and D2 having the common logo mark E are difficult to distinguish by image recognition, and are likely to be misidentified as the same product.

本実施形態では、このように外観が類似した商品D1、D2について、それらが配置される位置(領域)の情報を用いることによって画像認識の精度を向上させる。 In this embodiment, the accuracy of image recognition is improved by using information on the positions (areas) where the products D1 and D2 having similar appearances are arranged.

図5(a)、5(b)は、商品が配置された状態の支持部200の上面図である。図5(a)、5(b)はそれぞれ、側面支持面211に対して垂直な方向から、商品D1、D2を支持している状態の支持部200を見た図である。図5(a)、5(b)のように側面支持面211が商品D1、D2の側面を支持し、底面支持面221が商品D1、D2の底面を支持するため、支持部200は商品D1、D2を安定的に支持するとともに、撮像装置11による商品D1、D2の側面の撮像を容易にすることができる。 FIGS. 5(a) and 5(b) are top views of the support portion 200 in which the product is placed. 5(a) and 5(b) are views of the support portion 200 supporting the products D1 and D2 from a direction perpendicular to the side support surface 211, respectively. As shown in FIGS. 5A and 5B, the side support surfaces 211 support the side surfaces of the products D1 and D2, and the bottom surface support surfaces 221 support the bottom surfaces of the products D1 and D2. , D2 can be stably supported, and imaging of the sides of the products D1 and D2 by the imaging device 11 can be facilitated.

側面支持面211は、領域区分部212によって第1の領域F1および第2の領域F2に区分される。画像認識部120は、商品が領域F1およびF2のどちらに配置されているか(すなわち商品が配置されている位置)によって異なる認識処理を行う。 The side support surface 211 is divided into a first area F1 and a second area F2 by an area dividing portion 212 . The image recognition unit 120 performs different recognition processes depending on which of the areas F1 and F2 the product is placed (that is, the position where the product is placed).

領域F1、F2の判別のために、画像認識部120は、撮像装置11によって取得される画像中の各画素が領域F1およびF2のどちらに属するかの情報を予め設定し、商品の位置に対応する画素に基づいて、商品が領域F1およびF2のどちらに配置されているかを判定してもよい。あるいは、画像認識部120は、領域区分部212の位置を認識し、領域区分部212の位置と商品との位置関係に基づいて、商品が領域F1およびF2のどちらに配置されているかを判定してもよい。 In order to discriminate between the areas F1 and F2, the image recognition unit 120 presets information indicating to which of the areas F1 and F2 each pixel in the image acquired by the imaging device 11 belongs, and identifies the area corresponding to the position of the product. In which of the regions F1 and F2 the product is located may be determined based on the pixels that are displayed. Alternatively, the image recognition unit 120 recognizes the position of the area dividing unit 212, and determines in which of the areas F1 and F2 the product is placed based on the positional relationship between the position of the area dividing unit 212 and the product. may

例えば、商品D1、D2が第1の領域F1に配置されている場合には、画像認識部120は、商品D1、D2を小さい商品として判定する。すなわち、図5(a)の例では小さい商品D1および大きい商品D2はいずれも小さい商品として判定される。また、商品D1、D2が第2の領域F2に配置されている場合には、画像認識部120は、商品D1、D2を大きい商品として判定する。すなわち、図5(b)の例では小さい商品D1および大きい商品D2はいずれも大きい商品として判定される。実際の運用においては、利用者が小さい商品D1を第1の領域F1に配置し、大きい商品D2を第2の領域F2に配置することによって、画像認識部120は類似する大きさ違いの商品D1、D2を正しく識別することができる。 For example, when the products D1 and D2 are arranged in the first region F1, the image recognition unit 120 determines the products D1 and D2 as small products. That is, in the example of FIG. 5A, both the small product D1 and the large product D2 are determined as small products. Also, when the products D1 and D2 are arranged in the second area F2, the image recognition unit 120 determines the products D1 and D2 as large products. That is, in the example of FIG. 5B, both the small product D1 and the large product D2 are determined as large products. In actual operation, when the user arranges the small product D1 in the first area F1 and the large product D2 in the second area F2, the image recognition unit 120 recognizes similar products D1 of different sizes. , D2 can be correctly identified.

換言すると、画像認識部120は、商品の外観の情報に加えて、商品が配置されている位置の情報に基づいて、商品の識別を行う。これにより商品の外観からのみでは識別が難しい商品について、識別の精度を向上させることができる。 In other words, the image recognition unit 120 identifies the product based on the information on the appearance of the product and the information on the position where the product is arranged. As a result, it is possible to improve the accuracy of identification of products that are difficult to identify only from the appearance of the product.

画像認識部120が利用する領域の数は2つに限られず、区別すべき大きさの数に応じて少なくとも2つ以上の任意の数でよい。また、画像認識部120は、商品の大きさに限られず、外観のみから区別しづらい商品のその他の性質(味や香り等のバリエーション)を区別するために位置の情報を用いてよい。 The number of regions used by the image recognition unit 120 is not limited to two, and may be any number of at least two or more according to the number of sizes to be distinguished. In addition, the image recognition unit 120 may use positional information to distinguish other characteristics (variations in taste, aroma, etc.) of products that are difficult to distinguish only from the appearance, without being limited to the size of the product.

図6は、本実施形態に係るPOS端末100(画像認識装置)の例示的な機器構成を示す概略構成図である。POS端末100は、CPU(Central Processing Unit)101と、メモリ102と、記憶装置103と、インターフェース104とを備える。POS端末100は独立した装置でよく、あるいは他の装置と一体に構成されてよい。 FIG. 6 is a schematic configuration diagram showing an exemplary configuration of the POS terminal 100 (image recognition device) according to this embodiment. The POS terminal 100 includes a CPU (Central Processing Unit) 101 , a memory 102 , a storage device 103 and an interface 104 . POS terminal 100 may be a separate device or may be integrated with other devices.

インターフェース104は、他の機器に接続されて信号の送受信を行う接続部である。インターフェース104は、信号の送受信に必要なプロセッサ、電気回路、アンテナ、接続端子等を含む。インターフェース104は、CPU101からの信号に従って、接続された機器との間で信号の送受信を行う。インターフェース104は、例えば撮像装置11、投影装置12、表示装置13および入力装置15に接続され、それらと信号の送受信を行う。インターフェース104は、これらのほかネットワークやその他の機器に接続されてよい。 The interface 104 is a connection unit that is connected to another device to transmit and receive signals. The interface 104 includes a processor, an electric circuit, an antenna, connection terminals, etc. necessary for transmitting and receiving signals. The interface 104 transmits and receives signals to and from connected devices in accordance with signals from the CPU 101 . The interface 104 is connected to, for example, the imaging device 11, the projection device 12, the display device 13, and the input device 15, and transmits and receives signals to and from them. The interface 104 may also be connected to networks and other devices.

記憶装置103は、POS端末100が実行するプログラムや、プログラムによる処理結果のデータ等を記憶する。記憶装置103は、読み取り専用のROM(Read Only Memory)や、読み書き可能のハードディスクドライブ又はフラッシュメモリ等を含む。また、記憶装置103は、CD-ROM等のコンピュータ読取可能な可搬記憶媒体を含んでもよい。メモリ102は、CPU101が処理中のデータや記憶装置103から読み出されたプログラムおよびデータを一時的に記憶するRAM(Random Access Memory)等を含む。 The storage device 103 stores programs executed by the POS terminal 100, data of processing results of the programs, and the like. The storage device 103 includes a read-only ROM (Read Only Memory), a readable/writable hard disk drive, a flash memory, or the like. The storage device 103 may also include a computer-readable portable storage medium such as a CD-ROM. The memory 102 includes a RAM (Random Access Memory) for temporarily storing data being processed by the CPU 101 and programs and data read from the storage device 103 .

CPU101は、処理に用いる一時的なデータをメモリ102に一時的に記録し、記憶装置103に記録されたプログラムを読み出し、該プログラムに従って該一時的なデータに対して種々の演算、制御、判別などの処理動作を実行するプロセッサである。また、CPU101は、記憶装置103に処理結果のデータを記録し、またインターフェース104を介してデータや制御信号を外部に送信する。 The CPU 101 temporarily records temporary data used for processing in the memory 102, reads a program recorded in the storage device 103, and performs various calculations, controls, determinations, etc. on the temporary data according to the program. is a processor that executes the processing operations of The CPU 101 also records data of the processing result in the storage device 103 and transmits data and control signals to the outside via the interface 104 .

本実施形態においてCPU101は、記憶装置103に記録されたプログラムを実行することによって、図2の画像取得部110、画像認識部120、商品情報取得部130および表示制御部140として機能する。また、本実施形態において記憶装置103は、図2の識別情報記憶部151および商品情報記憶部152として機能する。 In this embodiment, the CPU 101 functions as the image acquisition unit 110, the image recognition unit 120, the product information acquisition unit 130, and the display control unit 140 shown in FIG. 2 by executing programs recorded in the storage device 103. FIG. Further, in this embodiment, the storage device 103 functions as the identification information storage unit 151 and the product information storage unit 152 shown in FIG.

POS端末100は、図6に示す具体的な構成に限定されない。POS端末100は、1つの装置に限られず、2つ以上の物理的に分離した装置が有線又は無線で接続されることにより構成されていてもよい。POS端末100に含まれる各部は、それぞれ電気回路構成により実現されていてもよい。ここで、電気回路構成とは、単一のデバイス、複数のデバイス、チップセット又はクラウドを概念的に含む文言である。 The POS terminal 100 is not limited to the specific configuration shown in FIG. The POS terminal 100 is not limited to one device, and may be configured by connecting two or more physically separated devices by wire or wirelessly. Each unit included in the POS terminal 100 may be realized by an electric circuit configuration. Here, an electrical circuit configuration is a term that conceptually includes a single device, multiple devices, a chipset, or a cloud.

また、POS端末100の少なくとも一部がSaaS(Software as a Service)形式で提供されてよい。すなわち、POS端末100を実現するための機能の少なくとも一部が、ネットワーク経由で実行されるソフトウェアによって実行されてよい。 Also, at least part of the POS terminal 100 may be provided in a SaaS (Software as a Service) format. That is, at least part of the functions for realizing the POS terminal 100 may be executed by software executed via a network.

図7は、本実施形態に係る画像認識方法のフローチャートを示す図である。図7のフローチャートは、利用者が画像認識システム10に対して画像認識を実行するための所定の操作を行うことによって開始される。例えば、利用者がPOS端末100に接続された入力装置15(キーボードやタッチパネル)のボタンを押下することによって、あるいは所定の時間ごとに、図7のフローチャートが開始される。 FIG. 7 is a diagram showing a flowchart of the image recognition method according to this embodiment. The flowchart of FIG. 7 is started when the user performs a predetermined operation for executing image recognition on the image recognition system 10 . For example, when the user presses a button on the input device 15 (keyboard or touch panel) connected to the POS terminal 100, or at predetermined intervals, the flowchart of FIG. 7 is started.

まず、画像取得部110は、撮像装置11によって撮像された画像を示す信号を受け取り、画像データとしてPOS端末100に入力する(ステップS101)。 First, the image acquisition unit 110 receives a signal indicating an image captured by the imaging device 11, and inputs the signal to the POS terminal 100 as image data (step S101).

次に、画像認識部120は、ステップS101で取得された画像の中で、支持部200に対応する領域(支持部領域)に対して、支持部200の角度C1および撮像装置11と支持部200との位置関係を用いて補正を行い、1つの画像データとして出力する(ステップS102)。支持部領域は、画像中の位置(例えば画素の座標)として予め設定されている。また、画像認識によって画像から支持部200の位置を決定し、該位置を支持部領域として用いてもよい。 Next, the image recognizing unit 120 determines the angle C1 of the supporting unit 200 and the angle C1 of the imaging device 11 and the supporting unit 200 with respect to the area corresponding to the supporting unit 200 (supporting area) in the image acquired in step S101. are corrected using the positional relationship between and and output as one piece of image data (step S102). The support region is preset as a position (for example, pixel coordinates) in the image. Alternatively, the position of the support portion 200 may be determined from the image by image recognition, and the determined position may be used as the support portion region.

画像認識部120はステップS102で補正された画像データを用いて商品の画像認識処理を行い、識別情報記憶部151の識別情報に基づいて商品を識別する(ステップS103)。そして画像認識部120は、ステップS103で識別された商品を、画像中の商品として決定する(ステップS104)。1つの画像データ中に複数の商品が識別された場合には、各商品について以降の処理を行う。 The image recognition unit 120 performs image recognition processing of the product using the image data corrected in step S102, and identifies the product based on the identification information of the identification information storage unit 151 (step S103). The image recognition unit 120 then determines the product identified in step S103 as the product in the image (step S104). When a plurality of products are identified in one image data, the subsequent processing is performed for each product.

ステップS104で決定された商品に対して座標判定フラグが設定されている場合に(ステップS105のYES)、画像認識部120は、画像中の商品の座標(位置)を取得する(ステップS106)。座標判定フラグは、商品が配置されている座標を用いて識別処理を行う対象である商品に対して予め設定される。座標判定フラグは、例えば識別情報記憶部151に記録される。商品の座標は、例えば画像中で商品の領域を示す座標の集合として表される。ステップS106の商品の座標の取得は、図7のようにステップS105の座標判定フラグの判定の後に行われてよく、あるいはステップS103の画像認識とともに行われてもよい。 When the coordinate determination flag is set for the product determined in step S104 (YES in step S105), the image recognition unit 120 acquires the coordinates (position) of the product in the image (step S106). A coordinate determination flag is set in advance for a product to be subjected to identification processing using the coordinates at which the product is arranged. The coordinate determination flag is recorded in the identification information storage unit 151, for example. The coordinates of the product are represented, for example, as a set of coordinates indicating the area of the product in the image. Acquisition of the coordinates of the product in step S106 may be performed after determination of the coordinate determination flag in step S105 as shown in FIG. 7, or may be performed together with image recognition in step S103.

画像認識部120は、ステップS106で取得された商品の座標に基づいて、ステップS104で決定された商品が正しいか否かを判定する(ステップS107)。具体的には画像認識部120は、ステップS106で取得された商品の座標が、ステップS104で決定された商品に対応する領域内であれば、正しい商品が決定されていると判定する。一方、画像認識部120は、ステップS106で取得された商品の座標が、ステップS104で決定された商品に対応する領域内でなければ、誤った商品が決定されていると判定する。 The image recognition unit 120 determines whether or not the product determined in step S104 is correct based on the coordinates of the product acquired in step S106 (step S107). Specifically, if the coordinates of the product acquired in step S106 are within the area corresponding to the product determined in step S104, the image recognition unit 120 determines that the correct product has been determined. On the other hand, if the coordinates of the product acquired in step S106 are not within the area corresponding to the product determined in step S104, the image recognition unit 120 determines that the wrong product has been determined.

例えば、以下のような処理が行われる。ここでは簡略化のために商品の種類が図5のように小さい商品および大きい商品の2つであることを想定する。画像認識部120は、ステップS104で決定された商品に対応する正しい位置(第1の領域F1又は第2の領域F2)を取得する。商品の正しい位置は、予め設定されている。図5の例では、小さい商品の正しい位置は第1の領域F1であり、大きい商品の正しい位置は第2の領域F2である。そして、画像認識部120は、ステップS106で取得された商品の座標が、その商品に対応する正しい位置(第1の領域F1又は第2の領域F2)にあるか否かを判定する。この判定は任意の方法で行われてよいが、例えば商品に対応する画素群のうち半数以上が、第1の領域F1に対応する画像中の領域内にある場合に商品の位置は第1の領域F1上にあると判定され、そうでない場合に第2の領域F2上にあると判定されてよい。あるいは、商品の領域の中心(重心)が第1の領域F1にある場合に商品の位置は第1の領域F1上にあると判定され、そうでない場合に第2の領域F2上にあると判定されてよい。第1の領域F1および第2の領域F2に対応する画像中の領域は、利用者によって予め設定されてよく、あるいは画像認識部120が第1の領域F1および第2の領域F2を区画する領域区分部212を画像認識することによって設定されてよい。 For example, the following processing is performed. Here, for the sake of simplification, it is assumed that there are two types of products, a small product and a large product, as shown in FIG. The image recognition unit 120 acquires the correct position (first area F1 or second area F2) corresponding to the product determined in step S104. The correct position of the goods is preset. In the example of FIG. 5, the correct position for small items is the first area F1 and the correct position for large items is the second area F2. Then, the image recognition unit 120 determines whether the coordinates of the product acquired in step S106 are in the correct position (first area F1 or second area F2) corresponding to the product. This determination may be made by any method. For example, when more than half of the pixel group corresponding to the product is within the area in the image corresponding to the first area F1, the position of the product is the first area. It may be determined to be on region F1, otherwise it may be determined to be on second region F2. Alternatively, if the center (center of gravity) of the product area is in the first area F1, the position of the product is determined to be on the first area F1, otherwise it is determined to be on the second area F2. may be The areas in the image corresponding to the first area F1 and the second area F2 may be set in advance by the user, or the areas defined by the image recognition unit 120 to define the first area F1 and the second area F2. It may be set by recognizing the segmented portion 212 as an image.

商品の種類の数および領域の数は2つに限られず、少なくとも2つ以上の任意の数でよく、その場合には商品の配置される領域に応じた場合分けを適宜行えばよい。 The number of product types and the number of areas are not limited to two, and may be any number of at least two or more.

商品が正しい位置にない場合に(ステップS108のNO)、ステップS104で決定された商品を、正しい商品に変更する(ステップS109)。正しい商品は、ステップS106で取得された商品の座標を含む領域に対応する商品である。図5の例では、ステップS106で取得された商品の座標が第1の領域F1内にある場合には正しい商品は小さい商品であり、第2の領域F2内にある場合には正しい商品は大きい商品である。 If the product is not in the correct position (NO in step S108), the product determined in step S104 is changed to the correct product (step S109). The correct product is the product corresponding to the area containing the product coordinates obtained in step S106. In the example of FIG. 5, if the coordinates of the product acquired in step S106 are within the first region F1, the correct product is the small product, and if they are within the second region F2, the correct product is the large product. It is a commodity.

ステップS104で決定された商品に対して座標判定フラグが設定されていない場合(ステップS105のNO)又は商品が正しい位置にある場合に(ステップS108のYES)、ステップS104で決定された商品をそのまま用いる。 If the coordinate determination flag is not set for the product determined in step S104 (NO in step S105) or if the product is in the correct position (YES in step S108), the product determined in step S104 is left as it is. use.

最後に、商品情報取得部130は、ステップS104で決定された商品又はステップS109で変更された商品の商品IDに基づいて商品情報記憶部152から商品情報を取得し、表示制御部140は表示装置13を用いて商品情報を表示する制御を行う(ステップS110)。 Finally, the product information acquisition unit 130 acquires product information from the product information storage unit 152 based on the product ID of the product determined in step S104 or changed in step S109. 13 is used to control the display of product information (step S110).

特に所定の時間ごとに図7のフローチャートが実行される場合には、載置台14に置かれたままの同一商品について繰り返し商品情報が取得されてしまい、会計において同一商品の価格が複数回集計されるおそれがある。そこで、画像認識部120が所定の時間以内又は所定のフレーム数以内に近似(例えば重心の位置の差が所定の値以下)の位置で同一の商品を識別した場合に、商品情報取得部130はステップS110において該商品についての商品情報の取得を行わない(図7のフローチャートには不図示)。 In particular, when the flowchart of FIG. 7 is executed at predetermined time intervals, product information is repeatedly acquired for the same product placed on the table 14, and the price of the same product is totaled multiple times in accounting. There is a risk that Therefore, when the image recognition unit 120 identifies the same product at an approximate position (for example, the difference in the position of the center of gravity is less than a predetermined value) within a predetermined time or within a predetermined number of frames, the product information acquisition unit 130 In step S110, product information about the product is not acquired (not shown in the flowchart of FIG. 7).

図7のフローチャートでは、ステップS104で商品を仮に決定し、該商品の座標が誤った領域である場合にステップS109において正しい商品に変更するが、この具体的な形態に限られない。例えばステップS104で画像中の商品に類似する商品の複数の候補を抽出し、該複数の候補のうち座標が正しい領域である候補を、画像中の商品として決定してもよい。 In the flowchart of FIG. 7, a product is provisionally determined in step S104, and if the coordinates of the product are in an incorrect area, the product is changed to a correct product in step S109, but the present invention is not limited to this specific form. For example, in step S104, a plurality of candidates for products similar to the product in the image may be extracted, and a candidate whose coordinates are correct among the plurality of candidates may be determined as the product in the image.

POS端末100のCPU101は、図7に示す画像認識方法に含まれる各ステップ(工程)の主体となる。すなわち、CPU101は、図7に示す画像認識方法を実行するためのプログラムをメモリ102又は記憶装置103から読み出し、該プログラムを実行してPOS端末100の各部を制御することによって図7に示す画像認識方法を実行する。 The CPU 101 of the POS terminal 100 is the subject of each step (process) included in the image recognition method shown in FIG. That is, the CPU 101 reads a program for executing the image recognition method shown in FIG. carry out the method.

本実施形態に係る画像認識システム10は、商品の外観に加えて、商品の配置される位置の方法を用いて商品の画像認識を行う。これにより、商品の外観からのみでは画像認識による区別をしづらい商品(本実施形態では外観が類似しているが大きさの異なる飲料缶)について、商品が配置される位置に基づいて画像認識の結果を絞り込むことができるため、画像認識の精度を向上させることができる。 The image recognition system 10 according to the present embodiment performs product image recognition using the method of the position where the product is arranged in addition to the appearance of the product. As a result, for products that are difficult to distinguish by image recognition only from the appearance of the product (in this embodiment, beverage cans with similar appearance but different sizes), image recognition can be performed based on the position where the product is placed. Since the results can be narrowed down, the accuracy of image recognition can be improved.

また、支持部200が商品を支持する角度は固定され、かつ既知であるため、該角度を用いて商品の画像を補正することができる。これにより、画像認識の精度をさらに向上させることができる。 Also, since the angle at which the support portion 200 supports the product is fixed and known, the angle can be used to correct the image of the product. Thereby, the accuracy of image recognition can be further improved.

(第2の実施形態)
第1の実施形態では大きさの異なる商品を識別しやすくするために位置を用いるのに対して、本実施形態では種類の異なる商品を識別しやすくするために位置を用いる。本実施形態は、第1の実施形態と同様の構成を有する画像認識システム10を用いる。本実施形態は、第1の実施形態の代わりに用いられてよく、あるいは第1の実施形態に組み合わせて用いてられてよい。
(Second embodiment)
In the first embodiment, positions are used to facilitate identification of products of different sizes, whereas in this embodiment, positions are used to facilitate identification of products of different types. This embodiment uses an image recognition system 10 having a configuration similar to that of the first embodiment. This embodiment may be used instead of the first embodiment, or may be used in combination with the first embodiment.

図8は、本実施形態に係る載置台14上の認識領域Aの上面図である。図8には、撮像装置11を載置台14上に投影した位置が破線で示されている。 FIG. 8 is a top view of the recognition area A on the mounting table 14 according to this embodiment. In FIG. 8, the position of the imaging device 11 projected onto the mounting table 14 is indicated by a dashed line.

認識領域Aは、領域区分線Gによって第1の領域G1および第2の領域G2に区分される。領域区分線Gは、認識領域A上に表された線である。領域区分線Gは、領域を利用者に視覚的に示すことができれば、認識領域A上に表された記号又は色、あるいは投影装置12により投影された光、あるいは認識領域A上に設けられた構造でよい。画像認識部120は、商品が領域G1およびG2のどちらに配置されているか(すなわち商品が配置されている位置)によって異なる認識処理を行う。 The recognition area A is divided into a first area G1 and a second area G2 by area dividing lines G. FIG. A region dividing line G is a line drawn on the recognition region A. FIG. The area dividing line G may be a symbol or color displayed on the recognition area A, light projected by the projection device 12, or a structure is fine. The image recognition unit 120 performs different recognition processes depending on which of the regions G1 and G2 the product is placed (that is, the position where the product is placed).

領域G1、G2の判別のために、画像認識部120は、撮像装置11によって取得される画像中の各画素が領域G1およびG2のどちらに属するかの情報を予め設定し、商品の位置に対応する画素に基づいて、商品が領域G1およびG2のどちらに配置されているかを判定してもよい。あるいは、画像認識部120は、領域区分線Gの位置を認識し、領域区分線Gの位置と商品との位置関係に基づいて、商品が領域G1およびG2のどちらに配置されているかを判定してもよい。 In order to discriminate between the areas G1 and G2, the image recognition unit 120 presets information indicating to which of the areas G1 and G2 each pixel in the image acquired by the imaging device 11 belongs, and identifies the area corresponding to the position of the product. In which of the regions G1 and G2 the product is located may be determined based on the pixels that are displayed. Alternatively, the image recognition unit 120 recognizes the position of the area dividing line G, and determines in which of the areas G1 and G2 the product is placed based on the positional relationship between the position of the area dividing line G and the product. may

本実施形態において認識対象とする第1の種類の商品H1および第2の種類の商品H2は、互いに種類が異なる商品である。具体的には、商品H1は、商品の内容を表すパッケージに包まれており外観が一定の一般物品である。一般物品は、外観が安定しているため、外観を用いる画像認識の処理で識別しやすい。一方、商品H2は、パッケージに包まれていない、又は透明なパッケージに包まれており、商品そのものが見える状態の生鮮食品である。生鮮食品は形状や色等の外観が多様であり、外観を用いる画像認識の処理で識別しづらい。生鮮食品には、商品名、価格およびバーコードを含むラベルが付与されていることが多い。 The first type of product H1 and the second type of product H2 to be recognized in the present embodiment are products of different types. Specifically, the product H1 is a general product that is wrapped in a package representing the content of the product and has a fixed appearance. Since general articles have stable appearances, they can be easily identified by image recognition processing using appearances. On the other hand, the product H2 is a perishable food that is not wrapped in a package or is wrapped in a transparent package so that the product itself can be seen. Perishable foods have various appearances such as shapes and colors, and are difficult to identify by image recognition processing that uses appearances. Perishable foods are often labeled with the product name, price and bar code.

例えば、商品が第1の領域G1に配置されている場合には、画像認識部120は、商品が一般物品であるものとして画像認識処理を行う。すなわち、図8の例では商品H1に対して一般物品用の画像認識処理が行われる。商品が第2の領域G2に配置されている場合には、画像認識部120は、商品が生鮮食品であるものとして画像認識処理を行う。すなわち、図8の例では商品H2に対して生鮮食品用の画像認識処理が行われる。 For example, when a product is placed in the first region G1, the image recognition unit 120 performs image recognition processing assuming that the product is a general product. That is, in the example of FIG. 8, image recognition processing for general goods is performed on the goods H1. When the product is placed in the second region G2, the image recognition unit 120 performs image recognition processing assuming that the product is fresh food. That is, in the example of FIG. 8, image recognition processing for perishables is performed on the product H2.

一般物品用の画像認識処理は、商品全体から算出される特徴量(形状、色、色の分布等)を用いて識別を行う。生鮮食品用の画像認識処理は、商品全体ではなく、商品に付与されたラベル内の領域から算出される特徴量を用いて識別を行う。これにより、一般物品については通常の画像認識を適用するのに対して、外観が不定の生鮮食品については外観が安定したラベルの情報を用いて画像認識を適用するため、画像認識の精度を向上させることができる。それぞれの種類の商品に対する具体的な画像認識処理として、ここに示したものに限られず、その種類に適した任意の方法が用いられてよい。 Image recognition processing for general goods performs identification using feature amounts (shape, color, color distribution, etc.) calculated from the entire product. Image recognition processing for perishables performs identification using a feature amount calculated from an area within a label attached to a product rather than the entire product. As a result, the accuracy of image recognition is improved because normal image recognition is applied to general goods, while image recognition is applied using label information with stable appearance for perishable foods with inconsistent appearance. can be made Specific image recognition processing for each type of product is not limited to those shown here, and any method suitable for the type may be used.

実際の運用においては、利用者が一般物品である商品H1を第1の領域G1に配置し、生鮮食品である商品H2を第2の領域G2に配置することによって、画像認識部120は種類の異なる商品H1、H2に対してそれぞれ適切な画像認識処理を適用することができる。 In actual operation, the image recognition unit 120 recognizes the type of product H1, which is a general product, in the first area G1 and the product H2, which is fresh food, in the second area G2. Appropriate image recognition processing can be applied to different products H1 and H2.

換言すると、画像認識部120は、商品の外観の情報に加えて、商品が配置されている位置の情報に基づいて、商品の識別を行う。これにより商品が配置される位置によって適切な画像認識処理を選択することができ、識別の精度を向上させることができる。 In other words, the image recognition unit 120 identifies the product based on the information on the appearance of the product and the information on the position where the product is arranged. Accordingly, an appropriate image recognition process can be selected depending on the position where the product is arranged, and the accuracy of identification can be improved.

画像認識部120が利用する領域の数は2つに限られず、区別すべき商品の種類に応じた少なくとも2つ以上の任意の数でよい。 The number of regions used by the image recognition unit 120 is not limited to two, and may be any number of at least two or more according to the types of products to be distinguished.

図9は、本実施形態に係る画像認識方法のフローチャートを示す図である。図9のフローチャートは、利用者が画像認識システム10に対して画像認識を実行するための所定の操作を行うことによって開始される。例えば、利用者がPOS端末100に接続された入力装置15(キーボードやタッチパネル)のボタンを押下することによって、あるいは所定の時間ごとに、図9のフローチャートが開始される。 FIG. 9 is a diagram showing a flowchart of the image recognition method according to this embodiment. The flowchart of FIG. 9 is started when the user performs a predetermined operation for executing image recognition on the image recognition system 10 . For example, when the user presses a button on the input device 15 (keyboard or touch panel) connected to the POS terminal 100, or at predetermined time intervals, the flowchart of FIG. 9 is started.

まず、画像取得部110は、撮像装置11によって撮像された画像を示す信号を受け取り、画像データとしてPOS端末100に入力する(ステップS201)。 First, the image acquiring unit 110 receives a signal indicating an image captured by the imaging device 11, and inputs the signal to the POS terminal 100 as image data (step S201).

次に、画像認識部120は、ステップS201で取得された画像中の商品の位置を取得する(ステップS202)。画像中で検出された各商品について、以下のステップS203~S207を行う。 Next, the image recognition unit 120 acquires the position of the product in the image acquired in step S201 (step S202). The following steps S203 to S207 are performed for each product detected in the image.

画像認識部120は、商品の位置が認識領域A上の第1の領域G1および第2の領域G2のどちらにあるかを判定する。この判定は任意の方法で行われてよいが、例えば商品に対応する画素群のうち半数以上が、第1の領域G1に対応する画像中の領域内にある場合に商品の位置は第1の領域G1上にあると判定され、そうでない場合に第2の領域G2上にあると判定されてよい。第1の領域G1および第2の領域G2に対応する画像中の領域は、利用者によって予め設定されてよく、あるいは画像認識部120が第1の領域G1および第2の領域G2を区画する領域区分線Gを画像認識することによって設定されてよい。 The image recognition unit 120 determines in which of the first area G1 and the second area G2 on the recognition area A the product is located. This determination may be made by any method, but for example, if more than half of the pixel group corresponding to the product is within the region in the image corresponding to the first region G1, the position of the product is the first region. It may be determined to be on region G1, otherwise it may be determined to be on second region G2. The areas in the image corresponding to the first area G1 and the second area G2 may be set in advance by the user, or the areas defined by the image recognition unit 120 to divide the first area G1 and the second area G2. It may be set by recognizing the division line G as an image.

ステップS202で取得された商品の位置が第1の領域G1内にある場合には(ステップS203のYES)、画像認識部120は、該商品に対して一般物品用の画像認識処理を行い、識別情報記憶部151の識別情報に基づいて商品を識別する(ステップS204)。 If the position of the product acquired in step S202 is within the first region G1 (YES in step S203), the image recognition unit 120 performs general product image recognition processing on the product to identify the product. The product is identified based on the identification information in the information storage unit 151 (step S204).

ステップS202で取得された商品の位置が第2の領域G2内にある場合には(ステップS203のNO)、画像認識部120は、該商品に対して生鮮食品用の画像認識処理を行い、識別情報記憶部151の識別情報に基づいて商品を識別する(ステップS205)。 When the position of the product acquired in step S202 is within the second region G2 (NO in step S203), the image recognition unit 120 performs image recognition processing for perishables on the product to identify the product. The product is identified based on the identification information in the information storage unit 151 (step S205).

そして画像認識部120は、ステップS204又はS205で識別された商品を、画像中の商品として決定する(ステップS206)。 The image recognition unit 120 then determines the product identified in step S204 or S205 as the product in the image (step S206).

最後に、商品情報取得部130は、ステップS206で決定された商品の商品IDに基づいて商品情報記憶部152から商品情報を取得し、表示制御部140は表示装置13を用いて商品情報を表示する制御を行う(ステップS207)。 Finally, the product information acquisition unit 130 acquires product information from the product information storage unit 152 based on the product ID of the product determined in step S206, and the display control unit 140 displays the product information using the display device 13. control is performed (step S207).

POS端末100のCPU101は、図9に示す画像認識方法に含まれる各ステップ(工程)の主体となる。すなわち、CPU101は、図9に示す画像認識方法を実行するためのプログラムをメモリ102又は記憶装置103から読み出し、該プログラムを実行してPOS端末100の各部を制御することによって図9に示す画像認識方法を実行する。 The CPU 101 of the POS terminal 100 is the subject of each step (process) included in the image recognition method shown in FIG. That is, the CPU 101 reads a program for executing the image recognition method shown in FIG. carry out the method.

本実施形態に係る画像認識システム10は、第1の実施形態と同様に、商品の外観に加えて、商品の配置される位置の方法を用いて商品の画像認識を行う。これにより、商品が配置される位置に基づいて商品の種類(本実施形態では一般物品および生鮮食品)ごとに適切な画像認識処理を実行できるため、画像認識の精度を向上させることができる。 As in the first embodiment, the image recognition system 10 according to the present embodiment performs product image recognition using the method of the position where the product is arranged in addition to the appearance of the product. As a result, it is possible to perform appropriate image recognition processing for each type of product (general goods and perishables in this embodiment) based on the position where the product is placed, thereby improving the accuracy of image recognition.

(第3の実施形態)
第1の実施形態では大きさの異なる商品を識別しやすくするために位置を用いるのに対して、本実施形態では認識領域中の位置によって環境が異なる場合であっても画像認識の精度を向上させるために位置を用いる。本実施形態は、第1の実施形態と同様の構成を有する画像認識システム10を用いる。本実施形態は、第1又は第2の実施形態の代わりに用いられてよく、あるいは第1又は第2の実施形態に組み合わせて用いてられてよい。
(Third embodiment)
In the first embodiment, the position is used to make it easier to identify products of different sizes, but in this embodiment, the accuracy of image recognition is improved even when the environment differs depending on the position in the recognition area. position is used to This embodiment uses an image recognition system 10 having a configuration similar to that of the first embodiment. This embodiment may be used in place of the first or second embodiment, or may be used in combination with the first or second embodiment.

図10は、本実施形態に係る載置台14上の認識領域Aの上面図である。図10には、撮像装置11を載置台14上に投影した位置が破線で示されている。 FIG. 10 is a top view of the recognition area A on the mounting table 14 according to this embodiment. In FIG. 10, the position of the imaging device 11 projected onto the mounting table 14 is indicated by a dashed line.

認識領域Aは、各領域上に異なる色が付されることによって第1の領域J1および第2の領域J2に区分される。図10では、第2の領域J2上に多数の点を表すことによって、第1の領域J1とは色が異なることが示されている。各領域を利用者に視覚的に示すことができれば、認識領域A上に表された記号又は色、あるいは投影装置12により投影された光、あるいは認識領域A上に設けられた構造によって各領域が表されてよい。画像認識部120は、商品が領域J1およびJ2のどちらに配置されているか(すなわち商品が配置されている位置)によって異なる認識処理を行う。 The recognition area A is divided into a first area J1 and a second area J2 by applying different colors on each area. In FIG. 10, a different color than the first region J1 is indicated by representing a number of dots on the second region J2. If each area can be visually shown to the user, each area can be identified by a symbol or color displayed on the recognition area A, light projected by the projection device 12, or a structure provided on the recognition area A. may be represented. The image recognition unit 120 performs different recognition processes depending on which of the areas J1 and J2 the product is placed (that is, the position where the product is placed).

領域J1、J2の判別のために、画像認識部120は、撮像装置11によって取得される画像中の各画素が領域J1およびJ2のどちらに属するかの情報を予め設定し、商品の位置に対応する画素に基づいて、商品が領域J1およびJ2のどちらに配置されているかを判定してもよい。あるいは、画像認識部120は、各領域の色に基づいて範囲を特定し、商品が領域J1およびJ2のどちらに配置されているかを判定してもよい。 In order to discriminate between the areas J1 and J2, the image recognition unit 120 presets information indicating to which of the areas J1 and J2 each pixel in the image acquired by the imaging device 11 belongs, and identifies the area corresponding to the position of the product. In which of the regions J1 and J2 the product is located may be determined based on the pixels that are displayed. Alternatively, the image recognition unit 120 may specify the range based on the color of each area, and determine in which of the areas J1 and J2 the product is placed.

本実施形態において、第1の領域J1および第2の領域J2では、環境光の明るさが異なる。光源と認識領域Aとの間に遮蔽物が存在すると、認識領域Aに影ができるため、認識領域A上の位置によって明るさが変わる。その結果、商品が配置される位置によって撮像装置11によって取得される商品の画像の明るさが変化するため、識別情報記憶部151に記録されている基準画像(特徴量)との比較結果に影響し得る。図10の例では、第1の領域J1は相対的に明るい明領域であり、第2の領域J2は相対的に暗い暗領域である。 In this embodiment, the brightness of ambient light differs between the first region J1 and the second region J2. If there is a shielding object between the light source and the recognition area A, a shadow is formed on the recognition area A, so the brightness changes depending on the position on the recognition area A. FIG. As a result, the brightness of the image of the product acquired by the imaging device 11 changes depending on the position where the product is placed. can. In the example of FIG. 10, the first region J1 is a relatively bright bright region and the second region J2 is a relatively dark dark region.

例えば、商品が第1の領域J1に配置されている場合には、画像認識部120は、明るい状態に適した画像認識処理を行う。すなわち、図10の例では商品K1に対して明領域用の画像認識処理が行われる。商品が第2の領域J2に配置されている場合には、画像認識部120は、暗い状態に適した画像認識処理を行う。すなわち、図10の例では商品K2に対して暗領域用の画像認識処理が行われる。 For example, when the product is placed in the first area J1, the image recognition unit 120 performs image recognition processing suitable for bright conditions. That is, in the example of FIG. 10, image recognition processing for a bright region is performed on product K1. When the product is placed in the second area J2, the image recognition unit 120 performs image recognition processing suitable for dark conditions. That is, in the example of FIG. 10, image recognition processing for a dark area is performed on product K2.

例えば明領域用の画像認識処理は商品の画像データに対して明度を下げる補正を行った後に画像認識を行い、暗領域用の画像認識処理は商品の画像データに対して明度を上げる補正を行った後に画像認識を行う。これによって明るさを一定に近付けて画像認識を行うことができるため、商品が配置される位置によらず類似の画像認識の条件にすることができ、画像認識の精度を向上させることができる。それぞれの明るさの領域の商品に対する具体的な画像認識処理として、ここに示したものに限られず、その明るさに適した任意の方法が用いられてよい。ここでは単純に画像の明るさを補正しているが、例えば暗領域用の画像認識処理では画像中の色を用いず、明領域用の画像認識処理では画像中の色を用いることのように、領域ごとに処理を大幅に変えてもよい。 For example, the image recognition process for the bright area performs image recognition after correcting the product image data to lower the brightness, and the image recognition process for the dark area performs the correction to increase the brightness of the product image data. After that, image recognition is performed. As a result, since image recognition can be performed with the brightness approaching a constant value, similar image recognition conditions can be set regardless of the position where the product is placed, and the accuracy of image recognition can be improved. Specific image recognition processing for products in each brightness area is not limited to the one shown here, and any method suitable for the brightness may be used. Here, the brightness of the image is simply corrected. , the processing may vary significantly from region to region.

換言すると、画像認識部120は、商品の外観の情報に加えて、商品が配置されている位置の情報に基づいて、商品の識別を行う。これにより商品が配置される位置の環境に対して適切な画像認識処理を適用することができ、識別の精度を向上させることができる。 In other words, the image recognition unit 120 identifies the product based on the information on the appearance of the product and the information on the position where the product is arranged. This makes it possible to apply appropriate image recognition processing to the environment of the position where the product is placed, and improve the accuracy of identification.

画像認識部120が利用する領域の数は2つに限られず、区別すべき商品の種類に応じた任意の数でよい。太陽や蛍光灯等の光源の状態が変わるために認識領域A上の明るさが変化する場合には、時間や日付によって各領域の範囲、ならびに各領域に対して行われる処理を変更してもよい。 The number of regions used by the image recognition unit 120 is not limited to two, and may be any number according to the types of products to be distinguished. If the brightness of the recognition area A changes due to changes in the state of the light source such as the sun or fluorescent lamp, the range of each area and the processing performed on each area may be changed depending on the time and date. good.

図11は、本実施形態に係る画像認識方法のフローチャートを示す図である。図11のフローチャートは、利用者が画像認識システム10に対して画像認識を実行するための所定の操作を行うことによって開始される。例えば、利用者がPOS端末100に接続された入力装置15(キーボードやタッチパネル)のボタンを押下することによって、あるいは所定の時間ごとに、図11のフローチャートが開始される。 FIG. 11 is a diagram showing a flowchart of the image recognition method according to this embodiment. The flowchart of FIG. 11 is started when the user performs a predetermined operation for executing image recognition on the image recognition system 10 . For example, when the user presses a button on the input device 15 (keyboard or touch panel) connected to the POS terminal 100, or at predetermined time intervals, the flowchart of FIG. 11 is started.

まず、画像取得部110は、撮像装置11によって撮像された画像を示す信号を受け取り、画像データとしてPOS端末100に入力する(ステップS301)。 First, the image acquiring unit 110 receives a signal indicating an image captured by the imaging device 11, and inputs the signal to the POS terminal 100 as image data (step S301).

次に、画像認識部120は、ステップS301で取得された画像中の商品の位置を取得する(ステップS302)。画像中で検出された各商品について、以下のステップS303~S307を行う。 Next, the image recognition unit 120 acquires the position of the product in the image acquired in step S301 (step S302). The following steps S303 to S307 are performed for each product detected in the image.

画像認識部120は、商品の位置が認識領域A上の第1の領域J1および第2の領域J2のどちらにあるかを判定する。この判定は任意の方法で行われてよいが、例えば商品に対応する画素群のうち半数以上が、第1の領域J1に対応する画像中の領域内にある場合に商品の位置は第1の領域J1上にあると判定され、そうでない場合に第2の領域J2上にあると判定されてよい。第1の領域J1および第2の領域J2に対応する画像中の領域は、利用者によって予め設定されてよく、あるいは画像認識部120が第1の領域J1および第2の領域J2の色を画像認識することによって設定されてよい。 The image recognition unit 120 determines in which of the first area J1 and the second area J2 on the recognition area A the product is located. This determination may be made by any method. For example, when more than half of the pixels corresponding to the product are within the area in the image corresponding to the first area J1, the position of the product is the first area. It may be determined to be on the region J1, otherwise it may be determined to be on the second region J2. The areas in the image corresponding to the first area J1 and the second area J2 may be set in advance by the user, or the image recognition unit 120 may determine the colors of the first area J1 and the second area J2 from the image. It may be set by recognizing

ステップS302で取得された商品の位置が第1の領域J1内にある場合には(ステップS303のYES)、画像認識部120は、該商品に対して明領域用の画像認識処理を行い、識別情報記憶部151の識別情報に基づいて商品を識別する(ステップS304)。 If the position of the product acquired in step S302 is within the first region J1 (YES in step S303), the image recognition unit 120 performs image recognition processing for a bright region on the product to identify the product. The product is identified based on the identification information in the information storage unit 151 (step S304).

ステップS302で取得された商品の位置が第2の領域J2内にある場合には(ステップS303のNO)、画像認識部120は、該商品に対して暗領域用の画像認識処理を行い、識別情報記憶部151の識別情報に基づいて商品を識別する(ステップS305)。 If the position of the product acquired in step S302 is within the second region J2 (NO in step S303), the image recognition unit 120 performs dark region image recognition processing on the product to identify the product. The product is identified based on the identification information in the information storage unit 151 (step S305).

そして画像認識部120は、ステップS304又はS305で識別された商品を、画像中の商品として決定する(ステップS306)。 The image recognition unit 120 then determines the product identified in step S304 or S305 as the product in the image (step S306).

最後に、商品情報取得部130は、ステップS306で決定された商品の商品IDに基づいて商品情報記憶部152から商品情報を取得し、表示制御部140は表示装置13を用いて商品情報を表示する制御を行う(ステップS307)。 Finally, the product information acquisition unit 130 acquires product information from the product information storage unit 152 based on the product ID of the product determined in step S306, and the display control unit 140 displays the product information using the display device 13. control is performed (step S307).

POS端末100のCPU101は、図11に示す画像認識方法に含まれる各ステップ(工程)の主体となる。すなわち、CPU101は、図11に示す画像認識方法を実行するためのプログラムをメモリ102又は記憶装置103から読み出し、該プログラムを実行してPOS端末100の各部を制御することによって図11に示す画像認識方法を実行する。 The CPU 101 of the POS terminal 100 is the subject of each step (process) included in the image recognition method shown in FIG. That is, the CPU 101 reads a program for executing the image recognition method shown in FIG. carry out the method.

本実施形態に係る画像認識システム10は、第1の実施形態と同様に、商品の外観に加えて、商品の配置される位置の方法を用いて商品の画像認識を行う。これにより、商品が配置される位置の環境に対して適切な画像認識処理を実行できるため、画像認識の精度を向上させることができる。 As in the first embodiment, the image recognition system 10 according to the present embodiment performs product image recognition using the method of the position where the product is arranged in addition to the appearance of the product. As a result, it is possible to perform image recognition processing suitable for the environment of the position where the product is placed, so that it is possible to improve the accuracy of image recognition.

(その他の実施形態)
図12は、上述の各実施形態に係るPOS端末100の概略構成図である。図12には、POS端末100が商品の位置の情報を用いて画像認識を行う画像認識装置として機能するための構成例が示されている。POS端末100は、認識領域に配置されている商品の画像を取得する画像取得部110と、取得した前記画像における前記商品の外観および前記商品の前記認識領域中の位置に基づいて、前記商品を識別する画像認識部120と、を備える。
(Other embodiments)
FIG. 12 is a schematic configuration diagram of the POS terminal 100 according to each of the above-described embodiments. FIG. 12 shows a configuration example for the POS terminal 100 to function as an image recognition device that performs image recognition using product position information. The POS terminal 100 acquires an image of a product placed in a recognition area, and identifies the product based on the appearance of the product in the acquired image and the position of the product in the recognition area. and an image recognition unit 120 for identifying.

本発明は、上述の実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲において適宜変更可能である。 The present invention is not limited to the above-described embodiments, and can be modified as appropriate without departing from the gist of the present invention.

上述の各実施形態の機能を実現するように該実施形態の構成を動作させるプログラム(例えば、図7、9および11に示す処理をPOS端末100に実行させるプログラム)を記録媒体に記録させ、該記録媒体に記録されたプログラムをコードとして読み出し、コンピュータにおいて実行する処理方法も各実施形態の範疇に含まれる。すなわち、コンピュータ読取可能な記録媒体も各実施形態の範囲に含まれる。また、上述のコンピュータプログラムが記録された記録媒体はもちろん、そのコンピュータプログラム自体も各実施形態に含まれる。 A program for operating the configuration of each embodiment described above (for example, a program for causing the POS terminal 100 to execute the processes shown in FIGS. 7, 9, and 11) to realize the functions of each embodiment described above is recorded on a recording medium, and A processing method of reading a program recorded on a recording medium as a code and executing it on a computer is also included in the category of each embodiment. That is, a computer-readable recording medium is also included in the scope of each embodiment. In addition to recording media on which the computer programs described above are recorded, the computer programs themselves are also included in each embodiment.

該記録媒体としては例えばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD-ROM、磁気テープ、不揮発性メモリカード、ROMを用いることができる。また該記録媒体に記録されたプログラム単体で処理を実行しているものに限らず、他のソフトウェア、拡張ボードの機能と共同して、OS上で動作して処理を実行するものも各実施形態の範疇に含まれる。 For example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, nonvolatile memory card, and ROM can be used as the recording medium. Further, not only the program recorded on the recording medium alone executes the process, but also the one that operates on the OS and executes the process in cooperation with other software and functions of the expansion board. included in the category of

上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above-described embodiments can also be described in the following supplementary remarks, but are not limited to the following.

(付記1)
認識領域に配置されている商品の画像を取得する画像取得部と、
取得した前記画像における前記商品の外観および前記商品の前記認識領域中の位置に基づいて、前記商品を識別する画像認識部と、
を備える画像認識装置。
(Appendix 1)
an image acquisition unit that acquires an image of a product placed in the recognition area;
an image recognition unit that identifies the product based on the appearance of the product in the acquired image and the position of the product in the recognition area;
An image recognition device comprising:

(付記2)
前記認識領域は少なくとも2つの領域に区分されており、
前記画像認識部は、前記少なくとも2つの領域に対してそれぞれ異なる処理を用いて前記商品を識別することを特徴とする、付記1に記載の画像認識装置。
(Appendix 2)
The recognition region is divided into at least two regions,
1. The image recognition device according to supplementary note 1, wherein the image recognition unit identifies the product using different processing for the at least two areas.

(付記3)
前記少なくとも2つの領域は、前記認識領域に表された記号又は色、前記認識領域に投影された光、および前記認識領域に設けられた構造のいずれかによって示されることを特徴とする、付記2に記載の画像認識装置。
(Appendix 3)
Supplementary note 2, wherein the at least two areas are indicated by any of symbols or colors represented in the recognition area, light projected onto the recognition area, and structures provided in the recognition area. The image recognition device according to .

(付記4)
前記画像取得部は、前記認識領域に設けられた支持構造によって支持されている前記商品の前記画像を取得し、
前記画像認識部は、取得した前記画像における前記商品の外観および前記商品の前記支持構造上の位置に基づいて、前記商品を識別することを特徴とする、付記1~3のいずれか一項に記載の画像認識装置。
(Appendix 4)
The image acquisition unit acquires the image of the product supported by a support structure provided in the recognition area,
4. The image recognition unit according to any one of Appendices 1 to 3, wherein the product is identified based on the appearance of the product in the acquired image and the position of the product on the support structure. The described image recognition device.

(付記5)
前記画像認識部は、取得した前記画像を前記支持構造が前記商品を支持する角度に基づいて補正し、補正された前記画像を用いて前記商品を識別することを特徴とする付記4に記載の画像認識装置。
(Appendix 5)
The image recognition unit according to appendix 4, wherein the acquired image is corrected based on the angle at which the support structure supports the product, and the product is identified using the corrected image. Image recognition device.

(付記6)
前記画像認識部は、前記商品の前記認識領域中の前記位置に基づいて前記商品の大きさを判定し、前記大きさを用いて前記商品を識別することを特徴とする、付記1~5のいずれか一項に記載の画像認識装置。
(Appendix 6)
The image recognition unit determines the size of the product based on the position of the product in the recognition area, and identifies the product using the size. The image recognition device according to any one of the items.

(付記7)
前記画像認識部は、前記商品を識別する際に、前記商品の前記認識領域中の前記位置に基づいて前記商品の種類を判定し、前記種類を用いて前記商品を識別することを特徴とする、付記1~6のいずれか一項に記載の画像認識装置。
(Appendix 7)
The image recognition unit, when identifying the product, determines the type of the product based on the position of the product in the recognition area, and identifies the product using the type. , the image recognition device according to any one of Appendices 1 to 6.

(付記8)
前記画像認識部は、前記商品を識別する際に、前記商品の前記認識領域中の前記位置に基づいて、取得した前記画像における前記商品の前記認識領域中の前記位置の明るさを判定し、前記明るさを用いて前記商品を識別することを特徴とする、付記1~7のいずれか一項に記載の画像認識装置。
(Appendix 8)
wherein, when identifying the product, the image recognition unit determines the brightness of the position in the recognition area of the product in the acquired image based on the position of the product in the recognition area; 8. The image recognition device according to any one of appendices 1 to 7, wherein the brightness is used to identify the product.

(付記9)
認識領域に配置されている商品の画像を取得するステップと、
取得した前記画像における前記商品の外観および前記商品の前記認識領域中の位置に基づいて、前記商品を識別するステップと、
を有する画像認識方法。
(Appendix 9)
obtaining an image of the product placed in the recognition area;
identifying the item based on the appearance of the item in the acquired image and the location of the item in the recognition area;
An image recognition method comprising:

(付記10)
コンピュータに、
認識領域に配置されている商品の画像を取得するステップと、
取得した前記画像における前記商品の外観および前記商品の前記認識領域中の位置に基づいて、前記商品を識別するステップと、
を実行させるプログラム。
(Appendix 10)
to the computer,
obtaining an image of the product placed in the recognition area;
identifying the item based on the appearance of the item in the acquired image and the location of the item in the recognition area;
program to run.

(付記11)
商品を載置するための載置台と、
撮像装置によって取得される前記商品の画像に対して画像認識を行う画像認識装置と、
を備え、
前記画像認識装置は、
前記載置台上の認識領域に配置されている前記商品の前記画像を取得する画像取得部と、
取得した前記画像における前記商品の外観および前記商品の前記認識領域中の位置に基づいて、前記商品を識別する画像認識部と、を備える
ことを特徴とする画像認識システム。
(Appendix 11)
a mounting table for mounting the product;
an image recognition device that performs image recognition on an image of the product acquired by an imaging device;
with
The image recognition device is
an image acquiring unit that acquires the image of the product placed in the recognition area on the placing table;
an image recognition unit that identifies the product based on the appearance of the product in the acquired image and the position of the product in the recognition area.

10 画像認識システム
11 撮像装置
12 投影装置
13 表示装置
14 載置台
100 POS端末
101 CPU
102 メモリ
103 記憶装置
104 インターフェース
110 画像取得部
120 画像認識部
130 商品情報取得部
140 表示制御部
200 支持部
211 側面支持面
212 底面支持面
A 認識領域
REFERENCE SIGNS LIST 10 image recognition system 11 imaging device 12 projection device 13 display device 14 mounting table 100 POS terminal 101 CPU
102 Memory 103 Storage Device 104 Interface 110 Image Acquisition Unit 120 Image Recognition Unit 130 Merchandise Information Acquisition Unit 140 Display Control Unit 200 Support Unit 211 Side Support Surface 212 Bottom Support Surface A Recognition Area

Claims (10)

少なくとも2つの領域に区分された認識領域に配置されている商品の画像を取得する画像取得部と、
取得した前記画像中の商品を識別する画像認識部と、
を備え、
前記少なくとも2つの領域は、前記認識領域に表された記号又は色、前記認識領域に投影された光、および前記認識領域に設けられた構造のいずれかによって区分され、
前記画像認識部は、前記商品の位置に基づいて選択された画像認識処理を用いて前記商品を識別することを特徴とする画像認識装置。
an image acquisition unit that acquires an image of a product placed in a recognition area divided into at least two areas ;
an image recognition unit that identifies a product in the acquired image;
with
the at least two regions are separated by any of a symbol or color represented in the recognition region, light projected onto the recognition region, and a structure provided in the recognition region;
The image recognition device, wherein the image recognition unit identifies the product using image recognition processing selected based on the position of the product.
前記画像認識処理は、画像データに対する明度の補正処理を含むことを特徴とする、請求項1に記載の画像認識装置。 2. The image recognition apparatus according to claim 1, wherein said image recognition processing includes brightness correction processing for image data . 前記画像取得部は、前記認識領域に設けられた支持構造によって支持されている前記商品の前記画像を取得し、
前記画像認識部は、取得した前記画像における前記商品の外観および前記商品の前記支持構造上の位置に基づいて、前記商品を識別することを特徴とする、請求項1または2に記載の画像認識装置。
The image acquisition unit acquires the image of the product supported by a support structure provided in the recognition area,
3. The image recognition according to claim 1, wherein the image recognition unit identifies the product based on the appearance of the product and the position of the product on the support structure in the acquired image. Device.
前記画像認識部は、取得した前記画像を前記支持構造が前記商品を支持する角度に基づいて補正し、補正された前記画像を用いて前記商品を識別することを特徴とする請求項3に記載の画像認識装置。 4. The product according to claim 3, wherein the image recognition unit corrects the acquired image based on an angle at which the support structure supports the product, and identifies the product using the corrected image. image recognition device. 前記画像認識部は、前記商品の前記認識領域中の前記位置に基づいて前記商品の大きさを判定し、前記大きさを用いて前記商品を識別することを特徴とする、請求項~4のいずれか一項に記載の画像認識装置。 4. The image recognition unit determines the size of the product based on the position of the product in the recognition area, and identifies the product using the size. The image recognition device according to any one of . 前記画像認識部は、前記商品を識別する際に、前記商品の前記認識領域中の前記位置に基づいて前記商品の種類を判定し、前記種類を用いて前記商品を識別することを特徴とする、請求項~5のいずれか一項に記載の画像認識装置。 The image recognition unit, when identifying the product, determines the type of the product based on the position of the product in the recognition area, and identifies the product using the type. The image recognition device according to any one of claims 1 to 5. 前記画像認識部は、前記商品を識別する際に、前記商品の前記認識領域中の前記位置に基づいて、取得した前記画像における前記商品の前記認識領域中の前記位置の明るさを判定し、前記明るさを用いて前記商品を識別することを特徴とする、請求項~6のいずれか一項に記載の画像認識装置。 wherein, when identifying the product, the image recognition unit determines the brightness of the position in the recognition area of the product in the acquired image based on the position of the product in the recognition area; The image recognition device according to any one of claims 1 to 6, wherein the brightness is used to identify the product. 少なくとも2つの領域に区分された認識領域に配置されている商品の画像を取得するステップと、
取得した前記画像中の商品を識別するステップと、
を有し、
前記少なくとも2つの領域は、前記認識領域に表された記号又は色、前記認識領域に投影された光、および前記認識領域に設けられた構造のいずれかによって区分され、
前記商品を識別するステップは、前記商品の位置に基づいて選択された画像認識処理を用いて前記商品を識別するステップを含むことを特徴とする画像認識方法。
obtaining an image of a product placed in a recognition area segmented into at least two areas ;
identifying a product in the image obtained;
has
the at least two regions are separated by any of a symbol or color represented in the recognition region, light projected onto the recognition region, and a structure provided in the recognition region;
The image recognition method, wherein identifying the product includes identifying the product using an image recognition process selected based on the location of the product.
コンピュータに、
少なくとも2つの領域に区分された認識領域に配置されている商品の画像を取得するステップと、
取得した前記画像中の商品を識別するステップと、
を有する画像認識方法であって、
前記少なくとも2つの領域は、前記認識領域に表された記号又は色、前記認識領域に投影された光、および前記認識領域に設けられた構造のいずれかによって区分され、
前記商品を識別するステップは、前記商品の位置に基づいて選択された画像認識処理を用いて前記商品を識別するステップを含む、
画像識別方法を実行させるプログラム。
to the computer,
obtaining an image of a product placed in a recognition area segmented into at least two areas ;
identifying a product in the image obtained;
An image recognition method comprising
the at least two regions are separated by any of a symbol or color represented in the recognition region, light projected onto the recognition region, and a structure provided in the recognition region;
identifying the item includes identifying the item using an image recognition process selected based on the location of the item;
A program that executes an image identification method.
商品を載置するための載置台と、
撮像装置によって取得される前記商品の画像に対して画像認識を行う画像認識装置と、
を備え、
前記画像認識装置は、
前記載置台上であって、少なくとも2つの領域に区分された認識領域に配置されている前記商品の前記画像を取得する画像取得部と、
取得した前記画像中の商品を識別する画像認識部と、
を備え、
前記少なくとも2つの領域は、前記認識領域に表された記号又は色、前記認識領域に投影された光、および前記認識領域に設けられた構造のいずれかによって区分され、
前記画像認識部は、前記商品の位置に基づいて選択された画像認識処理を用いて前記商品を識別することを特徴とする画像認識システム。
a mounting table for mounting the product;
an image recognition device that performs image recognition on an image of the product acquired by an imaging device;
with
The image recognition device is
an image acquiring unit that acquires the image of the product placed on the placing table in a recognition area divided into at least two areas ;
an image recognition unit that identifies a product in the acquired image;
with
the at least two regions are separated by any of a symbol or color represented in the recognition region, light projected onto the recognition region, and a structure provided in the recognition region;
The image recognition system, wherein the image recognition unit identifies the product using an image recognition process selected based on the position of the product.
JP2021062498A 2017-02-14 2021-04-01 Image recognition device, system, method and program Active JP7211447B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021062498A JP7211447B2 (en) 2017-02-14 2021-04-01 Image recognition device, system, method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017024891A JP6862888B2 (en) 2017-02-14 2017-02-14 Image recognizers, systems, methods and programs
JP2021062498A JP7211447B2 (en) 2017-02-14 2021-04-01 Image recognition device, system, method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017024891A Division JP6862888B2 (en) 2017-02-14 2017-02-14 Image recognizers, systems, methods and programs

Publications (2)

Publication Number Publication Date
JP2021119470A JP2021119470A (en) 2021-08-12
JP7211447B2 true JP7211447B2 (en) 2023-01-24

Family

ID=63248426

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2017024891A Active JP6862888B2 (en) 2017-02-14 2017-02-14 Image recognizers, systems, methods and programs
JP2021062498A Active JP7211447B2 (en) 2017-02-14 2021-04-01 Image recognition device, system, method and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2017024891A Active JP6862888B2 (en) 2017-02-14 2017-02-14 Image recognizers, systems, methods and programs

Country Status (1)

Country Link
JP (2) JP6862888B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013089088A (en) 2011-10-19 2013-05-13 Toshiba Tec Corp Reading device and program
JP2014052805A (en) 2012-09-06 2014-03-20 Toshiba Tec Corp Information processing apparatus and program
JP2014089669A (en) 2012-10-31 2014-05-15 Toshiba Tec Corp Merchandise reading device, merchandise sales data processor and merchandise reading program
JP2014531636A (en) 2011-08-30 2014-11-27 ディジマーク コーポレイション Method and mechanism for identifying an object
JP2016115298A (en) 2014-12-18 2016-06-23 カシオ計算機株式会社 Merchandise registration device, merchandise registration method, and merchandise image providing system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5451787B2 (en) * 2012-01-31 2014-03-26 東芝テック株式会社 Information processing apparatus, store system, and program
JP6529078B2 (en) * 2013-09-06 2019-06-12 日本電気株式会社 Customer behavior analysis system, customer behavior analysis method, customer behavior analysis program and shelf system
JP6220679B2 (en) * 2014-01-08 2017-10-25 東芝テック株式会社 Information processing apparatus, store system, and program
JP2015194791A (en) * 2014-03-31 2015-11-05 日本電気株式会社 Pos terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014531636A (en) 2011-08-30 2014-11-27 ディジマーク コーポレイション Method and mechanism for identifying an object
JP2013089088A (en) 2011-10-19 2013-05-13 Toshiba Tec Corp Reading device and program
JP2014052805A (en) 2012-09-06 2014-03-20 Toshiba Tec Corp Information processing apparatus and program
JP2014089669A (en) 2012-10-31 2014-05-15 Toshiba Tec Corp Merchandise reading device, merchandise sales data processor and merchandise reading program
JP2016115298A (en) 2014-12-18 2016-06-23 カシオ計算機株式会社 Merchandise registration device, merchandise registration method, and merchandise image providing system

Also Published As

Publication number Publication date
JP6862888B2 (en) 2021-04-21
JP2021119470A (en) 2021-08-12
JP2018132868A (en) 2018-08-23

Similar Documents

Publication Publication Date Title
US10474858B2 (en) Methods of identifying barcoded items by evaluating multiple identification hypotheses, based on data from sensors including inventory sensors and ceiling-mounted cameras
US10192087B2 (en) Methods and arrangements for identifying objects
US9978050B2 (en) Object recognizing apparatus, method of indicating a recognition result, and computer readable recording medium
US8505817B2 (en) Code reading apparatus and code reading method
WO2020211499A1 (en) Self-checkout method and device for commodities
US20220262088A1 (en) Image recognition system, image recognition method, and storage medium
US20160171264A1 (en) Information processing apparatus and information processing method
US8579199B2 (en) Code symbol reading apparatus and reading method
US20130054344A1 (en) Code reading apparatus, sales data processing apparatus and sales data processing method
US20150254488A1 (en) Code symbol reading apparatus and method for reading code symbol
US9123214B2 (en) Commodity sales data processing device
JP2022183305A (en) Information processor, information processing method and program
JP5640112B2 (en) Product recognition apparatus and product recognition program
US20200117866A1 (en) Reading apparatus and method
JP6878938B2 (en) Image recognition devices, systems, methods and programs
JP7211447B2 (en) Image recognition device, system, method and program
JP5256259B2 (en) Product code reading apparatus and product code reading method
JP6801490B2 (en) Image recognition system
JP6485105B2 (en) Product sales data processing device
JP5349444B2 (en) Code reader and program
US20210027062A1 (en) Object detection system using image recognition, object detection device using image recognition, object detection method using image recognition, and non-transitory storage medium
JP7316203B2 (en) Information processing system, information processing device, and information processing method
CN115063814B (en) Universal commodity price tag image identification method and processing equipment
JP7322945B2 (en) Processing device, processing method and program
JP2012053587A (en) Information reader, program and sticker

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220428

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221114

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221226

R151 Written notification of patent or utility model registration

Ref document number: 7211447

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151