WO2023195456A1 - Electronic instrument, and method for controlling electronic instrument - Google Patents

Electronic instrument, and method for controlling electronic instrument Download PDF

Info

Publication number
WO2023195456A1
WO2023195456A1 PCT/JP2023/013865 JP2023013865W WO2023195456A1 WO 2023195456 A1 WO2023195456 A1 WO 2023195456A1 JP 2023013865 W JP2023013865 W JP 2023013865W WO 2023195456 A1 WO2023195456 A1 WO 2023195456A1
Authority
WO
WIPO (PCT)
Prior art keywords
article
electronic device
unit
recognized
rectangle circumscribing
Prior art date
Application number
PCT/JP2023/013865
Other languages
French (fr)
Japanese (ja)
Inventor
暁艶 戴
ジェチョル キム
寛樹 谷本
依珊 謝
Original Assignee
京セラ株式会社
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 京セラ株式会社 filed Critical 京セラ株式会社
Publication of WO2023195456A1 publication Critical patent/WO2023195456A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes

Abstract

An electronic instrument comprises a recognition unit that recognizes an article from an image in which the article is captured, and an identification unit that identifies the article along with the size of the article on the basis of the length of two sides forming a right angle of a rectangle circumscribing the article recognized by the recognition unit.

Description

電子機器及び電子機器の制御方法Electronic devices and control methods for electronic devices 関連出願の相互参照Cross-reference of related applications
 本出願は、2022年4月4日に日本国に特許出願された特願2022-62663の優先権を主張するものであり、この先の出願の開示全体を、ここに参照のために取り込む。 This application claims priority to Japanese Patent Application No. 2022-62663 filed in Japan on April 4, 2022, and the entire disclosure of this earlier application is incorporated herein by reference.
 本開示は、電子機器及び電子機器の制御方法に関する。 The present disclosure relates to an electronic device and a method of controlling the electronic device.
 近年、店舗で販売されている商品などのような物品を、デジタルカメラによって撮像することにより、当該物品を自動的に識別する技術が提案されている。例えば、特許文献1は、所定の領域に配置された複数の商品を撮像して、撮像された画像の特徴量から商品を認識する技術を開示している。このような技術は、例えば店舗の無人レジなどに採用されることにより、人件費を削減し得るものとして、また労働力不足を緩和し得るものとして、ますますの導入が期待される。 In recent years, a technology has been proposed that automatically identifies an item, such as a product sold in a store, by capturing an image of the item using a digital camera. For example, Patent Document 1 discloses a technology that images a plurality of products arranged in a predetermined area and recognizes the products from the feature amounts of the captured images. It is expected that such technology will be increasingly introduced as a means of reducing labor costs and alleviating labor shortages by being adopted, for example, in unmanned cash registers at stores.
特開2013-54673号公報Japanese Patent Application Publication No. 2013-54673
 一実施形態に係る電子機器は、
 物品が撮像された画像から当該物品を認識する認識部と、
 前記認識部によって認識される前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する識別部と、
 を備える。
An electronic device according to an embodiment includes:
a recognition unit that recognizes the article from an image of the article;
an identification section that identifies the article along with its size based on the lengths of two right-angled sides of a rectangle circumscribing the article recognized by the recognition section;
Equipped with.
 また、一実施形態に係る電子機器は、
 物品が撮像された画像から認識された前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する。
Further, an electronic device according to an embodiment includes:
The article is identified along with its size based on the lengths of two perpendicular sides of a rectangle circumscribing the article, which are recognized from the image of the article.
 また、一実施形態に係る電子機器は、
 物品が撮像された画像から認識された前記物品に外接する矩形に基づいて、前記物品を当該物品のサイズとともに識別する。
Further, an electronic device according to an embodiment includes:
The article is identified along with its size based on a rectangle circumscribing the article recognized from an image of the article.
 一実施形態に係る電子機器の制御方法は、
 物品が撮像された画像から当該物品を認識する認識ステップと、
 前記認識ステップにおいて認識された前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する識別ステップと、
 を含む。
A method for controlling an electronic device according to an embodiment includes:
a recognition step of recognizing the article from an image of the article;
an identification step of identifying the article along with its size based on the lengths of two right-angled sides of a rectangle circumscribing the article recognized in the recognition step;
including.
第1実施形態に係る電子機器の機能的な構成を示すブロック図である。FIG. 1 is a block diagram showing a functional configuration of an electronic device according to a first embodiment. 第1実施形態に係る電子機器による処理を説明する図である。FIG. 3 is a diagram illustrating processing by the electronic device according to the first embodiment. 第1実施形態に係る電子機器の記憶部に記憶される情報の例を示す図である。FIG. 3 is a diagram illustrating an example of information stored in a storage unit of the electronic device according to the first embodiment. 第1実施形態に係る電子機器の動作を説明するフローチャートである。3 is a flowchart illustrating the operation of the electronic device according to the first embodiment. 第2実施形態に係る電子機器による処理を説明する図である。FIG. 7 is a diagram illustrating processing by an electronic device according to a second embodiment. 第2実施形態に係る電子機器の動作を説明するフローチャートである。It is a flow chart explaining operation of an electronic device concerning a 2nd embodiment. 第1実施形態の変形例に係る電子機器の機能的な構成を示すブロック図である。FIG. 3 is a block diagram showing a functional configuration of an electronic device according to a modification of the first embodiment. 第1実施形態の変形例に係る電子機器による処理を説明する図である。FIG. 7 is a diagram illustrating processing by an electronic device according to a modification of the first embodiment.
 例えば、デザインを共通にしつつ、いくつかの大きさ(サイズ)で展開されている商品のように、同一又は類似の形態でサイズの異なる物品を、電子機器によって識別できれば有益である。本開示の目的は、同一又は類似の形態でサイズの異なる物品を識別し得る電子機器、及び、このような電子機器の制御方法を提供することにある。一実施形態によれば、同一又は類似の形態でサイズの異なる物品を識別し得る電子機器、及び、このような電子機器の制御方法を提供することができる。 For example, it would be beneficial if electronic equipment could identify items of the same or similar form but different sizes, such as products that have a common design but are available in several sizes. An object of the present disclosure is to provide an electronic device that can identify articles of the same or similar shape but different sizes, and a method of controlling such an electronic device. According to one embodiment, it is possible to provide an electronic device that can identify articles of the same or similar shape but different sizes, and a method of controlling such an electronic device.
 本開示において、「電子機器」とは、電力により駆動される機器としてよい。また、「システム」とは、電力により駆動される機器を含むものとしてよい。また、「ユーザ」とは、一実施形態に係る電子機器又はシステムを使用する者としてよい。ユーザは、一実施形態に係る電子機器及び/又はシステムを用いることで、物品がサイズとともに識別されることにより恩恵を受け得る者としてよい。 In the present disclosure, an "electronic device" may be a device driven by electric power. Further, the "system" may include equipment driven by electric power. Further, a "user" may be a person who uses an electronic device or a system according to an embodiment. A user may benefit from having items identified along with their size using an electronic device and/or system according to an embodiment.
 一実施形態に係る電子機器が利用される場面として想定されるのは、例えば、量販店、スーパーマーケット、又はコンビニエンスストアのような店舗などとしてよい。このような店舗において、同一又は類似の形態でサイズの異なる商品のような物品を自動で(つまり人手によらず)識別できれば有益である。しかしながら、一実施形態に係る電子機器が利用される場面として想定されるのは、上述のような店舗などに限定されない。一実施形態に係る電子機器が利用される場面として想定されるのは、例えば工場などにおいて、機器及び部品などのような物品の識別に用いられてもよい。このような工場などにおいて、同一又は類似の形態でサイズの異なる機器又は部品のような物品を自動で(つまり人手によらず)識別できれば有益である。 The electronic device according to one embodiment may be used in a store such as a mass merchandiser, a supermarket, or a convenience store, for example. In such stores, it would be beneficial if items such as products of the same or similar shape but different sizes could be automatically identified (that is, without manual intervention). However, the scenarios in which the electronic device according to the embodiment is used are not limited to the above-mentioned stores. The electronic device according to the embodiment may be used, for example, in a factory to identify items such as devices and parts. In such factories, it would be beneficial if items such as equipment or parts of the same or similar shape but different sizes could be automatically identified (that is, without manual intervention).
(第1実施形態)
 以下、第1実施形態に係る電子機器について、図面を参照して説明する。
(First embodiment)
Hereinafter, an electronic device according to a first embodiment will be described with reference to the drawings.
 図1は、第1実施形態に係る電子機器の概略構成を、その使用態様の例とともに示す図である。図1に示すように、第1実施形態に係る電子機器1は、認識部10及び識別部12を備えてよい。また、第1実施形態に係る電子機器1は、記憶部14、通信部16、及び出力部18などを備えてもよい。一実施形態に係る電子機器1は、図1に示す機能部の一部を含まなくてもよいし、図1に示す以外の機能部を適宜含んでもよい。 FIG. 1 is a diagram showing a schematic configuration of an electronic device according to a first embodiment, along with an example of its usage mode. As shown in FIG. 1, the electronic device 1 according to the first embodiment may include a recognition section 10 and an identification section 12. Further, the electronic device 1 according to the first embodiment may include a storage section 14, a communication section 16, an output section 18, and the like. The electronic device 1 according to one embodiment may not include some of the functional units shown in FIG. 1, or may include functional units other than those shown in FIG. 1 as appropriate.
 第1実施形態に係る電子機器1は、種々の機器として構成し得る。例えば、第1実施形態に係る電子機器1は、専用に設計された端末としてもよいし、汎用のコンピュータ、ノートパソコン、又はサーバなどとしてもよい。さらに、第1実施形態に係る電子機器1は、タブレット型コンピュータ又はスマートフォンなどとしてもよい。第1実施形態に係る電子機器1は、同一又は類似の形態でサイズの異なる物品を識別する任意の機器として構成されてよい。 The electronic device 1 according to the first embodiment can be configured as various devices. For example, the electronic device 1 according to the first embodiment may be a specially designed terminal, a general-purpose computer, a notebook computer, a server, or the like. Furthermore, the electronic device 1 according to the first embodiment may be a tablet computer, a smartphone, or the like. The electronic device 1 according to the first embodiment may be configured as any device that identifies articles of the same or similar form but different sizes.
 図1に示す撮像部20は、例えばデジタルカメラのような、電子的に画像を撮像するイメージセンサを含んで構成されてよい。撮像部20は、CCD(Charge Coupled Device Image Sensor)又はCMOS(Complementary Metal Oxide Semiconductor)センサ等のように、光電変換を行う撮像素子を含んで構成されてよい。電子機器1と撮像部20とは、有線若しくは無線、又は有線及び無線の組合せにより接続されてよい。特に、撮像部20は、例えば電子機器1の認識部10と接続されてよい。撮像部20は、同一又は類似の形態でサイズの異なる物品を画像として撮像するものであれば、デジタルカメラのような撮像デバイスに限定されず、任意のデバイスとしてよい。 The imaging unit 20 shown in FIG. 1 may include an image sensor that electronically captures images, such as a digital camera. The imaging unit 20 may include an imaging element that performs photoelectric conversion, such as a CCD (Charge Coupled Device Image Sensor) or a CMOS (Complementary Metal Oxide Semiconductor) sensor. The electronic device 1 and the imaging unit 20 may be connected by wire, wireless, or a combination of wire and wireless. In particular, the imaging unit 20 may be connected to the recognition unit 10 of the electronic device 1, for example. The image capturing unit 20 is not limited to an image capturing device such as a digital camera, and may be any device as long as it captures images of articles of the same or similar form but different sizes.
 撮像部20は、例えば図1に示すように、物品の画像を撮像する。図1においては、撮像部20の撮像対象として、盤面100の上に置かれた物品α1、α2、β1、及びβ2を示してある。盤面100は、図1に示すXY平面に平行な広がりを有してよい。図1に示すZ軸は、例えば鉛直方向の上向きとしてよい。図1に示すように、撮像部20は、盤面100から図1に示すZ軸の正方向に距離dだけ離間して配置されているものとする。すなわち、撮像部20は、盤面100の上に置かれた物品α1、α2、β1、及びβ2を、上から撮像するように配置されている。 The imaging unit 20 captures an image of an article, for example, as shown in FIG. In FIG. 1, objects α1, α2, β1, and β2 placed on the board 100 are shown as objects to be imaged by the imaging unit 20. The board surface 100 may extend parallel to the XY plane shown in FIG. The Z axis shown in FIG. 1 may be directed upward in the vertical direction, for example. As shown in FIG. 1, it is assumed that the imaging unit 20 is arranged at a distance d from the board surface 100 in the positive direction of the Z-axis shown in FIG. That is, the imaging unit 20 is arranged to take images of the articles α1, α2, β1, and β2 placed on the board 100 from above.
 図1は、盤面100の上に4つの物品α1、α2、β1、及びβ2が置かれている例を示している。しかしながら、盤面100の上に置かれる物品は、1つ以上の任意の数としてよい。 FIG. 1 shows an example in which four articles α1, α2, β1, and β2 are placed on a board 100. However, the number of items placed on board 100 may be any number greater than one.
 図1は、撮像部20が、盤面100に置かれた物品α1、α2、β1、及びβ2を上から撮像する例を示している。しかしながら、一実施形態において、撮像部20が、盤面100に置かれた物品α1、α2、β1、及びβ2を例えば側方(XY平面に平行な方向ななど)から撮像してもよい。撮像部20が、盤面100に置かれた物品の外形が撮像可能な任意の位置及び角度に設置されてよい。また、図1は、撮像部20が1つだけ設置された例を示している。しかしながら、一実施形態において、撮像部20は、2つ以上設置されてもよい。一実施形態において、撮像部20が2つ以上設置されることにより、物品の識別精度、及び物品のサイズ(大きさ)の識別精度を向上させ得る。 FIG. 1 shows an example in which the imaging unit 20 images objects α1, α2, β1, and β2 placed on the board 100 from above. However, in one embodiment, the imaging unit 20 may image the objects α1, α2, β1, and β2 placed on the board 100, for example, from the side (such as in a direction parallel to the XY plane). The imaging unit 20 may be installed at any position and angle at which the external shape of the item placed on the board 100 can be imaged. Further, FIG. 1 shows an example in which only one imaging unit 20 is installed. However, in one embodiment, two or more imaging units 20 may be installed. In one embodiment, by installing two or more imaging units 20, it is possible to improve the accuracy of identifying the article and the size of the article.
 撮像部20によって撮像された画像の情報は、電子機器1に供給されてよい。撮像部20によって撮像された画像の情報は、電子機器1の例えば認識部10に供給されてよい。一方、撮像部20によって撮像された画像の情報は、電子機器1の例えば識別部12、記憶部14、通信部16、及び/又は出力部18などに供給されてもよい。 Information on the image captured by the imaging unit 20 may be supplied to the electronic device 1. Information on the image captured by the imaging unit 20 may be supplied to, for example, the recognition unit 10 of the electronic device 1. On the other hand, information on the image captured by the imaging unit 20 may be supplied to, for example, the identification unit 12, the storage unit 14, the communication unit 16, and/or the output unit 18 of the electronic device 1.
 認識部10は、撮像部20によって撮像された画像から、当該画像に含まれる物品を認識する。認識部10は、既知の任意の画像認識技術などによって、撮像部20によって撮像された画像から、当該画像に含まれる物品を認識してよい。認識部10は、撮像部20によって撮像された画像から、物品の所定の特徴点などに基づいて、当該画像に含まれる物品を抽出する機能を有してもよい。 The recognition unit 10 recognizes the article included in the image captured by the imaging unit 20. The recognition unit 10 may recognize the article included in the image captured by the image capture unit 20 using any known image recognition technology. The recognition unit 10 may have a function of extracting an article included in the image captured by the image capturing unit 20 based on predetermined feature points of the article.
 このように、第1実施形態に係る電子機器1において、認識部10は、物品が撮像された画像(撮像部20によって撮像された画像)から、その物品を認識する。認識部10によって認識された物品の情報は、電子機器1の例えば識別部12に供給されてよい。一方、認識部10によって認識された物品の情報は、電子機器1の例えば記憶部14、通信部16、及び/又は出力部18などに供給されてもよい。 In this way, in the electronic device 1 according to the first embodiment, the recognition unit 10 recognizes the article from the image of the article (the image captured by the imaging unit 20). Information on the article recognized by the recognition unit 10 may be supplied to, for example, the identification unit 12 of the electronic device 1. On the other hand, the information on the article recognized by the recognition unit 10 may be supplied to, for example, the storage unit 14, the communication unit 16, and/or the output unit 18 of the electronic device 1.
 識別部12は、認識部10によって認識された物品を、その物品のサイズとともに識別する。第1実施形態に係る電子機器1の識別部12による物品の識別については、さらに後述する。識別部12によってサイズとともに認識された物品の情報は、電子機器1の例えば記憶部14、通信部16、及び/又は出力部18などに供給されてよい。 The identification unit 12 identifies the article recognized by the recognition unit 10 along with the size of the article. Identification of articles by the identification unit 12 of the electronic device 1 according to the first embodiment will be further described later. Information on the article recognized by the identification unit 12 together with the size may be supplied to, for example, the storage unit 14, the communication unit 16, and/or the output unit 18 of the electronic device 1.
 認識部10及び識別部12の少なくとも一方は、種々の機能を実行するための制御及び処理能力を提供するために、例えばCPU(Central Processing Unit)又はDSP(Digital Signal Processor)のような、少なくとも1つのプロセッサを含んでよい。認識部10及び識別部12の少なくとも一方は、まとめて1つのプロセッサで実現してもよいし、いくつかのプロセッサで実現してもよいし、それぞれ個別のプロセッサで実現してもよい。プロセッサは、単一の集積回路(Integrated Circuit:IC)として実現されてよい。プロセッサは、複数の通信可能に接続された集積回路及びディスクリート回路として実現されてよい。プロセッサは、他の種々の既知の技術に基づいて実現されてよい。 At least one of the recognition unit 10 and the identification unit 12 includes at least one CPU, such as a CPU (Central Processing Unit) or a DSP (Digital Signal Processor), in order to provide control and processing capabilities for performing various functions. may include one processor. At least one of the recognition unit 10 and the identification unit 12 may be implemented by a single processor, several processors, or individual processors. A processor may be implemented as a single integrated circuit (IC). A processor may be implemented as a plurality of communicatively connected integrated and discrete circuits. The processor may be implemented based on various other known technologies.
 一実施形態において、認識部10及び識別部12の少なくとも一方は、例えばCPU及び当該CPUで実行されるプログラムとして構成されてよい。認識部10及び識別部12の少なくとも一方において実行されるプログラム、並びに、認識部10及び識別部12の少なくとも一方において実行された処理の結果などは、例えば記憶部14に記憶されてよい。認識部10及び識別部12の少なくとも一方は、動作に必要なメモリを適宜含んでもよい。認識部10及び識別部12の少なくとも一方は、専用のハードウェアとして構成されてもよいし、少なくとも一部にソフトウェアを含めて構成されてもよいし、全てソフトウェアで構成されているとしてもよい。 In one embodiment, at least one of the recognition unit 10 and the identification unit 12 may be configured as, for example, a CPU and a program executed by the CPU. A program executed in at least one of the recognition unit 10 and the identification unit 12, a result of a process executed in at least one of the recognition unit 10 and the identification unit 12, etc. may be stored in the storage unit 14, for example. At least one of the recognition unit 10 and the identification unit 12 may appropriately include memory necessary for operation. At least one of the recognition unit 10 and the identification unit 12 may be configured as dedicated hardware, may include at least a portion of software, or may be configured entirely of software.
 記憶部14は、各種の情報を記憶するメモリとしての機能を有してよい。記憶部14は、例えば認識部10及び識別部12の少なくとも一方において実行されるプログラム、及び、これらの少なくとも一方において実行された処理の結果などを記憶してよい。第1実施形態において、記憶部14は、複数の物品のそれぞれのサイズ情報を、当該複数の物品のそれぞれに関連付けて記憶してもよい。記憶部14は、各種の情報を記憶するデータベースとしての機能を有してもよい。記憶部14に記憶される複数の物品のそれぞれのサイズ情報について、さらに後述する。 The storage unit 14 may have a function as a memory that stores various information. The storage unit 14 may store, for example, a program executed in at least one of the recognition unit 10 and the identification unit 12, a result of a process executed in at least one of these, and the like. In the first embodiment, the storage unit 14 may store size information of each of a plurality of articles in association with each of the plurality of articles. The storage unit 14 may have a function as a database that stores various information. The size information of each of the plurality of articles stored in the storage unit 14 will be further described later.
 また、記憶部14は、認識部10及び識別部12の少なくとも一方のワークメモリとして機能してよい。記憶部14は、例えば半導体メモリ等により構成することができるが、これに限定されず、任意の記憶装置とすることができる。例えば、記憶部14は、一実施形態に係る電子機器1に挿入されたメモリカードのような記憶媒体としてもよい。また、記憶部14は、認識部10及び識別部12の少なくとも一方として用いられるCPUの内部メモリであってもよいし、認識部10及び識別部12の少なくとも一方に別体として接続されるものとしてもよい。 Furthermore, the storage unit 14 may function as a work memory for at least one of the recognition unit 10 and the identification unit 12. The storage unit 14 can be configured by, for example, a semiconductor memory or the like, but is not limited thereto, and can be any storage device. For example, the storage unit 14 may be a storage medium such as a memory card inserted into the electronic device 1 according to one embodiment. Further, the storage unit 14 may be an internal memory of a CPU used as at least one of the recognition unit 10 and the identification unit 12, or may be connected to at least one of the recognition unit 10 and the identification unit 12 as a separate body. Good too.
 通信部16は、有線又は無線により通信するためのインタフェースの機能を有する。一実施形態の通信部16によって行われる通信方式は無線通信規格としてよい。例えば、無線通信規格は2G、3G、4G、及び5G等のセルラーフォンの通信規格を含む。例えばセルラーフォンの通信規格は、LTE(Long Term Evolution)、W-CDMA(Wideband Code Division Multiple Access)、CDMA2000、PDC(Personal Digital Cellular)、GSM(登録商標)(Global System for Mobile communications)、及びPHS(Personal Handy-phone System)等を含む。例えば、無線通信規格は、WiMAX(Worldwide Interoperability for Microwave Access)、IEEE802.11、WiFi、Bluetooth(登録商標)、IrDA(Infrared Data Association)、及びNFC(Near Field Communication)等を含む。通信部16は、上記の通信規格の1つ又は複数をサポートすることができる。通信部16は、例えば電波を送受信するアンテナ及び適当なRF部などを含めて構成してよい。また、通信部16は、外部に有線接続するためのコネクタなどのようなインタフェースとして構成してもよい。通信部16は、無線通信を行うための既知の技術により構成できるため、より詳細なハードウェアなどの説明は省略する。 The communication unit 16 has an interface function for wired or wireless communication. The communication method performed by the communication unit 16 in one embodiment may be a wireless communication standard. For example, wireless communication standards include cellular phone communication standards such as 2G, 3G, 4G, and 5G. For example, communication standards for cellular phones include LTE (Long Term Evolution), W-CDMA (Wideband Code Division Multiple Access), CDMA2000, PDC (Personal Digital Cellular), GSM (registered trademark) (Global System for Mobile communications), and PHS. (Personal Handy-phone System), etc. For example, wireless communication standards include WiMAX (Worldwide Interoperability for Microwave Access), IEEE802.11, WiFi, Bluetooth (registered trademark), IrDA (Infrared Data Association), NFC (Near Field Communication), and the like. Communication unit 16 may support one or more of the communication standards described above. The communication unit 16 may include, for example, an antenna for transmitting and receiving radio waves, a suitable RF unit, and the like. Further, the communication unit 16 may be configured as an interface such as a connector for connecting to the outside by wire. Since the communication unit 16 can be configured using a known technique for performing wireless communication, a detailed description of the hardware and the like will be omitted.
 通信部16が受信する各種の情報は、例えば記憶部14、認識部10、及び/又は識別部12など供給されてよい。通信部16が受信する各種の情報は、例えば記憶部14及び/又は他のメモリなどに記憶されてもよい。また、通信部16は、例えば認識部10及び識別部12の少なくとも一方による処理結果、及び/又は、記憶部14に記憶された情報などを、外部に送信してもよい。 Various types of information received by the communication unit 16 may be supplied to, for example, the storage unit 14, the recognition unit 10, and/or the identification unit 12. Various types of information received by the communication unit 16 may be stored in the storage unit 14 and/or other memory, for example. Further, the communication unit 16 may transmit to the outside, for example, a processing result by at least one of the recognition unit 10 and the identification unit 12, and/or information stored in the storage unit 14.
 出力部18は、識別部12による識別結果を出力する。出力部18は、識別部12による識別結果として、物品及び/又は当該物品のサイズ情報を出力してよい。出力部18は、識別部12による識別結果の出力として、例えば音、音声、光、文字、映像、及び振動など、ユーザの聴覚、視覚、触覚の少なくともいずれかを刺激する任意の機能部としてよい。具体的には、出力部18は、例えばブザー又はスピーカのような音声出力部、LEDのような発光部、LCDのような表示部、及びバイブレータのような触感呈示部などの少なくともいずれかとしてよい。 The output unit 18 outputs the identification result by the identification unit 12. The output unit 18 may output the article and/or size information of the article as the identification result by the identification unit 12. The output unit 18 may be any functional unit that stimulates at least one of the user's auditory, visual, and tactile senses, such as sound, voice, light, text, video, and vibration, as output of the identification result by the identification unit 12. . Specifically, the output unit 18 may be at least one of a sound output unit such as a buzzer or a speaker, a light emitting unit such as an LED, a display unit such as an LCD, and a tactile sensation presentation unit such as a vibrator. .
 図1に示す電子機器1は、出力部18を内蔵している。しかしながら、一実施形態に係る電子機器1において、出力部18は、電子機器1の外部に設けられてもよい。この場合、出力部18は、外部機器に接続されるインタフェースとして機能してもよい。この場合、出力部18と電子機器1とは、有線若しくは無線、又は有線及び無線の組合せにより接続されてよい。 The electronic device 1 shown in FIG. 1 includes an output section 18. However, in the electronic device 1 according to one embodiment, the output unit 18 may be provided outside the electronic device 1. In this case, the output unit 18 may function as an interface connected to external equipment. In this case, the output unit 18 and the electronic device 1 may be connected by wire, wireless, or a combination of wire and wireless.
 次に、第1実施形態に係る電子機器1の動作について説明する。 Next, the operation of the electronic device 1 according to the first embodiment will be described.
 従来、物品を撮像した画像から、当該物品(の種別)を認識する試みが知られている。例えば、図1に示す物品α1と物品β1とは、形態が異なる物品であるとする。この場合、例えば画像認識技術などを採用することで、図1に示す物品α1が撮像された画像から当該物品α1を認識し、図1に示す物品β1が撮像された画像から当該物品β1を認識する技術が知られている。また、画像認識技術などを採用することで、図1に示す物品α1及び物品β1が含まれて撮像された画像から、当該物品α1と当該物品β1とを区別して認識する技術も知られている。 Conventionally, attempts have been known to recognize (the type of) an article from an image of the article. For example, it is assumed that the article α1 and the article β1 shown in FIG. 1 are articles having different shapes. In this case, for example, by employing image recognition technology, the article α1 shown in FIG. 1 is recognized from the captured image, and the article β1 shown in FIG. 1 is recognized from the captured image. There are known techniques to do this. Furthermore, a technique is also known that employs image recognition technology or the like to distinguish and recognize the article α1 and the article β1 from an image captured including the article α1 and the article β1 shown in FIG. .
 しかしながら、上述のような技術においては、異なる形態(外形)を有する物品の区別はできても、同一又は類似の形態でサイズの異なる物品の識別は困難である。例えば、図1に示す物品α1と物品α2とは、同一又は類似の形態でサイズの異なる物品であるとする。すなわち、物品α1と物品α2とは同一又は類似のデザインで、物品α1はサイズ小、物品α2はサイズ大であるものとする。この場合、図1に示す物品α1及び物品α2が含まれて撮像された画像から、当該物品α1と当該物品α2とを区別して認識する精度を高めることは困難であった。 However, with the techniques described above, although it is possible to distinguish between articles having different shapes (outer shapes), it is difficult to distinguish between articles having the same or similar shapes but different sizes. For example, it is assumed that the article α1 and the article α2 shown in FIG. 1 are articles having the same or similar shapes but different sizes. That is, it is assumed that the article α1 and the article α2 have the same or similar designs, and the article α1 is small in size and the article α2 is large in size. In this case, it has been difficult to improve the accuracy of distinguishing and recognizing the article α1 and the article α2 from the captured image including the article α1 and the article α2 shown in FIG.
 そこで、第1実施形態においては、各物品のサイズの情報、及び物品が撮像された際の距離の情報に基づいて、同一又は類似の形態でサイズの異なる物品を識別する。 Therefore, in the first embodiment, articles of the same or similar form but different sizes are identified based on information on the size of each article and information on the distance at which the article was imaged.
 図2は、第1実施形態に係る電子機器1による識別処理を説明する図である。図2は、図1に示したような盤面100に物品を置いた状態で、撮像部20が物品の画像を上から撮像した様子の例を示す図である。図2においては、撮像部20の撮像対象として、盤面100の上に置かれた物品A1、A2、及びBを示してある。図2に示す盤面100は、図1と同様に、に示すXY平面に平行な広がりを有してよい。また、図2に示すZ軸も、図1と同様に、例えば鉛直方向の上向きとしてよい。このように、撮像部20は、盤面100の上に置かれた物品A1、A2、及びBを、上から撮像するように配置されているものとする。 FIG. 2 is a diagram illustrating identification processing by the electronic device 1 according to the first embodiment. FIG. 2 is a diagram illustrating an example of how the imaging unit 20 captures an image of an article from above with the article placed on the board 100 as shown in FIG. In FIG. 2, articles A1, A2, and B placed on the board 100 are shown as objects to be imaged by the imaging unit 20. The board surface 100 shown in FIG. 2 may have an extension parallel to the XY plane shown in FIG. 1, as in FIG. Further, the Z axis shown in FIG. 2 may also be directed upward in the vertical direction, for example, similarly to FIG. 1. In this way, it is assumed that the imaging unit 20 is arranged so as to image the articles A1, A2, and B placed on the board 100 from above.
 第1実施形態においては、認識部10によって認識される物品に外接する矩形(直角四角形)の概念を導入する。撮像部20によって例えば上から撮像された画像に含まれる物品は、その物品に外接する矩形(直角四角形)を規定することができる。例えば、図2に示す物品A1及びA2は、それぞれ円形(または楕円形)の形態(外形)を有するが、それぞれに外接する矩形を規定することができる。図2に示す例においては、物品A1及びA2にそれぞれ外接する矩形は、図に示すX軸及びY軸に平行な辺を有する。しかしながら、物品A1及びA2にそれぞれ外接する矩形は、必ずしもX軸及びY軸に平行な辺でなくとも、所定の方向を基準とした辺を有してもよい。矩形は全ての角が直角であるため、物品に外接する矩形の直角をなす2辺によって、任意の物品のサイズをそれぞれ規定することができる。 In the first embodiment, the concept of a rectangle (right quadrilateral) circumscribing the article recognized by the recognition unit 10 is introduced. For an article included in an image captured, for example, from above by the imaging unit 20, a rectangle (right-angled quadrilateral) circumscribing the article can be defined. For example, although articles A1 and A2 shown in FIG. 2 each have a circular (or elliptical) shape (outer shape), a rectangle circumscribing each can be defined. In the example shown in FIG. 2, rectangles circumscribing each of articles A1 and A2 have sides parallel to the X-axis and Y-axis shown in the figure. However, the rectangles circumscribing each of the articles A1 and A2 do not necessarily have sides parallel to the X-axis and the Y-axis, but may have sides based on a predetermined direction. Since all corners of a rectangle are right angles, the size of an arbitrary article can be defined by the two right-angled sides of the rectangle that circumscribe the article.
 そこで、第1実施形態において、認識部10によって認識される物品に外接する矩形の直角をなす2辺の長さを、例えば(x,y)のように示すことができる。例えば、図2に示すように、物品A1に外接する矩形の直角をなす2辺の長さを(x1,y1)のように示すことができる。また、図2に示すように、物品A2に外接する矩形の直角をなす2辺の長さを(x2,y2)のように示す。 Therefore, in the first embodiment, the lengths of two right-angled sides of a rectangle circumscribing the article recognized by the recognition unit 10 can be expressed as (x, y), for example. For example, as shown in FIG. 2, the lengths of two right-angled sides of a rectangle circumscribing the article A1 can be expressed as (x1, y1). Further, as shown in FIG. 2, the lengths of two right-angled sides of a rectangle circumscribing the article A2 are shown as (x2, y2).
 また、図2に示す物品Bのように、例えば物品の形態(外形)そのものが矩形である場合、当該矩形を物品Bに外接する矩形としてもよい。この場合、例えば、図2に示す物品Bに外接する矩形の直角をなす2辺の長さを(x3,y3)としてもよい。 Furthermore, for example, when the shape (outer shape) of the article itself is a rectangle, such as article B shown in FIG. 2, the rectangle may be a rectangle that circumscribes article B. In this case, for example, the lengths of two right-angled sides of a rectangle circumscribing article B shown in FIG. 2 may be (x3, y3).
 第1実施形態において、物品を当該物品のサイズとともに識別するために、複数の物品のそれぞれのサイズ情報を、当該複数の物品のそれぞれに関連付けて、例えば記憶部14に記憶してもよい。ここで、複数の物品のそれぞれのサイズ情報とは、例えば上述のような、認識部10によって認識される物品に外接する矩形の直角をなす2辺の長さとしてよい。すなわち、第1実施形態に係る電子機器1の記憶部14は、認識部10によって認識される複数の物品にそれぞれ外接する矩形の直角をなす2辺の長さを、当該複数の物品のそれぞれに関連付けて記憶してよい。 In the first embodiment, size information for each of a plurality of articles may be stored in the storage unit 14, for example, in association with each of the plurality of articles, in order to identify the article together with the size of the article. Here, the size information of each of the plurality of articles may be, for example, the length of two right-angled sides of a rectangle circumscribing the article recognized by the recognition unit 10, as described above. That is, the storage unit 14 of the electronic device 1 according to the first embodiment stores the lengths of two right-angled sides of a rectangle that circumscribes each of the plurality of articles recognized by the recognition unit 10 for each of the plurality of articles. You can remember it in association.
 図3は、第1実施形態に係る電子機器1の記憶部14に記憶される情報の例を示す図である。 FIG. 3 is a diagram showing an example of information stored in the storage unit 14 of the electronic device 1 according to the first embodiment.
 図3に示すように、第1実施形態に係る電子機器1は、複数の物品のそれぞれについて、認識部10によって認識される物品に外接する矩形の直角をなす2辺の長さなどの情報を関連付けて、例えば記憶部14に記憶してよい。図3に示すテーブルは、左側の欄から、商品ID、商品名、サイズ情報x、サイズ情報y、価格、及び、その他の項目が、それぞれの商品(物品)に関連付けて記憶されている様子を概念的に示している。 As shown in FIG. 3, the electronic device 1 according to the first embodiment collects information such as the lengths of two right-angled sides of a rectangle circumscribing the article recognized by the recognition unit 10, for each of the plurality of articles. For example, they may be stored in the storage unit 14 in association with each other. The table shown in FIG. 3 shows how product ID, product name, size information x, size information y, price, and other items are stored in association with each product (article) from the left column. Shown conceptually.
 図3において、商品IDとは、例えば当該物品の識別番号などとしてよい。例えば、物品A1を示す商品IDを「1」などとし、物品A2を示す商品IDを「2」などとしてよい。また、図3において、商品名とは、当該物品の名称などとしてよい。例えば、物品A1を示す商品名を「食品A(大)」などとし、物品A2を示す商品名を「食品A(中)」などとしてよい。また、図3において、サイズ情報x及びyは、当該物品に外接する矩形の直角をなす2辺の長さ(x,y)としてよい。例えば、物品A1に外接する矩形の直角をなす2辺の長さを、60mm及び60mmなどとしてよい。また、物品A2に外接する矩形の直角をなす2辺の長さを、45mm及び45mmなどとしてよい。また、図3において、価格とは、物品の希望小売価格などとしてよい。例えば、物品A1の価格を「240円」などとし、物品A2の価格を「130円」などとしてよい。さらに、図3において、その他の項目とは、例えば当該物品に外接する矩形の直角をなす2辺の長さ(x,y)が計測された方向を示す情報など、任意の情報としてよい。図3に示すテーブルは、単なる例示である。一実施形態に係る電子機器1の記憶部14は、図3に示す項目の情報の一部を記憶しなくてもよいし、図3に示す以外の項目の情報を適宜記憶してもよい。 In FIG. 3, the product ID may be, for example, the identification number of the product. For example, the product ID indicating article A1 may be set to "1", and the product ID indicating article A2 may be set to "2". Further, in FIG. 3, the product name may be the name of the article. For example, the product name indicating article A1 may be "Food A (large)" and the product name indicating article A2 may be "Food A (medium)." Further, in FIG. 3, the size information x and y may be the lengths (x, y) of two right-angled sides of a rectangle circumscribing the article. For example, the lengths of two right-angled sides of a rectangle circumscribing the article A1 may be 60 mm and 60 mm. Further, the lengths of two right-angled sides of the rectangle circumscribing the article A2 may be set to 45 mm and 45 mm, for example. Further, in FIG. 3, the price may be the suggested retail price of the article. For example, the price of article A1 may be set to "240 yen," and the price of article A2 may be set to "130 yen." Further, in FIG. 3, other items may be any information such as information indicating the direction in which the lengths (x, y) of two right-angled sides of a rectangle circumscribing the article are measured. The table shown in FIG. 3 is merely illustrative. The storage unit 14 of the electronic device 1 according to one embodiment may not store part of the information on the items shown in FIG. 3, or may store information on items other than those shown in FIG. 3 as appropriate.
 第1実施形態に係る電子機器1は、物品の識別動作の開始時までに、図3に示すテーブルに含まれ得る情報を取得して、例えば記憶部14に記憶してよい。一実施形態において、電子機器1は、物品の識別動作の開始時までに、典型的には取扱商品の登録時などに、各物品のサイズ情報の実測値を取得してもよい。ここで、各物品のサイズ情報の実測値は、ユーザなどによって実測された値が入力されてもよいし、カタログ値などのスペックが入力されてもよい。また、一実施形態において、電子機器1は、物品の識別動作の開始時までに、電子機器1の撮像部20によって撮像された画像から、各物品のサイズ情報を取得してもよい。また、第1実施形態に係る電子機器1は、図3に示すテーブルに含まれ得る情報を、予め取得して記憶部14に記憶しておいてもよい。また、第1実施形態に係る電子機器1は、図3に示すテーブルに含まれ得る情報を、必要に応じて通信部16を介して例えば外部サーバなどから取得してもよい。 The electronic device 1 according to the first embodiment may acquire information that may be included in the table shown in FIG. 3 and store it in the storage unit 14, for example, by the time the article identification operation is started. In one embodiment, the electronic device 1 may acquire the actual measurement value of the size information of each article by the start of the article identification operation, typically when registering the handled products. Here, as the actual measurement value of the size information of each article, a value actually measured by a user or the like may be input, or a specification such as a catalog value may be input. Further, in one embodiment, the electronic device 1 may acquire size information of each article from an image captured by the imaging unit 20 of the electronic device 1 before starting the article identification operation. Further, the electronic device 1 according to the first embodiment may acquire information that may be included in the table shown in FIG. 3 in advance and store it in the storage unit 14. Further, the electronic device 1 according to the first embodiment may acquire information that may be included in the table shown in FIG. 3 from, for example, an external server via the communication unit 16 as necessary.
 例えば一実施形態に係る電子機器1において、撮像部20によって撮像された物品の実寸が判定できれば、図3に示すような情報を参照(照合)することにより、その物品を当該物品のサイズとともに識別することができる。しかしながら、電子機器1において、撮像部20によって撮像された物品の画像から、当該物品の実際の大きさを正確に判定することは困難である。 For example, in the electronic device 1 according to one embodiment, if the actual size of the article imaged by the imaging unit 20 can be determined, the article can be identified together with the size by referring to (verifying) information as shown in FIG. can do. However, in the electronic device 1, it is difficult to accurately determine the actual size of the article from the image of the article captured by the imaging unit 20.
 図1に示したように、撮像部20は、盤面100から図1に示すZ軸の正方向に距離dだけ離間して配置されているものとする。例えば、電子機器1の使用態様として、ユーザなどによって盤面100の上に物品が置かれると、撮像部20によって撮像された画像に基づいて当該物品がサイズとともに識別されるようにしてもよい。この場合、物品を配置する盤面100と撮像部20との位置関係は固定してもよい。このようにすれば、図1に示す距離dを固定値とすることができる。また、図1に示す距離dは、予め実測により長さを測定することができる。したがって、第1実施形態に係る電子機器1において、図1に示す距離dは、既知の固定値としてよい。 As shown in FIG. 1, it is assumed that the imaging unit 20 is arranged a distance d from the board surface 100 in the positive direction of the Z-axis shown in FIG. For example, as a usage mode of the electronic device 1, when an article is placed on the board 100 by a user or the like, the article may be identified along with its size based on an image captured by the imaging section 20. In this case, the positional relationship between the board 100 on which the article is placed and the imaging section 20 may be fixed. In this way, the distance d shown in FIG. 1 can be set to a fixed value. Moreover, the length of the distance d shown in FIG. 1 can be measured in advance by actual measurement. Therefore, in the electronic device 1 according to the first embodiment, the distance d shown in FIG. 1 may be a known fixed value.
 そこで、第1実施形態に係る電子機器1は、既知の固定値である距離dに応じて、認識部10によって認識される物品に外接する矩形の直角をなす2辺の長さを補正してもよい。ここで、認識部10によって認識される物品とは、撮像部20によって撮像された画像に含まれる物品としてよい。また、距離dとは、例えば図1に示すように、物品が配置される位置から当該物品の画像を撮像する撮像部20が配置される位置までの距離としてよい。 Therefore, the electronic device 1 according to the first embodiment corrects the lengths of the two right-angled sides of the rectangle circumscribing the article recognized by the recognition unit 10 according to the distance d, which is a known fixed value. Good too. Here, the article recognized by the recognition unit 10 may be an article included in an image captured by the imaging unit 20. Further, the distance d may be, for example, as shown in FIG. 1, a distance from a position where an article is placed to a position where an imaging unit 20 that captures an image of the article is placed.
 一般的に、図1に示す距離dが長くなるにつれて、撮像部20によって撮像される画像から認識される物品に外接する矩形の直角をなす2辺の長さは短くなる傾向にある。したがって、図1に示す距離d(既知の固定値)に対応して、撮像部20によって撮像される画像から認識される物品に外接する矩形の直角をなす2辺の長さを長く補正する比率を、例えば実測によって求めてもよい。また、図1に示す距離d(既知の固定値)に対応して、撮像部20によって撮像される画像から認識される物品に外接する矩形の直角をなす2辺の長さを長く補正する比率を、例えば理論値から割り出してもよい。 In general, as the distance d shown in FIG. 1 becomes longer, the lengths of two right-angled sides of a rectangle circumscribing the article recognized from the image captured by the imaging unit 20 tend to become shorter. Therefore, in accordance with the distance d (known fixed value) shown in FIG. may be determined, for example, by actual measurement. In addition, in accordance with the distance d (known fixed value) shown in FIG. may be determined, for example, from a theoretical value.
 上述のようにして撮像部20によって撮像される画像から認識される物品に外接する矩形の直角をなす2辺の補正された長さは、当該物品の現物に外接する矩形の直角をなす2辺の長さと同視し得る。このため、電子機器1によれば、撮像部20によって撮像される画像から認識される物品に外接する矩形の直角をなす2辺の補正された長さに基づいて、記憶部14のサイズ情報を参照することにより、その物品をサイズとともに識別することができる。 The corrected lengths of the two right-angled sides of the rectangle circumscribing the article recognized from the image captured by the imaging unit 20 as described above are the two right-angled sides of the rectangle circumscribing the actual article. can be equated with the length of Therefore, according to the electronic device 1, the size information in the storage unit 14 is stored based on the corrected lengths of the two right-angled sides of the rectangle circumscribing the object recognized from the image captured by the imaging unit 20. By reference, the article can be identified along with its size.
 図4は、第1実施形態に係る電子機器1の動作を説明するフローチャートである。以下、図4を参照して、第1実施形態に係る電子機器1の動作(識別動作)を説明する。 FIG. 4 is a flowchart explaining the operation of the electronic device 1 according to the first embodiment. Hereinafter, with reference to FIG. 4, the operation (identification operation) of the electronic device 1 according to the first embodiment will be described.
 図4に示す動作は、例えば図1に示すように、盤面100の上に物品が載せられた状態で、撮像部20が当該物品の画像を撮像している状態で開始してよい。このような状況において、第1実施形態に係る電子機器1は、盤面100の上に載せられた物品を、そのサイズとともに識別する。また、図4に示す動作が開始する時点において、上述したように、図1に示す距離dは既知の固定値とする。また、図4に示す動作が開始する時点において、上述したように、撮像部20によって撮像される画像から認識される物品に外接する矩形の直角をなす2辺の長さを補正する比率は既知(求めてある)とする。 The operation shown in FIG. 4 may be started, for example, as shown in FIG. 1, with an article placed on the board 100 and the imaging unit 20 capturing an image of the article. In such a situation, the electronic device 1 according to the first embodiment identifies the item placed on the board 100 along with its size. Furthermore, at the time when the operation shown in FIG. 4 starts, the distance d shown in FIG. 1 is assumed to be a known fixed value, as described above. Furthermore, at the time when the operation shown in FIG. 4 starts, as described above, the ratio for correcting the lengths of the two right-angled sides of the rectangle circumscribing the article recognized from the image captured by the imaging unit 20 is known. (I have asked for it).
 図4に示す動作が開始すると、ステップS11において、第1実施形態に係る電子機器1は、撮像部20によって撮像された物品の画像を取得する。次に、ステップS12において、認識部10は、電子機器1が取得した画像から、当該画像に含まれる(映っている)物品を認識する。ここで、認識される物品の数は、1つでもよいし、2つ以上でもよい。認識部10によって認識された物品の情報は、識別部12に供給される。 When the operation shown in FIG. 4 starts, in step S11, the electronic device 1 according to the first embodiment acquires an image of the article captured by the imaging unit 20. Next, in step S12, the recognition unit 10 recognizes, from the image acquired by the electronic device 1, an article included in (shown in) the image. Here, the number of recognized articles may be one, or two or more. Information on the article recognized by the recognition section 10 is supplied to the identification section 12 .
 次に、ステップS13において、識別部12は、認識部10によって認識された物品に外接する矩形を抽出する。ここで、抽出される矩形の数は、認識部10によって認識された物品の数だけ抽出されてよい。また、ステップS13において、認識部10によって認識された物品に外接する矩形を、必ずしも画像処理によって画像として抽出しなくてもよい。ステップS13において、認識部10によって認識された物品に外接する矩形を、概念的に抽出してもよい。 Next, in step S13, the identification unit 12 extracts a rectangle that circumscribes the article recognized by the recognition unit 10. Here, the number of rectangles to be extracted may be equal to the number of articles recognized by the recognition unit 10. Furthermore, in step S13, the rectangle circumscribing the article recognized by the recognition unit 10 does not necessarily have to be extracted as an image through image processing. In step S13, a rectangle circumscribing the article recognized by the recognition unit 10 may be conceptually extracted.
 上述の矩形が抽出されたら、ステップS14において、識別部12は、抽出された矩形において、当該矩形の直角をなす2辺の長さ(x,y)を抽出する。次に、ステップS15において、識別部12は、当該物品までの距離dに応じて、抽出された2辺の長さ(x,y)を補正する。以下、ステップS15において2辺の長さ(x,y)が補正されたものを、「補正された2辺の長さ(x’,y’)」とも記す。 Once the above-mentioned rectangle is extracted, in step S14, the identification unit 12 extracts the lengths (x, y) of two right-angled sides of the extracted rectangle. Next, in step S15, the identification unit 12 corrects the extracted lengths of the two sides (x, y) according to the distance d to the article. Hereinafter, the length of the two sides (x, y) corrected in step S15 will also be referred to as the "corrected length of the two sides (x', y')."
 次に、ステップS16において、識別部12は、記憶部14のサイズ情報を参照することにより、補正された2辺の長さ(x’,y’)に合致するものを照合する。補正された2辺の長さ(x’,y’)に合致するものが照合されれば、ステップS17において、識別部12は、照合された物品の商品ID及び/又は名称などを、当該物品のサイズなどとともに識別してよい。 Next, in step S16, the identification unit 12 refers to the size information in the storage unit 14 to match the corrected lengths of the two sides (x', y'). If the corrected lengths of the two sides (x', y') are matched, in step S17, the identification unit 12 identifies the product ID and/or name of the matched product as the product. It may be identified along with the size etc.
 このようにして識別された物品及び物品のサイズは、例えば出力部18から、音、表示、及び/又は触感などによって出力してもよい。また、識別された物品及び物品のサイズは、通信部16を介して例えば外部サーバなどの他の機器に送信されてもよい。また、識別された物品及び物品のサイズは、記憶部17に記憶されてもよい。さらに、識別された物品及び物品のサイズは、例えば無人レジなどのような会計機に登録されてもよい。 The thus identified article and the size of the article may be output from the output unit 18, for example, by sound, display, and/or tactile sensation. Further, the identified article and the size of the article may be transmitted to another device such as an external server via the communication unit 16. Further, the identified article and the size of the article may be stored in the storage unit 17. Additionally, the identified item and item size may be registered in a checkout machine, such as an unmanned cash register.
 このように、第1実施形態に係る電子機器1の識別部12は、認識部10によって認識される物品に外接する矩形の直角をなす2辺の長さ(x,y)に基づいて、その物品を当該物品のサイズとともに識別する。また、第1実施形態に係る電子機器1の記憶部14は、複数の物品のそれぞれに外接する矩形の直角をなす2辺の長さを前記複数の物品のそれぞれに関連付けて記憶してよい。この場合、第1実施形態に係る電子機器1の識別部12は、記憶部14に記憶された情報を参照することにより、上述のような識別を実行してもよい。また、識別部12は、物品が配置される位置から当該物品の画像を撮像する撮像部20が配置される位置までの距離dに応じて、認識部10によって認識される前記物品に外接する矩形の直角をなす2辺の長さを補正してもよい。 In this way, the identification unit 12 of the electronic device 1 according to the first embodiment identifies the item based on the lengths (x, y) of the two right-angled sides of the rectangle circumscribing the item recognized by the recognition unit 10. Identify the item along with the size of the item. Furthermore, the storage unit 14 of the electronic device 1 according to the first embodiment may store the lengths of two right-angled sides of a rectangle circumscribing each of the plurality of articles in association with each of the plurality of articles. In this case, the identification unit 12 of the electronic device 1 according to the first embodiment may perform the above-described identification by referring to information stored in the storage unit 14. Further, the identification unit 12 generates a rectangle circumscribing the item recognized by the recognition unit 10 according to a distance d from a position where the item is placed to a position where an imaging unit 20 that captures an image of the item is placed. The lengths of two sides forming right angles may be corrected.
 以上説明したように、第1実施形態に係る電子機器1によれば、同一又は類似の形態でサイズの異なる物品を良好な精度で識別することができる。したがって、第1実施形態に係る電子機器1によれば、デザインを共通にしつつ大きさの異なる物品を、それぞれ見分けることができる。 As explained above, according to the electronic device 1 according to the first embodiment, it is possible to identify articles of the same or similar form but different sizes with good accuracy. Therefore, according to the electronic device 1 according to the first embodiment, it is possible to distinguish between articles having a common design and different sizes.
(第2実施形態)
 次に、第2実施形態に係る電子機器について説明する。
(Second embodiment)
Next, an electronic device according to a second embodiment will be described.
 第2実施形態に係る電子機器は、図1に示した第1実施形態に係る電子機器1と同様又は類似の構成としてよい。したがって、第2実施形態に係る電子機器は、以下、第2実施形態に係る電子機器1と記す。第2実施形態に係る電子機器1は、第1実施形態に係る電子機器1と同様に構成することができる一方、第1実施形態に係る電子機器1とは異なる処理を行う。第2実施形態に係る電子機器1について、図1乃至図4に示した電子機器1と同様又は類似する内容の説明は、適宜、簡略化又は省略することがある。 The electronic device according to the second embodiment may have the same or similar configuration to the electronic device 1 according to the first embodiment shown in FIG. 1. Therefore, the electronic device according to the second embodiment will be hereinafter referred to as the electronic device 1 according to the second embodiment. The electronic device 1 according to the second embodiment can be configured similarly to the electronic device 1 according to the first embodiment, but performs different processing from the electronic device 1 according to the first embodiment. Regarding the electronic device 1 according to the second embodiment, description of contents that are the same or similar to those of the electronic device 1 shown in FIGS. 1 to 4 may be simplified or omitted as appropriate.
 第1実施形態においては、図1に示した距離dは、既知の固定値であるものとした。しかしながら、実際の使用態様によっては、図1に示した距離dを予め正確に知ることができない状況もあり得る。また、例えば撮像部20が可動式であるなどして、そもそも図1に示した距離dが可変であるような状況もあり得る。 In the first embodiment, the distance d shown in FIG. 1 is a known fixed value. However, depending on the actual usage, there may be situations where the distance d shown in FIG. 1 cannot be accurately known in advance. Furthermore, there may be a situation where the distance d shown in FIG. 1 is variable in the first place, for example because the imaging unit 20 is movable.
 そこで、第1実施形態に係る電子機器1は、図1に示した距離dが未知の値又は可変値の場合においても、その物品を当該物品のサイズとともに識別することを可能にする。 Therefore, the electronic device 1 according to the first embodiment makes it possible to identify the article together with the size of the article even when the distance d shown in FIG. 1 is an unknown value or a variable value.
 図5は、第2実施形態に係る電子機器1による識別処理を説明する図である。第2実施形態においては、盤面100の上に置かれた物品A1、A2、及びBなどの他に、図5に示すように、所定の基準標識Rも、撮像部20の撮像対象とする。この基準標識Rは、サイズが識別される物品と同じ画像に収まるように、撮像部20によって撮像されてよい。また、図1に示した距離dが不変の間であれば、基準標識Rは、サイズが識別される物品の画像とは異なる画像として、撮像部20によって撮像されてもよい。 FIG. 5 is a diagram illustrating identification processing by the electronic device 1 according to the second embodiment. In the second embodiment, in addition to the articles A1, A2, and B placed on the board 100, a predetermined reference mark R is also imaged by the imaging unit 20, as shown in FIG. This reference mark R may be imaged by the imaging unit 20 so that it fits in the same image as the article whose size is to be identified. Further, as long as the distance d shown in FIG. 1 remains unchanged, the reference mark R may be imaged by the imaging unit 20 as an image different from the image of the article whose size is to be identified.
 第2実施形態においては、図1に示した距離dが既知の固定値である代わりに、基準標識Rにおける所定部分の実際の長さを、既知の固定値とする。また、図5に示す基準標識Rにおける所定部分の実際の長さは、予め実測により長さを測定することができる。したがって、第2実施形態に係る電子機器1において、図5に示す基準標識Rにおける所定部分の実際の長さを、既知の固定値としてよい。例えば、図5に示す基準標識Rは、横方向(X軸に平行な方向)の長さの実測値は50mmであったとする。基準標識Rは、撮像部20が盤面100の上に置かれた物品A1、A2、及びBなどを撮像する際に、撮像部20によって撮像されるように配置されるようにしてよい。 In the second embodiment, instead of the distance d shown in FIG. 1 being a known fixed value, the actual length of a predetermined portion of the reference mark R is a known fixed value. Further, the actual length of the predetermined portion of the reference mark R shown in FIG. 5 can be measured in advance by actual measurement. Therefore, in the electronic device 1 according to the second embodiment, the actual length of the predetermined portion of the reference mark R shown in FIG. 5 may be set to a known fixed value. For example, it is assumed that the actual measurement value of the length of the reference mark R shown in FIG. 5 in the lateral direction (direction parallel to the X-axis) is 50 mm. The reference mark R may be arranged so as to be imaged by the imaging unit 20 when the imaging unit 20 images the articles A1, A2, B, etc. placed on the board 100.
 第2実施形態に係る電子機器1は、既知の固定値である基準標識Rにおける所定部分の実際の長さに応じて、認識部10によって認識される物品に外接する矩形の直角をなす2辺の長さを補正してもよい。その他の点については、第2実施形態に係る電子機器1は、第1実施形態に係る電子機器1と同様に動作するものとしてよい。 The electronic device 1 according to the second embodiment has two sides forming right angles of a rectangle circumscribing the article recognized by the recognition unit 10, depending on the actual length of a predetermined portion of the reference mark R, which is a known fixed value. The length of may be corrected. Regarding other points, the electronic device 1 according to the second embodiment may operate in the same manner as the electronic device 1 according to the first embodiment.
 第2実施形態において、基準標識Rは、種々の態様とすることができる。例えば、図5に示す基準標識Rは、横方向(X軸に平行な方向)の長さの基準として用いることを想定している。しかしながら、一実施形態において、例えば基準標識Rをリボン状の領域とすることで、横方向(X軸に平行な方向)及び縦方向(Y軸に平行な方向)の長さの基準として用いてもよい。基準標識Rは、認識部10によって認識され識別部12によって識別される際に、ノイズと判定されにくい形態としてよい。 In the second embodiment, the reference mark R can take various forms. For example, the reference mark R shown in FIG. 5 is intended to be used as a reference for the length in the lateral direction (direction parallel to the X-axis). However, in one embodiment, for example, the reference mark R is made into a ribbon-shaped area, so that it can be used as a reference for the length in the horizontal direction (direction parallel to the X axis) and the vertical direction (direction parallel to the Y axis). Good too. The reference mark R may have a form that is difficult to be determined as noise when recognized by the recognition unit 10 and identified by the identification unit 12.
 また、第2実施形態において、基準標識Rは、例えば図5に示すように、物品が配置される盤面100上に付される標識としてよい。また、第2実施形態において、基準標識Rは、例えば図5に示すように、サイズが識別される物品とは異なる物品(例えば盤面100)に付される標識としてもよい。また、第2実施形態において、基準標識Rは、物品が配置される盤面100上であって、当該物品とともに撮像部20によって撮像される位置に付される標識としてもよい。 Furthermore, in the second embodiment, the reference mark R may be a mark attached on the board 100 on which the article is placed, as shown in FIG. 5, for example. Further, in the second embodiment, the reference mark R may be a mark attached to an article (for example, the board 100) whose size is different from the article to be identified, as shown in FIG. 5, for example. Further, in the second embodiment, the reference mark R may be a mark attached to a position on the board 100 where the article is placed and imaged together with the article by the imaging unit 20.
 図6は、第2実施形態に係る電子機器1の動作を説明するフローチャートである。以下、図6を参照して、第2実施形態に係る電子機器1の動作(識別動作)を説明する。ただし、図6において、図4に記した第1実施形態に係る電子機器1の動作とは異なる点について述べる。 FIG. 6 is a flowchart illustrating the operation of the electronic device 1 according to the second embodiment. Hereinafter, with reference to FIG. 6, the operation (identification operation) of the electronic device 1 according to the second embodiment will be described. However, in FIG. 6, points that differ from the operation of the electronic device 1 according to the first embodiment shown in FIG. 4 will be described.
 図6に示す動作が開始する時点において、上述のように、図1に示す距離dは未知又は可変としてよい。一方、図6に示す動作が開始する時点において、また、図6に示す動作が開始する時点において、撮像部20によって撮像される画像から認識される物品に外接する矩形の直角をなす2辺の長さを補正する比率は既知(求めてある)とする。 At the time the operation shown in FIG. 6 starts, the distance d shown in FIG. 1 may be unknown or variable, as described above. On the other hand, at the time when the operation shown in FIG. 6 starts, and at the time when the operation shown in FIG. It is assumed that the ratio for correcting the length is known (calculated).
 図4に示す動作のステップS15においては、識別部12が、図1に示した距離dに応じて、抽出された2辺の長さ(x,y)を補正した。これに対し、図6に示す動作のステップS25においては、識別部12が、図5に示した基準標識Rにおける所定部分の実際の長さに応じて、ステップS14にて抽出された2辺の長さ(x,y)を補正する。図6に示す動作においては、識別部12がステップS25の動作を実行するまでに、撮像部20によって基準標識Rが撮像されてよい。それ以外の点においては、図6に示す動作は、図4に示す動作と同様の思想に基づいて実行することができる。 In step S15 of the operation shown in FIG. 4, the identification unit 12 corrected the lengths (x, y) of the two extracted sides according to the distance d shown in FIG. On the other hand, in step S25 of the operation shown in FIG. Correct the length (x, y). In the operation shown in FIG. 6, the reference mark R may be imaged by the imaging section 20 before the identification section 12 executes the operation of step S25. In other respects, the operation shown in FIG. 6 can be performed based on the same idea as the operation shown in FIG. 4.
 このように、第2実施形態に係る電子機器1の識別部12は、物品の画像を撮像する撮像部20によって撮像される基準標識Rにおける所定部分の実際の長さに応じて、認識部10によって認識される物品に外接する矩形の直角をなす2辺の長さを補正してもよい。ここで、基準標識Rは、サイズとともに識別される物品とは異なる物品に付される標識であってもよい。また、基準標識Rは、物品が配置される面(例えば盤面100)上であって前記物品とともに撮像部20によって撮像される位置に付される標識であってもよい。 In this way, the identification unit 12 of the electronic device 1 according to the second embodiment uses the recognition unit 10 according to the actual length of the predetermined portion of the reference mark R imaged by the imaging unit 20 that captures an image of the article. The lengths of two perpendicular sides of a rectangle circumscribed to the article recognized by can be corrected. Here, the reference mark R may be a mark attached to an article different from the article identified along with its size. Further, the reference mark R may be a mark attached to a position on a surface on which an article is placed (for example, the board surface 100) and is imaged together with the article by the imaging unit 20.
 以上説明したように、第2実施形態に係る電子機器1によれば、同一又は類似の形態でサイズの異なる物品を良好な精度で識別することができる。したがって、第2実施形態に係る電子機器1によっても、デザインを共通にしつつ大きさの異なる物品を、それぞれ見分けることができる。さらに、第2実施形態に係る電子機器1によれば、図1に示した距離dが未知であったり可変であったりしても、物品を当該物品のサイズとともに識別することができる。 As described above, according to the electronic device 1 according to the second embodiment, it is possible to identify articles of the same or similar form but different sizes with good accuracy. Therefore, with the electronic device 1 according to the second embodiment as well, it is possible to distinguish between items that have a common design but differ in size. Furthermore, according to the electronic device 1 according to the second embodiment, even if the distance d shown in FIG. 1 is unknown or variable, the article can be identified along with the size of the article.
 (変形例)
 図1に示した実施形態においては、認識部10と識別部12とは別の機能部として説明した。しかしながら、電子機器1は、図7に示すように、認識部10及び識別部12に代えて、認識部10及び識別部12の機能を備える処理部11を備えてもよい。処理部11は、認識部10及び/又は識別部12と同様に、例えばCPU(Central Processing Unit)又はDSP(Digital Signal Processor)のような、少なくとも1つのプロセッサを含んでよい。処理部11は、まとめて1つのプロセッサで実現してもよいし、いくつかのプロセッサで実現してもよい。このように、電子機器1は、物品が撮像された画像から認識される前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別してもよい。
(Modified example)
In the embodiment shown in FIG. 1, the recognition unit 10 and the identification unit 12 have been described as separate functional units. However, as shown in FIG. 7, the electronic device 1 may include a processing section 11 having the functions of the recognition section 10 and the identification section 12 instead of the recognition section 10 and the identification section 12. Like the recognition unit 10 and/or the identification unit 12, the processing unit 11 may include at least one processor such as a CPU (Central Processing Unit) or a DSP (Digital Signal Processor). The processing unit 11 may be realized by a single processor or may be realized by several processors. In this way, the electronic device 1 may identify the article along with its size based on the lengths of the two right-angled sides of the rectangle circumscribing the article, which are recognized from the image of the article. good.
 上述の実施形態においては、物品に外接する矩形をなす2辺は直角であるものとして説明した。しかしながら、物品に外接する矩形をなす2辺は直角でなくてもよい。例えば、図8に示す物品Cのように、菱形又は平行四辺形のような形状の物品の場合、物品に外接する矩形をなす2辺は当該物品の外形に合わせた角度としてもよい。例えば、図8に示す物品Cの場合、物品に外接する矩形の2辺の長さを、例えば(xm,ym)などとして処理してもよい。この場合、記憶部14は、当該物品のサイズ情報xm及びサイズ情報ymを、例えば商品(物品)ごとに記憶してよい。 In the above-described embodiment, the two sides of the rectangle circumscribing the article are at right angles. However, the two sides of the rectangle circumscribing the article do not have to be at right angles. For example, in the case of an article having a rhombus or parallelogram shape, such as article C shown in FIG. 8, the two sides of the rectangle circumscribing the article may be set at angles that match the outer shape of the article. For example, in the case of article C shown in FIG. 8, the lengths of two sides of a rectangle circumscribing the article may be processed as (xm, ym), for example. In this case, the storage unit 14 may store size information xm and size information ym of the article, for example, for each article (article).
 また、物品に外接する矩形は平行四辺形でなくてもよい。例えば、図8に示す物品Dのような形状の物品の場合、物品に外接する矩形の4辺の長さを、当該物品の外形に合わせて、例えば(xm’,xm”,ym’,ym”)などとして処理してもよい。この場合、記憶部14は、当該物品のサイズ情報xm’,xm”,ym’,ym”を、例えば商品(物品)ごとに記憶してもよい。 Furthermore, the rectangle circumscribing the article does not have to be a parallelogram. For example, in the case of an article having a shape like article D shown in FIG. ”), etc. In this case, the storage unit 14 may store size information xm', xm'', ym', ym'' of the article, for example, for each article (article).
 上述の実施形態及び変形例においては、物品に外接する矩形の少なくとも2辺の長さに基づいて、その物品をその物品のサイズとともに識別するものとして説明した。しかしながら、一実施形態において、物品に外接する矩形に基づいて、前記物品を当該物品のサイズとともに識別してもよい。すなわち、一実施形態において、物品に外接する矩形の少なくとも2辺又は物品に外接する矩形を構成する辺以外の判定基準に基づいて、前記物品を当該物品のサイズとともに識別してもよい。このように、電子機器1は、物品が撮像された画像から認識された前記物品に外接する矩形に基づいて、前記物品を当該物品のサイズとともに識別してもよい。 In the above-described embodiments and modifications, the article is identified based on the length of at least two sides of the rectangle circumscribing the article, along with the size of the article. However, in one embodiment, the article may be identified based on a rectangle circumscribing the article, as well as the size of the article. That is, in one embodiment, the article may be identified along with its size based on criteria other than at least two sides of a rectangle circumscribing the article or sides constituting the rectangle circumscribing the article. In this way, the electronic device 1 may identify the article along with the size of the article based on the rectangle circumscribing the article recognized from the image of the article.
 例えば、一実施形態において、物品に外接する矩形の1つの角をなす2辺のうち一方の辺に基づいて、前記物品を当該物品のサイズとともに識別してもよい。このようにすれば、単に1辺の長さに基づいて、物品をサイズとともに識別することができる。この場合、物品に外接する矩形の1つの角をなす2辺のうちいずれの1辺に基づいて物品及び物品のサイズを識別するか、予め決定しておいてもよい。例えば、物品に外接する矩形の1つの角をなす2辺のうちの1辺とは、当該矩形の特定の方向の(若しくは特定の方向に近い)1辺としてもよい。また、例えば、物品に外接する矩形の1つの角をなす2辺のうちの1辺とは、当該矩形をなす2辺のうち1辺として、最大又は最小の長さの辺としてもよい。このように、電子機器1は、物品に外接する矩形の2辺のうち一方の辺に基づいて、前記物品を当該物品のサイズとともに識別してもよい。また、電子機器1は、外接矩形に基づいて物品のサイズを識別する際、外接矩形の少なくとも一方の辺に基づいて識別してもよい。 For example, in one embodiment, the article may be identified along with its size based on one of two sides forming one corner of a rectangle circumscribing the article. In this way, articles can be identified along with their size simply based on the length of one side. In this case, it may be determined in advance which one of the two sides forming one corner of a rectangle circumscribing the article is used to identify the article and the size of the article. For example, one side of two sides forming one corner of a rectangle circumscribing the article may be one side of the rectangle in a specific direction (or close to the specific direction). Further, for example, one side of two sides forming one corner of a rectangle circumscribing the article may be one of the two sides forming the rectangle and having the maximum or minimum length. In this way, the electronic device 1 may identify the article along with the size of the article based on one of the two sides of the rectangle circumscribing the article. Further, when identifying the size of the article based on the circumscribed rectangle, the electronic device 1 may identify the size based on at least one side of the circumscribed rectangle.
 また、例えば、一実施形態において、物品に外接する矩形の対角線の長さに基づいて、前記物品を当該物品のサイズとともに識別してもよい。この場合、物品に外接する矩形の2つの対角線のいずれか1辺に基づいて物品及び物品のサイズを識別してもよいし、2つの対角線の双方に基づいて物品及び物品のサイズを識別してもよい。例えば、物品に外接する矩形の2つの対角線のいずれか1辺とは、当該対角線の特定の方向の(若しくは特定の方向に近い)1辺としてもよい。また、例えば、物品に外接する矩形の2つの対角線のいずれか1辺とは、当該2つの対角線のうち長い方としてもよいし、短い方としてもよい。このように、電子機器1は、物品に外接する矩形の対角線に基づいて、前記物品を当該物品のサイズとともに識別してもよい。また、電子機器1は、外接矩形に基づいて物品のサイズを識別する際、外接矩形の対角線に基づいて識別してもよい。 Furthermore, for example, in one embodiment, the article may be identified along with its size based on the length of a diagonal line of a rectangle circumscribing the article. In this case, the article and the size of the article may be identified based on one side of the two diagonals of the rectangle circumscribing the article, or the article and the size of the article may be identified based on both of the two diagonals. Good too. For example, one side of two diagonals of a rectangle circumscribing the article may be one side of the diagonal in a specific direction (or close to the specific direction). Further, for example, one side of the two diagonals of the rectangle circumscribing the article may be the longer one or the shorter one of the two diagonals. In this way, the electronic device 1 may identify the article along with the size of the article based on the diagonal of the rectangle circumscribing the article. Moreover, when identifying the size of an article based on the circumscribed rectangle, the electronic device 1 may identify the size based on the diagonal of the circumscribed rectangle.
 本開示に係る実施形態について、諸図面及び実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形又は修正を行うことが容易であることに注意されたい。従って、これらの変形又は修正は本開示の範囲に含まれることに留意されたい。例えば、各構成部又は各ステップなどに含まれる機能などは論理的に矛盾しないように再配置可能であり、複数の構成部又はステップなどを1つに組み合わせたり、或いは分割したりすることが可能である。本開示に係る実施形態について装置を中心に説明してきたが、本開示に係る実施形態は装置の各構成部が実行するステップを含む方法としても実現し得るものである。本開示に係る実施形態は装置が備えるプロセッサにより実行される方法、プログラム、又はプログラムを記録した記憶媒体としても実現し得るものである。本開示の範囲にはこれらも包含されるものと理解されたい。 Although the embodiments according to the present disclosure have been described based on the drawings and examples, it should be noted that those skilled in the art can easily make various changes or modifications based on the present disclosure. It should therefore be noted that these variations or modifications are included within the scope of this disclosure. For example, the functions included in each component or each step can be rearranged to avoid logical contradictions, and multiple components or steps can be combined or divided into one. It is. Although the embodiments according to the present disclosure have been described with a focus on the apparatus, the embodiments according to the present disclosure can also be realized as a method including steps executed by each component of the apparatus. Embodiments according to the present disclosure can also be realized as a method, a program, or a storage medium on which a program is recorded, which is executed by a processor included in an apparatus. It is to be understood that these are also encompassed within the scope of the present disclosure.
 また、上述した実施形態は、例えば、上述した電子機器の制御方法として実施してもよい。さらに、上述した実施形態は、例えば、上述した電子機器を含むシステムとして実施してもよい。例えば、上述した実施形態は、電子機器1及び撮像部20を含むシステムとして実施してもよい。また、上述した実施形態は、例えば、上述した電子機器又はシステムによって実行されるプログラムとして実施してもよい。さらに、上述した実施形態は、例えば、上述した電子機器又はシステムによって実行されるプログラムを記録した記録媒体、すなわちコンピュータ読み取り可能な記録媒体として実施してもよい。 Furthermore, the embodiments described above may be implemented, for example, as a method of controlling the electronic device described above. Furthermore, the embodiments described above may be implemented, for example, as a system including the electronic device described above. For example, the embodiment described above may be implemented as a system including the electronic device 1 and the imaging unit 20. Furthermore, the embodiments described above may be implemented, for example, as a program executed by the electronic device or system described above. Furthermore, the embodiments described above may be implemented, for example, as a recording medium recording a program executed by the electronic device or system described above, that is, a computer-readable recording medium.
 さらに、上述した実施形態の変形例として、例えば、一実施形態に係る電子機器1は、上述した識別部12のみ又は処理部11のみを有するような構成としてもよい。この場合、一実施形態に係る電子機器1は、物品が撮像された画像から認識された前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別してよい。 Furthermore, as a modification of the embodiment described above, for example, the electronic device 1 according to one embodiment may be configured to have only the identification section 12 or only the processing section 11 described above. In this case, the electronic device 1 according to the embodiment can identify the article based on the lengths of two right-angled sides of a rectangle circumscribing the article, which is recognized from the image of the article. May be identified.
 1 電子機器
 10 認識部
 12 識別部
 14 記憶部
 16 通信部
 18 出力部
 100 盤面
 
1 Electronic device 10 Recognition unit 12 Identification unit 14 Storage unit 16 Communication unit 18 Output unit 100 Panel surface

Claims (15)

  1.  物品が撮像された画像から当該物品を認識する認識部と、
     前記認識部によって認識される前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する識別部と、
     を備える電子機器。
    a recognition unit that recognizes the article from an image of the article;
    an identification section that identifies the article along with its size based on the lengths of two right-angled sides of a rectangle circumscribing the article recognized by the recognition section;
    Electronic equipment equipped with
  2.  複数の物品のそれぞれに外接する矩形の直角をなす2辺の長さを前記複数の物品のそれぞれに関連付けて記憶する記憶部を備える、請求項1に記載の電子機器。 The electronic device according to claim 1, further comprising a storage unit that stores lengths of two right-angled sides of a rectangle circumscribing each of the plurality of articles in association with each of the plurality of articles.
  3.  前記識別部は、前記記憶部に記憶された情報を参照することにより、前記認識部によって認識される前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する、請求項2に記載の電子機器。 The identification unit identifies the item as the item based on the lengths of two right-angled sides of a rectangle circumscribing the item recognized by the recognition unit by referring to information stored in the storage unit. The electronic device according to claim 2, wherein the electronic device is identified along with the size of the electronic device.
  4.  前記識別部は、前記物品が配置される位置から当該物品の画像を撮像する撮像部が配置される位置までの距離に応じて、前記認識部によって認識される前記物品に外接する矩形の直角をなす2辺の長さを補正する、請求項1から3のいずれかに記載の電子機器。 The identification unit determines a right angle of a rectangle circumscribing the item recognized by the recognition unit, depending on a distance from a position where the item is placed to a position where an imaging unit that captures an image of the item is placed. The electronic device according to any one of claims 1 to 3, wherein the length of two sides formed is corrected.
  5.  前記識別部は、前記物品の画像を撮像する撮像部によって撮像される基準標識における所定部分の実際の長さに応じて、前記認識部によって認識される前記物品に外接する矩形の直角をなす2辺の長さを補正する、請求項1から3のいずれかに記載の電子機器。 The identification section is configured to form a right angle of a rectangle circumscribing the article recognized by the recognition section, depending on the actual length of a predetermined portion of the reference mark imaged by an imaging section that captures an image of the article. The electronic device according to any one of claims 1 to 3, wherein the length of the side is corrected.
  6.  前記基準標識は、前記物品とは異なる物品に付される標識である、請求項5に記載の電子機器。 The electronic device according to claim 5, wherein the reference mark is a mark attached to an article different from the article.
  7.  前記基準標識は、前記物品が配置される面上であって前記物品とともに前記撮像部によって撮像される位置に付される標識である、請求項5に記載の電子機器。 The electronic device according to claim 5, wherein the reference mark is a mark attached to a position on a surface where the article is placed and is imaged together with the article by the imaging unit.
  8.  前記基準標識は、前記物品が配置される面上であって前記物品とともに前記撮像部によって撮像される位置に付される標識である、請求項6に記載の電子機器。 The electronic device according to claim 6, wherein the reference mark is a mark attached to a position on a surface where the article is placed and is imaged together with the article by the imaging unit.
  9.  物品が撮像された画像から認識された前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する、電子機器。 An electronic device that identifies the article along with its size based on the lengths of two right-angled sides of a rectangle circumscribing the article recognized from an image of the article.
  10.  物品が撮像された画像から認識された前記物品に外接する矩形に基づいて、前記物品を当該物品のサイズとともに識別する、電子機器。 An electronic device that identifies the article along with its size based on a rectangle circumscribing the article recognized from an image of the article.
  11.  前記矩形の2辺のうち一方の辺に基づいて、前記物品を当該物品のサイズとともに識別する、請求項10に記載の電子機器。 The electronic device according to claim 10, wherein the article is identified along with its size based on one of the two sides of the rectangle.
  12.  前記矩形の対角線に基づいて、前記物品を当該物品のサイズとともに識別する、請求項10に記載の電子機器。 The electronic device according to claim 10, wherein the article is identified along with the size of the article based on diagonals of the rectangle.
  13.  物品が撮像された画像から当該物品を認識する認識ステップと、
     前記認識ステップにおいて認識された前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する識別ステップと、
     を含む、電子機器の制御方法。
    a recognition step of recognizing the article from an image of the article;
    an identification step of identifying the article along with its size based on the lengths of two right-angled sides of a rectangle circumscribing the article recognized in the recognition step;
    Control methods for electronic devices, including:
  14.  複数の物品のそれぞれに外接する矩形の直角をなす2辺の長さを前記複数の物品のそれぞれに関連付けて記憶する記憶ステップを含む、請求項13に記載の電子機器の制御方法。 14. The method for controlling an electronic device according to claim 13, further comprising a storing step of storing the lengths of two right-angled sides of a rectangle circumscribing each of the plurality of articles in association with each of the plurality of articles.
  15.  前記識別ステップは、前記記憶ステップにおいて記憶された情報を参照することにより、前記認識ステップにおいて認識される前記物品に外接する矩形の直角をなす2辺の長さに基づいて、前記物品を当該物品のサイズとともに識別する、請求項14に記載の電子機器の制御方法。
     
     
     
    The identifying step refers to the information stored in the storing step to identify the article based on the lengths of two right-angled sides of a rectangle circumscribing the article recognized in the recognizing step. 15. The method for controlling an electronic device according to claim 14, wherein the method identifies the electronic device along with the size of the device.


PCT/JP2023/013865 2022-04-04 2023-04-03 Electronic instrument, and method for controlling electronic instrument WO2023195456A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022062663 2022-04-04
JP2022-062663 2022-04-04

Publications (1)

Publication Number Publication Date
WO2023195456A1 true WO2023195456A1 (en) 2023-10-12

Family

ID=88242964

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/013865 WO2023195456A1 (en) 2022-04-04 2023-04-03 Electronic instrument, and method for controlling electronic instrument

Country Status (1)

Country Link
WO (1) WO2023195456A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004212142A (en) * 2002-12-27 2004-07-29 System House Fukuchiyama:Kk Method of measuring dimension of image
JP2013054673A (en) * 2011-09-06 2013-03-21 Toshiba Tec Corp Information processor and program
JP2015201193A (en) * 2014-04-09 2015-11-12 英懋達光電股▲ふん▼有限公司Inventec Energy Corporation Image recognition device and image recognition method
JP2021152741A (en) * 2020-03-24 2021-09-30 株式会社フジタ Utterance control device
JP2021179721A (en) * 2020-05-12 2021-11-18 富士通株式会社 Conversation information estimation apparatus, method, and program
JP2021197105A (en) * 2020-06-18 2021-12-27 京セラ株式会社 Information processing system, information processing apparatus, and information processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004212142A (en) * 2002-12-27 2004-07-29 System House Fukuchiyama:Kk Method of measuring dimension of image
JP2013054673A (en) * 2011-09-06 2013-03-21 Toshiba Tec Corp Information processor and program
JP2015201193A (en) * 2014-04-09 2015-11-12 英懋達光電股▲ふん▼有限公司Inventec Energy Corporation Image recognition device and image recognition method
JP2021152741A (en) * 2020-03-24 2021-09-30 株式会社フジタ Utterance control device
JP2021179721A (en) * 2020-05-12 2021-11-18 富士通株式会社 Conversation information estimation apparatus, method, and program
JP2021197105A (en) * 2020-06-18 2021-12-27 京セラ株式会社 Information processing system, information processing apparatus, and information processing method

Similar Documents

Publication Publication Date Title
US11353319B2 (en) Method for a mobile dimensioning device to use a dynamic accuracy compatible with NIST standard
US10612958B2 (en) Mobile dimensioner apparatus to mitigate unfair charging practices in commerce
US10872444B2 (en) Display apparatus and control method thereof
US10097949B2 (en) Device, system, and method for determining the status of lanes
CN113630551B (en) Electronic device providing various functions by application using camera and operating method thereof
US20170053146A1 (en) Device with camera for accelerated barcode scan reading
US8577146B2 (en) Methods and devices that use an image-captured pointer for selecting a portion of a captured image
US20160328762A1 (en) Application independent dex/ucs interface
KR102220443B1 (en) Apparatas and method for using a depth information in an electronic device
US10098171B2 (en) Method and apparatus for performing wireless communication between terminals
WO2016052382A1 (en) Information processing device, shelf label management system, control method, and program
JP6646208B2 (en) Display control method, display control program, and information processing device
CA2947858C (en) Apparatus and method for performing a variable data capture process
CN112488914A (en) Image splicing method, device, terminal and computer readable storage medium
US20140376050A1 (en) Information terminal apparatus, method of controlling information terminal apparatus, and storage medium
WO2023195456A1 (en) Electronic instrument, and method for controlling electronic instrument
CN107301367B (en) Distance detection and display method, terminal, display device and storage medium
US20140141717A1 (en) Data capturing method of nfc protocol and nfc electronic device using the same
JP5901680B2 (en) Portable terminal device and display device
CN109981970B (en) Method and device for determining shooting scene and robot
JP7322945B2 (en) Processing device, processing method and program
KR20240058385A (en) Computer device equipped with various algorithms for judging febrile disease and method of the same
CN111405132A (en) Picture transmission method, picture analysis device and storage medium
CN109146587A (en) information measuring method and device
JP2005250554A (en) Code reading device and code reading program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23784742

Country of ref document: EP

Kind code of ref document: A1