JP6938116B2 - Inventory management device and inventory management method - Google Patents

Inventory management device and inventory management method Download PDF

Info

Publication number
JP6938116B2
JP6938116B2 JP2016107766A JP2016107766A JP6938116B2 JP 6938116 B2 JP6938116 B2 JP 6938116B2 JP 2016107766 A JP2016107766 A JP 2016107766A JP 2016107766 A JP2016107766 A JP 2016107766A JP 6938116 B2 JP6938116 B2 JP 6938116B2
Authority
JP
Japan
Prior art keywords
image
item
warehousing
hand
refrigerator
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
JP2016107766A
Other languages
Japanese (ja)
Other versions
JP2017215067A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2016107766A priority Critical patent/JP6938116B2/en
Publication of JP2017215067A publication Critical patent/JP2017215067A/en
Application granted granted Critical
Publication of JP6938116B2 publication Critical patent/JP6938116B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、貯蔵庫の在庫を管理する在庫管理装置および在庫管理方法に関する。 The present invention relates to an inventory management device and an inventory management method for managing inventory in a storage.

例えば、冷蔵庫や冷凍庫などの貯蔵庫において、食品などの品物の在庫管理を行う技術が従来知られている。例えば、特許文献1には、冷蔵庫の庫内に設置されたカメラが、所定時間間隔で冷蔵庫開口部を通過する対象物を撮影し、これにより得らえた複数の画像に対して画像演算処理を施して、食物の入出庫判定を行う冷蔵庫が開示されている。あるいは、特許文献2には、食品が収納された位置を検出するとともに、該食品の重量を検出し、食品に取り付けられたICタグから該食品の情報を取得して、食品の在庫管理を行う食物貯蔵庫が開示されている。 For example, a technique for managing the inventory of food or other items in a storage such as a refrigerator or a freezer has been conventionally known. For example, in Patent Document 1, a camera installed in a refrigerator captures an object passing through a refrigerator opening at predetermined time intervals, and performs image calculation processing on a plurality of images obtained thereby. A refrigerator that is used to determine the entry and exit of food is disclosed. Alternatively, in Patent Document 2, the position where the food is stored is detected, the weight of the food is detected, the information of the food is acquired from the IC tag attached to the food, and the inventory of the food is managed. Food storage is disclosed.

特開2015−81762号公報(2015年4月27日公開)Japanese Unexamined Patent Publication No. 2015-81762 (published on April 27, 2015) 特開2003−185326号公報(2003年7月3日公開)Japanese Patent Application Laid-Open No. 2003-185326 (published on July 3, 2003)

しかしながら、上述のような従来技術は、装置に要求される処理能力またはユーザの利便性という観点から、実用に適さないという問題がある。 However, the above-mentioned conventional techniques have a problem that they are not suitable for practical use from the viewpoint of the processing power required for the device or the convenience of the user.

なおこの問題は、冷却機能を備えた貯蔵庫に限らず、食物などの品物を常温で貯蔵するパントリー(貯蔵室)、または、保温機能を備えた貯蔵庫などにおいても同様に生じる。 It should be noted that this problem occurs not only in a storage having a cooling function but also in a pantry (storage room) for storing food and other items at room temperature, or a storage having a heat retaining function.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、実用に適した在庫管理装置および在庫管理方法を実現することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to realize an inventory management device and an inventory management method suitable for practical use.

上記の課題を解決するために、本発明の一態様に係る在庫管理装置は、貯蔵庫のドアの開閉に基づいてカメラを制御して、当該貯蔵庫の、品物を入出庫するための開口部の画像を取得する画像取得部と、上記画像に基づいて、品物の入出庫を判定する入出庫判定部とを備え、上記画像取得部は、庫内に設けられた、品物を運搬する手の通過を検知するセンサのセンサ値に基づいて、庫外から庫内へ移動する手が写る第1画像と、庫内から庫外へ移動する手が写る第2画像とを取得するものであり、上記入出庫判定部は、上記第1画像に品物が写っており、上記第2画像に物品が写っていない場合に該物品の入庫と判定し、上記第1画像に品物が写っておらず、上記第2画像に物品が写っている場合に該物品の出庫と判定する。
In order to solve the above problems, stock management device according to one embodiment of the present invention controls the camera based on the opening and closing of the reservoir of the door, of the reservoir, the image of the opening for entry and leaving goods The image acquisition unit is provided with an image acquisition unit for acquiring the image and a warehousing / delivery determination unit for determining the warehousing / delivery of the item based on the image. Based on the sensor value of the sensor to be detected, the first image showing the hand moving from the outside to the inside of the refrigerator and the second image showing the hand moving from the inside to the outside of the refrigerator are acquired. When the goods are shown in the first image and the goods are not shown in the second image, the delivery determination unit determines that the goods are in stock, and the goods are not shown in the first image. 2 When an article is shown in the image, it is determined that the article has been delivered .

上記の課題を解決するために、本発明の一態様に係る在庫管理方法は、貯蔵庫のドアの開閉に基づいてカメラを制御して、当該貯蔵庫の、品物を入出庫するための開口部の画像を取得する画像取得ステップと、上記画像に基づいて、品物の入出庫を判定する入出庫判定ステップとを含み、上記画像取得ステップでは、庫内に設けられた、品物を運搬する手の通過を検知するセンサのセンサ値に基づいて、庫外から庫内へ移動する手が写る第1画像と、庫内から庫外へ移動する手が写る第2画像とを取得し、上記入出庫判定ステップでは、上記第1画像に品物が写っており、上記第2画像に物品が写っていない場合に該物品の入庫と判定し、上記第1画像に品物が写っておらず、上記第2画像に物品が写っている場合に該物品の出庫と判定する
In order to solve the above problem, the inventory management method according to one aspect of the present invention controls the camera based on the opening and closing of the door of the storage, and images of the opening of the storage for loading and unloading the goods. Including the image acquisition step of acquiring the image and the warehousing / delivery determination step of determining the warehousing / delivery of the item based on the above image, in the image acquisition step, the passage of the hand carrying the item provided in the warehousing is passed. Based on the sensor value of the sensor to be detected, the first image showing the hand moving from the outside to the inside of the refrigerator and the second image showing the hand moving from the inside to the outside of the refrigerator are acquired, and the above-mentioned warehousing / delivery determination step Then, when the item is shown in the first image and the article is not shown in the second image, it is determined that the item is in stock, and the item is not shown in the first image, and the second image shows the item. When an article is shown, it is determined that the article has been delivered .

本発明の一態様によれば、実用に適した在庫管理装置および在庫管理方法を実現できるという効果を奏する。 According to one aspect of the present invention, it is possible to realize an inventory management device and an inventory management method suitable for practical use.

本発明の実施形態1および2の冷蔵庫の要部構成を示すブロック図である。It is a block diagram which shows the main part structure of the refrigerator of Embodiment 1 and 2 of this invention. 本発明の実施形態1および2の在庫管理システムの概要を示す図である。It is a figure which shows the outline of the inventory management system of Embodiment 1 and 2 of this invention. (a)は、冷蔵庫の冷蔵室のドア部を開いた状態の正面図であり、(b)は、冷蔵庫1の冷蔵室のドア部を開いた状態の上面図である。(A) is a front view in a state where the door portion of the refrigerator compartment of the refrigerator is opened, and (b) is a top view of the state where the door portion of the refrigerator compartment of the refrigerator 1 is opened. 冷蔵庫が備えるカメラの取り付け位置の他の例を示す図である。It is a figure which shows another example of the mounting position of the camera provided in the refrigerator. 画像取得部によって実行される撮像制御処理の内容およびそのトリガを示す。The contents of the imaging control process executed by the image acquisition unit and its trigger are shown. 画像取得部によって実行される撮像制御処理の内容およびそのトリガを示す。The contents of the imaging control process executed by the image acquisition unit and its trigger are shown. 画像取得部によって実行される撮像制御処理の内容およびそのトリガを示す。The contents of the imaging control process executed by the image acquisition unit and its trigger are shown. 画像取得部によって実行される撮像制御処理の内容およびそのトリガを示す。The contents of the imaging control process executed by the image acquisition unit and its trigger are shown. 画像取得部によって実行される撮像制御処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the imaging control processing executed by the image acquisition part. 画像記憶部に記憶される画像データベースのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the image database stored in an image storage part. (a)および(b)は、特徴量抽出部によって実行される画像処理(2値化画像生成処理)の一例を説明する図である。(A) and (b) are diagrams for explaining an example of image processing (binarized image generation processing) executed by the feature amount extraction unit. (a)および(b)は、特徴量抽出部によって実行される画像処理(マスキング画像生成処理)の一例を説明する図である。(A) and (b) are diagrams for explaining an example of image processing (masking image generation processing) executed by the feature amount extraction unit. 入出庫判定部によって実行される入出庫判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the warehousing / delivery determination process executed by the warehousing / delivery determination unit. (a)〜(c)は、在庫表記憶部に記憶される在庫表の具体例を示す図である。(A) to (c) are diagrams showing a specific example of the inventory table stored in the inventory table storage unit. (a)は、実施形態2に係る冷蔵庫のドア部を開いた状態の上面図であり、(b)は、冷蔵室内部の斜視図である。(A) is a top view of the refrigerator door portion according to the second embodiment in an open state, and (b) is a perspective view of the inside of the refrigerator compartment. (a)は、冷蔵室のドア部を除いた部分の概略側面図であり、(b)は、他の例における冷蔵室内部の斜視図である。(A) is a schematic side view of a portion excluding the door portion of the refrigerating chamber, and (b) is a perspective view of the interior of the refrigerating chamber in another example. 実施形態2の画像取得部によって実行される撮像制御処理の内容およびそのトリガを示す図である。It is a figure which shows the content of the image pickup control processing executed by the image acquisition part of Embodiment 2 and the trigger thereof. 実施形態2の画像取得部によって実行される撮像制御処理の流れを示すフローチャートであるIt is a flowchart which shows the flow of the image pickup control processing executed by the image acquisition part of Embodiment 2. (a)〜(d)は、カメラによって撮像された中間画像の具体例を示す図である。(A) to (d) are diagrams showing specific examples of intermediate images captured by a camera. 実施形態2の入出庫判定部によって実行される入庫先判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the warehousing destination determination processing executed by the warehousing / delivery determination unit of Embodiment 2. 実施形態2の在庫表記憶部に記憶される在庫表の具体例を示す図である。It is a figure which shows the specific example of the inventory table stored in the inventory table storage part of Embodiment 2. 実施形態3の冷蔵庫の冷蔵室のドア部を開いた状態の一部透過斜視図である。FIG. 5 is a partially transparent perspective view showing a state in which the door portion of the refrigerator compartment of the refrigerator of the third embodiment is opened. 本発明の実施形態3に係る冷蔵庫の要部構成を示すブロック図である。It is a block diagram which shows the main part structure of the refrigerator which concerns on Embodiment 3 of this invention. 重量センサにマトリクス状に配置された圧力センサの一例を示す図である。It is a figure which shows an example of the pressure sensor arranged in the matrix in the weight sensor. (a)は、貯蔵スペース床面の四隅に圧力センサを有する重量センサの斜視図であり、(b)は、該重量センサの正面図である。(A) is a perspective view of a weight sensor having pressure sensors at four corners of the floor surface of the storage space, and (b) is a front view of the weight sensor. 四隅に圧力センサを有する重量センサを採用した場合に、測定部が重量変化量および変化位置を特定する方法を説明する図である。It is a figure explaining the method which the measuring part specifies the weight change amount and the change position when the weight sensor which has the pressure sensor at four corners is adopted. 実施形態3の在庫管理部によって実行される入庫時の在庫管理処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the stock management process at the time of warehousing executed by the stock management unit of Embodiment 3. 実施形態3の在庫管理部によって実行される出庫時または再入庫時の在庫管理処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the inventory management processing at the time of delivery or re-receipt executed by the inventory management unit of the third embodiment. 実施形態3の在庫表記憶部に記憶される在庫表の具体例を示す図である。It is a figure which shows the specific example of the inventory table stored in the inventory table storage part of Embodiment 3. (a)は、クラウドサーバに記憶される貯蔵期間リストの一例を示す図であり、(b)は、実施形態4の在庫表の一例を示す図である。(A) is a diagram showing an example of a storage period list stored in a cloud server, and (b) is a diagram showing an example of an inventory table of the fourth embodiment. 在庫管理部によって実行される使用期限管理処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the expiration date management process executed by the inventory management part. 食品リストの一例を示す図である。It is a figure which shows an example of a food list.

〔実施形態1〕
(発明が解決しようとする課題および発明の目的)
特許文献1の技術では、ドアの開閉時に連続して撮影された多数の画像に対してベクトル演算を施す必要があるため、冷蔵庫に処理能力の高いプロセッサを搭載しなければならない。画像に対する演算処理をクラウドサーバなどの外部装置に担わせるにしても、冷蔵庫からクラウドサーバに対して短時間に多数の画像を転送する必要がある。このように、冷蔵庫に搭載する装置に対して高い処理能力、あるいは、高性能な通信機能および通信環境が要求されるため、冷蔵庫そのものの製造コスト、または、通信環境を整えるための初期コストが増大し、実用的ではない。実施形態1では、多数の画像を短時間で処理することなく、かつ、ユーザの利便性を損なわずに品物の入出庫を判定することが可能な在庫管理装置または在庫管理システムを実現する。
[Embodiment 1]
(Problems to be Solved by the Invention and Purpose of the Invention)
In the technique of Patent Document 1, it is necessary to perform vector operations on a large number of images continuously taken when the door is opened and closed, so that the refrigerator must be equipped with a processor having high processing capacity. Even if an external device such as a cloud server is responsible for the arithmetic processing for images, it is necessary to transfer a large number of images from the refrigerator to the cloud server in a short time. In this way, high processing capacity or high-performance communication function and communication environment are required for the equipment mounted on the refrigerator, so that the manufacturing cost of the refrigerator itself or the initial cost for preparing the communication environment increases. However, it is not practical. In the first embodiment, an inventory management device or an inventory management system capable of determining the receipt / delivery of goods without processing a large number of images in a short time and without impairing the convenience of the user is realized.

(在庫管理システムの概要)
図2は、本発明の実施形態1および2に係る在庫管理システム100の概要を示す図である。本発明の一実施形態において、本発明の在庫管理装置は、食品などの品物の貯蔵を行う冷蔵庫の在庫管理を行う在庫管理装置であって、該在庫管理装置は、冷蔵庫1として実現される。なお、本発明の在庫管理装置にて在庫管理の対象となる品物は、食品に限定されず、医薬品、化粧品など、貯蔵庫にて貯蔵され得るあらゆる品物が想定されている。本実施形態では、冷蔵庫1は、在庫管理システム100の一部を構成している。
(Overview of inventory management system)
FIG. 2 is a diagram showing an outline of the inventory management system 100 according to the first and second embodiments of the present invention. In one embodiment of the present invention, the inventory management device of the present invention is an inventory management device that manages the inventory of a refrigerator that stores items such as food, and the inventory management device is realized as the refrigerator 1. The items subject to inventory management by the inventory management device of the present invention are not limited to foods, and all items that can be stored in storage, such as pharmaceuticals and cosmetics, are assumed. In this embodiment, the refrigerator 1 constitutes a part of the inventory management system 100.

在庫管理システム100は、食品の貯蔵を行う冷蔵庫1、1a、1b、・・・と、冷蔵庫1と広域通信ネットワーク4を介して通信するクラウドサーバ2とを含む。在庫管理システム100は、必要に応じて、さらに、ユーザが携帯する小型の通信端末3を含んでいてもよい。通信端末3は、例えば、スマートフォン、タブレット端末、携帯電話などであり、ユーザによって携帯されている。クラウドサーバ2、通信端末3、および、冷蔵庫1は、広域通信ネットワーク4を介して接続するよう構成されている。なお、冷蔵庫1および通信端末3について、数や種類は限定されず、個別に説明する必要のない場合は、総称として冷蔵庫1と通信端末3とを用いる。また、クラウドサーバ2によって管理されるユーザ宅の数も限定されない。 The inventory management system 100 includes refrigerators 1, 1a, 1b, ... For storing food, and a cloud server 2 that communicates with the refrigerator 1 via a wide area communication network 4. The inventory management system 100 may further include a small communication terminal 3 carried by the user, if necessary. The communication terminal 3 is, for example, a smartphone, a tablet terminal, a mobile phone, or the like, and is carried by a user. The cloud server 2, the communication terminal 3, and the refrigerator 1 are configured to be connected via the wide area communication network 4. The number and types of the refrigerator 1 and the communication terminal 3 are not limited, and when it is not necessary to explain them individually, the refrigerator 1 and the communication terminal 3 are collectively used. Further, the number of user homes managed by the cloud server 2 is not limited.

なお、冷蔵庫1のそれぞれには、図示しない家電アダプタが接続されており、家電アダプタは、通信部の一部を構成し、冷蔵庫1を広域通信ネットワーク4に接続させる。これによって、冷蔵庫1を、いわゆるネットワーク家電にすることができ、冷蔵庫1は、クラウドサーバ2などの外部装置から、必要な情報を受信することができるし、また、ローカルに保存された情報を冷蔵庫1からクラウドサーバ2に送信することもできる。なお、ここでは、広域通信ネットワーク4としてインターネットを含む構成を例示しているが、電話回線網、移動体通信網、CATV(CAble TeleVision)通信網、衛星通信網などを利用することもできる。 A home appliance adapter (not shown) is connected to each of the refrigerators 1, and the home appliance adapter constitutes a part of a communication unit and connects the refrigerator 1 to the wide area communication network 4. As a result, the refrigerator 1 can be turned into a so-called network home appliance, the refrigerator 1 can receive necessary information from an external device such as a cloud server 2, and the locally stored information can be stored in the refrigerator. It is also possible to send from 1 to the cloud server 2. Although the configuration including the Internet is illustrated here as the wide area communication network 4, a telephone line network, a mobile communication network, a CATV (CAble TeleVision) communication network, a satellite communication network, or the like can also be used.

また、広域通信ネットワーク4を介して、クラウドサーバ2と通信端末3とが通信可能になっている。通信端末3と広域通信ネットワーク4におけるインターネットとの間は、3G(3rd Generation)、LTE(Long Term Evolution)や、宅内あるいは公衆のWi−Fi(登録商標)アクセスポイントなどを利用して接続される。 Further, the cloud server 2 and the communication terminal 3 can communicate with each other via the wide area communication network 4. The communication terminal 3 and the Internet in the wide area communication network 4 are connected by using 3G (3rd Generation), LTE (Long Term Evolution), a home or public Wi-Fi (registered trademark) access point, or the like. ..

本実施形態に係る在庫管理システム100において、冷蔵庫1は、品物の入出庫判定機能および在庫管理機能を担い、これを実行する。クラウドサーバ2は、冷蔵庫1が上記各機能を実行する上で必要な情報を適宜冷蔵庫1に提供する。また、クラウドサーバ2は、必要に応じて、冷蔵庫1の情報(在庫の情報など)を収集し、冷蔵庫1のユーザの通信端末3に対して収集した情報を配信する。 In the inventory management system 100 according to the present embodiment, the refrigerator 1 has a function of determining warehousing / delivery of goods and a function of inventory management, and executes the functions. The cloud server 2 appropriately provides the refrigerator 1 with information necessary for the refrigerator 1 to execute each of the above functions. Further, the cloud server 2 collects information (inventory information, etc.) of the refrigerator 1 as necessary, and distributes the collected information to the communication terminal 3 of the user of the refrigerator 1.

なお、本実施形態では、クラウドサーバ2は、クライアント(ユーザ宅)ごとに、冷蔵庫1および通信端末3を個々に登録して管理している。したがって、クラウドサーバ2は、データを受信するときは、どの冷蔵庫1または通信端末3から送信されたデータであるのかを把握することが可能であり、データを送信するときは、どの冷蔵庫1または通信端末3宛てであるかを指定して送信することが可能である。 In the present embodiment, the cloud server 2 individually registers and manages the refrigerator 1 and the communication terminal 3 for each client (user's home). Therefore, when receiving the data, the cloud server 2 can grasp which refrigerator 1 or the communication terminal 3 is the data transmitted from, and when transmitting the data, which refrigerator 1 or the communication It is possible to specify whether the data is addressed to the terminal 3 and transmit the data.

(冷蔵庫の概観)
図3の(a)は、冷蔵庫1の冷蔵室1cのドア部1dを開いた状態の正面図であり、(b)は、冷蔵庫1の冷蔵室ドア部を開いた状態の上面図である。なお、図3の(b)では、食品の出し入れが容易に理解できるように、冷蔵室1cの天板を除いて示している。また、冷蔵庫1を示した各図は、明瞭化と簡略化のために適宜に変更された模式図である。すなわち、各図に示された冷蔵庫1各部のサイズ(長さ、大きさ、幅)、サイズ比率、および、形状などは、実際の冷蔵庫1のものと異なる。また、各図は、発明と無関係な細部を描写することを省略している。その他の冷蔵庫1または冷蔵庫301の図についても同様である。
(Overview of the refrigerator)
FIG. 3A is a front view of the refrigerator 1 with the door portion 1d of the refrigerator compartment 1c open, and FIG. 3B is a top view of the refrigerator 1 with the door portion of the refrigerator compartment 1 c open. In addition, in FIG. 3B, the top plate of the refrigerating chamber 1c is excluded so that the loading and unloading of food can be easily understood. Further, each figure showing the refrigerator 1 is a schematic view appropriately modified for clarity and simplification. That is, the size (length, size, width), size ratio, shape, and the like of each part of the refrigerator 1 shown in each figure are different from those of the actual refrigerator 1. In addition, each figure omits depiction of details unrelated to the invention. The same applies to the drawings of the other refrigerator 1 or the refrigerator 301.

図3の(a)に示すとおり、冷蔵庫1は、一例として、3つの貯蔵庫からなり、各庫は、上から順に、冷蔵室1c、冷凍室1f、および、野菜室1vを構成する。冷蔵庫1の各庫の構成は、上記に限定されず、さらに、製氷室またはチルド室を有していてもよいし、冷蔵庫1は、冷蔵室1cのみ、冷凍室1fのみで構成されていてもよい。また、各庫の位置は、上下逆でも構わない。 As shown in FIG. 3A, the refrigerator 1 is composed of three storages as an example, and each storage constitutes a refrigerating room 1c, a freezing room 1f, and a vegetable room 1v in order from the top. The configuration of each refrigerator 1 is not limited to the above, and may further have an ice making room or a chilled room, and the refrigerator 1 may be composed of only the refrigerating room 1c and only the freezing room 1f. good. Further, the position of each storage may be upside down.

冷凍室1fおよび野菜室1vは、引き出し型の貯蔵スペースを有し、ユーザは、取っ手を手前に引くことで、冷凍室1fおよび野菜室1vの庫内に手をのばすことができる。一方、冷蔵室1cは、観音開き型の2枚の扉からなるドア部1dを有し、ユーザは、取っ手を手前に引いて片方または両方のドア部1dを開くことで、冷蔵室1cの庫内に手をのばすことができる。なお、冷蔵室1cのドア部1dは、片開き型の1枚の扉によって構成されてもよい。 The freezing room 1f and the vegetable room 1v have a drawer-type storage space, and the user can reach into the freezing room 1f and the vegetable room 1v by pulling the handle toward the front. On the other hand, the refrigerating room 1c has a door portion 1d composed of two double doors, and the user can open one or both door portions 1d by pulling the handle toward the inside of the refrigerating room 1c. You can reach out to. The door portion 1d of the refrigerator compartment 1c may be composed of a single door that opens on one side.

冷蔵室1cの貯蔵スペースは、さらに、一例として、3枚の棚板1rによって、4つの段に区切られていてもよい。なお、棚板1rの数は、上記に限定されず、0枚であってもよいし、3枚より少なくても、多くてもよい。 The storage space of the refrigerator compartment 1c may be further divided into four stages by three shelves 1r as an example. The number of shelf boards 1r is not limited to the above, and may be 0, less than 3 or more.

図3の(a)および(b)に示すとおり、冷蔵室1c内の天井面には、センサ13およびカメラ14が備えられている。センサ13は、ユーザの手(および、手が品物を把持している場合はその品物も)が、冷蔵室1cの所定の場所を通過したか否かを検知するためのものである。センサ13の数および設置位置は、センサ13の種類、性能、および、通過を検知したい場所に応じて適宜決定される。センサ13としては、例えば、赤外線センサ、温度センサ、(ドア部1dの)開閉センサ、または、照度センサなどが採用される。 As shown in FIGS. 3A and 3B, a sensor 13 and a camera 14 are provided on the ceiling surface in the refrigerator compartment 1c. The sensor 13 is for detecting whether or not the user's hand (and the item if the hand is holding the item) has passed a predetermined place in the refrigerating chamber 1c. The number and installation position of the sensors 13 are appropriately determined according to the type and performance of the sensors 13 and the location where the passage is to be detected. As the sensor 13, for example, an infrared sensor, a temperature sensor, an open / close sensor (of the door portion 1d), an illuminance sensor, or the like is adopted.

例えば、センサ13が赤外線センサであって、冷蔵室1cの開口部を手が通過したか否かを検知したい場合、センサ13は、図3の(a)および(b)に示すとおり、冷蔵室1cの天井面の開口側端部に所定の間隔で配置される。とりわけ、各センサ13は、開口部または開口部によって形成される開口領域に障害物がない場合に、冷蔵室1cの底面の開口側端部にまで赤外線が届くように配置される。このように天井面の開口側端部に配置されたセンサ13を以下では、フロントセンサ13f(第1センサ)と称する。また、開口部よりさらに奥、棚板1rにまで手がのばされたか否かを検知したい場合、センサ13は、図3の(b)に示すとおり、棚板1rの開口側端部と対向する、冷蔵室1cの天井面の領域に所定の間隔で配置される。とりわけ、各センサ13は、最下段の貯蔵スペースにまで赤外線が届くように配置される。このように棚板1rの開口側端部と対向する天井面に配置されたセンサ13を以下では、バックセンサ13b(第2センサ)と称する。 For example, when the sensor 13 is an infrared sensor and it is desired to detect whether or not a hand has passed through the opening of the refrigerating chamber 1c, the sensor 13 is a refrigerating chamber as shown in FIGS. 3 (a) and 3 (b). It is arranged at a predetermined interval on the opening side end of the ceiling surface of 1c. In particular, each sensor 13 is arranged so that infrared rays reach the opening side end of the bottom surface of the refrigerating chamber 1c when there is no obstacle in the opening or the opening region formed by the opening. The sensor 13 thus arranged at the opening side end of the ceiling surface is hereinafter referred to as a front sensor 13f (first sensor). Further, when it is desired to detect whether or not the hand is extended to the shelf board 1r further back than the opening, the sensor 13 faces the opening side end of the shelf board 1r as shown in FIG. 3B. It is arranged at predetermined intervals in the area of the ceiling surface of the refrigerating chamber 1c. In particular, each sensor 13 is arranged so that infrared rays reach the storage space at the bottom. The sensor 13 thus arranged on the ceiling surface facing the opening side end of the shelf board 1r is hereinafter referred to as a back sensor 13b (second sensor).

カメラ14は、ユーザの手が冷蔵室1cの庫内に出入りする様子を静止画として撮像するためのものである。カメラ14の設置位置は、カメラ14(またはカメラ14のレンズ)の種類または性能に応じて適宜決定される。カメラ14は、少なくとも、冷蔵室1cの開口部および棚板1rの開口側端部が撮像範囲に含まれるように配置される。本実施形態では、カメラ14は、一例として、天井面の開口側端部の中央付近(または、中央のフロントセンサ13fと設置位置が重なる場合は、それより少し奥)に設置される。その結果、本実施形態では、撮像範囲は、図3の(b)に示す破線枠のとおりとなる(撮像範囲14a)。 The camera 14 is for capturing a still image of a user's hand entering and exiting the refrigerator compartment 1c. The installation position of the camera 14 is appropriately determined according to the type or performance of the camera 14 (or the lens of the camera 14). The camera 14 is arranged so that at least the opening of the refrigerating chamber 1c and the opening-side end of the shelf board 1r are included in the imaging range. In the present embodiment, as an example, the camera 14 is installed near the center of the opening side end of the ceiling surface (or, if the installation position overlaps with the central front sensor 13f, it is slightly behind it). As a result, in the present embodiment, the imaging range is as shown by the broken line frame shown in FIG. 3 (b) (imaging range 14a).

さらに、図4に示すとおり、カメラ14は、冷凍室1fまたは野菜室1vに設けられてもよい。この場合、カメラ14は、冷凍室1fまたは野菜室1vの貯蔵スペースの内面の最上部(一例として、取っ手が付いている部分の裏側あたり)に、冷凍室1fまたは野菜室1vの開口部全体を撮像範囲14aとするように設置される。これにより、上記開口部によって形成される開口領域全体を撮像範囲14aに収めることができる。 Further, as shown in FIG. 4, the camera 14 may be provided in the freezing room 1f or the vegetable room 1v. In this case, the camera 14 provides the entire opening of the freezing chamber 1f or the vegetable compartment 1v to the uppermost part of the inner surface of the storage space of the freezing chamber 1f or the vegetable compartment 1v (for example, around the back side of the portion with the handle). It is installed so as to have an imaging range of 14a. As a result, the entire opening region formed by the opening can be contained in the imaging range 14a.

(冷蔵庫の構成)
図1は、本発明の実施形態1および2に係る冷蔵庫1の要部構成を示すブロック図である。該ブロック図は、冷蔵庫1のブロック図ではあるが、本図において、本発明に直接関係の無い部分、例えば、冷却または冷凍機能を実現する部分などの記載を省略した。冷蔵庫1は、図1に示すように、少なくとも、制御部10、記憶部11、センサ13およびカメラ14を備えている構成であり、必要に応じてさらに、通信部12、マイク15、スピーカ16およびディスプレイ17を備えていてもよい。通信部12は、上述の家電アダプタを含み、広域通信ネットワーク4を介してクラウドサーバ2と相互通信を行う。マイク15は、ユーザが制御部10に対して入力する音声を取得する。マイク15によって取得された音声は、図示しない音声制御部によって入力音声データとして処理される。スピーカ16は、上記音声制御部によって処理された出力音声データを、ユーザが聴取する音声として出力する。ディスプレイ17は、記憶部11に記憶されている各種データをユーザが視認可能なように表示するものであり、例えば、LCD(液晶ディスプレイ)、有機ELD(エレクトロルミネセンスディスプレイ)などの表示装置で構成される。
(Composition of refrigerator)
FIG. 1 is a block diagram showing a main configuration of the refrigerator 1 according to the first and second embodiments of the present invention. Although the block diagram is a block diagram of the refrigerator 1, the description of a part not directly related to the present invention, for example, a part for realizing a cooling or freezing function, is omitted in this figure. As shown in FIG. 1, the refrigerator 1 is configured to include at least a control unit 10, a storage unit 11, a sensor 13, and a camera 14, and if necessary, further includes a communication unit 12, a microphone 15, a speaker 16, and the refrigerator 1. A display 17 may be provided. The communication unit 12 includes the above-mentioned home appliance adapter and performs mutual communication with the cloud server 2 via the wide area communication network 4. The microphone 15 acquires the sound input by the user to the control unit 10. The voice acquired by the microphone 15 is processed as input voice data by a voice control unit (not shown). The speaker 16 outputs the output voice data processed by the voice control unit as the voice heard by the user. The display 17 displays various data stored in the storage unit 11 so that the user can see them. For example, the display 17 is composed of a display device such as an LCD (liquid crystal display) or an organic ELD (electroluminescence display). Will be done.

センサ13は、上述したとおり、手の通過を検知するためのフロントセンサ13fおよびバックセンサ13bを含む。さらに好ましくは、センサ13は、ドア部1dの開閉を検知するための開閉センサ13dを含む。開閉センサ13dは、ドアが開けられたこと(開ドア)、または、閉じられたこと(閉ドア)を検知し、検知結果を画像取得部20に出力する。なお、開閉センサ13dは、照度センサ、接触センサなど適宜のセンサで実現される。 As described above, the sensor 13 includes a front sensor 13f and a back sensor 13b for detecting the passage of the hand. More preferably, the sensor 13 includes an open / close sensor 13d for detecting the opening / closing of the door portion 1d. The open / close sensor 13d detects that the door has been opened (open door) or closed (closed door), and outputs the detection result to the image acquisition unit 20. The open / close sensor 13d is realized by an appropriate sensor such as an illuminance sensor or a contact sensor.

制御部10は、冷蔵庫1の各部の動作を統括的に制御する。制御部10は、例えば、CPUや専用プロセッサなどの演算処理部などにより構成されるコンピュータ装置から成る。制御部10は、機能ブロックとして、少なくとも、画像取得部20および入出庫判定部22を含み、より好ましくは、必要に応じて、特徴量抽出部21、品物識別部23および在庫管理部24を含んでいる。 The control unit 10 comprehensively controls the operation of each unit of the refrigerator 1. The control unit 10 is composed of, for example, a computer device composed of an arithmetic processing unit such as a CPU and a dedicated processor. The control unit 10 includes at least an image acquisition unit 20 and a warehousing / delivery determination unit 22 as functional blocks, and more preferably includes a feature amount extraction unit 21, an item identification unit 23, and an inventory management unit 24, if necessary. I'm out.

記憶部11は、冷蔵庫1が処理する各種データを記憶する。例えば、記憶部11は、撮像された画像のパターンマッチングに使用するパターン画像(予め学習した画像)を記憶するためのパターン記憶部30を含む。また、記憶部11は、カメラ14によって撮像された画像、および、特徴量抽出部21によって画像処理された処理結果のデータを記憶するための画像記憶部31を含む。また、記憶部11は、冷蔵庫1の各庫内に貯蔵されている品物の一覧表である在庫表を記憶する在庫表記憶部32を含む。 The storage unit 11 stores various data processed by the refrigerator 1. For example, the storage unit 11 includes a pattern storage unit 30 for storing a pattern image (pre-learned image) used for pattern matching of the captured image. In addition, the storage unit 11 includes an image storage unit 31 for storing an image captured by the camera 14 and processing result data image-processed by the feature amount extraction unit 21. In addition, the storage unit 11 includes an inventory table storage unit 32 that stores an inventory table that is a list of items stored in each refrigerator 1.

画像取得部20は、カメラ14を制御して画像を取得するものである。具体的には、画像取得部20は、センサ13から供給されるセンサ値に基づいて、静止画を得るべき撮像タイミングを特定し、その撮像タイミングで撮像を実行するようにカメラ14を制御する。これにより、入出庫判定に必要なシーンを写した画像が取得される。こうして画像取得部20によって取得された画像は、記憶部11の画像記憶部31に記憶される。 The image acquisition unit 20 controls the camera 14 to acquire an image. Specifically, the image acquisition unit 20 specifies an imaging timing at which a still image should be obtained based on the sensor value supplied from the sensor 13, and controls the camera 14 to execute imaging at the imaging timing. As a result, an image showing the scene necessary for the warehousing / delivery determination is acquired. The image acquired by the image acquisition unit 20 in this way is stored in the image storage unit 31 of the storage unit 11.

特徴量抽出部21は、撮像された画像(以下、原画像)を処理して、該画像の特徴量を抽出する。抽出された特徴量は、原画像と紐付けて、画像記憶部31に格納される。 The feature amount extraction unit 21 processes the captured image (hereinafter referred to as the original image) to extract the feature amount of the image. The extracted feature amount is stored in the image storage unit 31 in association with the original image.

入出庫判定部22は、原画像または原画像から抽出された特徴量に基づいて、品物の入出庫判定を行う。本実施形態において、入出庫判定とは、原画像が捉えた1回の手の出し入れにつき、品物が入庫されたのか、品物が出庫されたのか、品物の入庫および出庫が両方なされたのか、または、品物は移動せず手の出し入れのみなされたのかを判定することである。入出庫判定部22は、判定結果を記憶部11に記憶してもよいし、下流の機能ブロック(品物識別部23または在庫管理部24)に通知してもよい。 The warehousing / delivery determination unit 22 determines the warehousing / delivery of an item based on the original image or the feature amount extracted from the original image. In the present embodiment, the warehousing / delivery determination means whether the goods have been warehousing, the goods have been warehousing, the goods have been warehousing and warehousing, or whether the goods have been warehousing and warehousing for each hand in / out captured by the original image. , The item does not move and it is determined whether the hand is considered to be taken in and out. The warehousing / delivery determination unit 22 may store the determination result in the storage unit 11 or may notify the downstream functional block (item identification unit 23 or inventory management unit 24).

品物識別部23は、入庫または出庫されたと判定された品物を特定し、特定した品物を識別するための品物識別情報を生成する。品物識別情報は、品物の名称を表すテキストデータであってもよいし、品物に一意に割り当てられている意味内容を持たない文字の羅列であってもよいし、一目みてその品物と分かるイラストの画像データまたはアイコンデータあってもよいし、単に原画像から品物の領域をトリミングした画像データであってもよいし、原画像そのものであってもよい。品物識別部23によって生成された品物識別情報は、在庫管理部24に引き渡される。 The item identification unit 23 identifies an item determined to have been received or delivered, and generates item identification information for identifying the specified item. The item identification information may be text data representing the name of the item, may be a list of characters uniquely assigned to the item and has no meaning, or may be an illustration that can be recognized as the item at a glance. It may be image data or icon data, it may be image data obtained by simply trimming an area of an item from the original image, or it may be the original image itself. The item identification information generated by the item identification unit 23 is handed over to the inventory management unit 24.

在庫管理部24は、品物の入出庫判定結果および品物の品物識別情報に基づいて、在庫表を更新し、冷蔵庫1の在庫を管理する。具体的には、入庫された品物のレコードを在庫表に登録したり、出庫された品物のレコードを在庫表から削除したり、その他状態に変化があった品物のレコードを更新したりする。上述の各機能ブロックによって実行される各種処理について、図を参照して後に詳述する。 The inventory management unit 24 updates the inventory table and manages the inventory of the refrigerator 1 based on the warehousing / delivery determination result of the item and the item identification information of the item. Specifically, the record of the goods received is registered in the inventory table, the record of the goods issued is deleted from the inventory table, and the record of the goods whose state has changed is updated. Various processes executed by each of the above-mentioned functional blocks will be described in detail later with reference to the drawings.

(画像取得部20による撮像制御処理)
画像取得部20は、1回の手の出し入れにつき、少なくとも、2枚の静止画を取得することを特徴とする。2枚の静止画を、1回の手の出し入れのどのタイミングで取得するのかについて説明する。
(Image control processing by the image acquisition unit 20)
The image acquisition unit 20 is characterized in that at least two still images are acquired for each hand in and out. The timing of acquiring two still images with one hand in and out will be described.

図5に、ユーザによって品物(例えば、りんご)が入庫されたケース1において見られる複数のシーンと、シーンごとの画像取得部20の撮像制御処理の内容およびそのトリガを示す。ユーザは、りんごを冷蔵庫1に入れるために、まず、ドア部1dを開ける。シーンSC1−1は、この時の様子を示す。開閉センサ13dによって、ドア部1dが開けられたこと(以下、「開ドア」と記載)が検知されると、その後に、手の出し入れが発生する可能性が高いので、画像取得部20は、カメラ14を起動する。このように、冷蔵庫1に開閉センサ13dが設けられている場合、冷蔵庫1のドア部1dが開けられている間だけ、カメラ14の電源を入れておくことができ、閉じられており手の出し入れが起こり得ない(カメラ14の電源を入れておく必要がない)期間に、カメラ14が無駄に電力を消費することを回避できる。 FIG. 5 shows a plurality of scenes seen in Case 1 in which an item (for example, an apple) is stored by the user, the content of the image acquisition control process of the image acquisition unit 20 for each scene, and its trigger. The user first opens the door portion 1d in order to put the apple in the refrigerator 1. Scene SC1-1 shows the situation at this time. When the open / close sensor 13d detects that the door portion 1d has been opened (hereinafter, referred to as “open door”), there is a high possibility that hands will be taken in and out after that, so that the image acquisition unit 20 has Start the camera 14. In this way, when the refrigerator 1 is provided with the open / close sensor 13d, the power of the camera 14 can be turned on only while the door portion 1d of the refrigerator 1 is open, and the camera 14 is closed so that hands can be taken in and out. It is possible to prevent the camera 14 from wasting power during a period in which this cannot occur (it is not necessary to keep the power of the camera 14 turned on).

さらに、開ドアが検知されたタイミングで、画像取得部20は、シーンSC1−1をカメラ14に撮像させることが好ましい。シーンSC1−1のように、まだ手の出し入れが起こる前の状態(手も品物も写らない状態)を写した画像を、以下では参照画像と称する。この参照画像を撮像することの利点は、後に詳述する。参照画像は、ドア部1dの開閉1回につき1枚撮像されればよく、手の出し入れごとに撮影する必要はない。 Further, it is preferable that the image acquisition unit 20 causes the camera 14 to image the scene SC1-1 at the timing when the opening of the door is detected. An image that captures a state (a state in which neither the hand nor the item is captured) before the hand is taken in and out, such as scene SC1-1, is hereinafter referred to as a reference image. The advantages of capturing this reference image will be described in detail later. The reference image may be captured once for each opening and closing of the door portion 1d, and it is not necessary to capture the reference image each time the hand is put in or taken out.

次に、ユーザは、りんごを冷蔵庫1に入れようと、りんごを手に持って冷蔵室1c内に手を差し入れる。手は必ず冷蔵室1cの開口部を通過する。シーンSC1−2は、この時の様子を示す。ここで、フロントセンサ13fは、手が冷蔵庫1の開口部にさしかかったことを検知する。具体的には、フロントセンサ13fは、手が入れられたことによって、フロントセンサ13fの赤外線照射部から照射される赤外線が遮られ、フロントセンサ13fの赤外線受光部にて受光されなくなったことに基づいて、オンの信号からオフの信号に切り替えて、該信号を画像取得部20に出力する。画像取得部20は、バックセンサ13bがオン(通過非検知)のままである一方で、フロントセンサ13fがオン(通過非検知)からオフ(通過検知)に切り替わったタイミングで、カメラ14に第1画像を撮像させる。このタイミングでは、冷蔵室1cの貯蔵スペースに手を入れる前のユーザの手がちょうど撮像範囲14aに収まり、冷蔵庫1内に入れる前のユーザの手の様子が写っている第1画像が得られる。 Next, the user holds the apple in his / her hand and inserts his / her hand into the refrigerator 1c in order to put the apple in the refrigerator 1. The hand always passes through the opening of the refrigerator compartment 1c. Scene SC1-2 shows the situation at this time. Here, the front sensor 13f detects that the hand is approaching the opening of the refrigerator 1. Specifically, the front sensor 13f is based on the fact that the infrared rays emitted from the infrared irradiation unit of the front sensor 13f are blocked by the modification and are no longer received by the infrared light receiving unit of the front sensor 13f. Then, the on signal is switched to the off signal, and the signal is output to the image acquisition unit 20. The image acquisition unit 20 first attaches to the camera 14 at the timing when the back sensor 13b remains on (passage non-detection) while the front sensor 13f switches from on (passage non-detection) to off (passage detection). Have an image taken. At this timing, the user's hand before putting his / her hand in the storage space of the refrigerating chamber 1c fits in the imaging range 14a, and a first image showing the state of the user's hand before putting his / her hand in the refrigerator 1 can be obtained.

次に、ユーザは、りんごを所望の段の所望の位置に置くために、りんごを持った手をさらに奥に差し入れる。手は必ずいずれかの棚板1rの最前列(開口側端部)か、最前列を通過してそれよりも奥に入る。シーンSC1−3は、この時の様子を示す。ここで、バックセンサ13bは、ユーザの手が棚板1rの最前列より奥に到達し、赤外線が遮断されたことに基づいて、オンからオフに切り替えて信号を出力する。フロントセンサ13fは、当然、オフを保っている。画像取得部20は、フロントセンサ13fがオフ(通過検知)のままである一方で、バックセンサ13bがオン(通過非検知)からオフ(通過検知)に切り替わったタイミングでは、撮像対象の手が冷蔵室1c庫内にあって、撮像範囲14aにないと判断し、カメラ14に撮像を実行させずに待機させる。画像取得部20は、再び、撮像対象が撮像範囲14aに入るまでこの待機状態を維持させる。 The user then inserts his hand holding the apple further in order to place the apple in the desired position on the desired stage. The hand always passes through the front row (opening side end) of either shelf board 1r or the front row and goes deeper than that. Scenes SC1-3 show the situation at this time. Here, the back sensor 13b switches from on to off and outputs a signal based on the fact that the user's hand reaches the back of the front row of the shelf board 1r and the infrared rays are blocked. The front sensor 13f is, of course, kept off. In the image acquisition unit 20, while the front sensor 13f remains off (passage detection), the hand to be imaged is refrigerated at the timing when the back sensor 13b is switched from on (passage non-detection) to off (passage detection). It is determined that the room 1c is in the refrigerator and is not in the imaging range 14a, and the camera 14 is made to stand by without performing imaging. The image acquisition unit 20 again maintains this standby state until the image pickup target enters the image pickup range 14a.

次に、ユーザは、りんごを所望の位置に置いた後、手ぶらの状態の手を引き抜く。この場合、手は、必ず、開口部を通過する前に、棚板1rの最前列を通過する。シーンSC1−4は、この時の様子を示す。ここで、バックセンサ13bは、ユーザの手が棚板1rの最前列を通過し終わって、赤外線が再び受光されたことに基づいてオフからオンに信号を切り替えて出力する。手は開口部をまだ通過していないので、フロントセンサ13fは、オフを保っている。画像取得部20は、フロントセンサ13fがオフ(通過検知)のままである一方で、バックセンサ13bがオフ(通過検知)からオン(通過非検知)に切り替わったタイミングで、カメラ14に第2画像を撮像させる。このタイミングでは、冷蔵室1cの貯蔵スペースから引き抜かれようとする手がちょうど撮像範囲14aに収まり、冷蔵庫1内に入れた後に戻ってくるユーザの手の様子が写っている第2画像が得られる。 The user then places the apple in the desired position and then pulls out the empty hand. In this case, the hand always passes through the front row of the shelf board 1r before passing through the opening. Scenes SC1-4 show the situation at this time. Here, the back sensor 13b switches the signal from off to on and outputs the signal based on the fact that the user's hand has passed the front row of the shelf board 1r and the infrared rays are received again. The front sensor 13f remains off because the hand has not yet passed through the opening. The image acquisition unit 20 displays a second image on the camera 14 at the timing when the front sensor 13f remains off (passage detection) while the back sensor 13b switches from off (passage detection) to on (passage non-detection). Is imaged. At this timing, the hand trying to be pulled out from the storage space of the refrigerator compartment 1c is just within the imaging range 14a, and a second image showing the state of the user's hand returning after being put in the refrigerator 1 can be obtained. ..

ユーザは、手を引き抜いた後、特に用事がなければ、最後にドア部1dを閉める。シーンSC1−5は、この時の様子を示す。開閉センサ13dによって、ドア部1dが閉められたこと(以下、「閉ドア」と記載)が検知されると、画像取得部20は、カメラ14を停止する。 After pulling out the hand, the user finally closes the door portion 1d unless there is a particular need. Scenes SC1-5 show the situation at this time. When the open / close sensor 13d detects that the door unit 1d is closed (hereinafter, referred to as “closed door”), the image acquisition unit 20 stops the camera 14.

図6に、ユーザによって品物(例えば、りんご)が出庫されたケース2において見られる複数のシーンと、シーンごとの画像取得部20の撮像制御処理の内容およびそのトリガを示す。ユーザは、りんごを冷蔵庫1から取り出すために、まず、ドア部1dを開ける。シーンSC2−1は、この時の様子を示す。入庫時と同様に、画像取得部20は、開ドアが開閉センサ13dによって検知されたタイミングでカメラ14を起動し、より好ましくは参照画像を撮像させる。 FIG. 6 shows a plurality of scenes seen in the case 2 in which an item (for example, an apple) is delivered by the user, the content of the image pickup control process of the image acquisition unit 20 for each scene, and its trigger. The user first opens the door portion 1d in order to remove the apple from the refrigerator 1. Scene SC2-1 shows the situation at this time. Similar to the time of warehousing, the image acquisition unit 20 activates the camera 14 at the timing when the open door is detected by the open / close sensor 13d, and more preferably captures the reference image.

次に、ユーザは、りんごを取り出すために、何も持たない手を冷蔵室1c内に差し入れる。手は必ず冷蔵室1cの開口部を通過する。シーンSC2−2は、この時の様子を示す。画像取得部20は、入庫時と同様に、バックセンサ13bがオンのままである一方で、フロントセンサ13fがオンからオフに切り替わったタイミングで、カメラ14に第1画像を撮像させる。このタイミングでは、入庫時と同様に、冷蔵庫1内に入れる前のユーザの手の様子が写っている第1画像が得られる。 Next, the user inserts an empty hand into the refrigerator compartment 1c to remove the apple. The hand always passes through the opening of the refrigerator compartment 1c. Scene SC2-2 shows the situation at this time. The image acquisition unit 20 causes the camera 14 to take a first image at the timing when the front sensor 13f is switched from on to off while the back sensor 13b remains on as in the case of warehousing. At this timing, a first image showing the state of the user's hand before being put in the refrigerator 1 can be obtained as in the case of warehousing.

次に、ユーザは、目的のりんごが置かれている位置まで、手をさらに奥に差し入れる。手は必ずいずれかの棚板1rの最前列か、最前列を通過してそれよりも奥に入る。シーンSC2−3は、この時の様子を示す。画像取得部20は、入庫時と同様に、フロントセンサ13fがオフのままである一方で、バックセンサ13bがオンからオフに切り替わったタイミングでは、カメラ14に撮像を実行させずに待機させる。画像取得部20は、再び、撮像対象が撮像範囲14aに入るまでこの待機状態を維持させる。 The user then inserts his hand further back to the position where the desired apple is placed. The hand always passes through the front row of one of the shelves 1r or the front row and goes deeper than that. Scene SC2-3 shows the situation at this time. The image acquisition unit 20 causes the camera 14 to stand by without performing imaging at the timing when the back sensor 13b is switched from on to off, while the front sensor 13f remains off as in the case of warehousing. The image acquisition unit 20 again maintains this standby state until the image pickup target enters the image pickup range 14a.

次に、ユーザは、りんごを手に取ってその手を引き抜く。この場合、手は、必ず、開口部を通過する前に、棚板1rの最前列を通過する。シーンSC2−4は、この時の様子を示す。画像取得部20は、フロントセンサ13fがオフのままである一方で、バックセンサ13bがオフからオンに切り替わったタイミングで、カメラ14に第2画像を撮像させる。このタイミングでは、入庫時と同様に、冷蔵庫1内に入れた後に戻ってくるユーザの手の様子が写っている第2画像が得られる。 The user then picks up the apple and pulls it out. In this case, the hand always passes through the front row of the shelf board 1r before passing through the opening. Scene SC2-4 shows the situation at this time. The image acquisition unit 20 causes the camera 14 to take a second image at the timing when the back sensor 13b is switched from off to on while the front sensor 13f remains off. At this timing, a second image showing the state of the user's hand returning after being put in the refrigerator 1 can be obtained as in the case of warehousing.

ユーザは、手を引き抜いた後、特に用事がなければ、最後にドア部1dを閉める。シーンSC2−5は、この時の様子を示す。閉ドアが検知されると、画像取得部20は、カメラ14を停止する。 After pulling out the hand, the user finally closes the door portion 1d unless there is a particular need. Scene SC2-5 shows the situation at this time. When the closed door is detected, the image acquisition unit 20 stops the camera 14.

図7に、1回の手の出し入れで入庫と出庫とが同時に行われるケース3において見られる複数のシーンと、シーンごとの画像取得部20の撮像制御処理の内容およびそのトリガを示す。ユーザは、りんごを冷蔵庫1に入れて、牛乳を冷蔵庫1から取り出すために、まず、ドア部1dを開ける。シーンSC3−1は、この時の様子を示す。上述と同様に、画像取得部20は、開ドアが検知されたタイミングでカメラ14を起動し、より好ましくは参照画像を撮像させる。 FIG. 7 shows a plurality of scenes seen in Case 3 in which warehousing and warehousing are performed at the same time with one hand in and out, the contents of the image pickup control process of the image acquisition unit 20 for each scene, and their triggers. The user first opens the door portion 1d in order to put the apple in the refrigerator 1 and take out the milk from the refrigerator 1. Scene SC3-1 shows the situation at this time. Similar to the above, the image acquisition unit 20 activates the camera 14 at the timing when the door opening is detected, and more preferably images the reference image.

次に、ユーザは、まずはりんごを入れるために、りんごを持った手を冷蔵室1c内に差し入れる。手は必ず冷蔵室1cの開口部を通過する。シーンSC3−2は、この時の様子を示す。画像取得部20は、上述と同様に、バックセンサ13bがオンのままである一方で、フロントセンサ13fがオンからオフに切り替わったタイミングで、カメラ14に第1画像を撮像させる。このタイミングでは、上述と同様に、冷蔵庫1内に入れる前のユーザの手の様子が写っている第1画像が得られる。 Next, the user first inserts the hand holding the apple into the refrigerator compartment 1c in order to insert the apple. The hand always passes through the opening of the refrigerator compartment 1c. Scene SC3-2 shows the situation at this time. As described above, the image acquisition unit 20 causes the camera 14 to take a first image at the timing when the back sensor 13b remains on while the front sensor 13f is switched from on to off. At this timing, as described above, a first image showing the state of the user's hand before being placed in the refrigerator 1 can be obtained.

次に、ユーザは、りんごを所望の位置に置いて、牛乳を手にするために手をさらに奥に差し入れる。手は必ずいずれかの棚板1rの最前列か、最前列を通過してそれよりも奥に入る。シーンSC3−3は、この時の様子を示す。画像取得部20は、上述と同様に、フロントセンサ13fがオフのままである一方で、バックセンサ13bがオンからオフに切り替わったタイミングでは、カメラ14に撮像を実行させずに待機させる。画像取得部20は、再び、撮像対象が撮像範囲14aに入るまでこの待機状態を維持させる。 The user then places the apple in the desired position and inserts his hand further back to get the milk. The hand always passes through the front row of one of the shelves 1r or the front row and goes deeper than that. Scene SC3-3 shows the situation at this time. As described above, the image acquisition unit 20 causes the camera 14 to stand by without performing imaging at the timing when the back sensor 13b is switched from on to off while the front sensor 13f remains off. The image acquisition unit 20 again maintains this standby state until the image pickup target enters the image pickup range 14a.

次に、ユーザは、牛乳を手に取ってその手を引き抜く。この場合、手は、必ず、開口部を通過する前に、棚板1rの最前列を通過する。シーンSC3−4は、この時の様子を示す。画像取得部20は、フロントセンサ13fがオフのままである一方で、バックセンサ13bがオフからオンに切り替わったタイミングで、カメラ14に第2画像を撮像させる。このタイミングでは、上述と同様に、冷蔵庫1内に入れた後に戻ってくるユーザの手の様子が写っている第2画像が得られる。 The user then picks up the milk and pulls it out. In this case, the hand always passes through the front row of the shelf board 1r before passing through the opening. Scene SC3-4 shows the situation at this time. The image acquisition unit 20 causes the camera 14 to take a second image at the timing when the back sensor 13b is switched from off to on while the front sensor 13f remains off. At this timing, as described above, a second image showing the state of the user's hand returning after being placed in the refrigerator 1 can be obtained.

ユーザは、手を引き抜いた後、特に用事がなければ、最後にドア部1dを閉める。シーンSC3−5は、この時の様子を示す。閉ドアが検知されると、画像取得部20は、カメラ14を停止する。 After pulling out the hand, the user finally closes the door portion 1d unless there is a particular need. Scene SC3-5 shows the situation at this time. When the closed door is detected, the image acquisition unit 20 stops the camera 14.

図8に、手の出し入れは起こったが、品物の入出庫が起こらなかったケース4において見られる複数のシーンと、シーンごとの画像取得部20の撮像制御処理の内容およびそのトリガを示す。画像取得部20による撮像制御処理は、上述と同様に、実行される。 FIG. 8 shows a plurality of scenes seen in the case 4 in which the goods were taken in and out but the goods were not taken in and out, the contents of the image pickup control process of the image acquisition unit 20 for each scene, and their triggers. The image pickup control process by the image acquisition unit 20 is executed in the same manner as described above.

すなわち、シーンSC4−1において、「開ドア」が検知されると、画像取得部20は、カメラ14を起動して、参照画像を撮像させる。シーンSC4−2において、バックセンサ13bがオンのまま、フロントセンサ13fがオンからオフに切り替わると、カメラ14に第1画像を撮像させる。シーンSC4−3において、フロントセンサ13fがオフのまま、バックセンサ13bがオンからオフに切り替わった後、次に、バックセンサ13bがオンに切り替わるまでの間、カメラ14を待機させる。シーンSC4−4において、フロントセンサ13fがオフのまま、バックセンサ13bがオンに切り替わると、カメラ14に第2画像を撮像させる。シーンSC4−5において、「閉ドア」が検知されると、画像取得部20は、カメラ14を停止する。 That is, when the "open door" is detected in the scene SC4-1, the image acquisition unit 20 activates the camera 14 to capture the reference image. In the scene SC4-2, when the front sensor 13f is switched from on to off while the back sensor 13b remains on, the camera 14 is made to capture the first image. In scene SC4-3, after the back sensor 13b is switched from on to off while the front sensor 13f remains off, the camera 14 is kept on standby until the back sensor 13b is then switched on. In the scene SC4-4, when the back sensor 13b is switched on while the front sensor 13f is off, the camera 14 is made to take a second image. When the "closed door" is detected in the scene SC4-5, the image acquisition unit 20 stops the camera 14.

以上のとおり、画像取得部20がセンサ13が出力するセンサ値に基づいて、カメラ14の撮像タイミングを制御することにより、少なくとも、第1画像および第2画像の2枚の静止画が取得される。上述のとおり、第1画像には、冷蔵庫1内に入れる前のユーザの手の様子が写っており、第2画像には、冷蔵庫1内に入れた後に戻ってくるユーザの手の様子が写っている。 As described above, by controlling the imaging timing of the camera 14 based on the sensor value output by the sensor 13, at least two still images, the first image and the second image, are acquired by the image acquisition unit 20. .. As described above, the first image shows the state of the user's hand before putting it in the refrigerator 1, and the second image shows the state of the user's hand returning after putting it in the refrigerator 1. ing.

図9は、画像取得部20によって実行される撮像制御処理の流れを示すフローチャートである。なお、フローチャートを参照して以下に開示された方法において、特定の順序で実行される特定のステップが示されているが、これは、単なる例示の目的であって、本発明に係る処理の方法を限定する意図はない。フローチャートにおいて連続的に記載された各ステップは、本発明の方法と等価な方法を達成するために、実施形態が開示または示唆する内容から逸脱しない範囲で、組み合わせて1つのステップを実現してもよいし、さらに、さらに詳細なステップに分割されてもよいし、各ステップは並行して実行されてもよいし、開示されたものと異なる順序で実行されてもよいし、必須でないステップは省略されてもよい。すなわち、各ステップに付されたステップ番号は、処理が実行される実際の順番を示しているのではない。その他のフローチャートにおいても同様である。 FIG. 9 is a flowchart showing the flow of the imaging control process executed by the image acquisition unit 20. In addition, in the method disclosed below with reference to the flowchart, a specific step to be executed in a specific order is shown, but this is merely an exemplary purpose, and the method of processing according to the present invention. There is no intention to limit. Each step described continuously in the flowchart may be combined to realize one step in order to achieve a method equivalent to the method of the present invention without departing from the content disclosed or suggested by the embodiment. It may be further subdivided into more detailed steps, each step may be performed in parallel, may be performed in a different order than the disclosed ones, and non-essential steps may be omitted. May be done. That is, the step number assigned to each step does not indicate the actual order in which the processes are executed. The same applies to other flowcharts.

開閉センサ13dによって開ドアが検知されると(S101でYES)、画像取得部20は、カメラ14を起動し、参照画像を撮像させる(S102)。画像取得部20は、ドア部1dの開閉1回につき1つの参照画像を取得する。画像取得部20は、ドア開閉回数をカウントし、取得した参照画像を、ドアの開閉1回分(例えば、ドア開閉回ID)に紐付けて画像記憶部31に格納する。これ以後、画像取得部20は、閉ドアが検知されるまでの間、手の出し入れ回数をカウントし、手の出し入れ1回ごとに、2枚の画像(手の入りの画像、および、手の出しの画像)を取得する。ドア開閉回数IDと、手の出し入れ回数IDと、手の入りか出しかの2値とを組み合わせて、これを画像の識別情報とし、画像のファイル名に採用することが好ましい。 When the open / close sensor 13d detects the opening of the door (YES in S101), the image acquisition unit 20 activates the camera 14 to capture a reference image (S102). The image acquisition unit 20 acquires one reference image for each opening and closing of the door unit 1d. The image acquisition unit 20 counts the number of times the door is opened and closed, associates the acquired reference image with one door opening / closing time (for example, the door opening / closing time ID), and stores the acquired reference image in the image storage unit 31. After that, the image acquisition unit 20 counts the number of times the hand is put in and out until the closed door is detected, and each time the hand is put in and out, two images (an image of the hand and a hand) are taken in and out. Get the image). It is preferable to combine the door opening / closing count ID, the hand entry / exit count ID, and the binary value of hand entry / exit, and use this as image identification information and adopt it in the image file name.

フロントセンサ13fのみがオンからオフになると(S103でYES)、画像取得部20は、カメラ14に第1画像を撮像させる(S104)。その後、バックセンサ13bもオンからオフになり(S105でYES)、そこからさらに、バックセンサ13bのみがオフからオンに戻ると(S107でYES)、画像取得部20は、カメラ14に第2画像を撮像させる(S108)。最後に、フロントセンサ13fもオフからオンに戻ると(S109でYES)、これで、1回の手の出し入れが確定し、画像取得部20は、その回の手の出し入れに紐付けて、取得した第1画像および第2画像を対にして、画像記憶部31に記憶する(S110)。 When only the front sensor 13f is turned from on to off (YES in S103), the image acquisition unit 20 causes the camera 14 to capture the first image (S104). After that, when the back sensor 13b also turns from on to off (YES in S105) and then only the back sensor 13b returns from off to on (YES in S107), the image acquisition unit 20 sends the second image to the camera 14. Is imaged (S108). Finally, when the front sensor 13f also returns from off to on (YES in S109), this confirms one hand in / out, and the image acquisition unit 20 associates it with the hand in / out and acquires it. The first image and the second image are paired and stored in the image storage unit 31 (S110).

一方、S109において、フロントセンサ13fがオフからオンに戻らないうちに、バックセンサ13bが再びオンからオフに戻ると(S109でNO)、これは、ユーザの手が出きらずに再び冷蔵室1cの奥に差し入れられたことになる。この場合において、さらに、再び、バックセンサ13bのみがオフからオンに戻ると(S107でYES)、このタイミングが、当該1回の手の出し入れにおける、最新の「手の出し」であると認識し、画像取得部20は、当該最新の「手の出し」を写す第2画像を撮像する。ここで、先のS108において撮像された第2画像は、破棄されるか、上記最新の第2画像に上書きされる。そして、S109でYESの場合に、1回の手の出し入れが確定し、画像取得部20は、上述したのと同様に、第1画像および最新の第2画像を対にして、画像記憶部31に保存する(S110)。 On the other hand, in S109, if the back sensor 13b returns from on to off again before the front sensor 13f returns from off to on (NO in S109), this means that the refrigerating chamber 1c cannot be reached again. It means that it was inserted in the back. In this case, when only the back sensor 13b returns from off to on again (YES in S107), it is recognized that this timing is the latest "hand-out" in the one-time hand-in / out. , The image acquisition unit 20 captures a second image that captures the latest "hand-out". Here, the second image captured in S108 is either discarded or overwritten with the latest second image. Then, in the case of YES in S109, one hand insertion / removal is confirmed, and the image acquisition unit 20 pairs the first image and the latest second image in the same manner as described above, and the image storage unit 31 Save to (S110).

一方、S104の後、S105において、バックセンサ13bもオンからオフにならないうちに(S105でNO)、フロントセンサ13fがオンからオフになった場合(S111でYES)、これは、ユーザの手が、開口部まで差し入れられたものの、冷蔵室1cの奥に入ることなく、すなわち、品物が置かれたり取り出されたりすることのないまま、引き抜かれたことを意味する。この場合、手が差し入れられたときの第1画像は撮像されるが、その対となる第2画像が撮像されぬまま、1回の手の出し入れが終了してしまう。そこで、画像取得部20は、S110にて、当該手の出し入れ回数に紐付けて、第1画像のみを画像記憶部31に記憶してもよい。あるいは、第1画像を第2画像として複製して、内容が同じ第1画像および第2画像を対にして画像記憶部31に記憶してもよい。いずれの記憶方法であっても、入出庫判定部22において、当該手の出し入れにおいて品物の入出庫は起こらなかった(在庫変動なし)と正しく判定できるように入出庫判定部22を構成する。 On the other hand, after S104, in S105, when the front sensor 13f is turned from on to off (YES in S111) before the back sensor 13b is also turned from on to off (NO in S105), this is a user's hand. It means that although it was inserted to the opening, it was pulled out without entering the back of the refrigerator compartment 1c, that is, without the item being placed or taken out. In this case, the first image when the hand is inserted is captured, but one hand insertion / removal is completed without the paired second image being captured. Therefore, the image acquisition unit 20 may store only the first image in the image storage unit 31 in S110 in association with the number of times the hand is taken in and out. Alternatively, the first image may be duplicated as the second image, and the first image and the second image having the same contents may be paired and stored in the image storage unit 31. Regardless of the storage method, the warehousing / delivery determination unit 22 is configured so that the warehousing / delivery determination unit 22 can correctly determine that warehousing / delivery of goods did not occur (no inventory fluctuation) in the warehousing / delivery of the hand.

1回の手の出し入れが確定(終了)し、撮像された画像を画像記憶部31に保存すると、画像取得部20は、閉ドアが検知されないうちは(S112でNO)、手の出し入れ回数を1つインクリメントし、S103以降の処理を繰り返す。 When one hand insertion / removal is confirmed (finished) and the captured image is saved in the image storage unit 31, the image acquisition unit 20 determines the number of hand insertion / removal times until the closing door is detected (NO in S112). It increments by one and repeats the processing after S103.

(画像データベースについて)
図10は、画像記憶部31に記憶される画像データベースのデータ構造の一例を示す図である。なお、図10において、画像のデータベースをデータ構造をテーブル形式にて示したことは一例であって、当該データ構造を、テーブル形式に限定する意図はない。以降、データ構造を説明するためのその他の図においても同様である。
(About the image database)
FIG. 10 is a diagram showing an example of the data structure of the image database stored in the image storage unit 31. It should be noted that, in FIG. 10, the data structure of the image database is shown in the table format as an example, and there is no intention of limiting the data structure to the table format. Hereinafter, the same applies to other figures for explaining the data structure.

本実施形態では、一例として、カメラ14によって撮像された画像は、ドア開閉回数IDと、手の出し入れ回数IDと、手の入れ時の画像か手の出し時の画像かを示す2値の符号との組み合わせによって一意に識別される。なお、参照画像については、ドア開閉回数IDによって一意に識別される。 In the present embodiment, as an example, the image captured by the camera 14 is a door opening / closing count ID, a hand insertion / removal count ID, and a binary code indicating whether the image is an image at the time of putting in the hand or an image at the time of putting out the hand. Uniquely identified by the combination with. The reference image is uniquely identified by the door open / close count ID.

図10に示すとおり、1回のドア開閉の1回の手の出し入れに紐付けて、2枚の画像が格納される(「第1画像」のカラムおよび「第2画像」のカラム)。画像取得部20は、画像のファイル名として、「ドア開閉回数ID_手の出し入れ回数ID_手の入りか出しかを示す2値.jpg」を設定する。例えば、ファイル名「01_01_0.jpg」は、1回目のドア開閉時の1回目の手の出し入れの、手の入り時の画像であることを意味する。なお、5行目のレコードにおいて、第2画像のカラムに示されている「null」は、第2画像が撮像されていないことを意味する。これにより、5回目の手の出し入れでは、手が冷蔵室1c庫内に入れられることなく引き抜かれたことが分かる。 As shown in FIG. 10, two images are stored in association with one hand insertion / removal of one door opening / closing (column of "first image" and column of "second image"). The image acquisition unit 20 sets "door open / close count ID_hand in / out count ID_binary value .jpg indicating whether the hand is in or out" as the file name of the image. For example, the file name "01_01_0.jpg" means that it is an image of the first hand in and out when the door is opened and closed for the first time. In the record on the fifth row, "null" shown in the column of the second image means that the second image has not been captured. From this, it can be seen that in the fifth hand-in / out, the hand was pulled out without being put in the refrigerator compartment 1c.

画像データベースは、さらに、第1画像および第2画像のそれぞれに対して、特徴量抽出部21が画像処理を施した結果得られた特徴量を格納するためのカラムを有していてもよい(「第1画像の特徴量」のカラムおよび「第2画像の特徴量」のカラム)。画像データベースは、必要に応じて、さらに、中間画像を格納するためのカラムを有していてもよい(「中間画像」のカラム)。中間画像については、実施形態2にて詳述する。 The image database may further have a column for storing the feature amount obtained as a result of the feature amount extraction unit 21 performing image processing on each of the first image and the second image ((). Column of "feature amount of first image" and column of "feature amount of second image"). The image database may further have columns for storing intermediate images, if desired (columns for "intermediate images"). The intermediate image will be described in detail in the second embodiment.

手の出し入れ1回ごとに、「第1画像」のカラムおよび「第2画像」のカラムのそれぞれに格納された画像対、または、該画像対のそれぞれの特徴量は、入出庫判定部22によって読み出され、入出庫判定処理を実行するために利用される。 Each time the hand is taken in and out, the image pair stored in each of the "first image" column and the "second image" column, or the feature amount of each of the image pairs is determined by the warehousing / delivery determination unit 22. It is read and used to execute the warehousing / delivery determination process.

(特徴量抽出部21による画像処理)
図11および図12は、特徴量抽出部21によって実行される画像処理の一例を説明する図である。まず、特徴量抽出部21は、処理対象のドア開閉回の参照画像(例えば、図10に示す「ref01.jpg」)と、処理対象の手の出し入れ回の第1画像および第2画像を画像記憶部31から読み出す。そして、特徴量抽出部21は、参照画像と第1画像との差分、および、参照画像と第2画像との差分を抽出する。これにより、参照画像に写っていなかった前景(ユーザの手および手に把持された品物)領域が特定される。
(Image processing by feature extraction unit 21)
11 and 12 are diagrams illustrating an example of image processing executed by the feature amount extraction unit 21. First, the feature amount extraction unit 21 captures a reference image of the door opening / closing times of the processing target (for example, “ref01.jpg” shown in FIG. 10) and first and second images of the hand in / out times of the processing target. Read from the storage unit 31. Then, the feature amount extraction unit 21 extracts the difference between the reference image and the first image and the difference between the reference image and the second image. As a result, the foreground area (the user's hand and the item held by the hand) that was not shown in the reference image is specified.

図11の(a)および(b)に示すとおり、特徴量抽出部21は、第1画像および第2画像のそれぞれについて、前景領域か、それ以外の非前景領域(すなわち背景領域)かを2値で表現した2値化画像を生成する。図11の(a)は、品物を何も持たない手のシーンを写した原画像に基づいて、特徴量抽出部21が生成した、2値化画像の一例を示す図である。図11の(b)は、りんごを手に持ったシーンを写した原画像に基づいて、特徴量抽出部21が生成した、2値化画像の一例を示す図である。同図に示す例では、前景領域(りんごおよび手)の各ピクセルは、「1(黒色)」で表現されている。特徴量抽出部21は、このようにして生成した第1画像および第2画像の2値化画像を図10に示す画像データベースに格納する(「第1画像の特徴量」のカラムおよび「第2画像の特徴量」のカラム)。入出庫判定部22および品物識別部23は、2値化画像を参照することにより、冷蔵庫1の所定の場所を通過した撮像対象物の形状を把握することが可能となる。 As shown in FIGS. 11A and 11B, the feature amount extraction unit 21 determines whether the first image and the second image are foreground regions or other non-foreground regions (that is, background regions). Generate a binarized image expressed by a value. FIG. 11A is a diagram showing an example of a binarized image generated by the feature amount extraction unit 21 based on an original image showing a scene of a hand holding nothing. FIG. 11B is a diagram showing an example of a binarized image generated by the feature amount extraction unit 21 based on an original image of a scene holding an apple in hand. In the example shown in the figure, each pixel in the foreground region (apple and hand) is represented by "1 (black)". The feature amount extraction unit 21 stores the binarized images of the first image and the second image thus generated in the image database shown in FIG. 10 (the column of "feature amount of the first image" and the "second". Image feature quantity column). By referring to the binarized image, the warehousing / delivery determination unit 22 and the item identification unit 23 can grasp the shape of the image-imaging object that has passed the predetermined place of the refrigerator 1.

あるいは、特徴量抽出部21は、図11の(c)および(d)に示すとおり、第1画像および第2画像のそれぞれの前景領域について、画像ヒストグラムを作成してもよい。図11の(c)は、りんごを手に持ったシーンの前景領域について、特徴量抽出部21が生成した、画像ヒストグラムの一例を示す図である。図11の(b)は、品物を何も持たない手のシーンの前景領域について、特徴量抽出部21が生成した、画像ヒストグラムの一例を示す図である。ヒストグラムの横軸は、所定の分類方式によって区分された色成分の区間を示し、縦軸はその区間に属する色を持つ画素の度数を示す。特徴量抽出部21は、第1画像の前景領域の画像ヒストグラムを、図10に示す画像データベースの「第1画像の特徴量」のカラムに、第2画像の前景領域の画像ヒストグラムを、「第2画像の特徴量」のカラムにそれぞれ格納する。入出庫判定部22および品物識別部23は、画像ヒストグラムを参照することにより、冷蔵庫1の所定の場所を通過した撮像対象物の色成分を把握することが可能となる。 Alternatively, the feature amount extraction unit 21 may create an image histogram for each of the foreground regions of the first image and the second image, as shown in FIGS. 11 (c) and 11 (d). FIG. 11C is a diagram showing an example of an image histogram generated by the feature amount extraction unit 21 for the foreground region of a scene in which an apple is held in hand. FIG. 11B is a diagram showing an example of an image histogram generated by the feature amount extraction unit 21 for the foreground region of the scene of a hand holding nothing. The horizontal axis of the histogram shows the section of the color component classified by a predetermined classification method, and the vertical axis shows the frequency of the pixel having the color belonging to the section. The feature amount extraction unit 21 puts the image histogram of the foreground region of the first image in the column of "feature amount of the first image" of the image database shown in FIG. 2 Each is stored in the column of "feature amount of image". By referring to the image histogram, the warehousing / delivery determination unit 22 and the item identification unit 23 can grasp the color component of the image-imaging object that has passed the predetermined place of the refrigerator 1.

あるいは、特徴量抽出部21は、図12の(a)および(b)に示すとおり、第1画像および第2画像のそれぞれの前景領域について、事前に学習しておいた手(肌)の色に近い成分領域をマスキングしてもよい。図12の(a)は、品物を何も持たない手のシーンを写した前景領域に基づいて、特徴量抽出部21が生成した、マスキング画像の一例を示す図である。図12の(b)は、りんごを手に持ったシーンを写した前景領域に基づいて、特徴量抽出部21が生成した、マスキング画像の一例を示す図である。マスキング画像では、手の領域がマスクされ、手以外の領域(すなわち、品物の領域)が特定される。特徴量抽出部21は、第1画像および第2画像それぞれの前景領域のマスキング画像を、図10に示す画像データベースの「第1画像の特徴量」のカラムおよび「第2画像の特徴量」のカラムにそれぞれ格納する。入出庫判定部22および品物識別部23は、マスキング画像を参照することにより、冷蔵庫1の所定の場所を通過した撮像対象物について、手以外(品物)の領域がある場合に、それを把握することが可能となる。 Alternatively, as shown in FIGS. 12A and 12B, the feature amount extraction unit 21 has previously learned the color of the hand (skin) for each of the foreground regions of the first image and the second image. The component region close to may be masked. FIG. 12A is a diagram showing an example of a masking image generated by the feature amount extraction unit 21 based on a foreground region in which a scene of a hand holding nothing is captured. FIG. 12B is a diagram showing an example of a masking image generated by the feature amount extraction unit 21 based on a foreground region in which a scene of holding an apple is captured. In the masked image, the area of the hand is masked and the area other than the hand (that is, the area of the item) is identified. The feature amount extraction unit 21 uses the masking images of the foreground regions of the first image and the second image in the "feature amount of the first image" column and the "feature amount of the second image" of the image database shown in FIG. Store each in a column. By referring to the masking image, the warehousing / delivery determination unit 22 and the item identification unit 23 grasp the imaged object that has passed through the predetermined place of the refrigerator 1 when there is an area other than the hand (article). It becomes possible.

あるいは、特徴量抽出部21は、パターン記憶部30において事前に学習されている手のパターン画像と、前景領域とのマッチングを行い、手のパターン画像とマッチする領域を取り除くことにより、手の領域と品物の領域とを区別してもよい。または、パターン記憶部30において、冷蔵庫1に貯蔵することが想定されているあらゆる品物のパターン画像を学習しておき、パターン画像と前景領域とのマッチングを行って、いずれかの品物のパターン画像とマッチする領域を特定してもよい。なお、パターン記憶部30は、マッチング精度を高めるために膨大な量のパターン画像を学習しておくことが想定される。そこで、パターン記憶部30を、クラウドサーバ2に設けて、冷蔵庫1は、第1画像および第2画像をクラウドサーバ2に送信してマッチング結果を要求する構成としてもよい。冷蔵庫1は、クラウドサーバ2からマッチング結果を含む応答を受信し、特徴量抽出部21が、マッチング結果に基づいて、前景領域の品物の領域を検出する。 Alternatively, the feature amount extraction unit 21 matches the hand pattern image learned in advance in the pattern storage unit 30 with the foreground region, and removes the region that matches the hand pattern image to remove the hand region. And the area of the goods may be distinguished. Alternatively, the pattern storage unit 30 learns the pattern images of all the items that are supposed to be stored in the refrigerator 1, matches the pattern images with the foreground area, and matches the pattern images of any of the items. You may specify the matching area. It is assumed that the pattern storage unit 30 learns a huge amount of pattern images in order to improve the matching accuracy. Therefore, the pattern storage unit 30 may be provided in the cloud server 2, and the refrigerator 1 may be configured to transmit the first image and the second image to the cloud server 2 to request a matching result. The refrigerator 1 receives a response including the matching result from the cloud server 2, and the feature amount extraction unit 21 detects the region of the item in the foreground region based on the matching result.

あるいは、冷蔵庫1に、さらにサーモカメラを、撮像範囲14aを写すように取り付ける。そして、画像取得部20が、該サーモカメラを制御して、撮像範囲14aの表面温度分布画像を、カメラ14が撮像するのとほぼ同様のタイミングで取得する。そして、特徴量抽出部21は、表面温度分布画像から人の体温と同じ領域を特定して、その領域を第1画像および第2画像の前景領域から取り除くことにより、手の領域と品物の領域とを区別してもよい。 Alternatively, a thermo camera is further attached to the refrigerator 1 so as to capture the imaging range 14a. Then, the image acquisition unit 20 controls the thermo camera to acquire the surface temperature distribution image of the imaging range 14a at substantially the same timing as the camera 14 captures the surface temperature distribution image. Then, the feature amount extraction unit 21 identifies the same region as the human body temperature from the surface temperature distribution image, removes the region from the foreground region of the first image and the second image, and thereby, the region of the hand and the region of the article. May be distinguished from.

以上の説明から、参照画像を用いることの利点は明らかになった。すなわち、参照画像を用いることにより、背景領域(手および品物以外の領域)を事前に省くことができるので、特徴量抽出部21は、画像処理の対象を前景領域に限定することができる。これにより、特徴量抽出部21は、手の領域と品物の領域を区別するための上述の各種処理を効率よく実施することが可能となる。 From the above explanation, the advantage of using the reference image has been clarified. That is, by using the reference image, the background area (the area other than the hand and the article) can be omitted in advance, so that the feature amount extraction unit 21 can limit the image processing target to the foreground area. As a result, the feature amount extraction unit 21 can efficiently carry out the above-mentioned various processes for distinguishing the hand region and the product region.

(入出庫判定部22による入出庫判定処理)
画像取得部20によって取得された画像対(第1画像および第2画像)、または、特徴量抽出部21によって抽出された各画像の特徴量に基づいて、入出庫判定部22は、入出庫判定処理を実行する。図13は、入出庫判定部22によって実行される入出庫判定処理の流れを示すフローチャートである。なお、本フローチャートには、品物識別部23によって実行される品物識別処理、および、在庫管理部24によって実行される在庫管理処理も含まれている。
(The warehousing / delivery determination process by the warehousing / delivery determination unit 22)
Based on the image pair (first image and second image) acquired by the image acquisition unit 20 or the feature amount of each image extracted by the feature amount extraction unit 21, the warehousing / delivery determination unit 22 determines the warehousing / delivery. Execute the process. FIG. 13 is a flowchart showing the flow of the warehousing / delivery determination process executed by the warehousing / delivery determination unit 22. The flowchart also includes an item identification process executed by the item identification unit 23 and an inventory management process executed by the inventory management unit 24.

まず、入出庫判定部22は、処理対象の手の出し入れ回における画像対、または、該画像対の特徴量を画像記憶部31(図10の画像データベース)から読み出す(S201)。ここで、処理対象レコードの第2画像またはその特徴量がnullで読み出せない場合(S202でNO)、手が冷蔵室1cの奥まで入らなかったので、品物の入出庫は行われず、したがって、入出庫判定部22は、在庫に変動はないと判定する(S216)。 First, the warehousing / delivery determination unit 22 reads out the image pair or the feature amount of the image pair in the movement of the hand to be processed from the image storage unit 31 (image database of FIG. 10) (S201). Here, when the second image of the record to be processed or its feature amount cannot be read by null (NO in S202), since the hand did not enter the depth of the refrigerating chamber 1c, the goods are not taken in and out, and therefore, the goods are not taken in and out. The warehousing / delivery determination unit 22 determines that there is no change in the inventory (S216).

一方、画像を対で読み出した場合には(S202でYES)、まず、入出庫判定部22は、第1画像に品物が写っているか否かを判定する。画像における品物の有無は、特徴量抽出部21によって抽出された画像の特徴量を参照することにより判定することができる。例えば、入出庫判定部22は、画像に含まれる前景領域の形状が、手以外の何かを含んだ形状である場合(図11の(b))に、品物ありと判定し、手の形状のみである場合(図11の(a))に、品物なしと判定する。 On the other hand, when the images are read out in pairs (YES in S202), the warehousing / delivery determination unit 22 first determines whether or not the item is reflected in the first image. The presence or absence of an item in the image can be determined by referring to the feature amount of the image extracted by the feature amount extraction unit 21. For example, when the shape of the foreground region included in the image is a shape including something other than the hand ((b) of FIG. 11), the warehousing / delivery determination unit 22 determines that there is an item and the shape of the hand. In the case of only ((a) in FIG. 11), it is determined that there is no item.

入出庫判定部22は、第1画像に品物が写っていると判定した場合(S203でYES)、次に、入出庫判定部22は、第2画像の品物の有無を判定する。なお、制御部10が品物識別部23を有している場合、品物識別部23は、S203でYESと判定された後の任意のタイミングで、S203にてありと判定された品物を識別してもよい。具体的には、該品物を識別するための品物識別情報を生成する(S204)。第1画像に写っている品物を以下では、仮に「品物1」と称する。 When the warehousing / delivery determination unit 22 determines that the item is shown in the first image (YES in S203), the warehousing / delivery determination unit 22 then determines the presence / absence of the item in the second image. When the control unit 10 has the item identification unit 23, the item identification unit 23 identifies the item determined to be present in S203 at an arbitrary timing after the determination in S203 is YES. May be good. Specifically, the item identification information for identifying the item is generated (S204). In the following, the item shown in the first image will be tentatively referred to as "item 1".

入出庫判定部22が、第2画像に品物が写っていると判定した場合(S205でYES)、品物識別部23は、第2画像に写る品物(以下、「品物2」)を識別する(S206)。ここで、入出庫判定部22は、品物1が入庫され、品物2が出庫されたと判定する(S207)。 When the warehousing / delivery determination unit 22 determines that the item is shown in the second image (YES in S205), the item identification unit 23 identifies the item (hereinafter, "item 2") shown in the second image (hereinafter, "item 2"). S206). Here, the warehousing / delivery determination unit 22 determines that the item 1 has been warehousing and the item 2 has been warehousing (S207).

そこで、在庫管理部24は、品物1の入庫に対応するように、品物1の新規レコードを在庫表記憶部32に記憶されている在庫表に登録する(S208)。在庫表に入庫日時を格納する場合、在庫管理部24は、例えば、品物1が写っている第1画像の撮像日時を、入庫日時として扱ってもよい。併せて、在庫管理部24は、品物2の出庫に対応するように、品物2のレコードを上記在庫表から削除する(S209)。これで、処理対象の手の出し入れ1回につき、一連の在庫管理が完了する。 Therefore, the inventory management unit 24 registers a new record of the item 1 in the inventory table stored in the inventory table storage unit 32 so as to correspond to the receipt of the item 1 (S208). When storing the warehousing date and time in the inventory table, the inventory management unit 24 may treat, for example, the imaging date and time of the first image in which the item 1 is captured as the warehousing date and time. At the same time, the inventory management unit 24 deletes the record of the item 2 from the inventory table so as to correspond to the delivery of the item 2 (S209). This completes a series of inventory management for each hand in and out of the processing target.

上記方法によれば、2枚の画像から、1回の手の出し入れにおいて、品物1の入庫と品物2の出庫が行われたことが把握される。そして、その事実と整合するように、在庫表が更新される。 According to the above method, it can be grasped from the two images that the goods 1 and the goods 2 have been taken in and out in one hand in and out. The inventory table is then updated to be consistent with that fact.

一方、S205において、入出庫判定部22が、第2画像に品物が写っていないと判定した場合(S205でNO)、入出庫判定部22は、品物1が入庫されたと判定する(S210)。そこで、在庫管理部24は、S208と同様に、品物1の新規レコードを上記在庫表に登録する(S211)。これで、処理対象の手の出し入れ1回につき、一連の在庫管理が完了する。上記方法によれば、2枚の画像から、1回の手の出し入れにおいて、品物1の入庫が行われたことが把握される。そして、その事実と整合するように、在庫表が更新される。 On the other hand, in S205, when the warehousing / delivery determination unit 22 determines that the item is not shown in the second image (NO in S205), the warehousing / delivery determination unit 22 determines that the item 1 has been warehousing (S210). Therefore, the inventory management unit 24 registers a new record of the item 1 in the inventory table as in S208 (S211). This completes a series of inventory management for each hand in and out of the processing target. According to the above method, it can be grasped from the two images that the item 1 has been warehousing in one hand in and out. The inventory table is then updated to be consistent with that fact.

一方、S203において、入出庫判定部22が、第1画像に品物が写っていないと判定した場合(S203でNO)、次に、入出庫判定部22は、第2画像の品物の有無を判定する。ここで、入出庫判定部22は、第2画像に品物が写っていると判定した場合(S212でYES)、品物識別部23は、第2画像に写る品物2を識別する(S213)。ここで、入出庫判定部22は、品物2が出庫されたと判定する(S214)。そこで、在庫管理部24は、S209と同様に、品物2のレコードを上記在庫表から削除する(S215)。これで、処理対象の手の出し入れ1回につき、一連の在庫管理が完了する。上記方法によれば、2枚の画像から、1回の手の出し入れにおいて、品物2の出庫が行われたことが把握される。そして、その事実と整合するように、在庫表が更新される。 On the other hand, in S203, when the warehousing / delivery determination unit 22 determines that the item is not shown in the first image (NO in S203), the warehousing / delivery determination unit 22 then determines the presence / absence of the item in the second image. do. Here, when the warehousing / delivery determination unit 22 determines that the item is shown in the second image (YES in S212), the item identification unit 23 identifies the item 2 shown in the second image (S213). Here, the warehousing / delivery determination unit 22 determines that the item 2 has been delivered (S214). Therefore, the inventory management unit 24 deletes the record of the item 2 from the inventory table as in S209 (S215). This completes a series of inventory management for each hand in and out of the processing target. According to the above method, it can be grasped from the two images that the item 2 has been delivered in one hand in and out. The inventory table is then updated to be consistent with that fact.

一方、S212において、入出庫判定部22が、第2画像に品物が写っていないと判定した場合(S212でNO)、いずれの画像にも品物が写っていないため、品物の入出庫は行われていないと判定する。すなわち、入出庫判定部22は、在庫に変動はないと判定する(S216)。これで、処理対象の手の出し入れ1回につき、一連の在庫管理が完了する。上記方法によれば、2枚の画像から、1回の手の出し入れにおいて、品物の入出庫が行われなかったことが把握される。この場合、在庫管理部24によって、在庫表の更新は実施されない。 On the other hand, in S212, when the warehousing / delivery determination unit 22 determines that the item is not shown in the second image (NO in S212), the warehousing / delivery is performed because the item is not shown in any of the images. Judge that it is not. That is, the warehousing / delivery determination unit 22 determines that there is no change in the inventory (S216). This completes a series of inventory management for each hand in and out of the processing target. According to the above method, it can be grasped from the two images that the goods were not taken in and out in one hand in and out. In this case, the inventory management unit 24 does not update the inventory table.

(品物識別部23による品物識別処理)
品物識別部23は、入出庫判定部22によって品物ありと判定された画像について、該画像に含まれる品物を識別するものである。具体的には、ありと判定された上記品物を在庫管理するために、該品物を識別するための品物識別情報を生成する。
(Item identification process by item identification unit 23)
The item identification unit 23 identifies the item included in the image with respect to the image determined by the warehousing / delivery determination unit 22 to have the item. Specifically, in order to manage the inventory of the above-mentioned item determined to be present, the item identification information for identifying the item is generated.

品物ありと判定された画像については、特徴量抽出部21によって、あらかじめ抽出されている特徴量に基づいて、品物の領域が特定されている。したがって、品物識別部23は、上記品物の領域の特徴量とマッチする、品物のパターン画像をパターン記憶部30から検索することができる。そして、品物識別部23は、検索したパターン画像に対応付けられている品物の名称を読み出して、これを上記品物の品物識別情報として採用する。例えば、図12の(b)に示すりんごの領域と、パターン画像とを比較し、りんごのパターン画像を検索することができた場合、品物識別部23は、該パターン画像に関連付けられているテキストデータ「りんご」を、上記品物ありと判定された画像に対応付けて、在庫管理部24に対して通知する。 For the image determined to have an item, the feature amount extraction unit 21 specifies the area of the item based on the feature amount extracted in advance. Therefore, the item identification unit 23 can search the pattern storage unit 30 for a pattern image of the item that matches the feature amount of the area of the item. Then, the item identification unit 23 reads out the name of the item associated with the searched pattern image and adopts this as the item identification information of the item. For example, when the apple area shown in FIG. 12B is compared with the pattern image and the apple pattern image can be searched, the item identification unit 23 uses the text associated with the pattern image. The data "apple" is associated with the image determined to have the above item and notified to the inventory management unit 24.

あるいは、品物識別部23は、品物の領域のみを抽出した品物のトリミング画像を、品物識別情報として取り扱い、上記品物ありと判定された画像と、上記トリミング画像との対応付けを在庫管理部24に対して通知する。あるいは、品物識別部23は、パターンマッチングや、品物の領域のトリミングがうまくいかなかった場合に、上記品物ありと判定された画像そのものを品物識別情報として採用してもよい。この場合、上記品物ありと判定された画像を品物識別情報として扱うように、在庫管理部24に対して通知する。 Alternatively, the item identification unit 23 handles the trimmed image of the item extracted only from the area of the item as the item identification information, and causes the inventory management unit 24 to associate the image determined to have the item with the trimmed image. Notify against. Alternatively, the item identification unit 23 may adopt the image itself determined to have the item as the item identification information when the pattern matching or the trimming of the area of the item is not successful. In this case, the inventory management unit 24 is notified to handle the image determined to have the item as the item identification information.

(在庫管理部24による在庫管理処理)
図14(a)〜(c)は、在庫表記憶部32に記憶される在庫表の具体例を示す図である。在庫表は、少なくとも、品物識別情報のカラムと入庫日時のカラムとを含む。後述するが、在庫表は、さらに、出庫日時のカラムを含んでいてもよい。
(Inventory management process by the inventory management unit 24)
14 (a) to 14 (c) are diagrams showing a specific example of the inventory table stored in the inventory table storage unit 32. The inventory table includes at least a column of item identification information and a column of receipt date and time. As will be described later, the inventory table may further include a column for the date and time of delivery.

在庫管理部24は、入出庫判定部22によって入庫と判定された場合に、品物が写っている画像と、該画像に写る品物について品物識別部23から通知された品物識別情報とに基づいて、該品物の新規レコードを作成し、在庫表に登録する。 The inventory management unit 24 is based on an image showing an item and the item identification information notified from the item identification unit 23 about the item shown in the image when the warehousing / delivery determination unit 22 determines that the item is warehousing. Create a new record for the item and register it in the inventory table.

例えば、品物識別部23によって品物の名称のテキストデータが提供された場合、在庫管理部24は、図14の(a)に示すとおり、該テキストデータを品物識別情報のカラムに格納し、入庫判定された上記画像の撮像日時を入庫日時のカラムに格納する。あるいは、品物識別部23から、品物の領域のトリミング画像が提供された場合には、在庫管理部24は、図14の(b)に示すとおり、上記トリミング画像を品物識別情報のカラムに格納する。あるいは、品物識別部23から、入庫判定された画像をそのまま品物識別情報として扱うように通知を受けた場合には、在庫管理部24は、図14の(c)に示すとおり、入庫判定された画像を品物識別情報のカラムに格納する。 For example, when the item identification unit 23 provides the text data of the item name, the inventory management unit 24 stores the text data in the item identification information column as shown in FIG. 14A, and determines the receipt of goods. The imaging date and time of the above image is stored in the warehousing date and time column. Alternatively, when the item identification unit 23 provides a trimmed image of the area of the item, the inventory management unit 24 stores the trimmed image in the column of the item identification information as shown in FIG. 14 (b). .. Alternatively, when the item identification unit 23 notifies that the image determined to be warehousing is treated as the item identification information as it is, the inventory management unit 24 determines the warehousing as shown in FIG. 14 (c). Store the image in the item identification information column.

一方、在庫管理部24は、入出庫判定部22によって出庫と判定された場合には、品物が写っている画像と、該画像に写る品物について品物識別部23から通知された品物識別情報とに基づいて、出庫された品物のレコードを在庫表から特定し、該レコードを削除する。例えば、品物識別部23からテキストデータ「りんご」が通知された場合、在庫管理部24は、品物識別情報が「りんご」であるレコードを在庫表から特定し、該レコードを削除する。 On the other hand, when the warehousing / delivery determination unit 22 determines that the goods have been delivered, the inventory management unit 24 uses an image showing the item and the item identification information notified from the item identification unit 23 about the item shown in the image. Based on this, a record of the goods issued is identified from the inventory table and the record is deleted. For example, when the text data "apple" is notified from the item identification unit 23, the inventory management unit 24 identifies a record whose item identification information is "apple" from the inventory table and deletes the record.

上記構成および方法によれば、1回の手の出し入れについて取得された2枚の画像を処理するだけで、入出庫の判定を正しく行うことができる。さらに、入出庫された品物を上記画像から特定して、判定した入出庫の事実と整合するように、在庫表を管理することが可能である。しかも、ユーザは、品物の出し入れに伴って特別な動作や操作を行うことを強いられない。結果として、高性能のプロセッサを必要とすることなく、かつ、ユーザの利便性を損なわずに品物の入出庫を判定することが可能な在庫管理装置または在庫管理システムを実現することができる。 According to the above configuration and method, it is possible to correctly determine the warehousing / delivery only by processing the two images acquired for one hand in / out. Further, it is possible to identify the goods that have been received and delivered from the above image and manage the inventory table so as to be consistent with the facts of the determined receipt and delivery. Moreover, the user is not forced to perform any special operation or operation when the item is taken in and out. As a result, it is possible to realize an inventory management device or an inventory management system capable of determining the receipt / delivery of goods without requiring a high-performance processor and without impairing the convenience of the user.

〔実施形態2〕
本発明の他の実施形態について、図15〜図21に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、実施形態1にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 2]
Other embodiments of the present invention will be described below with reference to FIGS. 15 to 21. For convenience of explanation, the same reference numerals will be added to the members having the same functions as the members described in the first embodiment, and the description thereof will be omitted.

実施形態1では、手を入れたときおよび出したときの2枚の画像によって、品物の入出庫を判定する冷蔵庫1について説明した。実施形態2では、冷蔵庫1は、手を入れてから出すまでの間に3枚目の画像(中間画像)を撮像する。これによって、品物が入出庫された場所(棚の段数)をさらに特定することができる。 In the first embodiment, the refrigerator 1 for determining the warehousing / delivery of an item is described based on two images when a hand is put in and when the hand is taken out. In the second embodiment, the refrigerator 1 captures a third image (intermediate image) between the time when the hand is put in and the time when the hand is put out. This makes it possible to further specify the place (the number of shelves) where the goods are received and delivered.

(冷蔵庫の概観)
図15の(a)は、実施形態2に係る冷蔵庫1の、ドア部1dを開いた状態の上面図であり、(b)は、冷蔵室1c内部の斜視図である。図16の(a)は、冷蔵室1cのドア部1dを除いた部分の概略側面図であり、(b)は、他の例における冷蔵室1c内部の斜視図である。
(Overview of the refrigerator)
FIG. 15A is a top view of the refrigerator 1 according to the second embodiment in a state where the door portion 1d is opened, and FIG. 15B is a perspective view of the inside of the refrigerator compartment 1c. FIG. 16A is a schematic side view of a portion of the refrigerating chamber 1c excluding the door portion 1d, and FIG. 16B is a perspective view of the inside of the refrigerating chamber 1c in another example.

なお、図15の(a)では、食品の出し入れが容易に理解できるように、冷蔵室1cの天板を除いて示している。また、図15の(b)および図16の(b)では、3枚の棚板1rの位置関係が容易に理解できるように、冷蔵室cのドア部1d、天板、および右側壁を除いて示している。また、図16の(a)では、3枚の棚板1rの位置関係が容易に理解できるように、冷蔵室cのドア部1dおよび右側壁を除いて示している。 In addition, in FIG. 15A, the top plate of the refrigerating chamber 1c is excluded so that the loading and unloading of food can be easily understood. Further, in (b) of FIG. 15 and (b) of FIG. 16, the door portion 1d, the top plate, and the right side wall of the refrigerator compartment c are excluded so that the positional relationship of the three shelf plates 1r can be easily understood. Is shown. Further, in FIG. 16A, the door portion 1d and the right side wall of the refrigerating chamber c are excluded so that the positional relationship of the three shelf plates 1r can be easily understood.

図15の(a)および(b)に示すとおり、実施形態2では、3枚の棚板1r−1、棚板1r−2および棚板1r−3が設けられる。これらの3枚の棚板1rは、色、形状、サイズ、質感または模様など、外観デザインが互いに異なるように設けられる。これは、撮像範囲14aに収まる3枚の棚板1rの一部が、それぞれどの棚板であるのかを静止画から識別可能なようにするためである。例えば、図15の(a)に示すとおり、棚板1rの奥行を上の板ほど短くすると、カメラ14の位置から(真上から)3枚の棚板1rを見た時に、棚板1rの縁がずれる。これにより、カメラ14が撮像範囲14aを捉えた時、その画像に写る棚板1rの一部が、どの棚板1rであるのかを識別することができる。 As shown in FIGS. 15A and 15B, in the second embodiment, three shelf boards 1r-1, a shelf board 1r-2, and a shelf board 1r-3 are provided. These three shelves 1r are provided so that their appearance designs such as color, shape, size, texture or pattern are different from each other. This is to make it possible to identify from the still image which shelf board each of the three shelf boards 1r that fits in the imaging range 14a is. For example, as shown in FIG. 15A, if the depth of the shelf board 1r is shortened as the depth of the shelf board 1r is shortened, when the three shelf boards 1r are viewed from the position of the camera 14 (from directly above), the shelf board 1r The edge shifts. Thereby, when the camera 14 captures the imaging range 14a, it is possible to identify which shelf board 1r is a part of the shelf board 1r shown in the image.

さらに、図15の(b)に示すとおり、それぞれの棚板1rの縁に、参照線Lを付すことが好ましい。これにより、カメラ14によって撮像された画像に写る3枚の棚板1rを、より明確に識別することが可能となる。 Further, as shown in FIG. 15B, it is preferable to attach a reference line L to the edge of each shelf board 1r. This makes it possible to more clearly identify the three shelf boards 1r appearing in the image captured by the camera 14.

さらに、棚板1rを透明の素材を用いて構成することにより、下の様子を透過するので、棚板1rのデザインの自由度が向上する。例えば、図16の(a)に示すとおり、上の棚板1rの奥行を、下の棚板1rの奥行よりも長くしても、棚板1rが透明であれば、下の棚板1rの縁を透過するので、撮像された画像において、3枚の棚板1rを識別することが可能となる。 Further, by constructing the shelf board 1r using a transparent material, the lower state is transmitted, so that the degree of freedom in designing the shelf board 1r is improved. For example, as shown in FIG. 16A, even if the depth of the upper shelf board 1r is longer than the depth of the lower shelf board 1r, if the shelf board 1r is transparent, the lower shelf board 1r Since the edges are transparent, it is possible to identify the three shelf boards 1r in the captured image.

あるいは、参照線Lは、線である必要はなく、一定の間隔が配列された点の集合であってもよい。あるいは、参照線Lは、直線以外にも、破線、波線、二重線などであってもよい。さらに、図16の(b)に示すとおり、棚板1rごとに、参照線Lのデザインを異ならせてもよい。カメラ14がカラー画像を撮像する場合には、棚板1rごとに参照線Lの色を変えてもよいし、棚板1r自体の色を変えてもよい。 Alternatively, the reference line L does not have to be a line and may be a set of points arranged at regular intervals. Alternatively, the reference line L may be a broken line, a wavy line, a double line, or the like, in addition to the straight line. Further, as shown in FIG. 16B, the design of the reference line L may be different for each shelf board 1r. When the camera 14 captures a color image, the color of the reference line L may be changed for each shelf board 1r, or the color of the shelf board 1r itself may be changed.

(画像取得部20による撮像制御処理)
図17に、実施形態2の冷蔵庫1に対してユーザが手を出し入れするケース5において見られる複数のシーンと、シーンごとの画像取得部20の撮像制御処理の内容およびそのトリガを示す。実施形態1に係る撮像制御処理と異なる点は、冷蔵庫1は、手を入れてから出すまでの間のシーンSC5−3において、3枚目の画像を撮像する点である。具体的には、シーンSC5−2において、ユーザが冷蔵室1c開口部に手を差し入れた後、シーンSC5−4において、ユーザが手を引き抜くまでの間に、ユーザが手を冷蔵室1c庫内に手をのばすシーンSC5−3が起こることが想定される。画像取得部20は、シーンSC5−3の発生を、フロントセンサ13fがオフのまま、バックセンサ13bがオフからオンに切り替わったことによって、検知することができる。画像取得部20は、このタイミングでカメラ14を制御して画像を撮像させる。以下では、ユーザが手を入れて出すまでの間の中間のシーンSC5−3で撮像された画像を中間画像と称する。中間画像には、ユーザが手を冷蔵室1cの奥まで差し入れたときの様子が写っており、該中画像により、ユーザの手が、どの棚板1rの下または上に差し入れられたのかが判別できる。
(Image control processing by the image acquisition unit 20)
FIG. 17 shows a plurality of scenes seen in the case 5 in which the user puts his / her hand in and out of the refrigerator 1 of the second embodiment, the contents of the image pickup control process of the image acquisition unit 20 for each scene, and the trigger thereof. The difference from the image pickup control process according to the first embodiment is that the refrigerator 1 captures a third image in the scene SC5-3 between the time when the hand is put in and the time when the hand is put out. Specifically, in scene SC5-2, after the user inserts his / her hand into the opening of the refrigerator compartment 1c and before the user pulls out his / her hand in scene SC5-4, the user hands in the refrigerator compartment 1c. It is assumed that the scene SC5-3 will occur. The image acquisition unit 20 can detect the occurrence of the scene SC5-3 by switching the back sensor 13b from off to on while the front sensor 13f remains off. The image acquisition unit 20 controls the camera 14 at this timing to capture an image. In the following, the image captured in the intermediate scene SC5-3 until the user puts his / her hand in and puts out is referred to as an intermediate image. The intermediate image shows the user's hand inserted all the way into the refrigerator compartment 1c, and the middle image determines which shelf board 1r the user's hand was inserted under or above. can.

画像取得部20は、撮像した中間画像を、第1画像および第2画像と同様に、図10に示す画像データベースに格納する。より具体的には、画像取得部20は、ドア開閉回数IDおよび手の出し入れ回数IDに対応付けて、「中間画像」のカラムに、上記中間画像を格納する。なお、画像取得部20は、中間画像のファイル名として、「ドア開閉回数ID_手の出し入れ回数ID_中間画像であることを示す値.jpg」を設定することが好ましい。例えば、ファイル名「01_01_m.jpg」は、1回目のドア開閉時の1回目の手の出し入れの、中間画像であることを意味する。さらに、特徴量抽出部21は、上記中間画像の特徴量を抽出して、これを、図10に示す画像データベースに格納してもよい。 The image acquisition unit 20 stores the captured intermediate image in the image database shown in FIG. 10 in the same manner as the first image and the second image. More specifically, the image acquisition unit 20 stores the intermediate image in the column of the "intermediate image" in association with the door opening / closing count ID and the hand insertion / removal count ID. The image acquisition unit 20 preferably sets "door opening / closing count ID_hand insertion / removal count ID_value .jpg indicating that it is an intermediate image" as the file name of the intermediate image. For example, the file name "01_01_m.jpg" means that it is an intermediate image of the first hand in and out when the door is opened and closed for the first time. Further, the feature amount extraction unit 21 may extract the feature amount of the intermediate image and store it in the image database shown in FIG.

図18は、実施形態2に係る画像取得部20によって実行される撮像制御処理の流れを示すフローチャートである。図18に示す、実施形態2の撮像制御処理において、図9に示す実施形態1の撮像制御処理と異なる点は、S106のステップが含まれている点である。具体的には、S105にて、フロントセンサ13fがオフのまま、バックセンサ13bがオンからオフに切り替わったとき(S105でYES)、画像取得部20は、カメラ14を制御して、中間画像を撮像させる(S106)。そして、実施形態1と同様にS110まで処理が進み、画像取得部20は、撮像した画像(第1画像、第2画像および中間画像)を、ドア開閉回数IDおよび手の出し入れ回数IDに紐付けて、画像記憶部31に格納する(S110)。 FIG. 18 is a flowchart showing a flow of imaging control processing executed by the image acquisition unit 20 according to the second embodiment. The image control process of the second embodiment shown in FIG. 18 is different from the image control process of the first embodiment shown in FIG. 9 in that the step of S106 is included. Specifically, in S105, when the front sensor 13f remains off and the back sensor 13b is switched from on to off (YES in S105), the image acquisition unit 20 controls the camera 14 to obtain an intermediate image. An image is taken (S106). Then, the process proceeds to S110 as in the first embodiment, and the image acquisition unit 20 associates the captured images (first image, second image, and intermediate image) with the door opening / closing count ID and the hand insertion / removal count ID. Then, it is stored in the image storage unit 31 (S110).

(入出庫判定部22による入庫先判定処理)
入出庫判定部22は、図13の入出庫判定処理において品物が入庫されたことを判定した場合(S207またはS210)、さらに、中間画像を分析して、上記品物の入庫先を判定する。なお、図15の(b)に示す例では、冷蔵室1cの空間を仕切る棚板1rは、3枚設けられているので、冷蔵室1cには、貯蔵スペースが合計4つ、すなわち、入庫先が計4段、形成される。以下では、仕切られた4つの入庫先を上から順に、1段目(または最上段)、2段目(または上から2段目)、3段目(または下から2段目)、4段目(または最下段)と称する。
(Receiving destination determination processing by the warehousing / delivery determination unit 22)
When the warehousing / delivery determination unit 22 determines that the item has been warehousing in the warehousing / delivery determination process of FIG. 13 (S207 or S210), further analyzes the intermediate image to determine the warehousing destination of the item. In the example shown in FIG. 15B, three shelf boards 1r for partitioning the space of the refrigerating chamber 1c are provided, so that the refrigerating chamber 1c has a total of four storage spaces, that is, a storage destination. Is formed in a total of 4 steps. In the following, the four partitioned storage destinations are arranged in order from the top, the first stage (or the top stage), the second stage (or the second stage from the top), the third stage (or the second stage from the bottom), and the fourth stage. Called the eye (or bottom).

図19(a)〜(d)は、カメラ14によって撮像された中間画像のいくつかの具体例を示す図である。図19の(a)に示す中間画像において、すべての棚板1rの参照線Lが部分的に前景領域(手)に隠れている。したがって、一番上の棚板1r−1よりも上に手があることが分かるので、入庫先が最上段であると特定できる。図19の(b)に示す中間画像において、一番上に写っている棚板1r−1の参照線Lは手に隠れず、2番目の棚板1r−2および3番目の棚板1r−3の参照線Lは手に隠れている。したがって、棚板1r−1と棚板1r−2との間に手があることが分かるので、入庫先が上から2段目であると特定できる。図19の(c)に示す中間画像において、一番上に写っている棚板1r−1、および、2番目の棚板1r−2の参照線Lは手に隠れず、3番目の棚板1r−3の参照線Lは手に隠れている。したがって、棚板1r−2と棚板1r−3との間に手があることが分かるので、入庫先が下から2段目であると特定できる。図19の(d)に示す中間画像において、すべての棚板1rの参照線Lが手に隠れていない。したがって、3番目の棚板1r−3よりも下に手があることが分かるので、入庫先が最下段であると特定できる。 19 (a) to 19 (d) are diagrams showing some specific examples of the intermediate images captured by the camera 14. In the intermediate image shown in FIG. 19A, the reference lines L of all the shelf boards 1r are partially hidden in the foreground region (hand). Therefore, since it can be seen that the hand is above the top shelf board 1r-1, it can be identified that the warehousing destination is the top level. In the intermediate image shown in FIG. 19B, the reference line L of the shelf board 1r-1 shown at the top is not hidden by the hand, and the second shelf board 1r-2 and the third shelf board 1r- The reference line L of 3 is hidden in the hand. Therefore, since it can be seen that there is a hand between the shelf board 1r-1 and the shelf board 1r-2, it can be specified that the warehousing destination is the second stage from the top. In the intermediate image shown in FIG. 19 (c), the reference line L of the shelf board 1r-1 and the second shelf board 1r-2 shown at the top is not hidden in the hand, and the third shelf board is not hidden. The reference line L of 1r-3 is hidden in the hand. Therefore, since it can be seen that there is a hand between the shelf board 1r-2 and the shelf board 1r-3, it can be specified that the warehousing destination is the second stage from the bottom. In the intermediate image shown in FIG. 19D, the reference lines L of all the shelf boards 1r are not hidden in the hands. Therefore, since it can be seen that the hand is below the third shelf board 1r-3, it can be identified that the warehousing destination is the lowest level.

図20は、実施形態2に係る入出庫判定部22によって実行される入庫先判定処理の流れを示すフローチャートである。まず、入出庫判定部22は、処理対象の手の出し入れ回における中間画像、または、該画像の特徴量を画像記憶部31(図10の画像データベース)から読み出す(S301)。 FIG. 20 is a flowchart showing the flow of the warehousing destination determination process executed by the warehousing / delivery determination unit 22 according to the second embodiment. First, the warehousing / delivery determination unit 22 reads out the intermediate image in the movement of the hand to be processed or the feature amount of the image from the image storage unit 31 (image database of FIG. 10) (S301).

一部が前景領域に隠れている参照線が1本もない場合(S302でNO)、入出庫判定部22は、品物の入庫先は、最下段であると判定する(S303)。一方、一部が前景領域に隠れている参照線がある場合(S302でYES)、入出庫判定部22は、手に隠れている参照線の本数によって入庫先を判定する。具体的には、手に隠れている参照線が、一番下の棚板1r−3の参照線1本のみである場合(S304でYES)、入出庫判定部22は、品物の入庫先は、下から2段目と判定する(S305)。次に、手に隠れている参照線が、一番下の棚板1r−3の参照線と、2番目の棚板1r−2の参照線との2本のみである場合(S304でNO、S306でNO)、入出庫判定部22は、品物の入庫先は、上から2段目と判定する(S307)。次に、手に隠れている参照線が、一番下の棚板1r−3の参照線と、2番目の棚板1r−2の参照線と、3番目の棚板1r−3の参照線とである場合、すなわち、すべての参照線が手に隠れている場合(S306でYES)、入出庫判定部22は、品物の入庫先は、最上段と判定する(S308)。 When there is no reference line partially hidden in the foreground region (NO in S302), the warehousing / delivery determination unit 22 determines that the warehousing destination of the item is the lowest stage (S303). On the other hand, when there is a reference line partially hidden in the foreground area (YES in S302), the warehousing / delivery determination unit 22 determines the warehousing destination based on the number of reference lines hidden in the hand. Specifically, when the reference line hidden in the hand is only one reference line of the bottom shelf board 1r-3 (YES in S304), the warehousing / delivery determination unit 22 determines the warehousing destination of the item. , It is determined to be the second stage from the bottom (S305). Next, when there are only two reference lines hidden in the hand, the reference line of the bottom shelf board 1r-3 and the reference line of the second shelf board 1r-2 (NO in S304, NO, NO in S306), the warehousing / delivery determination unit 22 determines that the warehousing destination of the item is the second stage from the top (S307). Next, the reference lines hidden in the hands are the reference line of the bottom shelf board 1r-3, the reference line of the second shelf board 1r-2, and the reference line of the third shelf board 1r-3. That is, when all the reference lines are hidden in the hand (YES in S306), the warehousing / delivery determination unit 22 determines that the warehousing destination of the item is the uppermost tier (S308).

なお、入出庫判定部22は、品物が出庫されたときにも、中間画像を分析して出庫元を判定してもよい。これにより、在庫管理部24は、判定された出庫元が入庫先となっているレコードを抽出し、出庫された品物のレコード検索をより効率良く実施することが可能となる。 The warehousing / delivery determination unit 22 may analyze the intermediate image to determine the warehousing source even when the item is delivered. As a result, the inventory management unit 24 can extract records whose warehousing source is the warehousing destination, and can more efficiently search for records of the goods that have been warehousing.

(在庫管理部24による在庫管理処理)
図21は、実施形態2に係る在庫表記憶部32に記憶される在庫表の具体例を示す図である。実施形態2の在庫表の、実施形態1の在庫表(図14の(a)〜(d))と異なる点は、さらに、在庫表がさらに入庫先のカラムを含んでいる点である。在庫管理部24は、入庫先のカラムに、入出庫判定部22によって判定された、品物の入庫先を格納する。なお、品物識別情報は、実施形態1と同様に、テキストデータであってもよいし、品物の領域のトリミング画像であってもよいし、第1画像そのものであってもよい。
(Inventory management process by the inventory management unit 24)
FIG. 21 is a diagram showing a specific example of the inventory table stored in the inventory table storage unit 32 according to the second embodiment. The inventory table of the second embodiment is different from the inventory table of the first embodiment ((a) to (d) of FIG. 14) in that the inventory table further includes a column of the warehousing destination. The inventory management unit 24 stores the warehousing destination of the goods determined by the warehousing / delivery determination unit 22 in the warehousing destination column. The item identification information may be text data, a trimmed image of the area of the item, or the first image itself, as in the first embodiment.

上記構成および方法によれば、1回の手の出し入れについて取得された2枚の画像を処理するだけで、入出庫の判定を正しく行うことができ、さらに、手の出し入れの中間のタイミングで撮像したもう1枚の画像を処理することにより、入庫先(貯蔵場所)を把握することが可能である。結果として、高性能のプロセッサを必要とすることなく、かつ、ユーザの利便性を損なわずに品物の入出庫を判定し、その貯蔵位置を把握することが可能な在庫管理装置または在庫管理システムを実現することができる。 According to the above configuration and method, it is possible to correctly determine the warehousing / delivery by processing the two images acquired for one hand in / out, and further, the image is taken at the intermediate timing of the hand in / out. By processing the other image, it is possible to grasp the storage destination (storage location). As a result, an inventory management device or an inventory management system capable of determining the warehousing / delivery of goods and grasping the storage position of the goods without requiring a high-performance processor and without impairing the convenience of the user. It can be realized.

(実施形態1および実施形態2の変形例)
なお、図14および図21に例示されたように、実施形態1および2において、在庫表は、出庫日時のカラムを含んでいてもよい。この場合、在庫管理部24は、入出庫判定部22によって出庫と判定された品物のレコードをすぐに削除しない。その代わりに、在庫管理部24は、出庫された品物のレコードの出庫日時のカラムに、第2画像、すなわち、品物が取り出されるときの様子が写っている画像の撮像日時を出庫日時として格納する。
(Modified Examples of Embodiment 1 and Embodiment 2)
As illustrated in FIGS. 14 and 21, in the first and second embodiments, the inventory table may include a column for the date and time of delivery. In this case, the inventory management unit 24 does not immediately delete the record of the item determined to be issued by the warehousing / delivery determination unit 22. Instead, the inventory management unit 24 stores the image capture date and time of the second image, that is, the image showing the state when the item is taken out, as the delivery date and time in the column of the delivery date and time of the record of the delivered item. ..

そして、在庫管理部24は、同一の品物の入庫判定がなされないまま、上記出庫日時から一定時間が経過した場合に、該品物のレコードを削除する。また、在庫管理部24は、一定時間以内に同一の品物の入庫判定がなされた場合に、該品物のレコードにおいて、出庫日時をクリアし、レコード自体は在庫表に維持する。なお、入庫日時を再入庫時の日時に更新してしまうと、正確に鮮度管理ができないことから、当該レコードにおいて、一番初めの入庫日時の記録を残しておくことが好ましい。 Then, the inventory management unit 24 deletes the record of the item when a certain time elapses from the delivery date and time without making the receipt determination of the same item. In addition, the inventory management unit 24 clears the delivery date and time in the record of the item when the receipt determination of the same item is made within a certain time, and the record itself is maintained in the inventory table. If the warehousing date and time is updated to the date and time at the time of re-warehousing, the freshness cannot be managed accurately. Therefore, it is preferable to keep a record of the first warehousing date and time in the record.

上記構成によれば、ユーザが冷蔵庫1から取り出した品物の一部を消費して残りをすぐに元に戻す場合に、在庫表のレコードの削除および新規登録を無駄に実施することを回避し効率的な在庫管理を行うことができる。 According to the above configuration, when a user consumes a part of the items taken out from the refrigerator 1 and immediately restores the rest, it is possible to avoid unnecessary deletion of records in the inventory table and new registration for efficiency. Inventory management can be performed.

〔実施形態3〕
本発明の他の実施形態について、図22〜図29に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、実施形態1および2にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 3]
Other embodiments of the present invention will be described below with reference to FIGS. 22 to 29. For convenience of explanation, the same reference numerals will be added to the members having the same functions as the members described in the first and second embodiments, and the description thereof will be omitted.

(発明が解決しようとする課題および発明の目的)
特許文献2の技術では、ユーザが、食物情報を定義してICタグを製作し、該ICタグを食物に取り付ける必要がある。冷蔵庫に食物を収納する際に、このような煩わしい作業をユーザに行わせることは、実用的ではない。実施形態3では、入出庫時にユーザに煩わしい作業を強いることなく品物の在庫管理を実施する在庫管理装置または在庫管理システムを実現する。
(Problems to be Solved by the Invention and Purpose of the Invention)
In the technique of Patent Document 2, a user needs to define food information, produce an IC tag, and attach the IC tag to food. It is impractical to have the user perform such annoying tasks when storing food in the refrigerator. In the third embodiment, an inventory management device or an inventory management system that manages the inventory of goods without forcing the user to perform troublesome work at the time of warehousing / delivery is realized.

(在庫管理システムの概要)
図2は、本発明の実施形態3に係る在庫管理システム300の概要を示す図である。本発明の一実施形態において、本発明の在庫管理装置は、食品などの品物の貯蔵を行う冷蔵庫の在庫管理を行う在庫管理装置であって、該在庫管理装置は、冷蔵庫301として実現される。なお、本発明の在庫管理装置にて在庫管理の対象となる品物は、食品に限定されず、医薬品、化粧品など、貯蔵庫にて貯蔵され得るあらゆる品物が想定されている。本実施形態では、冷蔵庫301は、在庫管理システム300の一部を構成している。
(Overview of inventory management system)
FIG. 2 is a diagram showing an outline of the inventory management system 300 according to the third embodiment of the present invention. In one embodiment of the present invention, the inventory management device of the present invention is an inventory management device that manages the inventory of a refrigerator that stores items such as food, and the inventory management device is realized as a refrigerator 301. The items subject to inventory management by the inventory management device of the present invention are not limited to foods, and all items that can be stored in storage, such as pharmaceuticals and cosmetics, are assumed. In this embodiment, the refrigerator 301 constitutes a part of the inventory management system 300.

在庫管理システム300は、食品の貯蔵を行う冷蔵庫301、301a、301b、・・・と、冷蔵庫301と広域通信ネットワーク4を介して通信するクラウドサーバ302とを含む。在庫管理システム300は、必要に応じて、さらに、ユーザが携帯する小型の通信端末3を含んでいてもよい。通信端末3は、例えば、スマートフォン、タブレット端末、携帯電話などであり、ユーザによって携帯されている。クラウドサーバ302、通信端末3、および、冷蔵庫301は、広域通信ネットワーク4を介して接続するよう構成されている。なお、冷蔵庫301および通信端末3について、数や種類は限定されず、個別に説明する必要のない場合は、総称として冷蔵庫301と通信端末3とを用いる。また、クラウドサーバ302によって管理されるユーザ宅の数も限定されない。在庫管理システム300に係るその他の説明は、実施形態1および2に係る在庫管理システム100とほぼ同様であるので説明を省略する。 The inventory management system 300 includes refrigerators 301, 301a, 301b, ... For storing food, and a cloud server 302 that communicates with the refrigerator 301 via the wide area communication network 4. The inventory management system 300 may further include a small communication terminal 3 carried by the user, if necessary. The communication terminal 3 is, for example, a smartphone, a tablet terminal, a mobile phone, or the like, and is carried by a user. The cloud server 302, the communication terminal 3, and the refrigerator 301 are configured to be connected via the wide area communication network 4. The number and types of the refrigerator 301 and the communication terminal 3 are not limited, and when it is not necessary to explain them individually, the refrigerator 301 and the communication terminal 3 are collectively used. Further, the number of user homes managed by the cloud server 302 is not limited. Since the other description of the inventory management system 300 is almost the same as that of the inventory management system 100 according to the first and second embodiments, the description thereof will be omitted.

(冷蔵庫の概観)
図22は、冷蔵庫301の冷蔵室301cのドア部301dを開いた状態の一部透過斜視図である。図22に示すとおり、冷蔵庫301は、一例として、3つの貯蔵庫からなり、各庫は、上から順に、冷蔵室301c、冷凍室301f、および、野菜室301vを構成する。冷蔵庫301の各庫の構成は、上記に限定されず、さらに、製氷室またはチルド室を有していてもよいし、冷蔵庫301は、冷蔵室301cのみ、冷凍室301fのみで構成されていてもよい。また、各庫の位置は、上下逆でも構わない。
(Overview of the refrigerator)
FIG. 22 is a partially transparent perspective view in a state where the door portion 301d of the refrigerator compartment 301c of the refrigerator 301 is opened. As shown in FIG. 22, the refrigerator 301 is composed of three storages as an example, and each storage constitutes a refrigerating chamber 301c, a freezing chamber 301f, and a vegetable compartment 301v in order from the top. The configuration of each refrigerator 301 is not limited to the above, and may further have an ice making room or a chilled room, and the refrigerator 301 may be composed of only the refrigerating room 301c and only the freezing room 301f. good. Further, the position of each storage may be upside down.

冷凍室301fおよび野菜室301vは、引き出し型の貯蔵スペースを有し、ユーザは、取っ手を手前に引くことで、冷凍室301fおよび野菜室301vの庫内に手をのばすことができる。一方、冷蔵室301cは、片開き型の1枚の扉によって構成されるドア部301dを有し、ユーザは、取っ手を手前に引いてドア部301dを開くことで、冷蔵室301cの庫内に手をのばすことができる。なお、冷蔵室301cのドア部301dは、観音開き型の2枚の扉によって構成されてもよい。 The freezing chamber 301f and the vegetable compartment 301v have a drawer-type storage space, and the user can reach into the freezing chamber 301f and the vegetable compartment 301v by pulling the handle toward the front. On the other hand, the refrigerating chamber 301c has a door portion 301d composed of a single door that opens on one side, and the user can open the door portion 301d by pulling the handle toward the refrigerator to enter the refrigerator compartment 301c. You can reach out. The door portion 301d of the refrigerator compartment 301c may be composed of two double doors.

冷蔵室301cの貯蔵スペースは、さらに、一例として、1枚の棚板301rによって、2段に区切られていてもよい。なお、棚板301rの数は、上記に限定されず、0枚であってもよいし、1枚より少なくても、多くてもよい。 The storage space of the refrigerating chamber 301c may be further divided into two stages by one shelf board 301r as an example. The number of shelf boards 301r is not limited to the above, and may be 0, less than 1 or more.

図22に示すとおり、冷蔵庫301内の各貯蔵スペースの床面には、該貯蔵スペース内に置かれた品物の重量を測定する1以上の重量センサ314が設けられる。図22に示す例では、重量センサ314は、一例としてマトリクス状に配列された圧力センサの集合で実現されており、個々の圧力センサは、マトリクス状に一定の間隔で、床面一面に敷き詰められる。この圧力センサの集合は、1つのグループを形成し、これが、1つの重量センサ314に対応する。重量センサ314には、圧力センサの個々のグループを識別するために、番地が割り当てられており、貯蔵スペースには、1以上の重量センサ314が設けられる。 As shown in FIG. 22, one or more weight sensors 314 for measuring the weight of the items placed in the storage space are provided on the floor surface of each storage space in the refrigerator 301. In the example shown in FIG. 22, the weight sensor 314 is realized as a set of pressure sensors arranged in a matrix as an example, and the individual pressure sensors are spread over the floor surface at regular intervals in a matrix. .. This set of pressure sensors forms a group, which corresponds to one weight sensor 314. Addresses are assigned to the weight sensors 314 to identify individual groups of pressure sensors, and the storage space is provided with one or more weight sensors 314.

図22に示す例では、冷蔵室301cの貯蔵スペース1段につき、2個の重量センサ314が設けられている。具体的には、上段の床面には、番地Aおよび番地Bが割り当てられた重量センサ314が、下段の床面には、番地Cおよび番地Dが割り当てられた重量センサ314が、それぞれ設けられている。冷凍室301fの床面には、番地Eが割り当てられた重量センサ314が設けられ、野菜室301vの床面には、番地Fが割り当てられた重量センサ314が設けられている。また、ドア部301dのドアポケット上段には、番地Gが割り当てられた重量センサ314が設けられ、ドアポケット下段には、番地Hが割り当てられた重量センサ314が設けられている。冷蔵室301cの各段のように、各貯蔵スペースの床面における重量センサ314の数は、1より多い任意の数で構わない。また、棚板301rを複数設けて貯蔵スペースが増える場合には、各段の床面に重量センサ314を設ける。すなわち、品物を置くことが可能なすべての床面における重量を把握するために、適宜の数および位置にて重量センサ314を設ける。 In the example shown in FIG. 22, two weight sensors 314 are provided for each storage space of the refrigerating chamber 301c. Specifically, a weight sensor 314 to which addresses A and B are assigned is provided on the upper floor surface, and a weight sensor 314 to which addresses C and D are assigned is provided on the lower floor surface, respectively. ing. A weight sensor 314 to which the address E is assigned is provided on the floor surface of the freezing chamber 301f, and a weight sensor 314 to which the address F is assigned is provided on the floor surface of the vegetable compartment 301v. Further, a weight sensor 314 to which the address G is assigned is provided in the upper part of the door pocket of the door portion 301d, and a weight sensor 314 to which the address H is assigned is provided in the lower part of the door pocket. The number of weight sensors 314 on the floor of each storage space, such as each stage of the refrigerator compartment 301c, may be any number greater than one. Further, when a plurality of shelf boards 301r are provided to increase the storage space, a weight sensor 314 is provided on the floor surface of each stage. That is, weight sensors 314 are provided at appropriate numbers and positions in order to grasp the weight on all floor surfaces on which the item can be placed.

(冷蔵庫の構成)
図23は、本発明の実施形態3に係る冷蔵庫301の要部構成を示すブロック図である。該ブロック図は、冷蔵庫301のブロック図ではあるが、本図において、本発明に直接関係の無い部分、例えば、冷却または冷凍機能を実現する部分などの記載を省略した。冷蔵庫301は、図23に示すように、少なくとも、制御部310、記憶部311、重量センサ314およびマイク315を備えている構成であり、必要に応じてさらに、通信部312、センサ313、スピーカ316およびディスプレイ317を備えていてもよい。通信部312は、上述の家電アダプタを含み、広域通信ネットワーク4を介してクラウドサーバ302と相互通信を行う。マイク315は、ユーザが制御部310に対して入力する音声を取得する。マイク315によって取得された音声は、図示しない音声制御部によって入力音声データに変換され、音声認識部320によって、音声認識処理される。スピーカ316は、上記音声制御部によって処理された出力音声データを、ユーザが聴取する音声として出力する。ディスプレイ317は、記憶部311に記憶されている各種データをユーザが視認可能なように表示するものであり、例えば、LCD(液晶ディスプレイ)、有機ELD(エレクトロルミネセンスディスプレイ)などの表示装置で構成される。
(Composition of refrigerator)
FIG. 23 is a block diagram showing a main configuration of the refrigerator 301 according to the third embodiment of the present invention. Although the block diagram is a block diagram of the refrigerator 301, the description of a part not directly related to the present invention, for example, a part for realizing a cooling or freezing function, is omitted in this figure. As shown in FIG. 23, the refrigerator 301 includes at least a control unit 310, a storage unit 311, a weight sensor 314, and a microphone 315, and if necessary, further includes a communication unit 312, a sensor 313, and a speaker 316. And display 317 may be provided. The communication unit 312 includes the above-mentioned home appliance adapter and performs mutual communication with the cloud server 302 via the wide area communication network 4. The microphone 315 acquires the sound input by the user to the control unit 310. The voice acquired by the microphone 315 is converted into input voice data by a voice control unit (not shown), and voice recognition processing is performed by the voice recognition unit 320. The speaker 316 outputs the output voice data processed by the voice control unit as the voice heard by the user. The display 317 displays various data stored in the storage unit 311 so that the user can see it. For example, the display 317 is composed of a display device such as an LCD (liquid crystal display) or an organic ELD (electroluminescence display). Will be done.

センサ313は、ドア部301dの開閉を検知するための開閉センサである。開閉センサとしてのセンサ313は、ドアが開けられたこと、または、閉じられたことを検知し、検知結果を音声認識部320および測定部321に出力する。なお、センサ313は、照度センサ、接触センサなど適宜のセンサで実現される。重量センサ314は、上述したとおり、貯蔵スペースに置かれた品物の重量を検知するものである。重量センサ314が取得したセンサ値(重量値)は、測定部321に供給される。 The sensor 313 is an open / close sensor for detecting the opening / closing of the door portion 301d. The sensor 313 as an open / close sensor detects that the door has been opened or closed, and outputs the detection result to the voice recognition unit 320 and the measurement unit 321. The sensor 313 is realized by an appropriate sensor such as an illuminance sensor or a contact sensor. As described above, the weight sensor 314 detects the weight of the item placed in the storage space. The sensor value (weight value) acquired by the weight sensor 314 is supplied to the measuring unit 321.

制御部310は、冷蔵庫301の各部の動作を統括的に制御する。制御部310は、例えば、CPUや専用プロセッサなどの演算処理部などにより構成されるコンピュータ装置から成る。制御部310は、機能ブロックとして、少なくとも、音声認識部320、測定部321および在庫管理部324を含み、より好ましくは、必要に応じて、入出庫判定部322および品物識別部323を含んでいる。 The control unit 310 comprehensively controls the operation of each unit of the refrigerator 301. The control unit 310 includes, for example, a computer device including an arithmetic processing unit such as a CPU and a dedicated processor. The control unit 310 includes at least a voice recognition unit 320, a measurement unit 321 and an inventory management unit 324 as functional blocks, and more preferably includes a warehousing / delivery determination unit 322 and an item identification unit 323, if necessary. ..

記憶部311は、冷蔵庫301が処理する各種データを記憶する。例えば、記憶部311は、音声認識部320によって認識された音声の認識結果を記憶するための認識結果記憶部330を含む。また、記憶部311は、重量センサ314が検知したセンサ値(重量値)および該センサ値から得られた測定結果を記憶するための測定結果記憶部331を含む。また、記憶部311は、冷蔵庫301の各庫内に貯蔵されている品物の一覧表である在庫表を記憶する在庫表記憶部332を含む。 The storage unit 311 stores various data processed by the refrigerator 301. For example, the storage unit 311 includes a recognition result storage unit 330 for storing the recognition result of the voice recognized by the voice recognition unit 320. In addition, the storage unit 311 includes a sensor value (weight value) detected by the weight sensor 314 and a measurement result storage unit 331 for storing the measurement result obtained from the sensor value. In addition, the storage unit 311 includes an inventory table storage unit 332 that stores an inventory table that is a list of items stored in each refrigerator 301.

音声認識部320は、マイク315を制御して、ユーザが発した音声を認識する。より好ましくは、音声認識部320は、センサ313によって開ドアが検知されてから閉ドアが検知されるまでの間、マイク315を起動する。そして、ユーザが品物を入庫するタイミングで発した音声を、テキストデータに変換し、該テキストデータを音声取得日時とともに、認識結果記憶部330に記憶する。ここで、ユーザは、品物を入庫するタイミングで品物の名称を発するだけである。これにより、入庫された品物名が認識結果記憶部330に記憶され、在庫管理部324が在庫管理を実施する際に利用することができる。 The voice recognition unit 320 controls the microphone 315 to recognize the voice emitted by the user. More preferably, the voice recognition unit 320 activates the microphone 315 from the detection of the open door by the sensor 313 to the detection of the closed door. Then, the voice emitted by the user at the timing of warehousing the item is converted into text data, and the text data is stored in the recognition result storage unit 330 together with the voice acquisition date and time. Here, the user only issues the name of the item at the timing of receiving the item. As a result, the name of the stored item is stored in the recognition result storage unit 330, and can be used by the inventory management unit 324 when performing inventory management.

測定部321は、重量センサ314(各圧力センサ)からのセンサ値に基づいて、重量変化量(貯蔵スペース床面における負荷の変化量)および重量(負荷)が変化した位置(以下、変化位置)を測定する。貯蔵スペースに品物が入庫されたり、出庫されたりして、重量に変化があれば、測定部321が、変化前後のセンサ値の差分から重量変化量を求める。また、センサ値が変化した重量センサ314の番地および圧力センサの座標に基づいて、重量変化が起きた変化位置を特定する。 Based on the sensor values from the weight sensor 314 (each pressure sensor), the measuring unit 321 has a weight change amount (a load change amount on the floor surface of the storage space) and a position where the weight (load) has changed (hereinafter, change position). To measure. If there is a change in weight due to the goods being put in or taken out of the storage space, the measuring unit 321 obtains the amount of weight change from the difference between the sensor values before and after the change. Further, the change position where the weight change has occurred is specified based on the address of the weight sensor 314 in which the sensor value has changed and the coordinates of the pressure sensor.

在庫管理部324は、音声認識部320による音声認識結果および測定部321による測定結果に基づいて、在庫表を更新し、冷蔵庫301の在庫を管理する。具体的には、入庫された品物のレコードを在庫表に登録したり、出庫された品物のレコードを在庫表から削除したり、その他状態に変化があった品物のレコードを更新したりする。 The inventory management unit 324 updates the inventory table and manages the inventory of the refrigerator 301 based on the voice recognition result by the voice recognition unit 320 and the measurement result by the measurement unit 321. Specifically, the record of the goods received is registered in the inventory table, the record of the goods issued is deleted from the inventory table, and the record of the goods whose state has changed is updated.

入出庫判定部322は、測定部321が測定する重量変化量に応じて、入出庫判定を行う。入出庫判定部322は、重量が増加したことによって品物が入庫されたと判定し、重量が減少したことによって品物が出庫されたと判定する。とりわけ、入出庫判定部322は、品物が出庫されてから所定時間以内に、出庫時と同じ位置に、上記出庫された品物の重量以下の品物が入庫された場合に、入庫された品物が、出庫された品物と同一であると判定し、品物が再入庫されたことを在庫管理部324に通知する。 The warehousing / delivery determination unit 322 makes a warehousing / delivery determination according to the amount of weight change measured by the measurement unit 321. The warehousing / delivery determination unit 322 determines that the item has been warehousing due to the increase in weight, and determines that the item has been warehousing due to the decrease in weight. In particular, the warehousing / delivery determination unit 322 determines that the warehousing item is received when the warehousing item is warehousing at the same position as the warehousing item within a predetermined time after the warehousing item is delivered. It is determined that the item is the same as the item that has been delivered, and the inventory management unit 324 is notified that the item has been restocked.

なお、入出庫判定部322は、さらに、出入庫された品物の異同の判定精度を高めるために、ユーザに品物の異同を確認する構成であってもよい。具体的には、入出庫判定部322は、「先ほど取り出した○○ですか?」という確認メッセージを生成し、図示しない発話制御部を利用して、該メッセージの出力音声データをスピーカ316から出力させるか、あるいは該メッセージのテキストデータをディスプレイ317に表示させる。なお、メッセージ内の「○○」の部分には、出庫された品物のレコードから品物識別情報を読み出して挿入すればよい。上記メッセージに対して同一である旨の回答が、ユーザによって制御部310に入力された場合に、入出庫判定部322は、品物が再入庫されたと判定する。なお、ユーザは、同一である旨の回答を入力するために、図示しない操作部を操作して、ディスプレイ317に表示された「はい」のボタンを押下してもよいし、マイク315に向かって「はい」と発話してもよい。 The warehousing / delivery determination unit 322 may be configured to confirm the difference between the items to the user in order to further improve the accuracy of determining the difference between the items received and received. Specifically, the warehousing / delivery determination unit 322 generates a confirmation message "Is it XX taken out earlier?", And outputs the output voice data of the message from the speaker 316 using the utterance control unit (not shown). Or display the text data of the message on the display 317. In addition, in the part of "○○" in the message, the item identification information may be read from the record of the delivered item and inserted. When the user inputs the same answer to the above message to the control unit 310, the warehousing / delivery determination unit 322 determines that the item has been restocked. The user may operate an operation unit (not shown) and press the "Yes" button displayed on the display 317 in order to input the answer to the effect that they are the same, or the user may press the "Yes" button toward the microphone 315. You may say "yes".

なお、重量が増加したことによって入庫を判定し、重量が減少したことによって出庫を判定する簡易な処理のみを実行する入出庫判定部322は、制御部310の構成から省略されても構わない。この場合、在庫管理部324を、重量が増加した場合に新規レコードを登録し、重量が減少した場合に該当レコードを削除するように構成する。 The warehousing / delivery determination unit 322, which determines warehousing when the weight increases and executes only a simple process of determining warehousing when the weight decreases, may be omitted from the configuration of the control unit 310. In this case, the inventory management unit 324 is configured to register a new record when the weight increases and delete the corresponding record when the weight decreases.

品物識別部323は、重量変化が起こったタイミング(負荷に変化が生じた時点)で、音声が入力されなかった場合、または、音声の認識に失敗した場合などに、その重量変化に関与している品物について、仮の品物識別情報を作成してもよい。仮の品物識別情報は、任意の意味を持たない文字列であってよいし、重量変化量、変化位置、変化日時などの意味がある文字列であってもよい。このようにして作成された仮の品物識別情報は、在庫管理部324によって利用される。上述の各機能ブロックによって実行される各種処理について、図を参照して後に詳述する。 The item identification unit 323 is involved in the weight change when the voice is not input or the voice recognition fails at the timing when the weight change occurs (when the load changes). Temporary item identification information may be created for the existing item. The temporary item identification information may be a character string having no arbitrary meaning, or may be a character string having meanings such as a weight change amount, a change position, and a change date and time. The temporary item identification information created in this way is used by the inventory management unit 324. Various processes executed by each of the above-mentioned functional blocks will be described in detail later with reference to the drawings.

(測定部321による測定処理)
図24は、1つの重量センサ314にマトリクス状に配置された圧力センサの一例を示す図である。同図に示す例では、重量センサ314は、計64個の圧力センサからなり、圧力センサは、x軸方向に8列、y軸方向に8列でマトリクス状に配置されている。
(Measurement processing by measurement unit 321)
FIG. 24 is a diagram showing an example of pressure sensors arranged in a matrix on one weight sensor 314. In the example shown in the figure, the weight sensor 314 is composed of a total of 64 pressure sensors, and the pressure sensors are arranged in a matrix of 8 rows in the x-axis direction and 8 rows in the y-axis direction.

この重量センサ314に、ある品物(例えば、りんご)が置かれると、重量値が増加する方向に変化する。図24には、説明の目的で、重量の増加を検知した圧力センサのセル内に、「+数字」の記号を付す。数字は、重量増加前の重量との比較で相対的な増加量を表しており、実際の増加重量を表しているわけではない。 When an item (for example, an apple) is placed on the weight sensor 314, the weight value changes in the direction of increasing. In FIG. 24, for the purpose of explanation, a “+ number” symbol is added in the cell of the pressure sensor that has detected the increase in weight. The numbers represent the relative amount of increase in comparison with the weight before the weight increase, and do not represent the actual weight increase.

測定部321は、1以上の圧力センサのセンサ値が変動し、変化後のセンサ値で安定すると、変化前に安定していたセンサ値と比較してセンサ値の差分が生じた圧力センサを特定する。図24に示す例では、「+数字」の記号が付された圧力センサを特定する。そして、測定部321は、特定したすべての圧力センサのセンサ値の差分を合計し、これを、重量変化量として出力する。この重量変化量が、すなわち、入庫されたりんごの重量として扱われる。 When the sensor value of one or more pressure sensors fluctuates and stabilizes at the changed sensor value, the measuring unit 321 identifies the pressure sensor in which the difference between the sensor values occurs as compared with the sensor value that was stable before the change. do. In the example shown in FIG. 24, the pressure sensor marked with the “+ number” symbol is specified. Then, the measuring unit 321 totals the differences between the sensor values of all the specified pressure sensors, and outputs this as the amount of change in weight. This amount of weight change is treated as the weight of the stored apples.

さらに、測定部321は、センサ値が変化した位置である変化位置を特定する。位置の特定精度は特に限定されない。例えば、測定部321は、センサ値が変化した重量センサ314に割り当てられている番地(A〜H)を、そのまま、変化位置として採用してもよい。例えば、図24に示す重量センサ314の番地が「A」であれば、測定部321は、変化位置「A」を出力する。変化位置「A」は、入庫されたりんごの貯蔵位置(貯蔵スペース)として扱われる。 Further, the measuring unit 321 identifies the changing position, which is the position where the sensor value has changed. The accuracy of specifying the position is not particularly limited. For example, the measuring unit 321 may adopt the addresses (A to H) assigned to the weight sensor 314 whose sensor value has changed as they are as the changing position. For example, if the address of the weight sensor 314 shown in FIG. 24 is "A", the measuring unit 321 outputs the change position "A". The change position "A" is treated as a storage position (storage space) of the stored apples.

あるいは、測定部321は、センサ値が変化した圧力センサをすべて含む外接矩形314kを定義し、外接矩形314kの座標情報を変化位置として採用してもよい。例えば、図24に示す外接矩形314kに基づく変化位置は、外接矩形314kの最左下の圧力センサ314sの座標情報と、最右上の圧力センサ314eの座標情報との組み合わせにより、表現される。例えば、重量センサ314の番地が「A」であり、圧力センサ314sの座標情報が「x1、y1」であり、圧力センサ314eの座標情報が「x2、y2」である場合、変化位置は、「A、(x1、y1)、(x2、y2)」と表現され得る。変化位置「A、(x1、y1)、(x2、y2)」は、入庫されたりんごの貯蔵位置として扱われる。 Alternatively, the measuring unit 321 may define the extrinsic rectangle 314k including all the pressure sensors whose sensor values have changed, and may adopt the coordinate information of the extrinsic rectangle 314k as the change position. For example, the change position based on the circumscribing rectangle 314k shown in FIG. 24 is represented by a combination of the coordinate information of the pressure sensor 314s at the lower left of the circumscribing rectangle 314k and the coordinate information of the pressure sensor 314e at the upper right. For example, when the address of the weight sensor 314 is "A", the coordinate information of the pressure sensor 314s is "x1, y1", and the coordinate information of the pressure sensor 314e is "x2, y2", the change position is "x2, y2". A, (x1, y1), (x2, y2) "can be expressed. The changing positions "A, (x1, y1), (x2, y2)" are treated as storage positions for the stored apples.

なお、重量センサ314の構成は、上記に限定されない。例えば、重量センサ314は、貯蔵スペースの床面の四隅に配置された4つの圧力センサの組み合わせによって実現されてもよい。図25の(a)は、床面(例えば、棚板301r)の四隅に圧力センサ314aを持つ重量センサ314の斜視図であり、図25の(b)は、該重量センサ314の正面図である。図25に示すとおり、棚板301rと、該棚板301rを支持する棚受け1rrとの間に、4つの圧力センサ314aを配置する。4つの圧力センサ314aは、棚板301rのおよそ四隅に接触する位置に設けられて、その四隅から棚板301rを支持する。棚板301rにかかる負荷は、4つの圧力センサ314aに分散して伝達され、それぞれの圧力センサ314aのセンサ値に基づいて、棚板301rにかかる負荷、すなわち、重量が計測される。 The configuration of the weight sensor 314 is not limited to the above. For example, the weight sensor 314 may be realized by a combination of four pressure sensors arranged at four corners of the floor surface of the storage space. 25 (a) is a perspective view of a weight sensor 314 having pressure sensors 314a at four corners of a floor surface (for example, a shelf board 301r), and FIG. 25 (b) is a front view of the weight sensor 314. be. As shown in FIG. 25, four pressure sensors 314a are arranged between the shelf board 301r and the shelf support 1rr that supports the shelf board 301r. The four pressure sensors 314a are provided at positions in contact with approximately four corners of the shelf board 301r, and support the shelf board 301r from the four corners. The load applied to the shelf board 301r is distributed and transmitted to the four pressure sensors 314a, and the load applied to the shelf board 301r, that is, the weight is measured based on the sensor value of each pressure sensor 314a.

4つの圧力センサ314aからなる重量センサ314を採用した場合、測定部321は、重量変化量および変化位置を、例えば、以下のようにして特定する。図26を参照して、棚板301rのサイズを、幅Lx*奥行Lyとし、品物Obの重量をWとし、品物Obの貯蔵位置を(x、y)とする。この場合、四隅に配置された各圧力センサ314aにかかる負荷(センサ値)W1、W2、W3およびW4は、それぞれ、以下のように計測される。
W1=W * (Lx−x)/Lx * (Ly−y)/Ly
W2=W * x/Lx * (Ly−y)/Ly
W3=W * (Lx−x)/Lx * y/Ly
W4=W * x/Lx * y/Ly
したがって、各圧力センサ314aから、センサ値W1〜W4が得られた場合、測定部321は、品物Obの重量W(品物Obが置かれたときの重量変化量W)を以下のようにして求める。
W=W1+W2+W3+W4
Wが正の値であれば、入庫と判断され、Wが負の値であれば出庫と判断される。
When the weight sensor 314 composed of the four pressure sensors 314a is adopted, the measuring unit 321 specifies the weight change amount and the change position as follows, for example. With reference to FIG. 26, the size of the shelf board 301r is set to width Lx * depth Ly, the weight of the item Ob is W, and the storage position of the item Ob is (x, y). In this case, the loads (sensor values) W1, W2, W3 and W4 applied to the pressure sensors 314a arranged at the four corners are measured as follows.
W1 = W * (Lx-x) / Lx * (Ly-y) / Ly
W2 = W * x / Lx * (Ly-y) / Ly
W3 = W * (Lx-x) / Lx * y / Ly
W4 = W * x / Lx * y / Ly
Therefore, when the sensor values W1 to W4 are obtained from each pressure sensor 314a, the measuring unit 321 obtains the weight W of the item Ob (weight change amount W when the item Ob is placed) as follows. ..
W = W1 + W2 + W3 + W4
If W is a positive value, it is determined to be warehousing, and if W is a negative value, it is determined to be warehousing.

さらに、測定部321は、重量の変化位置(品物Obの貯蔵位置)を以下のようにして求める。
x=Lx * (W2+W4)/W
y=Ly * (W3+W4)/W
すなわち、ここでは、変化位置は、棚板301rの最左下端を原点とし、棚板301rの幅をx軸、奥行きをy軸とする座標系におけるx座標およびy座標(変化位置(x、y))によって表される。
Further, the measuring unit 321 determines the weight change position (storage position of the product Ob) as follows.
x = Lx * (W2 + W4) / W
y = Ly * (W3 + W4) / W
That is, here, the change position is the x-coordinate and the y-coordinate (change position (x, y) in a coordinate system in which the leftmost lower end of the shelf board 301r is the origin, the width of the shelf board 301r is the x-axis, and the depth is the y-axis. )).

(在庫管理部24による在庫管理処理)
図27は、在庫管理部324によって実行される入庫時の在庫管理処理の流れを示すフローチャートである。図28は、在庫管理部324によって実行される出庫時または再入庫時の在庫管理処理の流れを示すフローチャートである。なお、上述の各フローチャートには、入出庫判定部322によって実行される入出庫判定処理も含まれている。
(Inventory management process by the inventory management unit 24)
FIG. 27 is a flowchart showing the flow of inventory management processing at the time of warehousing executed by the inventory management unit 324. FIG. 28 is a flowchart showing the flow of inventory management processing at the time of delivery or re-receipt executed by the inventory management unit 324. It should be noted that each of the above-mentioned flowcharts also includes a warehousing / delivery determination process executed by the warehousing / delivery determination unit 322.

センサ313によって開ドアが検知されると(S401でYES)、音声認識部320は、マイク315を起動する。そして、マイク315を介して音声が入力されると(S402でYES)、音声認識部320は、入力された音声を認識し、その認識結果(品物名のテキストデータ)を、音声入力日時とともに認識結果記憶部330に記憶する(S403)。 When the opening of the door is detected by the sensor 313 (YES in S401), the voice recognition unit 320 activates the microphone 315. Then, when the voice is input through the microphone 315 (YES in S402), the voice recognition unit 320 recognizes the input voice and recognizes the recognition result (text data of the product name) together with the voice input date and time. It is stored in the result storage unit 330 (S403).

測定部321は、重量センサ314から供給されるセンサ値の変動を監視し、センサ値に変化があれば(S404でYES)、センサ値が変化した変化日時、重量変化量、および、変化位置を特定する(S405)。測定部321は、これらの特定した内容を、測定結果記憶部331に記憶する。 The measuring unit 321 monitors the fluctuation of the sensor value supplied from the weight sensor 314, and if there is a change in the sensor value (YES in S404), the change date and time when the sensor value changes, the weight change amount, and the change position are determined. Identify (S405). The measurement unit 321 stores these specified contents in the measurement result storage unit 331.

上記重量変化量が正の値である、すなわち、センサ値(重量値)が変化前と比較して増加している場合(S406でYES)、次に、入出庫判定部322は、既出の品物の再入庫の可能性を判断する。すなわち、入出庫判定部322は、上記変化位置が、先に出庫された品物の貯蔵位置とほぼ同一で、かつ、上記重量変化量(増加量)は、上記出庫された品物の重量以下である場合に(S407でYES)、品物が再入庫された可能性があると判断し、図28に示すS417のステップに移行する。 When the weight change amount is a positive value, that is, the sensor value (weight value) is increased as compared with that before the change (YES in S406), then the warehousing / delivery determination unit 322 is used for the already-existing item. Judge the possibility of restocking. That is, in the warehousing / delivery determination unit 322, the change position is substantially the same as the storage position of the previously delivered item, and the weight change amount (increase amount) is equal to or less than the weight of the warehousing item. In the case (YES in S407), it is determined that the item may have been restocked, and the process proceeds to step S417 shown in FIG. 28.

一方、重量が増加した変化位置が上記貯蔵位置とは異なっていたり、または、増加量が上記品物の重量を超えている場合は(S407でNO)、在庫管理部324は、新規の品物が入庫されたと判断し、該品物の新規レコードを在庫表に登録する(S408)。具体的には、在庫管理部324は、入庫された品物の品物識別情報、入庫日時、貯蔵位置および重量を、上記在庫表のそれぞれのカラムに格納する。在庫管理部324は、S405にて特定された変化日時に最も近い音声入力日時が対応付けられているテキストデータを、上記品物の品物識別情報として認識結果記憶部330から取得する。在庫管理部324は、上記変化日時を入庫日時として測定結果記憶部331から取得する。在庫管理部324は、S405にて特定された変化位置を貯蔵位置として測定結果記憶部331から取得する。在庫管理部324は、上記重量変化量を、上記品物の重量として測定結果記憶部331から取得する。 On the other hand, if the change position where the weight is increased is different from the storage position, or the increase amount exceeds the weight of the above item (NO in S407), the inventory management unit 324 receives the new item. It is determined that the item has been completed, and a new record of the item is registered in the inventory table (S408). Specifically, the inventory management unit 324 stores the item identification information, the date and time of warehousing, the storage position, and the weight of the warehousing items in each column of the inventory table. The inventory management unit 324 acquires text data associated with the voice input date and time closest to the change date and time specified in S405 from the recognition result storage unit 330 as the item identification information of the item. The inventory management unit 324 acquires the change date and time from the measurement result storage unit 331 as the warehousing date and time. The inventory management unit 324 acquires the change position specified in S405 as the storage position from the measurement result storage unit 331. The inventory management unit 324 acquires the weight change amount as the weight of the item from the measurement result storage unit 331.

なお、在庫管理部324は、品物の名称を認識結果記憶部330から取得できなかった場合には、「先ほど入れたものは何ですか?」などの確認メッセージを生成し、上記発話制御部を利用して、該メッセージの音声をスピーカ316から出力してもよい。センサ313によって閉ドアが検知されないうちは(S409でNO)、冷蔵庫301の制御部310は、S402に戻り以降の処理を繰り返す。 If the inventory management unit 324 cannot acquire the name of the item from the recognition result storage unit 330, the inventory management unit 324 generates a confirmation message such as "What was put in earlier?" It may be used to output the voice of the message from the speaker 316. Until the closed door is detected by the sensor 313 (NO in S409), the control unit 310 of the refrigerator 301 returns to S402 and repeats the subsequent processing.

一方、S406にて、センサ値が変化前と比較して減少している場合(S406でNO)、図28を参照して、在庫管理部324は、品物が出庫されたと判断し(S411)(S411では、あるいは、入出庫判定部322が品物が出庫されたと判定してもよい)、出庫された品物のレコードを在庫表から検索する(S412)。具体的には、在庫管理部324は、貯蔵位置がセンサ値の変化位置にほぼ合致するレコード、かつ、重量変化量(減少量)が、重量にほぼ合致するレコードを特定する。 On the other hand, in S406, when the sensor value decreases as compared with that before the change (NO in S406), the inventory management unit 324 determines that the item has been delivered (S411) (S411) (see FIG. 28). In S411, or the warehousing / delivery determination unit 322 may determine that the goods have been delivered), the record of the goods that have been delivered is searched from the inventory table (S412). Specifically, the inventory management unit 324 identifies a record whose storage position substantially matches the change position of the sensor value and a record whose weight change amount (decrease amount) substantially matches the weight.

在庫管理部324は、特定した上記レコードにおいて、出庫された品物の出庫日時を記録する(S413)。出庫日時は、S405にて特定された変化日時とする。ここで、図示しないタイマ部により、出庫日時からの経過時間が計測されてもよい。 The inventory management unit 324 records the delivery date and time of the goods that have been delivered in the specified record (S413). The delivery date and time shall be the change date and time specified in S405. Here, the elapsed time from the delivery date and time may be measured by a timer unit (not shown).

その後、出庫された品物と同じ貯蔵位置、かつ、該出庫された品物の重量以下で、センサ値が増加した場合(S414でYES)、入出庫判定部322は、再入庫の可能性がある判断し、S414にて入庫された品物が、S411にて出庫された品物と同一か否かを確認するメッセージを出力する(S417)。 After that, if the sensor value increases at the same storage position as the delivered item and less than the weight of the delivered item (YES in S414), the warehousing / delivery determination unit 322 determines that there is a possibility of restocking. Then, a message confirming whether or not the item received in S414 is the same as the item delivered in S411 is output (S417).

上記メッセージに対して、ユーザより、品物が同一である旨の回答が入力されると(S418でYES)、入出庫判定部322は、出庫された品物が再入庫されたと判定する(S419)。この場合、在庫管理部324は、再入庫と判定された品物のレコードにおいて、重量を、S414にて計測されたものに更新する(S420)。一方、記メッセージに対して、ユーザより、品物が同一でない旨の回答が入力されると(S418でNO)、在庫管理部324は、「じゃあ、何を入れたの?教えて」など、品物名の入力を促すメッセージを出力し、ユーザの入力を受け付ける(S421)。該メッセージに対してユーザが、音声またはキーボード操作によって品物名を入力する。 When the user inputs a reply to the above message that the items are the same (YES in S418), the warehousing / delivery determination unit 322 determines that the warehousing items have been restocked (S419). In this case, the inventory management unit 324 updates the weight of the record of the item determined to be restocked to that measured in S414 (S420). On the other hand, when the user inputs a reply that the items are not the same in response to the message (NO in S418), the inventory management department 324 says, "Then, what did you put in?" Outputs a message prompting the input of the name and accepts the input of the user (S421). In response to the message, the user inputs the item name by voice or keyboard operation.

在庫管理部324は、出庫された品物の貯蔵位置に別の品物が入庫されたことに伴い、該貯蔵位置から出庫されたとしてこれまで管理されていた品物のレコードを削除する(S422)。そして、上記別の品物について、在庫表に新規レコードを登録する(S423)。なお、在庫管理部324は、品物識別情報として、S421にてユーザから入力された品物名を採用することができる。 The inventory management unit 324 deletes the record of the item that has been managed so far as being delivered from the storage position when another item is received in the storage position of the item that has been delivered (S422). Then, a new record is registered in the inventory table for the other item (S423). The inventory management unit 324 can adopt the item name input by the user in S421 as the item identification information.

一方、S414の条件に合致するセンサ値の増加がないまま、S413にて記録された出庫日時から所定時間が経過した場合(S414でNO、かつ、S415でYES)、出庫された品物が再入庫される可能性は低いとして、在庫管理部324は、出庫された品物のレコード(出庫日時から所定時間が経過したレコード)を在庫表から削除する(S416)。上述の一連の在庫管理が完了すると、冷蔵庫301の制御部310は、S409に戻り、センサ313によって閉ドアが検知されないうちは(S409でNO)、S402に戻り以降の処理を繰り返す。 On the other hand, if a predetermined time elapses from the delivery date and time recorded in S413 (NO in S414 and YES in S415) without an increase in the sensor value that matches the condition of S414, the delivered item is restocked. The inventory management unit 324 deletes the record of the item that has been delivered (the record for which a predetermined time has passed from the date and time of delivery) from the inventory table (S416). When the above-mentioned series of inventory management is completed, the control unit 310 of the refrigerator 301 returns to S409, returns to S402, and repeats the subsequent processing until the closed door is detected by the sensor 313 (NO in S409).

図29は、実施形態3に係る在庫表記憶部332に記憶される在庫表の具体例を示す図である。実施形態3の在庫表において、実施形態1および2の在庫表と異なる点は、在庫表が、貯蔵位置、重量および出庫日時のカラムを含んでいる点である。在庫管理部324は、品物が入庫されたときに、品物識別情報、入庫日時、貯蔵場所および重量のカラムにそれぞれ適切な値を入れてレコードを作成する。そして、品物が出庫されたときに、出庫日時のカラムに、重量が減少したときの日時を格納してレコードを更新する。そして、出庫日時から所定時間以内に同一の品物が再入庫された場合には、在庫管理部324は、出庫日時の値をクリアして、上記品物のレコードを維持する。一方、再入庫されずに、出庫日時から所定時間が経過した場合には、上記レコードを在庫表から削除する。なお、品物識別情報は、実施形態1と同様に、テキストデータであってもよいし、冷蔵庫301がカメラ14にて品物の画像を撮像している場合には、品物識別情報は、品物の領域のトリミング画像であってもよいし、第1画像そのものであってもよい。 FIG. 29 is a diagram showing a specific example of the inventory table stored in the inventory table storage unit 332 according to the third embodiment. The inventory table of the third embodiment differs from the inventory tables of the first and second embodiments in that the inventory table includes columns for storage position, weight, and delivery date and time. When an item is received, the inventory management unit 324 creates a record by entering appropriate values in the item identification information, the date and time of receipt, the storage location, and the weight column. Then, when the item is delivered, the date and time when the weight is reduced is stored in the delivery date and time column, and the record is updated. Then, when the same item is restocked within a predetermined time from the delivery date and time, the inventory management unit 324 clears the value of the delivery date and time and maintains the record of the above item. On the other hand, if a predetermined time has elapsed from the date and time of delivery without restocking, the above record is deleted from the inventory table. The item identification information may be text data as in the first embodiment, and when the refrigerator 301 captures an image of the item with the camera 14, the item identification information is the area of the item. It may be a trimmed image of the above, or it may be the first image itself.

〔実施形態4〕
本発明の他の実施形態について、図30〜図32に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、実施形態1〜3にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 4]
Other embodiments of the present invention will be described below with reference to FIGS. 30 to 32. For convenience of explanation, the same reference numerals will be added to the members having the same functions as the members described in the first to third embodiments, and the description thereof will be omitted.

本実施形態では、上述の各実施形態における冷蔵庫1(または、冷蔵庫301)が、貯蔵されている品物の使用期限を管理し、使用期限が迫っている品物が貯蔵されていることについて、適切にユーザに通知する。 In the present embodiment, the refrigerator 1 (or the refrigerator 301) in each of the above-described embodiments manages the expiration date of the stored item, and appropriately determines that the item whose expiration date is approaching is stored. Notify the user.

本実施形態では、クラウドサーバ2(または、クラウドサーバ302)は、貯蔵期間リストを保持している。貯蔵期間リストとは、冷蔵庫において品質を保ちつつ貯蔵が可能な期間を品物ごとに対応付けてリストにしたものである。貯蔵期間リストの一例を図30の(a)に示す。貯蔵期間リストは、例えば、品物識別情報のカラムと、貯蔵期間のカラムとを有する。貯蔵期間のカラムには、その品物が冷蔵室において品質を保ちつつ貯蔵が可能な期間が格納される。貯蔵期間の値は、冷蔵室における貯蔵可能期間と、冷凍室における貯蔵可能期間との2種類が格納されていてもよい。 In the present embodiment, the cloud server 2 (or the cloud server 302) holds the storage period list. The storage period list is a list of items that can be stored in a refrigerator while maintaining quality. An example of the storage period list is shown in FIG. 30 (a). The storage period list has, for example, a column of item identification information and a column of storage period. The storage period column stores the period during which the item can be stored in the refrigerator while maintaining its quality. Two types of storage period values, a storage period in the refrigerating room and a storage period in the freezing room, may be stored.

在庫管理部24(または、在庫管理部324)は、入庫された品物について新規レコードを在庫表に登録すると、該品物の品物識別情報をクラウドサーバ2に送信して、該品物の貯蔵期間を問い合わせる。クラウドサーバ2は、送信された品物識別情報に対応付けられた貯蔵期間を、冷蔵庫1に返信する。 When the inventory management unit 24 (or the inventory management unit 324) registers a new record for the received item in the inventory table, the inventory management unit 24 (or the inventory management unit 324) transmits the item identification information of the item to the cloud server 2 and inquires about the storage period of the item. .. The cloud server 2 returns the storage period associated with the transmitted item identification information to the refrigerator 1.

在庫管理部24は、上記品物の入庫日時に、クラウドサーバ2から受信した貯蔵期間を足した日時(または、日だけでもよい)を、使用期限として算出する。そして、算出した使用期限を、上記品物のレコードにおける使用期限のカラムに格納する。図30の(b)は、実施形態4における在庫表の一例を示す図である。同図に示すとおり、実施形態1〜3に係る在庫表と比較して、実施形態4の在庫表は、さらに、使用期限のカラムを含む。 The inventory management unit 24 calculates the date and time (or just the day), which is the sum of the storage date and time of the above-mentioned item and the storage period received from the cloud server 2, as the expiration date. Then, the calculated expiration date is stored in the expiration date column in the record of the above item. FIG. 30B is a diagram showing an example of an inventory table according to the fourth embodiment. As shown in the figure, the inventory table of the fourth embodiment further includes an expiration date column as compared with the inventory table of the first to third embodiments.

在庫管理部24は、現在日時から所定日(例えば、1日)後に上記使用期限が迫っているレコードが在庫表に存在する場合に、当該レコードの品物の使用期限が迫っていることを通知するための使用期限警告メッセージを、ユーザに対して出力する。使用期限警告メッセージの出力方法は、特に限定されない。例えば、冷蔵庫1(または冷蔵庫301)が、音声出力機能(スピーカ16またはスピーカ316)を備えている場合には、在庫管理部24は、スピーカ16から、「〇〇の使用期限が迫っているよ、在庫を確認してね!」などの音声メッセージを出力してもよい。あるいは、冷蔵庫1が情報表示機能(ディスプレイ17またはディスプレイ317)を備えている場合には、在庫管理部24は、使用期限が迫っている品物の一覧をディスプレイ17に表示してもよい。あるいは、冷蔵庫1が通信機能(通信部12または通信部312)を備えている場合には、在庫管理部24は、使用期限警告メッセージを、ユーザの通信端末3に送信してもよい。 When a record whose expiration date is approaching exists in the inventory table after a predetermined date (for example, one day) from the current date and time, the inventory management unit 24 notifies that the expiration date of the item of the record is approaching. Outputs an expiration date warning message to the user. The output method of the expiration date warning message is not particularly limited. For example, when the refrigerator 1 (or the refrigerator 301) has an audio output function (speaker 16 or speaker 316), the inventory management unit 24 tells the speaker 16 that "the expiration date of XX is approaching. You may output a voice message such as "Please check the stock!". Alternatively, when the refrigerator 1 has an information display function (display 17 or display 317), the inventory management unit 24 may display a list of items whose expiration date is approaching on the display 17. Alternatively, when the refrigerator 1 has a communication function (communication unit 12 or communication unit 312), the inventory management unit 24 may send an expiration date warning message to the user's communication terminal 3.

図31は、在庫管理部24または在庫管理部324によって実行される使用期限管理処理の流れを示すフローチャートである。在庫管理部24は、在庫表にレコードが新規登録された品物の貯蔵期間を、クラウドサーバ2から取得する(S501)。在庫管理部24は、上記品物の入庫日時と、取得した上記貯蔵期間とに基づいて使用期限を算出し、上記在庫表の使用期限のカラムに格納する(S502)。 FIG. 31 is a flowchart showing the flow of the expiration date management process executed by the inventory management unit 24 or the inventory management unit 324. The inventory management unit 24 acquires the storage period of the item whose record is newly registered in the inventory table from the cloud server 2 (S501). The inventory management unit 24 calculates the expiration date based on the receipt date and time of the item and the acquired storage period, and stores it in the expiration date column of the inventory table (S502).

在庫管理部24は、現在日時から所定日数後に、使用期限が迫っているレコードが在庫表にある場合に(S503でYES)、使用期限警告メッセージをユーザに対して出力する(S504)。 The inventory management unit 24 outputs an expiration date warning message to the user (S504) when there is a record in the inventory table whose expiration date is approaching after a predetermined number of days from the current date and time (YES in S503).

〔変形例〕
(実施形態1および2について)
冷蔵庫1に適用された、本発明に係る在庫管理装置は、クラウドサーバ2によって実現されてもよい。すなわち、特徴量抽出部21、入出庫判定部22、品物識別部23および在庫管理部24を、クラウドサーバ2が備え、クラウドサーバ2は、冷蔵庫1のカメラ14が撮像した画像を冷蔵庫1から取得して、入出庫判定処理および在庫管理処理を実行すればよい。あるいは、特徴量抽出部21、入出庫判定部22、品物識別部23および在庫管理部24の各機能を、冷蔵庫1とクラウドサーバ2とに分散して設けることにより、本発明の在庫管理装置を実現してもよい。
[Modification example]
(About Embodiments 1 and 2)
The inventory management device according to the present invention applied to the refrigerator 1 may be realized by the cloud server 2. That is, the cloud server 2 includes a feature quantity extraction unit 21, a warehousing / delivery determination unit 22, an item identification unit 23, and an inventory management unit 24, and the cloud server 2 acquires an image captured by the camera 14 of the refrigerator 1 from the refrigerator 1. Then, the warehousing / delivery determination process and the inventory management process may be executed. Alternatively, the inventory management device of the present invention can be provided by providing the functions of the feature amount extraction unit 21, the warehousing / delivery determination unit 22, the item identification unit 23, and the inventory management unit 24 in a distributed manner in the refrigerator 1 and the cloud server 2. It may be realized.

(実施形態3について)
冷蔵庫301に適用された、本発明に係る在庫管理装置は、クラウドサーバ302によって実現されてもよい。すなわち、音声認識部320、測定部321、入出庫判定部322、品物識別部323および在庫管理部324を、クラウドサーバ302が備えてもよい。この場合、クラウドサーバ302は、冷蔵庫301のマイク315が取得した入力音声データ(品物名を発話したユーザの音声)と、冷蔵庫301の重量センサ314が検知したセンサ値とを冷蔵庫301から取得して、入出庫判定処理および在庫管理処理を実行すればよい。あるいは、音声認識部320、測定部321、入出庫判定部322、品物識別部323および在庫管理部324の各機能を、冷蔵庫301とクラウドサーバ302とに分散して設けることにより、本発明の在庫管理装置を実現してもよい。
(About Embodiment 3)
The inventory management device according to the present invention applied to the refrigerator 301 may be realized by the cloud server 302. That is, the cloud server 302 may include a voice recognition unit 320, a measurement unit 321, an warehousing / delivery determination unit 322, an item identification unit 323, and an inventory management unit 324. In this case, the cloud server 302 acquires the input voice data (voice of the user who spoke the product name) acquired by the microphone 315 of the refrigerator 301 and the sensor value detected by the weight sensor 314 of the refrigerator 301 from the refrigerator 301. , The warehousing / delivery determination process and the inventory management process may be executed. Alternatively, the inventory of the present invention can be obtained by providing the functions of the voice recognition unit 320, the measurement unit 321, the warehousing / delivery determination unit 322, the item identification unit 323, and the inventory management unit 324 in a distributed manner in the refrigerator 301 and the cloud server 302. A management device may be realized.

(実施形態3と、実施形態1または2との組み合わせについて)
実施形態1に係る冷蔵庫1の各種機能を、実施形態3に係る冷蔵庫301に搭載することが可能である。上記構成によれば、入庫時の品物の識別は、カメラ14によって撮像された画像を処理することによって行われる。これにより、ユーザは、入庫時に品物の名前を発話することすら不要になり、さらに、ユーザの利便性が向上する。あるいは、音声入力と組み合わせて、音声認識または画像認識における誤認識をカバーし合い、品物の識別精度を向上させることも可能である。
(Regarding the combination of the third embodiment and the first or second embodiment)
Various functions of the refrigerator 1 according to the first embodiment can be mounted on the refrigerator 301 according to the third embodiment. According to the above configuration, the identification of the item at the time of warehousing is performed by processing the image captured by the camera 14. As a result, the user does not even have to say the name of the item at the time of warehousing, and the convenience of the user is further improved. Alternatively, in combination with voice input, it is possible to cover misrecognition in voice recognition or image recognition and improve the identification accuracy of the item.

さらに、在庫表における品物識別情報として、カメラ14によって撮像された画像または品物の領域がトリミングされた画像を採用してもよい。そして、在庫管理部24は、図32に示すように、上記画像に、入庫日時からの経過時間と、貯蔵位置とを関連付けた食品リストを作成しておき、該食品リストを、ディスプレイ17に表示したり、ユーザの通信端末3に送信したりしてもよい。 Further, as the item identification information in the inventory table, an image captured by the camera 14 or an image in which the area of the item is trimmed may be adopted. Then, as shown in FIG. 32, the inventory management unit 24 creates a food list in which the elapsed time from the warehousing date and time and the storage position are associated with the above image, and displays the food list on the display 17. Or may be transmitted to the user's communication terminal 3.

〔ソフトウェアによる実現例〕
冷蔵庫1の制御ブロック(特に、画像取得部20、特徴量抽出部21、入出庫判定部22、品物識別部23および在庫管理部24)、ならびに、冷蔵庫301の制御ブロック(特に、音声認識部320、測定部321、入出庫判定部322、品物識別部323および在庫管理部324)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of realization by software]
The control block of the refrigerator 1 (particularly, the image acquisition unit 20, the feature amount extraction unit 21, the warehousing / delivery determination unit 22, the item identification unit 23 and the inventory management unit 24), and the control block of the refrigerator 301 (particularly, the voice recognition unit 320). , The measurement unit 321 and the warehousing / delivery determination unit 322, the item identification unit 323 and the inventory management unit 324) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by a CPU (hardware). It may be realized by software using a Central Processing Unit).

後者の場合、冷蔵庫1および冷蔵庫301は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the refrigerator 1 and the refrigerator 301 are a CPU that executes instructions of a program that is software that realizes each function, and a ROM (Read Only Memory) in which the program and various data are readablely recorded by a computer (or CPU). ) Or a storage device (these are referred to as "recording media"), a RAM (Random Access Memory) for developing the above program, and the like. Then, the object of the present invention is achieved by the computer (or CPU) reading the program from the recording medium and executing the program. As the recording medium, a "non-temporary tangible medium", for example, a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. Further, the program may be supplied to the computer via an arbitrary transmission medium (communication network, broadcast wave, etc.) capable of transmitting the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the above program is embodied by electronic transmission.

〔まとめ〕
本発明の態様1に係る在庫管理装置(冷蔵庫1、クラウドサーバ2)は、カメラ(14)を制御して、貯蔵庫(冷蔵庫1)の、品物を入出庫するための開口部の画像を取得する画像取得部(20)と、上記画像に基づいて、品物の入出庫を判定する入出庫判定部(22)とを備え、上記画像取得部は、庫内に設けられた、品物を運搬する手の通過を検知するセンサ(センサ13、フロントセンサ13f、バックセンサ13b)のセンサ値に基づいて、庫外から庫内へ移動する手が写る第1画像と、庫内から庫外へ移動する手が写る第2画像とを取得するものであり、上記入出庫判定部は、上記第1画像に品物が写っている否かと、上記第2画像に上記品物が写っているか否かとに基づいて、該品物の入出庫を判定する。
〔summary〕
The inventory management device (refrigerator 1, cloud server 2) according to the first aspect of the present invention controls the camera (14) to acquire an image of an opening of the storage (refrigerator 1) for loading and unloading an item. An image acquisition unit (20) and a warehousing / delivery determination unit (22) for determining the warehousing / delivery of an item based on the above image are provided, and the image acquisition unit is a hand provided in the refrigerator for carrying the item. Based on the sensor values of the sensors (sensor 13, front sensor 13f, back sensor 13b) that detect the passage of, the first image showing the hand moving from the outside to the inside of the refrigerator and the hand moving from the inside to the outside of the refrigerator The warehousing / delivery determination unit acquires the second image in which the image is shown, and the warehousing / delivery determination unit is based on whether or not the item is shown in the first image and whether or not the item is shown in the second image. The warehousing / delivery of the item is determined.

上記の構成によれば、画像取得部が、手の通過を検知するセンサのセンサ値に基づいて、カメラの撮像タイミングを制御することによって、(i)庫外から庫内へ移動する手が写る第1画像、および、(ii)庫内から庫外へ移動する手が写る第2画像の2枚の画像が取得される。入出庫判定部は、この2枚の画像を分析するのみで、品物が入庫されたのか、出庫されたのかを判定することができる。入庫の場合には、第1画像にのみ手と一緒に品物が写っているはずであり、出庫の場合には、第2画像にのみ手と一緒に品物が写っているはずだからである。 According to the above configuration, the image acquisition unit controls the imaging timing of the camera based on the sensor value of the sensor that detects the passage of the hand, so that (i) the hand moving from the outside to the inside of the refrigerator is captured. Two images, the first image and (ii) the second image showing the hand moving from the inside of the refrigerator to the outside of the refrigerator, are acquired. The warehousing / delivery determination unit can determine whether the item has been warehousing or warehousing only by analyzing these two images. This is because in the case of warehousing, the item should be shown with the hand only in the first image, and in the case of warehousing, the item should be shown with the hand only in the second image.

このように、本発明の在庫管理装置は、画像取得部が、センサ値にしたがってカメラの撮像タイミングを制御することにより、入出庫の判定に必要な最低限の2枚の画像を取得することができる。これにより、リアルビュー画像などを画像分析して撮像対象をトラッキングせずとも、2枚の静止画を処理するのみで、品物の入出庫を判定することが可能である。つまり、高負荷な演算処理を回避することができる。よって、在庫管理装置において、処理能力の高いプロセッサを搭載する必要がない。在庫管理装置を冷蔵庫などの貯蔵庫に直接に搭載する際には、該貯蔵庫そのものの製造コストを抑えることができる。また、在庫管理装置を貯蔵庫通信する外部装置に搭載する場合には、貯蔵庫と在庫管理装置との間の通信に関し、高性能な通信機能および通信環境が要求されないため、通信環境を整えるための初期コストを抑えることができる。結果として、多数の画像を短時間で処理することなく、かつ、ユーザの利便性を損なわずに品物の入出庫を判定することが可能な在庫管理装置または在庫管理システムを実現することができる。 As described above, in the inventory management device of the present invention, the image acquisition unit controls the imaging timing of the camera according to the sensor value, so that the minimum two images necessary for the determination of warehousing / delivery can be acquired. can. As a result, it is possible to determine the warehousing / delivery of an item only by processing two still images without tracking the image pickup target by performing image analysis on a real view image or the like. That is, it is possible to avoid high-load arithmetic processing. Therefore, it is not necessary to mount a processor having a high processing capacity in the inventory management device. When the inventory management device is directly mounted in a storage such as a refrigerator, the manufacturing cost of the storage itself can be suppressed. Further, when the inventory management device is mounted on an external device that communicates with the storage, a high-performance communication function and a communication environment are not required for communication between the storage and the inventory management device. The cost can be suppressed. As a result, it is possible to realize an inventory management device or an inventory management system capable of determining the receipt / delivery of goods without processing a large number of images in a short time and without impairing the convenience of the user.

本発明の態様2に係る在庫管理装置では、上記態様1において、上記センサは、手が上記開口部(および開口部によって形成される開口領域)を通過したことを検知する第1センサ(フロントセンサ13f)と、手が上記開口部より奥の庫内の所定場所を通過したことを検知する第2センサ(バックセンサ13b)とを含み、上記画像取得部は、第2センサが通過非検知(オン)であって、第1センサが通過非検知から通過検知(オフ)に切り替わった時に、上記第1画像を取得するとともに、第1センサが通過検知であって、第2センサが通過検知から通過非検知に切り替わった時に、上記第2画像を取得することが好ましい。 In the inventory management device according to the second aspect of the present invention, in the first aspect, the sensor detects that the hand has passed through the opening (and the opening region formed by the opening), the first sensor (front sensor). 13f) and a second sensor (back sensor 13b) that detects that the hand has passed a predetermined place in the refrigerator behind the opening, and the image acquisition unit does not detect the passage of the second sensor (back sensor 13b). When the first sensor is switched from non-passage detection to pass detection (off), the first image is acquired, the first sensor is pass detection, and the second sensor is from pass detection. It is preferable to acquire the second image when switching to non-passage detection.

上記の構成によれば、画像取得部は、貯蔵庫の開口部に設けられた第1センサと貯蔵庫の庫内奥に設けられた第2センサのセンサ値の組み合わせによって、カメラの撮像範囲に収まっている手のシーンが、これから庫内に入れようとしている手のシーンなのか、庫内から庫外に出そうとしている手のシーンなのかを判別することができる。したがって、この判別に基づいて取得された、第1画像が庫外から庫内へ移動する手を写していることが保証され、第2画像が庫内から庫外に移動する手を写していることが保証される。結果として、これら2枚の画像に基づいて、入出庫判定部が正確に入出庫を判定することが可能となる。 According to the above configuration, the image acquisition unit fits within the imaging range of the camera by the combination of the sensor values of the first sensor provided in the opening of the storage and the sensor value of the second sensor provided in the inner part of the storage. It is possible to determine whether the scene of the hand that is in the warehouse is the scene of the hand that is about to be put in the refrigerator or the scene of the hand that is about to be taken out of the refrigerator. Therefore, it is guaranteed that the first image acquired based on this determination shows the hand moving from the outside of the refrigerator to the inside of the refrigerator, and the second image shows the hand moving from the inside of the refrigerator to the outside of the refrigerator. Is guaranteed. As a result, the warehousing / delivery determination unit can accurately determine the warehousing / delivery based on these two images.

本発明の態様3に係る在庫管理装置では、上記態様1または2において、上記貯蔵庫は、1以上の棚板(棚板1r、棚板1r−1、棚板1r−2、棚板1r−3)で仕切られる複数の貯蔵スペース(段)を有し、上記画像取得部は、上記第1画像を撮像してから上記第2画像を撮像するまでの間に、手がいずれかの貯蔵スペースにある時に、上記棚板の少なくとも一部と上記手の少なくとも一部とが写る中間画像を取得し、上記入出庫判定部は、上記中間画像に写る手と棚板との位置関係に基づいて、品物が入出庫された貯蔵スペースを特定してもよい。 In the inventory management device according to the third aspect of the present invention, in the first or second aspect, the storage has one or more shelf boards (shelf board 1r, shelf board 1r-1, shelf board 1r-2, shelf board 1r-3). ) Has a plurality of storage spaces (stages), and the image acquisition unit puts a hand in one of the storage spaces between the time when the first image is taken and the time when the second image is taken. At a certain time, an intermediate image in which at least a part of the shelf board and at least a part of the hand is captured is acquired, and the warehousing / delivery determination unit is based on the positional relationship between the hand and the shelf board in the intermediate image. You may specify the storage space where the goods are loaded and unloaded.

上記の構成によれば、入出庫判定部は、中間画像に写る手と棚板との位置関係に基づいて、手がどこに入っているのか、すなわち、品物が置かれたり、取り出されたりした貯蔵スペースはどこであるのかを特定することが可能となる。例えば、上下に重なる棚板を上からカメラで撮像している場合には、棚板よりも上に手が写っている場合には、その棚板の段の貯蔵スペースにて入出庫が行われていると判定でき、棚板よりも下に手が写っている場合には、その棚板の段の下の貯蔵スペースにて入出庫が行われていると判定できる。 According to the above configuration, the warehousing / delivery determination unit determines where the hand is placed, that is, the storage where the item is placed or taken out, based on the positional relationship between the hand and the shelf board shown in the intermediate image. It is possible to identify where the space is. For example, when the shelves that overlap each other are imaged from above with a camera, if the hand is visible above the shelves, the shelves are loaded and unloaded in the storage space of the shelves. If the hand is visible below the shelf board, it can be determined that the goods are being loaded and unloaded in the storage space below the shelf board.

結果として、処理対象の画像を単に1枚増やすだけで、品物の入庫先、出庫元の場所を特定することが可能となる。これにより、より詳細なあるいは高精度な在庫管理を実現することが可能となる。 As a result, it is possible to specify the warehousing destination and the warehousing source location of the goods by simply increasing the number of images to be processed by one. This makes it possible to realize more detailed or highly accurate inventory management.

本発明の態様4に係る在庫管理装置(冷蔵庫301、クラウドサーバ302)は、品物を貯蔵庫(冷蔵庫301)に入庫する際にマイク(315)を介して入力された、該品物の名称を発話した音声をテキストデータに変換する音声認識部(320)と、上記貯蔵庫の1以上の貯蔵スペースの床面に設けられた重量センサ(314)から出力されるセンサ値(重量値)に基づいて、上記床面にかかる負荷を測定し、該負荷に変化が生じた場合に該負荷の変化量(重量変化量)および変化位置を特定する測定部(321)と、上記負荷に変化が生じた時点と最も近い時点で入力された発話音声のテキストデータと、上記負荷の変化量と、上記変化位置と、上記負荷に変化が生じた時点とを含む、上記品物のレコードを、上記貯蔵庫の在庫を示す在庫表に登録する在庫管理部(324)とを備えている。 The inventory management device (refrigerator 301, cloud server 302) according to the fourth aspect of the present invention spoke the name of the item input via the microphone (315) when the item was stored in the storage (refrigerator 301). The above is based on a sensor value (weight value) output from a voice recognition unit (320) that converts voice into text data and a weight sensor (314) provided on the floor surface of one or more storage spaces of the storage. A measuring unit (321) that measures the load applied to the floor surface and specifies the change amount (weight change amount) and change position of the load when the load changes, and the time when the load changes. A record of the item including the text data of the spoken voice input at the nearest time point, the change amount of the load, the change position, and the time point when the change occurs in the load indicates the stock of the storage. It has an inventory management unit (324) to be registered in the inventory table.

上記の構成によれば、ユーザが品物入庫時に該品物の名称を発話して貯蔵庫に貯蔵するだけで、簡易に貯蔵庫内の在庫を管理することができる。品物の名称の発話とほぼ同じタイミングで、品物が貯蔵庫内に置かれるので、品物が置かれた貯蔵スペースの床面の負荷が変化(増加)する。測定部は、負荷が増加した場合、負荷の変化量(増加量)と、変化位置(増加位置)とを特定する。在庫管理部は、測定部によって負荷の増加が認められた場合に、ユーザによって入庫された品物のレコードを在庫表に登録する。例えば、一例として、重量センサによって検知されたセンサ値(重量値)が変化したのとほぼ同じタイミングで入力されたテキストデータを品物の名称とし、負荷の変化量(増加量)を該品物の重量として、変化位置(負荷が増加した位置)を該品物の貯蔵位置とし、上記負荷の変化(増加)タイミングを、入庫日時として、在庫を管理することができる。 According to the above configuration, the user can easily manage the inventory in the storage by simply speaking the name of the product at the time of warehousing and storing the product in the storage. Since the item is placed in the storage at almost the same timing as the utterance of the name of the item, the load on the floor of the storage space where the item is placed changes (increases). When the load increases, the measuring unit identifies the change amount (increase amount) of the load and the change position (increase position). The inventory management unit registers a record of the goods received by the user in the inventory table when the measurement unit recognizes an increase in the load. For example, as an example, the text data input at almost the same timing as the sensor value (weight value) detected by the weight sensor changes is used as the name of the item, and the amount of change (increase) in the load is the weight of the item. As a result, the inventory can be managed by setting the change position (the position where the load is increased) as the storage position of the item and the change (increase) timing of the load as the warehousing date and time.

これにより、ユーザは、品物にタグを付与したり、タグに記憶させる情報を作成するなどの煩わしい作業から解放され、品物名を発話するという簡易な動作を入庫時に行うだけで済む。ユーザによって発話された品物名は、入力タイミングに基づいて、重量とそれが置かれた貯蔵場所に紐付けられるので、品物の在庫管理が正確に行える。結果として、入出庫時にユーザに煩わしい作業を強いることなく品物の在庫管理を実施する在庫管理装置または在庫管理システムを実現することが可能となる。 As a result, the user is freed from troublesome work such as attaching a tag to an item or creating information to be stored in the tag, and only has to perform a simple operation of uttering the item name at the time of warehousing. Since the item name spoken by the user is associated with the weight and the storage location where the item is placed based on the input timing, inventory management of the item can be performed accurately. As a result, it is possible to realize an inventory management device or an inventory management system that manages the inventory of goods without forcing the user to perform troublesome work at the time of warehousing and delivery.

本発明の態様5に係る在庫管理装置では、上記態様4において、上記在庫管理部は、上記負荷が減少した場合に、上記負荷の減少量および減少位置に基づいて、出庫された品物のレコードを上記在庫表から特定するとともに、上記負荷が減少した時点を出庫日時として該レコードに記録し、上記出庫日時から所定時間以内に、負荷の増加が、上記減少量以下の増加量で、上記減少位置にて計測された場合に、上記品物のレコードの上記出庫日時をクリアして該レコードを維持する一方、負荷の増加が計測されることなく上記出庫日時から所定時間が経過した場合に、上記品物のレコードを削除する。 In the inventory management device according to the fifth aspect of the present invention, in the fourth aspect, when the load is reduced, the inventory management unit records the items that have been delivered based on the reduction amount and the reduction position of the load. In addition to specifying from the inventory table, the time when the load decreases is recorded in the record as the issue date and time, and within a predetermined time from the issue date and time, the load increase is the increase amount equal to or less than the decrease amount, and the decrease position. When a predetermined time elapses from the delivery date and time without measuring the increase in load, the above-mentioned item is maintained by clearing the above-mentioned delivery date and time of the record of the above-mentioned item. Delete the record of.

上記の構成によれば、品物の出庫は、負荷の減少によって判定され、しかも、負荷の減少量と、その減少位置とによって、出庫された品物の重量とその貯蔵位置とが明らかになる。出庫時の品物は、在庫表において、重量とその貯蔵位置とによって特定することが可能であるので、出庫時には、ユーザは、取り出した品物が何であるのかについて発話する必要すらなくなる。これにより、ユーザの利便性はより一層向上する。 According to the above configuration, the delivery of the goods is determined by the decrease in the load, and the weight of the goods delivered and the storage position thereof are clarified by the amount of the reduction in the load and the position of the reduction. Since the goods at the time of delivery can be specified by the weight and the storage position thereof in the inventory table, the user does not even have to speak about what the goods are taken out at the time of delivery. As a result, the convenience of the user is further improved.

さらに、同じ品物がすぐに同じ貯蔵位置に戻されたり、一部使用してすぐに同じ貯蔵位置に戻されたりした場合に、入出庫判定部は、同じ品物が再入庫されたと判定することができる。したがって、同じ品物が戻されたにもかかわらず、新たな別の品物が入庫されたとする誤判定を回避することができる。 Furthermore, if the same item is immediately returned to the same storage position, or if it is partially used and immediately returned to the same storage position, the warehousing / delivery determination unit may determine that the same item has been restocked. can. Therefore, it is possible to avoid an erroneous determination that another new item has been received even though the same item has been returned.

本発明の態様6に係る在庫管理方法は、カメラを制御して、貯蔵庫の、品物を入出庫するための開口部の画像を取得する画像取得ステップと、上記画像に基づいて、品物の入出庫を判定する入出庫判定ステップとを含み、上記画像取得ステップでは、庫内に設けられた、品物を運搬する手の通過を検知するセンサのセンサ値に基づいて、庫外から庫内へ移動する手が写る第1画像と、庫内から庫外へ移動する手が写る第2画像とを取得し、上記入出庫判定ステップでは、上記第1画像に品物が写っている否かと、上記第2画像に上記品物が写っているか否かとに基づいて、該品物の入出庫を判定する。上記の方法によれば、上記態様1と同様の効果を奏する。 The inventory management method according to the sixth aspect of the present invention includes an image acquisition step of controlling a camera to acquire an image of an opening for loading and unloading an item in the storage, and loading and unloading of the item based on the above image. In the image acquisition step, which includes a step of determining warehousing / delivery, the image is moved from the outside of the warehousing to the inside of the warehousing based on the sensor value of a sensor provided in the warehousing that detects the passage of a hand carrying an item. A first image showing a hand and a second image showing a hand moving from the inside to the outside are acquired, and in the warehousing / delivery determination step, whether or not an item is shown in the first image and the second Based on whether or not the above-mentioned item is shown in the image, the warehousing / delivery of the item is determined. According to the above method, the same effect as that of the above aspect 1 is obtained.

本発明の態様7に係る在庫管理方法は、品物を貯蔵庫に入庫する際にマイクを介して入力された、該品物の名称を発話した音声をテキストデータに変換する音声認識ステップと、上記貯蔵庫の1以上の貯蔵スペースの床面に設けられた重量センサから出力されるセンサ値に基づいて、上記床面にかかる負荷を測定し、該負荷に変化が生じた場合に該負荷の変化量および変化位置を特定する測定ステップと、上記負荷に変化が生じた時点と最も近い時点で入力された発話音声のテキストデータと、上記負荷の変化量と、上記変化位置と、上記負荷に変化が生じた時点とを含む、上記品物のレコードを、上記貯蔵庫の在庫を示す在庫表に登録する在庫管理ステップとを含む。上記の方法によれば、上記態様4と同様の効果を奏する。 The inventory management method according to the seventh aspect of the present invention includes a voice recognition step of converting a voice input by a microphone when the goods are stored in the storage into text data, and a voice recognition step of the storage. Based on the sensor value output from the weight sensor provided on the floor surface of one or more storage spaces, the load applied to the floor surface is measured, and when the load changes, the amount of change and the change in the load occur. The measurement step for specifying the position, the text data of the spoken voice input at the time closest to the time when the load changed, the amount of change in the load, the changed position, and the change in the load occurred. Includes an inventory management step that creates a record of the goods, including time points, in an inventory table that indicates the inventory of the storage. According to the above method, the same effect as that of the above aspect 4 is obtained.

本発明の各態様に係る在庫管理装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記在庫管理装置が備える各部(ソフトウェア要素)として動作させることにより上記在庫管理装置をコンピュータにて実現させる在庫管理装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The inventory management device according to each aspect of the present invention may be realized by a computer. In this case, the inventory management device is made into a computer by operating the computer as each part (software element) included in the inventory management device. The control program of the inventory management device and the computer-readable recording medium on which the control program is recorded are also included in the scope of the present invention.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims, and the embodiments obtained by appropriately combining the technical means disclosed in the different embodiments. Is also included in the technical scope of the present invention. Furthermore, new technical features can be formed by combining the technical means disclosed in each embodiment.

1、301 冷蔵庫(貯蔵庫)
1c、301c 冷蔵室(貯蔵庫/貯蔵スペース)
1d、301d ドア部
1f、301f 冷凍室(貯蔵庫/貯蔵スペース)
1r、1r−1、1r−2、1r−3、301r 棚板
1v、301v 野菜室(貯蔵庫/貯蔵スペース)
2、302 クラウドサーバ
3 通信端末
10、310 制御部
11、311 記憶部
12、312 通信部
13、313 センサ
13b バックセンサ(第2センサ)
13d 開閉センサ
13f フロントセンサ(第1センサ)
14 カメラ
15、315 マイク
16、316 スピーカ
17、317 ディスプレイ
20 画像取得部
21 特徴量抽出部
22 入出庫判定部
23 品物識別部
24 在庫管理部
30 パターン記憶部
31 画像記憶部
32 在庫表記憶部
100、300 在庫管理システム
314 重量センサ
314a 圧力センサ
314e 圧力センサ
314s 圧力センサ
320 音声認識部
321 測定部
322 入出庫判定部
323 品物識別部
324 在庫管理部
330 認識結果記憶部
331 測定結果記憶部
332 在庫表記憶部
1,301 Refrigerator (storage)
1c, 301c Refrigerator room (storage / storage space)
1d, 301d Door 1f, 301f Freezing room (storage / storage space)
1r, 1r-1, 1r-2, 1r-3, 301r Shelf board 1v, 301v Vegetable room (storage / storage space)
2, 302 Cloud server 3 Communication terminal 10, 310 Control unit 11, 311 Storage unit 12, 312 Communication unit 13, 313 Sensor 13b Back sensor (second sensor)
13d Open / close sensor 13f Front sensor (1st sensor)
14 Camera 15, 315 Mike 16, 316 Speaker 17, 317 Display 20 Image acquisition unit 21 Feature quantity extraction unit 22 Entry / exit determination unit 23 Item identification unit 24 Inventory management unit 30 Pattern storage unit 31 Image storage unit 32 Inventory table storage unit 100 , 300 Inventory management system 314 Weight sensor 314a Pressure sensor 314e Pressure sensor 314s Pressure sensor 320 Voice recognition unit 321 Measurement unit 322 Arrival / delivery judgment unit 323 Item identification unit 324 Inventory management unit 330 Recognition result storage unit 331 Measurement result storage unit 332 Inventory table Memory

Claims (4)

貯蔵庫のドアの開閉に基づいてカメラを制御して、当該貯蔵庫の、品物を入出庫するための開口部の画像を取得する画像取得部と、
上記画像に基づいて、品物の入出庫を判定する入出庫判定部とを備え、
上記画像取得部は、庫内に設けられた、品物を運搬する手の通過を検知するセンサのセンサ値に基づいて、上記カメラによって撮影された、庫外から庫内へ移動する手が写る第1画像と、庫内から庫外へ移動する手が写る第2画像とを取得するものであり、
上記入出庫判定部は、上記第1画像に品物が写っており、上記第2画像に物品が写っていない場合に該物品の入庫と判定し、上記第1画像に品物が写っておらず、上記第2画像に物品が写っている場合に該物品の出庫と判定することを特徴とする在庫管理装置。
An image acquisition unit that controls the camera based on the opening and closing of the door of the storage to acquire an image of the opening of the storage for loading and unloading goods.
Based on the above image, it is equipped with a warehousing / delivery determination unit that determines the warehousing / delivery of goods.
The image acquisition unit captures a hand moving from the outside to the inside of the refrigerator, which is taken by the camera based on the sensor value of a sensor provided inside the refrigerator to detect the passage of a hand carrying an item. One image and a second image showing a hand moving from the inside of the refrigerator to the outside of the refrigerator are acquired.
The warehousing / delivery determination unit determines that the goods are in the warehousing when the goods are shown in the first image and the goods are not shown in the second image, and the goods are not shown in the first image. An inventory management device characterized in that when an article is shown in the second image, it is determined that the article has been delivered.
上記センサは、手が上記開口部を通過したことを検知する第1センサと、手が上記開口部より奥の庫内の所定場所を通過したことを検知する第2センサとを含み、
上記画像取得部は、第2センサが通過非検知であって、第1センサが通過非検知から通過検知に切り替わった時に、上記第1画像を取得するとともに、第1センサが通過検知であって、第2センサが通過検知から通過非検知に切り替わった時に、上記第2画像を取得することを特徴とする請求項1に記載の在庫管理装置。
The sensor includes a first sensor that detects that the hand has passed through the opening, and a second sensor that detects that the hand has passed a predetermined place in the refrigerator behind the opening.
The image acquisition unit acquires the first image when the second sensor is non-passage detection and the first sensor switches from non-passage detection to pass detection, and the first sensor is pass detection. The inventory management device according to claim 1, wherein when the second sensor switches from pass detection to non-pass detection, the second image is acquired.
上記貯蔵庫は、1以上の棚板で仕切られる複数の貯蔵スペースを有し、
上記画像取得部は、上記第1画像を撮像してから上記第2画像を撮像するまでの間に、手がいずれかの貯蔵スペースにある時に、上記カメラによって撮影された、上記棚板の少なくとも一部と上記手の少なくとも一部とが写る中間画像を取得し、
上記入出庫判定部は、上記中間画像に写る手と棚板との位置関係に基づいて、品物が入出庫された貯蔵スペースを特定することを特徴とする請求項1または2に記載の在庫管理装置。
The storage has a plurality of storage spaces separated by one or more shelves, and has a plurality of storage spaces.
The image acquisition unit is at least the shelf board taken by the camera when the hand is in any storage space between the time when the first image is taken and the time when the second image is taken. Obtain an intermediate image that shows a part and at least a part of the above hand,
The inventory management according to claim 1 or 2, wherein the warehousing / delivery determination unit identifies a storage space in which the goods are warehousing / delivery based on the positional relationship between the hand and the shelf board shown in the intermediate image. Device.
貯蔵庫のドアの開閉に基づいてカメラを制御して、当該貯蔵庫の、品物を入出庫するための開口部の画像を取得する画像取得ステップと、
上記画像に基づいて、品物の入出庫を判定する入出庫判定ステップとを含み、
上記画像取得ステップでは、庫内に設けられた、品物を運搬する手の通過を検知するセンサのセンサ値に基づいて、上記カメラによって撮影された、庫外から庫内へ移動する手が写る第1画像と、庫内から庫外へ移動する手が写る第2画像とを取得し、
上記入出庫判定ステップでは、上記第1画像に品物が写っており、上記第2画像に物品が写っていない場合に該物品の入庫と判定し、上記第1画像に品物が写っておらず、上記第2画像に物品が写っている場合に該物品の出庫と判定することを特徴とする在庫管理方法。
An image acquisition step that controls the camera based on the opening and closing of the storage door to acquire an image of the opening of the storage for entering and exiting goods.
Including the warehousing / delivery determination step of determining the warehousing / delivery of goods based on the above image,
In the image acquisition step, the hand moving from the outside to the inside of the refrigerator is photographed by the camera based on the sensor value of the sensor provided in the refrigerator for detecting the passage of the hand carrying the goods. Obtain one image and the second image showing the hand moving from the inside to the outside.
In the warehousing / delivery determination step, when the item is shown in the first image and the article is not shown in the second image, it is determined that the item is warehousing, and the item is not shown in the first image. An inventory management method characterized in that when an article is shown in the second image, it is determined that the article has been delivered.
JP2016107766A 2016-05-30 2016-05-30 Inventory management device and inventory management method Active JP6938116B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016107766A JP6938116B2 (en) 2016-05-30 2016-05-30 Inventory management device and inventory management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016107766A JP6938116B2 (en) 2016-05-30 2016-05-30 Inventory management device and inventory management method

Publications (2)

Publication Number Publication Date
JP2017215067A JP2017215067A (en) 2017-12-07
JP6938116B2 true JP6938116B2 (en) 2021-09-22

Family

ID=60576754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016107766A Active JP6938116B2 (en) 2016-05-30 2016-05-30 Inventory management device and inventory management method

Country Status (1)

Country Link
JP (1) JP6938116B2 (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7012261B2 (en) * 2017-10-06 2022-01-28 パナソニックIpマネジメント株式会社 refrigerator
JP7113281B2 (en) * 2017-12-20 2022-08-05 パナソニックIpマネジメント株式会社 refrigerator
JP7212454B2 (en) * 2018-03-16 2023-01-25 孝 穴井 indoor and outdoor pair refrigerator
JP7080735B2 (en) * 2018-06-11 2022-06-06 信越ポリマー株式会社 Load monitoring system, load monitoring method and load distribution detector
JP7034855B2 (en) * 2018-07-26 2022-03-14 シャープ株式会社 refrigerator
JP7132044B2 (en) * 2018-09-11 2022-09-06 東芝ライフスタイル株式会社 Refrigerator entry/exit management system and refrigerator
JP2020063154A (en) * 2018-10-11 2020-04-23 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
EP3957938A4 (en) 2019-04-15 2022-06-15 Sony Group Corporation Information processing device, information processing method, and food storage device
US11335010B2 (en) 2019-08-15 2022-05-17 Haier Us Appliance Solutions, Inc. Methods for viewing and tracking stored items
JP7449683B2 (en) 2019-11-28 2024-03-14 株式会社野村総合研究所 management device
JP7347349B2 (en) * 2020-07-07 2023-09-20 トヨタ自動車株式会社 Information processing device, information processing system, and information processing method
US11692769B2 (en) * 2020-11-17 2023-07-04 Haier Us Appliance Solutions, Inc. Inventory management system for a refrigerator appliance
US11519775B2 (en) 2020-12-04 2022-12-06 Haier Us Appliance Solutions, Inc. Appliance with sensing for load determination
WO2022181573A1 (en) * 2021-02-25 2022-09-01 パナソニックIpマネジメント株式会社 Warehousing and shipping management device, warehousing and shipping management system, and warehousing and shipping management method
WO2022181575A1 (en) * 2021-02-25 2022-09-01 パナソニックIpマネジメント株式会社 Storage/retrieval management device, storage/retrieval management system, and storage/retrieval management method
JP2023079898A (en) * 2021-11-29 2023-06-08 パナソニックIpマネジメント株式会社 Detection device, control method for detection device, and program
JP2023079894A (en) * 2021-11-29 2023-06-08 パナソニックIpマネジメント株式会社 Detection system, program and method of managing storing/delivering
JP2024058082A (en) * 2022-10-14 2024-04-25 パナソニックIpマネジメント株式会社 Imaging system, imaging device, and refrigerator
JP2024058083A (en) * 2022-10-14 2024-04-25 パナソニックIpマネジメント株式会社 Imaging system, imaging device, and refrigerator

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668114A (en) * 1992-08-24 1994-03-11 Matsushita Electric Ind Co Ltd Inventory management for refrigerator
JP2002251518A (en) * 2001-02-21 2002-09-06 Nec Corp Support system for cooking, and controller for foodstuff
CN101802532B (en) * 2007-09-13 2012-08-08 Lg电子株式会社 Refrigerator
JP2010121784A (en) * 2008-11-17 2010-06-03 Toshiba Corp Stock management device of refrigerator
JP5020302B2 (en) * 2009-11-04 2012-09-05 三菱電機株式会社 refrigerator
KR20150026412A (en) * 2013-09-03 2015-03-11 엘지전자 주식회사 Electric product
US20150002660A1 (en) * 2013-06-28 2015-01-01 Lg Electronics Inc. Electric product
JP6095551B2 (en) * 2013-10-24 2017-03-15 三菱電機株式会社 refrigerator
JP2016057022A (en) * 2014-09-11 2016-04-21 株式会社東芝 Food management system

Also Published As

Publication number Publication date
JP2017215067A (en) 2017-12-07

Similar Documents

Publication Publication Date Title
JP6938116B2 (en) Inventory management device and inventory management method
US10402634B2 (en) Information processing device, information processing method, and computer program product
EP2985553B1 (en) Method for managing storage product in refrigerator using image recognition, and refrigerator for same
US10999506B1 (en) Generating motion extracted images
US20210049370A1 (en) Abnormality detection method, apparatus, and device for unmanned checkout
JP6045521B2 (en) Storage management apparatus and method
CN108353089A (en) Device and method for the interaction area monitoring that user can configure
WO2019171573A1 (en) Self-checkout system, purchased product management method, and purchased product management program
CN106446950B (en) Image processing method and device
CN111899131B (en) Article distribution method, apparatus, robot, and medium
CN106713734B (en) Automatic focusing method and device
US10026003B2 (en) Method and arrangement for receiving data about site traffic derived from imaging processing
JP2018035983A (en) Food storage compartment and system for imaging inside of compartment
JP7281755B2 (en) refrigerator
CN107564196B (en) Storage equipment control method and device
JP2017106671A (en) Refrigerator, image management system in refrigerator and program
US20170200203A1 (en) Item detection based on temporal imaging analysis
JP7340766B2 (en) refrigerator
US20210089769A1 (en) Refrigerator appliances and methods for tracking stored items
JP7038328B2 (en) Goods management system and goods management method
US20150286865A1 (en) Coordination of object location data with video data
JP2023153148A (en) Self-register system, purchased commodity management method and purchased commodity management program
CN209823796U (en) Intelligent refrigerator
KR20180090724A (en) Method for controlling refrigerator and refrigerator controller
US11558539B2 (en) Systems and methods of detecting and identifying an object

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190320

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200225

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200421

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200818

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201015

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20201015

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20201022

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20201027

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20201127

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20201201

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20210106

C23 Notice of termination of proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C23

Effective date: 20210629

C03 Trial/appeal decision taken

Free format text: JAPANESE INTERMEDIATE CODE: C03

Effective date: 20210803

C30A Notification sent

Free format text: JAPANESE INTERMEDIATE CODE: C3012

Effective date: 20210803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210901

R150 Certificate of patent or registration of utility model

Ref document number: 6938116

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150