[go: up one dir, main page]

JP2019096162A - Inventory detection program, inventory detection method and inventory detection apparatus - Google Patents

Inventory detection program, inventory detection method and inventory detection apparatus Download PDF

Info

Publication number
JP2019096162A
JP2019096162A JP2017226317A JP2017226317A JP2019096162A JP 2019096162 A JP2019096162 A JP 2019096162A JP 2017226317 A JP2017226317 A JP 2017226317A JP 2017226317 A JP2017226317 A JP 2017226317A JP 2019096162 A JP2019096162 A JP 2019096162A
Authority
JP
Japan
Prior art keywords
point
shelf
depth
distance
stock
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.)
Granted
Application number
JP2017226317A
Other languages
Japanese (ja)
Other versions
JP7130945B2 (en
Inventor
理人 吉原
Masato Yoshihara
理人 吉原
国広 山村
Kunihiro Yamamura
国広 山村
陽輔 原野
Yosuke Harano
陽輔 原野
充正 松生
Mitsumasa Matsuo
充正 松生
鈴木 和幸
Kazuyuki Suzuki
和幸 鈴木
岡田 義紀
Yoshinori Okada
義紀 岡田
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.)
Fujitsu Advanced Engineering Ltd
Original Assignee
Fujitsu Advanced Engineering Ltd
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 Fujitsu Advanced Engineering Ltd filed Critical Fujitsu Advanced Engineering Ltd
Priority to JP2017226317A priority Critical patent/JP7130945B2/en
Publication of JP2019096162A publication Critical patent/JP2019096162A/en
Application granted granted Critical
Publication of JP7130945B2 publication Critical patent/JP7130945B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Image Analysis (AREA)

Abstract

To provide an inventory detection program, an inventory detection method and an inventory detection apparatus that accurately detect a commodity inventory.SOLUTION: An inventory detection program causes a computer to perform: processing to detect a shelf board of a shelf, in which commodities are displayed, using information associated with a distance from a reference point; processing to calculate a depth from the shelf board at a measurement point; and processing to determine an inventory status of the commodity at a position corresponding to the measurement point using the depth.SELECTED DRAWING: Figure 12

Description

本発明は、在庫検出プログラム、在庫検出方法及び在庫検出装置に関する。   The present invention relates to an inventory detection program, an inventory detection method, and an inventory detection device.

スーパーマーケット等の店舗において、棚に陳列された商品の棚割り情報や在庫情報を管理する際に、棚の画像を撮影して、画像から商品を検出する技術が知られている。例えば、複数の整理されたオブジェクトを含むリアログラム画像を受け取り、小売り棚にある1つ以上のアイテムのリアログラム画像においてオブジェクトを検出及び特定する技術が知られている。当該技術は、棚の最前部を特定してそれにラベルを付し、棚の下にある空きスペースを特定し、特定されていない製品がある可能性がある領域を特定し、製品が“品切れ”である領域を特定する。   When managing shelf allocation information and inventory information of a product displayed on a shelf in a store such as a supermarket, there is known a technology for capturing an image of the shelf and detecting the product from the image. For example, techniques are known that receive a rearogram image that includes a plurality of organized objects, and detect and identify the objects in the rearogram image of one or more items on the retail shelf. The technology identifies and labels the foremost part of the shelf, identifies the empty space under the shelf, identifies areas where there may be unidentified products, and "out of stock" products. Identify the area that is

特開2016−115348号公報JP, 2016-115348, A

しかし、上記技術においては、在庫の誤検出が生じる可能性が高い。例えば、上記技術においては、画像の輝度やグレースケール値等を用いて在庫を検出する。しかし、輝度などは外部の明るさなどの外的要因等に左右されやすいので、上記技術においては、商品と棚板や、商品と棚の奥面などの誤検出が生じる可能性が高い。   However, in the above technology, there is a high possibility that false detection of inventory will occur. For example, in the above-described technology, inventory is detected using the brightness of an image, a gray scale value, and the like. However, since luminance and the like are easily influenced by external factors such as external brightness and the like, in the above technology, there is a high possibility that false detection of a product and a shelf board, a product and a back surface of a shelf may occur.

一つの側面では、精度よく商品在庫を検出できる在庫検出プログラム、在庫検出方法及び在庫検出装置を提供することを目的とする。   In one aspect, it is an object of the present invention to provide an inventory detection program, an inventory detection method, and an inventory detection device capable of accurately detecting commodity inventory.

一つの態様において、在庫検出プログラムは、基準点からの距離に関する情報を用いて、商品が陳列される棚の棚板を検出する処理をコンピュータに実行させる。在庫検出プログラムは、基準点からの距離に関する情報を用いて、測定点における、棚板からの深度を算出する処理をコンピュータに実行させる。在庫検出プログラムは、深度を用いて、測定点に対応する位置における商品の在庫状況を判定する処理をコンピュータに実行させる。   In one aspect, the inventory detection program causes the computer to execute a process of detecting a shelf board of a shelf on which a product is displayed, using information on the distance from the reference point. The stock detection program causes the computer to execute a process of calculating the depth from the shelf at the measurement point using the information on the distance from the reference point. The stock detection program causes the computer to execute processing for determining the stock status of the product at the position corresponding to the measurement point using the depth.

一つの態様によれば、精度よく商品在庫を検出できる。   According to one aspect, the inventory of goods can be detected accurately.

図1は、実施例1における測距データの取得処理の一例を示す図である。FIG. 1 is a diagram illustrating an example of distance data acquisition processing according to the first embodiment. 図2は、在庫状況の一例を示す図である。FIG. 2 is a diagram showing an example of the stock status. 図3は、実施例1における在庫状況に対応する測距データの一例を示す図である。FIG. 3 is a view showing an example of distance measurement data corresponding to the stock situation in the first embodiment. 図4は、点群データ化した測距データの一例を示す図である。FIG. 4 is a diagram showing an example of distance measurement data converted into point group data. 図5は、実施例1における検出装置の一例を示す図である。FIG. 5 is a diagram illustrating an example of the detection device in the first embodiment. 図6は、実施例1における測距データDBの一例を示す図である。FIG. 6 is a diagram showing an example of the distance measurement data DB in the first embodiment. 図7は、実施例1における深度DBの一例を示す図である。FIG. 7 is a diagram illustrating an example of the depth DB in the first embodiment. 図8は、実施例1における棚割DBの一例を示す図である。FIG. 8 is a diagram illustrating an example of the shelf assignment DB according to the first embodiment. 図9Aは、実施例1における棚板検出処理の一例を示す図である。FIG. 9A is a diagram illustrating an example of a shelf board detection process according to the first embodiment. 図9Bは、実施例1における棚板検出処理の一例を示す図である。FIG. 9B is a diagram illustrating an example of a shelf board detection process according to the first embodiment. 図9Cは、実施例1における棚板検出処理の一例を示す図である。FIG. 9C is a diagram illustrating an example of a shelf board detection process according to the first embodiment. 図10は、実施例1における深度算出処理の一例を示す図である。FIG. 10 is a diagram illustrating an example of the depth calculation process according to the first embodiment. 図11は、実施例1における出力結果の一例を示す図である。FIG. 11 is a diagram illustrating an example of an output result in the first embodiment. 図12は、実施例1における在庫検出処理の一例を示すフローチャートである。FIG. 12 is a flowchart illustrating an example of the stock detection process according to the first embodiment. 図13は、実施例1における棚板検出処理の一例を示すフローチャートである。FIG. 13 is a flowchart illustrating an example of a shelf board detection process according to the first embodiment. 図14は、実施例1における在庫判定処理の一例を示すフローチャートである。FIG. 14 is a flowchart illustrating an example of the stock determination process according to the first embodiment. 図15は、実施例2における深度算出処理の一例を示す図である。FIG. 15 is a diagram illustrating an example of depth calculation processing in the second embodiment. 図16は、実施例2における在庫状況に対応する測距データの一例を示す図である。FIG. 16 is a diagram of an example of distance measurement data corresponding to the stock status in the second embodiment. 図17は、実施例2における検出装置の一例を示す図である。FIG. 17 is a diagram illustrating an example of a detection device in the second embodiment. 図18は、実施例2における測距データDBの一例を示す図である。FIG. 18 is a view showing an example of distance measurement data DB in the second embodiment. 図19は、実施例2における深度DBの一例を示す図である。FIG. 19 is a diagram illustrating an example of the depth DB in the second embodiment. 図20は、実施例2における在庫検出処理の一例を示すフローチャートである。FIG. 20 is a flowchart of an example of the stock detection process according to the second embodiment. 図21は、実施例2における深度特定処理の一例を示すフローチャートである。FIG. 21 is a flowchart of an example of the depth identification process according to the second embodiment. 図22は、検出プログラムを実行するコンピュータの一例を示す図である。FIG. 22 is a diagram of an example of a computer that executes a detection program.

以下に、本願の開示する在庫検出プログラム、在庫検出方法及び在庫検出装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。また、以下に示す各実施例は、矛盾を起こさない範囲で適宜組み合わせても良い。   Hereinafter, embodiments of an inventory detection program, an inventory detection method, and an inventory detection device disclosed in the present application will be described in detail based on the drawings. The present invention is not limited by this embodiment. In addition, the embodiments described below may be combined appropriately as long as no contradiction occurs.

本実施例における検出装置100は、基準点から測定点までの距離を測定した測距データを用いて、商品の在庫を検出する。図1は、実施例1における測距データの取得処理の一例を示す図である。図1に示すように、本実施例における検出装置100は、例えば自走式のロボットである。検出装置100は、例えば赤外線や音波等を照射することにより、対象物との距離を測定する測距センサを用いて、基準点920から測定点までの測距データを取得する。なお、測距データは、距離に関する情報の一例である。   The detection apparatus 100 in the present embodiment detects inventory of goods using distance measurement data obtained by measuring the distance from the reference point to the measurement point. FIG. 1 is a diagram illustrating an example of distance data acquisition processing according to the first embodiment. As shown in FIG. 1, the detection device 100 in the present embodiment is, for example, a self-propelled robot. The detection apparatus 100 acquires distance measurement data from the reference point 920 to the measurement point using, for example, a distance measurement sensor that measures the distance to the object by irradiating infrared light, sound waves, or the like. The distance measurement data is an example of information on the distance.

検出装置100は、取得した測距データのうち、例えば最も距離が小さいデータを用いて、図1に示す棚900の棚板901の位置を特定する。同様に、検出装置100は、図1に示す棚板901の位置から任意の座標分上に移動した、商品の陳列位置に対応する測定点910における測距データを用いて、棚板901から測定点910までの奥行を示す深度を測定する。そして、検出装置100は、深度が0であるか又は小さい場合は、商品の在庫が十分にあると判定し、深度が大きい場合は、商品の在庫が少ないか又は全くないと判定する。   The detection apparatus 100 specifies the position of the shelf plate 901 of the shelf 900 illustrated in FIG. 1 using, for example, data with the smallest distance among the acquired distance measurement data. Similarly, the detection apparatus 100 measures from the shelf board 901 using distance measurement data at the measurement point 910 corresponding to the display position of the product, which has moved to any coordinate from the position of the shelf board 901 shown in FIG. Measure the depth indicating the depth to point 910. Then, if the depth is 0 or small, the detection apparatus 100 determines that the inventory of the product is sufficient, and if the depth is large, determines that the inventory of the product is small or not at all.

深度と商品の在庫との関係について、図2及び図3を用いて説明する。図2は、在庫状況の一例を示す図である。図2において、図の上方向は棚の奥方向に対応し、図の下方向は棚の手前方向に対応する。図2に示すように、例えば店員700は、棚の手前方向から目視することにより、商品810乃至850の在庫を把握する。   The relationship between the depth and the stock of goods will be described with reference to FIGS. 2 and 3. FIG. 2 is a diagram showing an example of the stock status. In FIG. 2, the upper direction of the figure corresponds to the depth direction of the shelf, and the lower direction of the figure corresponds to the near direction of the shelf. As shown in FIG. 2, for example, the store clerk 700 grasps the stock of the products 810 to 850 by visual observation from the front side of the shelf.

図2において、例えば商品810及び850は棚に十分な数がそろっているが、商品820は商品在庫が少なくなっている。一方、商品840は品切れである。   In FIG. 2, for example, a sufficient number of products 810 and 850 are on the shelf, but the product 820 has a low product inventory. On the other hand, the product 840 is out of stock.

このような商品の棚における、棚板520からの奥行を示す深度の測定結果を図3に示す。図3は、実施例1における在庫状況に対応する測距データの一例を示す図である。図3において、x軸は棚の左右方向を示し、z軸は棚の奥行方向を示す。z軸は、数値が大きくなるほど深度が大きいことを示す。   The measurement result of the depth which shows the depth from the shelf board 520 in the shelf of such goods is shown in FIG. FIG. 3 is a view showing an example of distance measurement data corresponding to the stock situation in the first embodiment. In FIG. 3, the x-axis indicates the left-right direction of the shelf, and the z-axis indicates the depth direction of the shelf. The z-axis indicates that the greater the numerical value, the greater the depth.

図3に示すように、十分な在庫がそろっている商品810について、対応する深度811は、第1の閾値801よりも小さい。商品850に対応する深度851についても同様である。これに対して、在庫が少ない商品820に対応する深度821は、第1の閾値801以上であるが、第2の閾値802よりは小さい範囲891に含まれる。また、品切れとなっている商品840に対応する深度841は、第2の閾値802以上の範囲892に含まれる。   As shown in FIG. 3, for items 810 with sufficient inventory, the corresponding depth 811 is less than the first threshold 801. The same applies to the depth 851 corresponding to the product 850. On the other hand, the depth 821 corresponding to the low-stock item 820 is included in the range 891 which is equal to or greater than the first threshold 801 but smaller than the second threshold 802. Further, the depth 841 corresponding to the out-of-stock product 840 is included in the range 892 of the second threshold 802 or more.

なお、測距データとして取得される点群データを図示すると、図4に示すような画像となる。図4は、点群データ化した測距データの一例を示す図である。図4に示す画像500において、距離が小さい部分の測距データは白に近い色で示され、距離が大きくなるほど黒に近い色で示される。なお、例えば透明な商品や、液体を含む商品等の距離が測定できない部分は、黒で示される。   The point cloud data acquired as distance measurement data is illustrated in FIG. 4 as an image. FIG. 4 is a diagram showing an example of distance measurement data converted into point group data. In the image 500 shown in FIG. 4, distance measurement data in a small distance portion is shown in a color close to white, and is shown in a color close to black as the distance increases. In addition, for example, a transparent commodity or a portion where the distance can not be measured, such as a commodity including a liquid, is shown in black.

このように、本実施例における検出装置100は、測定点からの距離を示す測距データを用いて陳列棚の棚板を検出し、棚板から所定座標分上方の測距データを用いて棚板からの深度を算出して商品の在庫状況を判定するので、簡易に在庫を検出できる。   As described above, the detection device 100 according to the present embodiment detects the shelf board of the display shelf using the distance measurement data indicating the distance from the measurement point, and uses the distance measurement data above a predetermined coordinate from the shelf board Since the stock status of the product is determined by calculating the depth from the board, the stock can be easily detected.

[機能ブロック]
次に、本実施例における検出装置100の機能について、図5を用いて説明する。図5は、実施例1における検出装置の一例を示す図である。図5に示すように、本実施例における検出装置100は、外部I/F110と、記憶部120と、制御部130とを有する。
[Function block]
Next, the function of the detection apparatus 100 in the present embodiment will be described using FIG. FIG. 5 is a diagram illustrating an example of the detection device in the first embodiment. As shown in FIG. 5, the detection device 100 in the present embodiment has an external I / F 110, a storage unit 120, and a control unit 130.

外部I/F110は、有線又は無線を問わず、店員の端末(不図示)やその他のデータベースサーバ(不図示)など、その他のコンピュータ等との通信を制御する。外部I/F110は、例えばNIC(Network Interface Card)等の通信インタフェース等である。外部I/F110は、例えば測距センサを有する外部の装置から、測距データを取得する。なお、図1に示すように、検出装置100が測距センサを有するロボット等により実装される場合、外部I/F110の代わりに測距センサを有してもよい。   The external I / F 110 controls communication with another computer such as a clerk terminal (not shown) or another database server (not shown), whether wired or wireless. The external I / F 110 is, for example, a communication interface such as a network interface card (NIC). The external I / F 110 acquires distance measurement data from, for example, an external device having a distance measurement sensor. In addition, as shown in FIG. 1, when the detection apparatus 100 is mounted by the robot etc. which have a ranging sensor, you may have a ranging sensor instead of external I / F110.

記憶部120は、例えば制御部130が実行するプログラムなどの各種データなどを記憶する。また、記憶部120は、測距データDB121、深度DB122及び棚割DB123を有する。記憶部120は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリなどの半導体メモリ素子や、HDD(Hard Disk Drive)などの記憶装置に対応する。なお、以下の説明では、データベース(Database)を「DB」と表記する場合がある。   The storage unit 120 stores, for example, various data such as a program executed by the control unit 130. The storage unit 120 also includes a distance measurement data DB 121, a depth DB 122, and a shelf allocation DB 123. The storage unit 120 corresponds to a semiconductor memory device such as a random access memory (RAM), a read only memory (ROM), a flash memory, or a storage device such as a hard disk drive (HDD). In the following description, a database may be described as "DB".

測距データDB121は、測距データを、測定点の座標と対応付けて記憶する。図6は、実施例1における測距データDBの一例を示す図である。図6に示すように、測距データDB121は、例えば、「棚番」と、「x座標」及び「y座標」と、「距離」とを対応付けて記憶する。なお、測距データDB121に記憶される情報は、例えば後に説明する距離取得部131により入力される。測距データDB121は、例えば、測定点ごとに1レコードとして記憶する。   The distance measurement data DB 121 stores distance measurement data in association with the coordinates of the measurement point. FIG. 6 is a diagram showing an example of the distance measurement data DB in the first embodiment. As shown in FIG. 6, the distance measurement data DB 121 stores, for example, “shelf number”, “x coordinate” and “y coordinate”, and “distance” in association with each other. The information stored in the distance measurement data DB 121 is input by, for example, a distance acquisition unit 131 described later. The distance measurement data DB 121 stores, for example, one record for each measurement point.

図6において、「棚番」は、商品陳列棚を一意に識別する識別子(Identifier)を記憶する。「x座標」及び「y座標」は、測定点の座標を記憶する。なお、y座標は、棚の垂直方向を示す。「距離」は、測定点における距離を記憶する。   In FIG. 6, "storage bin" stores an identifier (Identifier) uniquely identifying a product display shelf. The “x coordinate” and the “y coordinate” store the coordinates of the measurement point. The y coordinate indicates the vertical direction of the shelf. "Distance" stores the distance at the measurement point.

深度DB122は、測距データから算出される深度を、棚における位置と対応付けて記憶する。図7は、実施例1における深度DBの一例を示す図である。図7に示すように、深度DB122は、「棚番」と、「棚段」と、「x座標」と、「深度」とを対応付けて記憶する。なお、深度DB122に記憶される情報は、例えば後に説明する深度算出部133により入力される。   The depth DB 122 stores the depth calculated from the distance measurement data in association with the position on the shelf. FIG. 7 is a diagram illustrating an example of the depth DB in the first embodiment. As illustrated in FIG. 7, the depth DB 122 stores “shelf number”, “shelf”, “x coordinate”, and “depth” in association with one another. The information stored in the depth DB 122 is input by, for example, the depth calculation unit 133 described later.

図7において、「棚段」は、棚番の商品陳列棚における、棚の段の位置を記憶する。例えば、「棚段」は、最上段を「1」とする。「深度」は、測距データから算出される、棚板から測定点までの奥行を示す深度を記憶する。   In FIG. 7, “shelf” stores the position of the shelf in the shelf of the commodity display shelf. For example, for the "shelf", the top is "1". “Depth” stores the depth indicating the depth from the shelf board to the measurement point, which is calculated from the distance measurement data.

棚割DB123は、商品陳列棚における商品の配置を記憶する。図8は、実施例1における棚割DBの一例を示す図である。図8に示すように、棚割DB123は、「ID」と、「棚番」と、「棚段」と、「商品名」と、FACE数とを対応付けて記憶する。なお、棚割DB123に記憶される情報は、例えば検出装置100の図示しない管理者により、予め入力される。   The shelf allocation DB 123 stores the arrangement of goods on the goods display rack. FIG. 8 is a diagram illustrating an example of the shelf assignment DB according to the first embodiment. As illustrated in FIG. 8, the shelf allocation DB 123 stores “ID”, “shelf number”, “shelf stage”, “product name”, and FACE number in association with one another. The information stored in the shelf allocation DB 123 is input in advance by, for example, a manager (not shown) of the detection device 100.

図8において、「ID」は、商品陳列棚に陳列される商品を一意に識別する識別子である。「左端」及び「右端」は、当該商品が陳列される位置の左右方向、例えばx軸方向における範囲を記憶する。「商品名」は、当該陳列される商品の名称を記憶する。   In FIG. 8, “ID” is an identifier that uniquely identifies a product displayed on the product display rack. The “left end” and the “right end” store the range in the left-right direction of the position at which the product is displayed, for example, in the x-axis direction. The "product name" stores the name of the displayed product.

図5に戻って、制御部130は、検出装置100の全体的な処理を司る処理部である。制御部130は、例えば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等によって、内部の記憶装置に記憶されているプログラムがRAMを作業領域として実行されることにより実現される。また、制御部130は、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現されるようにしてもよい。   Returning to FIG. 5, the control unit 130 is a processing unit that manages the entire processing of the detection device 100. The control unit 130 is realized, for example, by a program stored in an internal storage device being executed by using a RAM as a work area by a central processing unit (CPU), a micro processing unit (MPU) or the like. Further, the control unit 130 may be realized by an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).

制御部130は、距離取得部131、棚板検出部132、深度算出部133、在庫判定部134及び出力部135を有する。なお、距離取得部131、棚板検出部132、深度算出部133、在庫判定部134及び出力部135は、プロセッサが有する電子回路の一例やプロセッサが実行するプロセスの一例である。   The control unit 130 includes a distance acquisition unit 131, a shelf detection unit 132, a depth calculation unit 133, an inventory determination unit 134, and an output unit 135. The distance acquisition unit 131, the shelf board detection unit 132, the depth calculation unit 133, the stock determination unit 134, and the output unit 135 are an example of an electronic circuit included in the processor and an example of a process executed by the processor.

距離取得部131は、測距データを取得する。例えば、距離取得部131は、外部I/F110を通じて、測距センサから測距データを取得し、測定点の座標と測定された距離とを対応付けて、測距データDB121に記憶する。   The distance acquisition unit 131 acquires distance measurement data. For example, the distance acquisition unit 131 acquires distance measurement data from the distance measurement sensor through the external I / F 110, associates the coordinates of the measurement point with the measured distance, and stores the distance measurement data in the distance measurement data DB 121.

棚板検出部132は、測距データを用いて、棚板を検出する。棚板検出部132による処理については、図9A乃至図9Cを用いて説明する。なお、棚板検出部132は、検出部の一例である。   The shelf detection unit 132 detects the shelf using the distance measurement data. The processing by the shelf detection unit 132 will be described with reference to FIGS. 9A to 9C. The shelf detection unit 132 is an example of a detection unit.

図9A乃至図9Cは、実施例1における棚板検出処理の一例を示す図である。まず、棚板検出部132は、図9Aに示すように、点群データとして取得した測距データのうち、左右方向の中央部分、例えばx座標直線上の中線511を特定する。次に、棚板検出部132は、中線511上の点のうち、最も距離が近い点、例えば最も測距データが小さい点521を第1の点として特定する。   9A to 9C are diagrams showing an example of the shelf board detection process in the first embodiment. First, as illustrated in FIG. 9A, the shelf detection unit 132 specifies a center portion in the left-right direction, for example, a middle line 511 on an x-coordinate straight line, in the distance measurement data acquired as point cloud data. Next, the shelf detection unit 132 specifies a point closest to the distance among the points on the center line 511, for example, a point 521 with the smallest distance measurement data as a first point.

次に、棚板検出部132は、第1の点の左右方向に所定の座標分移動した点を、第2の点及び第3の点として特定する。例えば、棚板検出部132は、点521を第1の点として特定した場合、図9Bに示す点522及び523を、第2の点及び第3の点として特定する。   Next, the shelf board detection unit 132 specifies points moved by predetermined coordinates in the left-right direction of the first point as the second point and the third point. For example, when the shelf detection unit 132 identifies the point 521 as the first point, the shelf detection unit 132 identifies the points 522 and 523 illustrated in FIG. 9B as the second point and the third point.

そして、棚板検出部132は、第2の点及び第3の点のそれぞれにおける測距データと、第1の点における測距データとの差が、所定の閾値未満であるか否かを判定する。棚板検出部132は、距離の差が、所定の閾値未満であると判定した場合、第2の点及び第3の点のそれぞれから、さらに左右方向に所定の座標分移動した点を、新たな第2の点及び第3の点として特定する。棚板検出部132は、第2の点及び第3の点を特定する処理を、新たな第2の点及び第3の点が点群データの左端532及び右端533に到達するまで繰り返す。   Then, the shelf detection unit 132 determines whether the difference between the distance measurement data at each of the second point and the third point and the distance measurement data at the first point is less than a predetermined threshold value. Do. When the shelf detection unit 132 determines that the difference in distance is less than the predetermined threshold value, the point further moved by the predetermined coordinates in the horizontal direction from each of the second point and the third point is newly added As the second and third points. The shelf detection unit 132 repeats the process of identifying the second point and the third point until the new second point and the third point reach the left end 532 and the right end 533 of the point cloud data.

棚板検出部132は、新たな第2の点及び第3の点が点群データの左右両端に到達した場合、当該第2の点と第3の点とを結ぶ左右方向の直線を、棚板の位置として検出する。そして、棚板検出部132は、中線511上の点のうち、第1の点の次に測距データが小さい点を、新たな第1の点として特定する。また、棚板検出部132は、第2の点及び第3の点のそれぞれにおける測距データと、第1の点における測距データとの差が、所定の閾値以上であると判定した場合も、同様に新たな第1の点を特定する。   When the new second and third points reach the left and right ends of the point cloud data, the shelf board detection unit 132 shelves the straight line connecting the second point and the third point in the horizontal direction. Detected as the position of the board. Then, the shelf detection unit 132 specifies a point on the midline 511 that has the smallest distance measurement data next to the first point as a new first point. Further, also in the case where the shelf detection unit 132 determines that the difference between the distance measurement data at each of the second point and the third point and the distance measurement data at the first point is equal to or greater than a predetermined threshold value. , Identify a new first point as well.

棚板検出部132は、点群データの上下方向、例えばY軸方向の下端から第1の点を特定する処理を開始し、Y軸方向の上端から所定の座標分下に移動した点に到達するまで処理を繰り返すことにより、商品陳列棚に含まれる複数の棚板を検出する。棚板検出部132は、例えば図9Cにおいて、Y軸方向の下端Yminから処理を開始し、Y軸方向の上端Ymaxから所定の座標h1の分だけ下に移動した点Ymax−h1に至るまで処理を繰り返す。これにより、棚板検出部132は、棚板520に加えて、棚板540乃至580もあわせて検出する。なお、Y軸方向の上端Ymaxまで処理を繰り返さず、所定の座標分下に移動した点で処理を終了するのは、棚板と棚の上端との間に空間がなければ、棚板上に商品を陳列できないためである。   The shelf detection unit 132 starts processing for identifying the first point from the lower end of the point cloud data, for example, the lower end in the Y-axis direction, and reaches a point moved downward by a predetermined coordinate from the upper end in the Y-axis direction. By repeating the process until it is detected, a plurality of shelf boards included in the commodity display shelf are detected. For example, in FIG. 9C, the shelf detection unit 132 starts processing from the lower end Ymin in the Y-axis direction, and performs processing from the upper end Ymax in the Y-axis direction to a point Ymax-h1 moved downward by the predetermined coordinates h1. repeat. Thus, the shelf board detection unit 132 detects the shelf boards 540 to 580 in addition to the shelf board 520. The process is not repeated until the upper end Ymax in the Y-axis direction, and the process is ended when the coordinate is moved down by a predetermined coordinate if there is no space between the shelf board and the upper end of the shelf, on the shelf board. It is because goods can not be displayed.

深度算出部133は、測距データを用いて、測定点における深度を算出する。深度算出部133による処理については、図10を用いて説明する。なお、深度算出部133は、算出部の一例である。   The depth calculation unit 133 calculates the depth at the measurement point using the distance measurement data. The processing by the depth calculation unit 133 will be described with reference to FIG. The depth calculation unit 133 is an example of a calculation unit.

図10は、実施例1における深度算出処理の一例を示す図である。まず、深度算出部133は、点群データ中において、棚板520が検出された位置から所定の座標分上方向に移動した位置における直線611を特定する。次に、深度算出部133は、直線611上の特定のx座標の点612における測距データを取得する。   FIG. 10 is a diagram illustrating an example of the depth calculation process according to the first embodiment. First, the depth calculation unit 133 specifies, in the point cloud data, a straight line 611 at a position moved upward by a predetermined coordinate from the position at which the shelf 520 is detected. Next, the depth calculation unit 133 acquires distance measurement data at a point 612 of a specific x coordinate on the straight line 611.

そして、深度算出部133は、点612における測距データと、棚板520における測距データとの差分を、点612における深度として算出する。深度算出部133は、算出した深度を、点612のx座標、及び棚板520に対応する棚段と対応付けて、深度DB122に記憶する。   Then, the depth calculation unit 133 calculates the difference between the distance measurement data at the point 612 and the distance measurement data at the shelf 520 as the depth at the point 612. The depth calculation unit 133 stores the calculated depth in the depth DB 122 in association with the x coordinate of the point 612 and the tray corresponding to the shelf 520.

深度算出部133は、例えば棚のx座標方向の左端から処理を開始し、深度を算出すると、所定の座標分右方向に移動して処理を繰り返す。   For example, the depth calculation unit 133 starts the process from the left end of the shelf in the x coordinate direction, and when the depth is calculated, the depth calculation unit 133 moves to the right by a predetermined coordinate and repeats the process.

在庫判定部134は、深度を用いて、商品の在庫を判定する。なお、在庫判定部134は、判定部の一例である。   The stock determination unit 134 determines the stock of the product using the depth. The stock determination unit 134 is an example of a determination unit.

在庫判定部134は、深度DB122から深度を取得する。また、在庫判定部134は、棚割DB123を参照し、取得した深度に対応する位置に陳列される商品を特定する。そして、在庫判定部134は、取得した深度を、第1の閾値及び第2の閾値と比較する。   The stock determination unit 134 acquires the depth from the depth DB 122. In addition, the inventory determination unit 134 refers to the shelf allocation DB 123, and identifies a product to be displayed at a position corresponding to the acquired depth. Then, the inventory determination unit 134 compares the acquired depth with the first threshold and the second threshold.

在庫判定部134は、深度が第1の閾値未満である場合は、対応する位置に陳列される商品は「在庫有」であると判定する。在庫判定部134は、深度が第1の閾値以上第2の閾値未満である場合は、対応する位置に陳列される商品は「品薄」であると判定する。在庫判定部134は、深度が第2の閾値以上である場合は、対応する位置に陳列される商品は「品切れ」であると判定する。   When the depth is less than the first threshold, the stock determining unit 134 determines that the product displayed at the corresponding position is “stocked”. When the depth is greater than or equal to the first threshold and less than the second threshold, the stock determining unit 134 determines that the product displayed at the corresponding position is “shortage”. When the depth is equal to or greater than the second threshold, the stock determining unit 134 determines that the product displayed at the corresponding position is “out of stock”.

出力部135は、各測定点における在庫の判定結果を、棚割に関する情報と対応付けて出力する。出力部135は、深度DB122から、各深度の「棚番」、「棚段」及び「x座標」を取得する。次に、出力部135は、棚割DB123を参照し、各「棚番」、「棚段」及び「x座標」に対応する位置に陳列される商品を特定する。そして、出力部135は、各位置に陳列される商品の在庫状況を出力する。   The output unit 135 outputs the determination result of the stock at each measurement point in association with the information on the shelving. The output unit 135 acquires “shelf number”, “shelf”, and “x coordinate” of each depth from the depth DB 122. Next, the output unit 135 refers to the shelf allocation DB 123, and specifies a product to be displayed at a position corresponding to each “shelf number”, “shelf”, and “x coordinate”. Then, the output unit 135 outputs the stock status of the product displayed at each position.

例えば、出力部135は、深度DB122における棚番「1」、棚段「1」、x座標「80」は、棚割DB123におけるID「A001」に対応することを特定する。そして、出力部135は、当該商品が「在庫あり」であることを示す情報を出力する。   For example, the output unit 135 specifies that the shelf number “1”, the tray level “1”, and the x coordinate “80” in the depth DB 122 correspond to the ID “A001” in the shelf allocation DB 123. Then, the output unit 135 outputs information indicating that the product is "in stock".

図11は、実施例1における出力結果の一例を示す図である。図11に示すように、出力部135は、ID「A001」の商品「●●ラーメン」が「在庫あり」であることを示す情報を含む出力結果を生成する。同様に、出力部135は、深度DB122における各位置と、棚割DB123における各商品とを対応付けて、各商品の在庫状況を出力する。例えば、第1の閾値が「30」であり、第2の閾値が「50」である場合、対応する陳列位置における深度が「40」である商品は「品薄」であることが示され、対応する陳列位置における深度が「50」である商品は「品切れ」であることが示される。   FIG. 11 is a diagram illustrating an example of an output result in the first embodiment. As illustrated in FIG. 11, the output unit 135 generates an output result including information indicating that the product “●● ramen” of the ID “A001” is “in stock”. Similarly, the output unit 135 associates each position in the depth DB 122 with each product in the shelf allocation DB 123, and outputs the stock status of each product. For example, if the first threshold is "30" and the second threshold is "50", it is indicated that a product whose depth at the corresponding display position is "40" is "poor" It is shown that a product whose depth at the display position where the display is displayed is "50" is "out of stock".

[処理の流れ]
次に、本実施例における処理について、図12乃至図14を用いて説明する。図12は、実施例1における在庫検出処理の一例を示すフローチャートである。図12に示すように、検出装置100の距離取得部131は、例えば外部I/F110を通じて測距データを取得するまで待機する(S10:No)。
[Flow of processing]
Next, processing in the present embodiment will be described using FIG. 12 to FIG. FIG. 12 is a flowchart illustrating an example of the stock detection process according to the first embodiment. As shown in FIG. 12, the distance acquisition unit 131 of the detection apparatus 100 stands by until, for example, distance measurement data is acquired through the external I / F 110 (S10: No).

棚板検出部132は、測距データを取得したと判定した場合(S10:Yes)、図13に示す棚板検出処理を実行する(S11)。棚板検出処理については後に説明する。次に、深度算出部133は、深度を算出する(S12)。次に、在庫判定部134は、算出された深度を用いて、在庫判定処理を実行する(S13)。在庫判定処理については後に説明する。   When the shelf detection unit 132 determines that the distance measurement data has been acquired (S10: Yes), the shelf detection process shown in FIG. 13 is performed (S11). The shelf detection process will be described later. Next, the depth calculation unit 133 calculates the depth (S12). Next, the stock determination unit 134 executes stock determination processing using the calculated depth (S13). The stock determination process will be described later.

次に、在庫判定部134は、x方向にw座標分移動した測定点を特定し(S14)、当該測定点のx座標が所定の閾値以上か否かを判定する(S15)。深度算出部133は、x座標が所定の閾値未満であると判定した場合(S15:No)、S12に戻って処理を繰り返す。   Next, the inventory determination unit 134 specifies the measurement point moved by w coordinates in the x direction (S14), and determines whether the x coordinate of the measurement point is equal to or more than a predetermined threshold (S15). If the depth calculation unit 133 determines that the x coordinate is less than the predetermined threshold (S15: No), the process returns to S12 to repeat the process.

一方、在庫判定部134は、x座標が所定の閾値以上であると判定した場合(S15:Yes)、全ての棚板について処理が完了したか否かを判定する(S16)。深度算出部133は、全ての棚板について処理が完了していないと判定された場合(S16:No)、検出された次の棚板を特定し(S17)、S12に戻って処理を繰り返す。   On the other hand, when the stock determining unit 134 determines that the x coordinate is equal to or more than the predetermined threshold (S15: Yes), the stock determining unit 134 determines whether the processing has been completed for all the shelf boards (S16). When it is determined that the process has not been completed for all the shelf boards (S16: No), the depth calculation unit 133 identifies the next shelf board detected (S17), and returns to S12 to repeat the process.

一方、出力部135は、全ての棚板について処理が完了したと判定された場合(S16
:Yes)、棚割DB123を参照し、深度DB122に記憶された座標と棚割情報とを突合する(S18)。そして、出力部135は、突合結果を出力し(S19)、処理を終了する。
On the other hand, if the output unit 135 determines that the processing has been completed for all the shelf boards (S16)
Yes: The shelf allocation DB 123 is referred to, and the coordinates stored in the depth DB 122 are matched with the shelf allocation information (S18). Then, the output unit 135 outputs the matching result (S19), and ends the process.

次に、棚板検出処理について説明する。図13は、実施例1における棚板検出処理の一例を示すフローチャートである。図13に示すように、棚板検出部132は、x座標直線上の中線を特定する(S110)。次に、棚板検出部132は、中線上で最も距離が近い点を、第1の点として特定する(S111)。   Next, the shelf detection process will be described. FIG. 13 is a flowchart illustrating an example of a shelf board detection process according to the first embodiment. As illustrated in FIG. 13, the shelf board detection unit 132 specifies a middle line on the x-coordinate straight line (S110). Next, the shelf detection unit 132 identifies a point closest to the center line as a first point (S111).

そして、棚板検出部132は、第2の点及び第3の点を特定する(S113)。棚板検出部132は、第1の点の測距データと第2の点及び第3の点それぞれの測距データとを比較して、距離の差が所定の閾値未満であるか否かを判定する(S114)。棚板検出部132は、距離の差が所定の閾値以上であると判定した場合(S114:No)、S117に移行する。   Then, the shelf board detection unit 132 specifies the second point and the third point (S113). The shelf detection unit 132 compares the distance measurement data of the first point with the distance measurement data of each of the second point and the third point, and determines whether the difference in distance is less than a predetermined threshold value. It determines (S114). When the shelf detection unit 132 determines that the difference in distance is equal to or greater than the predetermined threshold (S114: No), the processing proceeds to S117.

棚板検出部132は、距離の差が所定の閾値未満であると判定した場合(S114:Yes)、第2の点及び第3の点が、それぞれ点群データ中の左右両端に到達するまで、S113に戻って処理を繰り返す(S115:No)。   If the shelf detection unit 132 determines that the difference in distance is less than the predetermined threshold (S114: Yes), the second point and the third point reach both left and right ends in the point cloud data, respectively. , S113 and the process is repeated (S115: No).

そして、棚板検出部132は、第2の点及び第3の点がそれぞれ点群データ中の左右両端に到達したと判定した場合(S115:Yes)、第2の点と第3の点とを結ぶ直線を、棚板として検出する(S116)。   Then, when the shelf detection unit 132 determines that the second point and the third point have reached both left and right ends in the point cloud data (S115: Yes), the second point and the third point Is detected as a shelf board (S116).

そして、棚板検出部132は、中線上で次に距離が近い点を特定し(S117)、当該点のy座標がYmax−h1以上であるか否かを判定する(S118)。棚板検出部132は、y座標がYmax−h1未満であると判定した場合(S118:No)、S113に戻って処理を繰り返す。一方、棚板検出部132は、y座標がYmax−h1以上であると判定した場合(S118:Yes)、在庫検出処理に戻る。   Then, the shelf board detection unit 132 identifies a point whose distance is next closest on the middle line (S117), and determines whether the y-coordinate of the point is Ymax-h1 or more (S118). If the shelf detection unit 132 determines that the y coordinate is less than Ymax−h1 (S118: No), the process returns to S113 and the process is repeated. On the other hand, when the shelf detection unit 132 determines that the y-coordinate is Ymax-h1 or more (S118: Yes), the processing returns to the inventory detection process.

図14は、実施例1における在庫判定処理の一例を示すフローチャートである。まず、在庫判定部134は、取得した深度が第1の閾値以上であるか否かを判定する(S130)。在庫判定部134は、深度が第1の閾値未満であると判定した場合(S130:No)、対応する位置に陳列される商品は「在庫有」であると判定し(S132)、在庫検出処理に戻る。   FIG. 14 is a flowchart illustrating an example of the stock determination process according to the first embodiment. First, the stock determining unit 134 determines whether the acquired depth is equal to or more than the first threshold (S130). If the stock determination unit 134 determines that the depth is less than the first threshold (S130: No), it determines that the product displayed at the corresponding position is "stock" (S132), and the stock detection process is performed. Return to

一方、在庫判定部134は、深度が第1の閾値以上であると判定した場合(S130:Yes)、深度が第2の閾値以上であるか否かを判定する(S131)。在庫判定部134は、深度が第2の閾値未満であると判定した場合(S131:No)、対応する位置に陳列される商品は「品薄」であると判定し(S133)、在庫検出処理に戻る。   On the other hand, when the stock determining unit 134 determines that the depth is greater than or equal to the first threshold (S130: Yes), the stock determining unit 134 determines whether the depth is greater than or equal to the second threshold (S131). If the stock determination unit 134 determines that the depth is less than the second threshold (S131: No), it determines that the product displayed at the corresponding position is "poor" (S133), and the stock detection process is performed. Return.

在庫判定部134は、深度が第2の閾値以上であると判定した場合(S131:Yes)、対応する位置に陳列される商品は「品切れ」であると判定し(S134)、在庫検出処理に戻る。   If the stock determining unit 134 determines that the depth is equal to or greater than the second threshold (S131: Yes), the stock displayed at the corresponding position is determined to be "out of stock" (S134). Return.

[効果]
以上説明したように、本実施例における在庫検出装置は、基準点からの距離に関する情報を用いて、商品が陳列される棚の棚板を検出する。在庫検出装置は、基準点からの距離に関する情報を用いて、測定点における、棚板からの深度を算出する。在庫検出装置は、深度を用いて、測定点に対応する位置における商品の在庫状況を判定する。これにより、精度よく商品在庫を検出できる。
[effect]
As described above, the inventory detection device in the present embodiment detects the shelf board of the shelf on which the product is displayed, using the information on the distance from the reference point. The inventory detection device calculates the depth from the shelf at the measurement point using the information on the distance from the reference point. The stock detection device uses the depth to determine the stock status of the product at the position corresponding to the measurement point. As a result, the product inventory can be detected accurately.

また、本実施例における在庫検出装置は、例えば、深度が第1の閾値以上第2の閾値未満である場合は、商品が品薄であると判定し、深度が第2の閾値以上である場合は、商品が品切れであると判定する。さらに、在庫検出装置は、判定する処理の結果を出力してもよい。これにより、商品在庫の状況をより細分化して特定できる。   Further, the stock detection device in the present embodiment determines that the product is short, for example, when the depth is equal to or greater than the first threshold and less than the second threshold, and indicates that the depth is equal to or greater than the second threshold. , It is determined that the product is out of stock. Furthermore, the inventory detection device may output the result of the process of determination. Thus, the status of the product inventory can be further subdivided and identified.

また、本実施例における在庫検出装置は、基準点からの距離に関する情報として取得された点群データの左右方向の中央部分において、最も基準点からの距離が近いと判定される第1の点を特定する。在庫検出装置は、第1の点の左右方向に所定の座標分移動した第2の点及び第3の点であって、基準点からの距離が、基準点から第1の点までの距離と近いと判定される点を検出する。そして、在庫検出装置は、第2の点及び第3の点が点群データの左右方向の両端においてそれぞれ検出された場合、第2の点と第3の点とを結ぶ直線を棚板として特定する。これにより、棚板をより精度よく特定できる。   Further, the inventory detection apparatus according to the present embodiment determines the first point at which the distance from the reference point is determined to be closest to the center point of the point cloud data acquired as information on the distance from the reference point. Identify. The stock detection device is a second point and a third point moved by predetermined coordinates in the left-right direction of the first point, and the distance from the reference point is the distance from the reference point to the first point Detect points that are determined to be close. Then, when the second point and the third point are respectively detected at both ends in the left-right direction of the point cloud data, the inventory detection device specifies a straight line connecting the second point and the third point as the shelf board Do. Thereby, the shelf board can be identified more accurately.

また、本実施例における在庫検出装置は、棚板が特定された場合、又は第2の点若しくは第3の点が特定されなかった場合、点群データの左右方向の中央において、次に基準点からの距離が近いと判定される点を新たに第1の点としてもよい。さらに、在庫検出装置は、検出する処理を、点群データの上下方向の下端の点から開始し、点群データの上下方向の上端から所定の座標分移動した点に到達するまで繰り返してもよい。これにより、複数の棚板を精度よく特定できる。   Further, when the shelf board is specified or the second point or the third point is not specified, the stock detection device in the present embodiment is next to the reference point at the center in the horizontal direction of the point cloud data. The point determined to be close to the point from may be set as a new first point. Furthermore, the inventory detection apparatus may repeat the process of detecting from the point at the lower end in the vertical direction of the point cloud data until it reaches a point moved from the upper end in the vertical direction of the point cloud data by a predetermined coordinate . Thereby, a plurality of shelf boards can be specified with sufficient accuracy.

また、本実施例における在庫検出装置は、棚板より上方向に所定の座標分移動した第1の測定点を特定し、基準点から第1の測定点までの距離に関する情報と、棚板までの距離に関する情報との差分を、深度として算出する。これにより、棚板の位置を基準とする商品の深度を特定できる。   In addition, the inventory detection device in the present embodiment specifies the first measurement point moved upward by a predetermined coordinate from the shelf board, and information on the distance from the reference point to the first measurement point and the shelf board The difference between this and the information on the distance is calculated as the depth. This makes it possible to specify the depth of the product relative to the position of the shelf board.

ところで、図4に示すように、測距センサの特性、測定点における商品の特性等により、距離が測定できない場合がある。測距データを取得できない場合、商品の在庫を適切に検出することが困難である。   By the way, as shown in FIG. 4, there are cases where the distance can not be measured due to the characteristics of the distance measuring sensor, the characteristics of the product at the measurement point, and the like. If the distance measurement data can not be obtained, it is difficult to appropriately detect the stock of goods.

そこで、本実施例においては、測距データを取得できない場合に、測定点を変更して再度距離の取得を試行する構成について説明する。図15は、実施例2における深度算出処理の一例を示す図である。図15に示す点群データ699は、例えばペットボトル690が陳列される位置の測距データを示す。また、図15に示すペットボトルは、ラベルで覆われている部分と、ラベルで覆われていない透明な部分とを含む。   So, in a present Example, when ranging data can not be acquired, a structure which changes a measurement point and tries acquisition of distance again is demonstrated. FIG. 15 is a diagram illustrating an example of depth calculation processing in the second embodiment. Point cloud data 699 shown in FIG. 15 indicates, for example, distance measurement data of a position where the plastic bottle 690 is displayed. Also, the plastic bottle shown in FIG. 15 includes a part covered by the label and a transparent part not covered by the label.

図15に示すように、直線611に対応する測定点691がペットボトルのラベルで覆われていない透明な部分である場合、当該測定点については距離を正しく取得することができない。このため、図15において、点群データにおける測定点691に対応する測距データ613は、距離が測定できなかったことを示す。   As shown in FIG. 15, when the measurement point 691 corresponding to the straight line 611 is a transparent portion not covered with the label of the plastic bottle, the distance can not be correctly acquired for the measurement point. Therefore, in FIG. 15, distance measurement data 613 corresponding to the measurement point 691 in the point cloud data indicates that the distance could not be measured.

この場合において、後に説明する、本実施例における検出装置300は、直線611から、所定の座標分上方向に移動した位置における直線621をさらに特定する。そして、検出装置300は、直線621上の特定のx座標の測定点623における測距データを取得する。この場合において、測定点623に対応するペットボトル690の部分692がラベルで覆われた部分であるので、測定点623における測距データを取得することができる。   In this case, the detection device 300 in this embodiment, which will be described later, further specifies a straight line 621 at a position moved upward by a predetermined coordinate from the straight line 611. Then, the detection apparatus 300 acquires ranging data at the measurement point 623 of the specific x coordinate on the straight line 621. In this case, since the portion 692 of the plastic bottle 690 corresponding to the measurement point 623 is a portion covered with a label, distance measurement data at the measurement point 623 can be acquired.

なお、例えば部分692においても距離が測定できない場合、検出装置300は、直線621から、さらに所定の座標分上方向に移動した位置における直線631を特定する。そして、検出装置300は、直線631上の特定のx座標の測定点633における測距データを取得する。この場合において、測定点633に対応するペットボトル690の部分693は、ラベルで覆われていない透明な部分であるので、測定点633においても距離を取得できない。   For example, when the distance can not be measured also in the portion 692, the detection device 300 specifies a straight line 631 at a position moved upward by a predetermined coordinate from the straight line 621. Then, the detection apparatus 300 acquires distance measurement data at the measurement point 633 of the specific x coordinate on the straight line 631. In this case, since the portion 693 of the plastic bottle 690 corresponding to the measurement point 633 is a transparent portion not covered by the label, the distance can not be obtained even at the measurement point 633.

本実施例における深度の測定結果を図16に示す。図16は、実施例2における在庫状況に対応する測距データの一例を示す図である。なお、以下の実施例において、先に説明した図面に示す部位と同一の部位には同一の符号を付し、重複する説明は省略する。   The measurement result of the depth in a present Example is shown in FIG. FIG. 16 is a diagram of an example of distance measurement data corresponding to the stock status in the second embodiment. In the following embodiments, the same parts as the parts shown in the above-described drawings are denoted by the same reference numerals, and redundant description will be omitted.

図16において、例えば「●」印8021、8041及び8051は、直線611上の測定点において距離が取得されたことを示す。「★」印8011は、直線611より所定の座標分上方向に移動した位置における直線621上の測定点において距離が取得されたことを示す。また、「×」印8031は、いすれの直線上の測定点においても、距離を取得できなかったことを示す。   In FIG. 16, for example, “●” marks 8021, 8041 and 8051 indicate that the distance is acquired at the measurement point on the straight line 611. A "*" mark 8011 indicates that the distance is acquired at the measurement point on the straight line 621 at a position moved upward by a predetermined coordinate from the straight line 611. Also, the “x” mark 8031 indicates that the distance could not be obtained at any of the straight measurement points.

[機能ブロック]
次に、本実施例における検出装置300の機能について、図17は、実施例2における検出装置の一例を示す図である。図17に示すように、本実施例における検出装置300は、外部I/F110と、記憶部320と、制御部330とを有する。なお、以下の実施例において、先に説明した図面に示す部位と同一の部位には同一の符号を付し、重複する説明は省略する。
[Function block]
Next, with regard to the function of the detection device 300 in the present embodiment, FIG. 17 is a diagram showing an example of the detection device in the second embodiment. As illustrated in FIG. 17, the detection device 300 in the present embodiment includes an external I / F 110, a storage unit 320, and a control unit 330. In the following embodiments, the same parts as the parts shown in the above-described drawings are denoted by the same reference numerals, and redundant description will be omitted.

記憶部320は、例えば制御部330が実行するプログラムなどの各種データなどを記憶する。また、記憶部320は、測距データDB321、深度DB322及び棚割DB123を有する。記憶部320は、RAM、ROM、フラッシュメモリなどの半導体メモリ素子や、HDDなどの記憶装置に対応する。   The storage unit 320 stores, for example, various data such as a program executed by the control unit 330. In addition, the storage unit 320 includes a distance measurement data DB 321, a depth DB 322, and a shelf allocation DB 123. The storage unit 320 corresponds to a semiconductor memory device such as a RAM, a ROM, or a flash memory, or a storage device such as an HDD.

測距データDB321は、図6に示すデータと同様に、測距データを記憶する。なお、測距データDB321は、後に説明する距離取得部331により、測距データが取得されなかった場合、測距データが取得されなかったことを示す情報(例えば、「−」記号)をさらに記憶する。図18は、実施例2における測距データDBの一例を示す図である。図18に示すように、測距データDB321は、棚番「1」のx座標「200」、y座標「0」における測定点において、測距データが取得されなかったことを示す情報を記憶する。   Similar to the data shown in FIG. 6, the distance measurement data DB 321 stores distance measurement data. In addition, distance measurement data DB 321 further stores information (for example, “-” symbol) indicating that distance measurement data is not acquired when distance measurement data is not acquired by distance acquisition unit 331 described later. Do. FIG. 18 is a view showing an example of distance measurement data DB in the second embodiment. As shown in FIG. 18, the distance measurement data DB 321 stores information indicating that distance measurement data was not obtained at the measurement point at the x coordinate “200” and y coordinate “0” of the bin number “1”. .

深度DB322は、図7に示すような測距データから算出される深度を、棚における位置と、距離が測定された高さとに対応付けて記憶する。図19は、実施例2における深度DBの一例を示す図である。図19に示すように、深度DB322は、「棚番」と、「棚段」と、「x座標」と、「深度」とに加えて、さらに「測定高さ」を対応付けて記憶する。   The depth DB 322 stores the depth calculated from the distance measurement data as shown in FIG. 7 in association with the position on the shelf and the height at which the distance is measured. FIG. 19 is a diagram illustrating an example of the depth DB in the second embodiment. As illustrated in FIG. 19, the depth DB 322 stores “measurement height” in association with the “shelf number”, the “shelf”, the “x coordinate”, and the “depth” in addition to the “measurement height”.

図19において、「測定高さ」は、距離が測定された測定点のY軸方向における高さを記憶する。図19に示す例においては、例えば測定高さ「1」は、図15に示す直線611上の測定点で距離が取得されたことを示し、測定高さ「2」は、直線621上の測定点で距離が取得されたことを示す。なお、「−」は、いずれの測定点においても、距離が取得できなかったことを示す。図19に示す例において、深度DB322は、棚番「1」、棚段「1」のx座標「80」においては、直線611上の測定点で距離が取得され、x座標「160」及び「240」においては、直線621上の測定点で距離が取得されたことを記憶する。   In FIG. 19, “measurement height” stores the height in the Y-axis direction of the measurement point at which the distance has been measured. In the example illustrated in FIG. 19, for example, the measurement height “1” indicates that the distance is acquired at the measurement point on the straight line 611 illustrated in FIG. 15, and the measurement height “2” indicates the measurement on the straight line 621 Indicates that a distance was obtained at a point. In addition, "-" shows that distance was not able to be acquired also in any measurement point. In the example shown in FIG. 19, in the depth DB 322, at the x-coordinate "80" of the shelf number "1" and the tray "1", the distance is acquired at the measurement point on the straight line 611, and the x-coordinate "160" and "x" In 240 ", it memorize | stores that the distance was acquired at the measurement point on the straight line 621.

制御部330は、検出装置300の全体的な処理を司る処理部である。制御部330は、例えば、CPUやMPU等によって、内部の記憶装置に記憶されているプログラムがRAMを作業領域として実行されることにより実現される。また、制御部330は、例えば、ASICやFPGA等の集積回路により実現されるようにしてもよい。   The control unit 330 is a processing unit that controls the entire processing of the detection device 300. The control unit 330 is realized by, for example, a program stored in an internal storage device being executed by a CPU, an MPU, or the like, using a RAM as a work area. Also, the control unit 330 may be realized by an integrated circuit such as an ASIC or an FPGA, for example.

制御部330は、距離取得部331、棚板検出部132、深度算出部333、在庫判定部334及び出力部135を有する。なお、距離取得部331、棚板検出部132、深度算出部333、在庫判定部334及び出力部135は、プロセッサが有する電子回路の一例やプロセッサが実行するプロセスの一例である。   The control unit 330 includes a distance acquisition unit 331, a shelf detection unit 132, a depth calculation unit 333, an inventory determination unit 334, and an output unit 135. The distance acquisition unit 331, the shelf board detection unit 132, the depth calculation unit 333, the stock determination unit 334, and the output unit 135 are an example of an electronic circuit included in the processor and an example of a process executed by the processor.

距離取得部331は、測距データが取得できなかった場合、対象とした座標に対応付けて、測距データが取得されなかったことを示す情報を測距データDB321に記憶する。   When the distance measurement data can not be acquired, the distance acquisition unit 331 stores information indicating that the distance measurement data is not acquired in the distance measurement data DB 321 in association with the target coordinates.

深度算出部333は、測距データを用いて、測定点における深度を算出し、深度DB322に記憶する際に、用いた測距データが取得された測定高さも合わせて記憶する。深度算出部333は、測定点における測距データが取得できなかった場合には、異なる測定点における測距データを用いて再度深度の算出を試みる。   The depth calculation unit 333 calculates the depth at the measurement point using the distance measurement data, and also stores the measurement height at which the used distance measurement data is acquired when storing the depth in the depth DB 322. When the distance measurement data at the measurement point can not be obtained, the depth calculation unit 333 tries to calculate the depth again using the distance measurement data at different measurement points.

深度算出部333は、例えば図15に示す直線611上の測定点において測距データを取得できない場合、所定の座標分上方向に移動した位置における直線621上の測定点において測距データを取得する。深度算出部333は、例えば直線621上の測定点において測距データが取得できた場合、当該測距データを用いて深度を算出し、測定点に対応する測定高さ「2」と対応付けて深度DB322に記憶する。   For example, when the distance measurement data can not be acquired at the measurement point on the straight line 611 shown in FIG. 15, the depth calculation unit 333 acquires the distance measurement data at the measurement point on the straight line 621 at the position moved upward by the predetermined coordinates. . For example, when the distance measurement data can be acquired at the measurement point on the straight line 621, the depth calculation unit 333 calculates the depth using the distance measurement data, and associates the depth with the measurement height "2" corresponding to the measurement point. It memorize | stores in depth DB322.

また、深度算出部333は、候補となるいずれの測定点においても測距データが取得できなかった場合、深度を特定できなかったことを示す情報を深度DB322に記憶する。深度算出部333は、例えば図15に示す直線631上の測定点においても測距データを取得できない場合、深度DB322に、「深度」及び「測定高さ」が取得できなかったことを示す情報「−」を記憶する。   In addition, when distance measurement data can not be acquired at any of the candidate measurement points, the depth calculation unit 333 stores information indicating that the depth can not be identified in the depth DB 322. For example, when the depth calculation unit 333 can not acquire distance measurement data even at the measurement point on the straight line 631 illustrated in FIG. 15, information indicating that “depth” and “measurement height” can not be acquired in the depth DB 322 "-" Is stored.

[処理の流れ]
次に、本実施例における処理について、図20及び図21を用いて説明する。なお、以下の説明において、図12乃至図14に示すステップと同じ符号については同様のステップであるため、詳細な説明を省略する。
[Flow of processing]
Next, processing in the present embodiment will be described using FIGS. 20 and 21. FIG. In the following description, the same reference numerals as in the steps shown in FIG. 12 to FIG. 14 denote the same steps, so detailed description will be omitted.

図20は、実施例2における在庫検出処理の一例を示すフローチャートである。図20に示すように、実施例2における在庫検出処理においては、図12に示すS12及びS13の代わりに、深度特定処理を実行する(S22)。   FIG. 20 is a flowchart of an example of the stock detection process according to the second embodiment. As shown in FIG. 20, in the stock detection process in the second embodiment, a depth identification process is executed instead of S12 and S13 shown in FIG. 12 (S22).

図21は、実施例2における深度特定処理の一例を示すフローチャートである。まず、深度算出部333は、検出された棚板から、所定の座標分上方向に移動した位置における直線を特定する(S221)。次に、深度算出部333は、測距データDB321を参照し、特定された直線上の測定点において距離が取得できたか否かを判定する(S222)。   FIG. 21 is a flowchart of an example of the depth identification process according to the second embodiment. First, the depth calculation unit 333 specifies a straight line at a position moved upward by a predetermined coordinate from the detected shelf board (S221). Next, the depth calculation unit 333 refers to the distance measurement data DB 321, and determines whether or not the distance can be acquired at the measurement point on the specified straight line (S222).

深度算出部333は、距離が取得できたと判定した場合(S222:Yes)、取得された測距データを用いて深度を算出する(S223)。そして、深度算出部333は、算出した深度を用いて、図14に示す在庫判定処理を行い(S13)、在庫検出処理に戻る。   When it is determined that the distance can be acquired (S222: Yes), the depth calculation unit 333 calculates the depth using the acquired distance measurement data (S223). Then, the depth calculation unit 333 performs the stock determination process shown in FIG. 14 using the calculated depth (S13), and returns to the stock detection process.

一方、深度算出部333は、距離が取得できなかったと判定した場合(S222:No)、特定された測定点から、さらに所定の座標分上方向に移動した位置における直線を特定する(S224)。そして、深度算出部333は、特定された直線のy座標が、所定の閾値以上であるか否かを判定する(S225)。深度算出部333は、y座標が所定の閾値未満であると判定した場合(S225:No)、S222に戻って処理を繰り返す。   On the other hand, when it is determined that the distance can not be acquired (S222: No), the depth calculation unit 333 specifies a straight line at a position moved upward by a predetermined coordinate from the specified measurement point (S224). Then, the depth calculation unit 333 determines whether the y coordinate of the specified straight line is equal to or greater than a predetermined threshold (S225). When the depth calculation unit 333 determines that the y coordinate is less than the predetermined threshold (S225: No), the process returns to S222 and repeats the processing.

一方、深度算出部333は、y座標が所定の閾値以上であると判定した場合(S225:Yes)、「深度情報なし」であると判定し、判定結果を深度DB322に記憶して(S226)、在庫検出処理に戻る。   On the other hand, when the depth calculation unit 333 determines that the y coordinate is equal to or more than the predetermined threshold (S225: Yes), it determines that "depth information is not present" and stores the determination result in the depth DB 322 (S226) Return to the inventory detection process.

[効果]
以上説明したように、本実施例における在庫検出装置は、棚に陳列される商品の陳列数を含む棚割データと、在庫状況と、商品の大きさに関する情報とを照合することにより、商品の種別及び商品の在庫数を特定する。これにより、棚割に即した在庫状況を特定できる。
[effect]
As described above, the inventory detection device according to the present embodiment can check the shelf allocation data including the number of displayed commodities displayed on the shelf, the inventory status, and the information on the size of the commodity. Identify the type and number of items in stock. This makes it possible to identify the stock status in line with the shelf allocation.

また、本実施例における在庫検出装置は、第1の測定点において深度を特定できない場合、第1の測定点からさらに上方向に所定の座標分移動した第2の測定点を特定してもよい。そして、在庫検出装置は、基準点から第2の測定点までの距離に関する情報と、棚板までの距離に関する情報との差分を、深度として算出してもよい。これにより、例えば特定の位置において測距データが取得できない場合であっても、在庫を検出できる可能性を向上できる。   In addition, when the inventory detection device in the present embodiment can not specify the depth at the first measurement point, the inventory detection device may specify the second measurement point moved by a predetermined coordinate further upward from the first measurement point. . Then, the inventory detection device may calculate, as the depth, the difference between the information on the distance from the reference point to the second measurement point and the information on the distance to the shelf board. As a result, for example, even when distance measurement data can not be acquired at a specific position, the possibility of detecting inventory can be improved.

さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。例えば、実施例1における検出装置100は、図1に示すような自走型のロボットにより実装されるが、これに限られず、当該ロボットが撮影した画像を取得するサーバ等のコンピュータにより実現することもできる。また、当該サーバは、ロボット等が撮影した画像の代わりに、図示しない店員等が撮影した画像を取得してもよい。   Although the embodiments of the present invention have been described above, the present invention may be implemented in various different modes other than the above-described embodiments. For example, although the detection apparatus 100 in the first embodiment is mounted by a self-propelled robot as shown in FIG. 1, the present invention is not limited to this, and may be realized by a computer such as a server that acquires an image captured by the robot. You can also. Further, the server may acquire an image captured by a store clerk or the like (not shown) instead of the image captured by the robot or the like.

また、図7においては、深度算出部133が、例えば深度を算出後、右方向に「80」づつ移動する場合における算出結果を記憶するが、移動する座標は一例であり、例えば棚の幅や商品の幅に応じて適宜変更してもよい。   Further, in FIG. 7, although the depth calculation unit 133 stores, for example, the calculation result in the case of moving “80” in the right direction after calculating the depth, the moving coordinates are an example, for example, the width of the shelf or You may change suitably according to the width | variety of goods.

また、図9Cにおいて、Y軸方向の上端Ymaxから所定の座標h1の分だけ下に移動した点Ymax−h1において処理を終了する構成について説明したが、実施の形態はこれに限られない。例えば、棚板の上端から商品が吊るされている場合などは、棚の上端にも商品が陳列される場合があるので、Y軸方向の上端Ymaxまで棚板検出処理を繰り返してもよい。   In FIG. 9C, although the configuration is described in which the processing is ended at point Ymax-h1 which is moved downward from the upper end Ymax in the Y-axis direction by the predetermined coordinate h1, the embodiment is not limited thereto. For example, when a product is suspended from the upper end of the shelf board, the product may be displayed on the upper end of the shelf. Therefore, the shelf board detection process may be repeated until the upper end Ymax in the Y axis direction.

なお、図13に示す棚板検出処理において、第2の点及び第3の点が検出されない場合、例えば商品が棚板より前にはみ出しているために棚板の位置が誤検出されている可能性がある。そこで、棚板検出部132は、第2の点及び第3の点が検出されない場合に、商品の陳列異常を示すような情報を出力してもよい。また、図14に示す在庫判定処理において、深度が負の値であると判定されるような場合も同様である。   In the shelf detection process shown in FIG. 13, when the second and third points are not detected, the position of the shelf may be erroneously detected because, for example, the product protrudes before the shelf. There is sex. Therefore, when the second point and the third point are not detected, the shelf board detection unit 132 may output information indicating a display abnormality of the product. Moreover, in the stock determination process shown in FIG. 14, the same applies to the case where it is determined that the depth is a negative value.

[システム]
また、図示した各部の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各部の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況等に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、深度算出部133と在庫判定部134とを統合してもよい。また、出力部135の在庫状況と棚割情報とを突合する処理と、突合結果を出力する処理とを分割し、それぞれ別の処理部として設けてもよい。
[system]
Further, each component of each unit shown in the drawings does not necessarily have to be physically configured as shown in the drawings. That is, the specific form of the dispersion and integration of each part is not limited to the illustrated one, and all or a part thereof is functionally or physically dispersed or integrated in any unit according to various loads, usage conditions, etc. Can be configured. For example, the depth calculation unit 133 and the stock determination unit 134 may be integrated. Further, the process of collating the stock status of the output unit 135 with the shelving information and the process of outputting the collated result may be divided and provided as separate processing units.

さらに、各装置で行われる各種処理機能は、CPU(またはMPU、MCU(Micro Controller Unit)等のマイクロ・コンピュータ)上で、その全部または任意の一部を実行するようにしてもよい。また、各種処理機能は、CPU(またはMPU、MCU等のマイクロ・コンピュータ)で解析実行されるプログラム上、またはワイヤードロジックによるハードウェア上で、その全部または任意の一部を実行するようにしてもよいことは言うまでもない。   Furthermore, all or any part of various processing functions performed by each device may be executed on a CPU (or a microcomputer such as an MPU or an MCU (Micro Controller Unit)). In addition, various processing functions may be executed in whole or any part on a program analyzed and executed by a CPU (or a microcomputer such as an MPU or MCU) or on hardware by wired logic. It goes without saying that it is good.

ところで、上記の実施例で説明した各種の処理は、予め用意されたプログラムをコンピュータで実行することで実現できる。そこで、以下では、上記の実施例と同様の機能を有するプログラムを実行するコンピュータの一例を説明する。図22は、検出プログラムを実行するコンピュータの一例を示す図である。なお、以下においては、実施例1における検出装置100を例として説明するが、実施例3における検出装置300についても同様のコンピュータにより実現できる。   The various processes described in the above embodiments can be realized by executing a prepared program on a computer. So, below, an example of a computer which runs a program which has the same function as the above-mentioned example is explained. FIG. 22 is a diagram of an example of a computer that executes a detection program. In addition, although the detection apparatus 100 in Example 1 is demonstrated to an example below, it can implement | achieve also about the detection apparatus 300 in Example 3 by the same computer.

図22が示すように、コンピュータ200は、各種演算処理を実行するCPU201と、データ入力を受け付ける入力装置202と、モニタ203とを有する。また、コンピュータ200は、記憶媒体からプログラム等を読み取る媒体読取装置204と、各種装置と接続するためのインタフェース装置205と、他の情報処理装置等と有線または無線により接続するための通信装置206とを有する。また、コンピュータ200は、各種情報を一時記憶するRAM207と、ハードディスク装置208とを有する。また、各装置201〜208は、バス209に接続される。   As illustrated in FIG. 22, the computer 200 includes a CPU 201 that executes various types of arithmetic processing, an input device 202 that receives data input, and a monitor 203. The computer 200 also includes a medium reading device 204 reading programs and the like from a storage medium, an interface device 205 for connecting with various devices, and a communication device 206 for connecting with other information processing devices and the like by wire or wirelessly. Have. The computer 200 also has a RAM 207 for temporarily storing various information, and a hard disk drive 208. Each of the devices 201 to 208 is connected to the bus 209.

ハードディスク装置208には、図5に示した距離取得部131、棚板検出部132、深度算出部133、在庫判定部134及び出力部135の各処理部と同様の機能を有する検出プログラムが記憶される。また、ハードディスク装置208には、測距データDB121、深度DB122及び棚割DB123、並びに検出プログラムを実現するための各種データが記憶される。入力装置202は、例えば、コンピュータ200の管理者から管理情報等の各種情報の入力を受け付ける。モニタ203は、例えば、コンピュータ200の管理者に対して管理情報の画面や各種画面を表示する。インタフェース装置205は、例えば、図5に示した外部I/F110と同様の機能を有し、例えばカメラや測距センサ等のセンサを有する外部の装置等と接続され、各種情報をやりとりする。通信装置206は、例えば、図5に示した外部I/F110と同様の機能を有し、例えば外部のデータベース等と接続され、各種情報をやりとりする。   The hard disk drive 208 stores a detection program having the same function as each processing unit of the distance acquisition unit 131, the shelf board detection unit 132, the depth calculation unit 133, the stock determination unit 134, and the output unit 135 shown in FIG. Ru. Further, the hard disk drive 208 stores a distance measurement data DB 121, a depth DB 122, a shelf allocation DB 123, and various data for realizing a detection program. The input device 202 receives, for example, an input of various information such as management information from the administrator of the computer 200. The monitor 203 displays, for example, a screen of management information and various screens for the administrator of the computer 200. The interface device 205 has, for example, the same function as the external I / F 110 shown in FIG. 5, and is connected to an external device having a sensor such as a camera or a distance measurement sensor, for example, to exchange various information. The communication device 206 has, for example, the same function as the external I / F 110 illustrated in FIG. 5 and is connected to, for example, an external database to exchange various information.

CPU201は、ハードディスク装置208に記憶された各プログラムを読み出して、RAM207に展開して実行することで、各種の処理を行う。また、これらのプログラムは、コンピュータ200を図1に示した距離取得部131、棚板検出部132、深度算出部133、在庫判定部134及び出力部135として機能させることができる。   The CPU 201 reads out each program stored in the hard disk device 208, develops the program in the RAM 207, and executes the program to perform various processes. In addition, these programs can cause the computer 200 to function as the distance acquisition unit 131, the shelf detection unit 132, the depth calculation unit 133, the stock determination unit 134, and the output unit 135 illustrated in FIG.

なお、上記の検出プログラムは、必ずしもハードディスク装置208に記憶されている必要はない。例えば、コンピュータ200が読み取り可能な記憶媒体に記憶されたプログラムを、コンピュータ200が読み出して実行するようにしてもよい。コンピュータ200が読み取り可能な記憶媒体は、例えば、CD−ROMやDVDディスク、USB(Universal Serial Bus)メモリ等の可搬型記録媒体、フラッシュメモリ等の半導体メモリ、ハードディスクドライブ等が対応する。また、公衆回線、インターネット、LAN等に接続された装置にこの検出プログラムを記憶させておき、コンピュータ200がこれらから検出プログラムを読み出して実行するようにしてもよい。   The above detection program does not necessarily have to be stored in the hard disk drive 208. For example, the computer 200 may read out and execute a program stored in a storage medium readable by the computer 200. The storage medium readable by the computer 200 corresponds to, for example, a CD-ROM, a DVD disk, a portable recording medium such as a USB (Universal Serial Bus) memory, a semiconductor memory such as a flash memory, a hard disk drive, or the like. Alternatively, the detection program may be stored in a device connected to a public line, the Internet, a LAN or the like, and the computer 200 may read out the detection program from these and execute it.

100、300 検出装置
110 外部I/F
120、320 記憶部
121、321 測距データDB
122、322 深度DB
123 棚割DB
130、330 制御部
131、331 距離取得部
132 棚板検出部
133、333 深度算出部
134、334 在庫判定部
135 出力部
100, 300 Detector 110 External I / F
120, 320 storage unit 121, 321 distance measurement data DB
122, 322 depth DB
123 Shelf Allocation DB
130, 330 Control unit 131, 331 Distance acquisition unit 132 Shelf detection unit 133, 333 Depth calculation unit 134, 334 Inventory determination unit 135 Output unit

Claims (10)

基準点からの距離に関する情報を用いて、商品が陳列される棚の棚板を検出し、
前記基準点からの距離に関する情報を用いて、測定点における、前記棚板からの深度を算出し、
前記深度を用いて、前記測定点に対応する位置における商品の在庫状況を判定する
処理をコンピュータに実行させることを特徴とする在庫検出プログラム。
Use the information on the distance from the reference point to detect the shelf shelf on which the product is displayed,
Using the information on the distance from the reference point, calculate the depth from the shelf at the measurement point;
The stock detection program characterized by making a computer perform processing which determines a stock situation of goods in a position corresponding to the measurement point using the depth.
前記判定する処理の結果を出力する処理をさらに前記コンピュータに実行させ、
前記判定する処理は、前記深度が第1の閾値以上第2の閾値未満である場合は、前記商品が品薄であると判定し、前記深度が第2の閾値以上である場合は、前記商品が品切れであると判定することを特徴とする請求項1に記載の在庫検出プログラム。
Further causing the computer to execute a process of outputting the result of the process of determination;
In the determination process, when the depth is equal to or more than a first threshold and less than a second threshold, it is determined that the item is insufficient, and the item is equal to or more than a second threshold. The stock detection program according to claim 1, wherein the stock detection program is determined to be out of stock.
前記棚に陳列される商品の陳列数を含む棚割データと、前記在庫状況と、前記商品の大きさに関する情報とを照合することにより、前記商品の種別及び前記商品の在庫数を特定する処理をさらに前記コンピュータに実行させることを特徴とする請求項1又は2に記載の在庫検出プログラム。   A process of identifying the type of the product and the stock quantity of the product by collating shelf allocation data including the number of displayed products displayed on the shelf, the stock status, and information on the size of the product The stock detection program according to claim 1 or 2, further causing the computer to execute. 前記検出する処理は、前記基準点からの距離に関する情報として取得された点群データの左右方向の中央部分において、最も前記基準点からの距離が近いと判定される第1の点を特定し、前記第1の点の左右方向に所定の座標分移動した第2の点及び第3の点であって、前記基準点からの距離が、前記基準点から前記第1の点までの距離と近いと判定される点を検出し、前記第2の点及び前記第3の点が前記点群データの左右方向の両端においてそれぞれ検出された場合、前記第2の点と前記第3の点とを結ぶ直線を前記棚板として特定することを特徴とする請求項1乃至3のいずれか1つに記載の在庫検出プログラム。   In the processing for detecting, a first point determined to be closest to the reference point is specified at a central portion in the horizontal direction of point cloud data acquired as information on the distance from the reference point, The second and third points moved by predetermined coordinates in the left-right direction of the first point, wherein the distance from the reference point is close to the distance from the reference point to the first point When the second point and the third point are respectively detected at both ends in the left-right direction of the point group data, the second point and the third point are detected. The stock detection program according to any one of claims 1 to 3, wherein a straight line connecting is specified as the shelf board. 前記検出する処理は、前記棚板が特定された場合、又は前記第2の点若しくは前記第3の点が特定されなかった場合、前記点群データの左右方向の中央において、次に前記基準点からの距離が近いと判定される点を新たに前記第1の点とすることを特徴とする請求項4に記載の在庫検出プログラム。   When the shelf board is identified, or when the second point or the third point is not identified, the detection process is performed next to the reference point at the center in the horizontal direction of the point cloud data. 5. The stock detection program according to claim 4, wherein a point determined to be close to a point from is newly set as the first point. 前記検出する処理を、前記点群データの上下方向の下端の点から開始し、前記点群データの上下方向の上端から所定の座標分移動した点に到達するまで繰り返し前記コンピュータに実行させることを特徴とする請求項5に記載の在庫検出プログラム。   Starting from the point at the lower end in the vertical direction of the point cloud data, the process of detecting is repeatedly performed by the computer until reaching a point moved by a predetermined coordinate from the upper end in the vertical direction of the point cloud data. The stock detection program according to claim 5, characterized in that: 前記算出する処理は、前記棚板より上方向に所定の座標分移動した第1の測定点を特定し、前記基準点から前記第1の測定点までの距離に関する情報と、前記棚板までの距離に関する情報との差分を、前記深度として算出することを特徴とする請求項1乃至6のいずれか1つに記載の在庫検出プログラム。   The process of calculating specifies a first measurement point moved upward by a predetermined coordinate from the shelf board, information on a distance from the reference point to the first measurement point, and the shelf board The stock detection program according to any one of claims 1 to 6, wherein a difference from information on a distance is calculated as the depth. 前記算出する処理は、前記第1の測定点において前記深度を特定できない場合、前記第1の測定点からさらに上方向に所定の座標分移動した第2の測定点を特定し、前記基準点から前記第2の測定点までの距離に関する情報と、前記棚板までの距離に関する情報との差分を、前記深度として算出することを特徴とする請求項7に記載の在庫検出プログラム。   When the depth can not be specified at the first measurement point, the calculation process specifies a second measurement point moved by a predetermined coordinate further upward from the first measurement point, and from the reference point The stock detection program according to claim 7, wherein a difference between information on a distance to the second measurement point and information on a distance to the shelf is calculated as the depth. コンピュータが、
基準点からの距離に関する情報を用いて、商品が陳列される棚の棚板を検出し、
前記基準点からの距離に関する情報を用いて、測定点における、前記棚板からの深度を算出し、
前記深度を用いて、前記測定点に対応する位置における商品の在庫状況を判定する
処理を実行することを特徴とする在庫検出方法。
The computer is
Use the information on the distance from the reference point to detect the shelf shelf on which the product is displayed,
Using the information on the distance from the reference point, calculate the depth from the shelf at the measurement point;
A stock detection method characterized by performing processing which judges a stock situation of goods in a position corresponding to the measurement point using the depth.
基準点からの距離に関する情報を用いて、商品が陳列される棚の棚板を検出する検出部と、
前記基準点からの距離に関する情報を用いて、測定点における、前記棚板からの深度を算出する算出部と、
前記深度を用いて、前記測定点に対応する位置における商品の在庫状況を判定する判定部と
を有することを特徴とする在庫検出装置。
A detection unit that detects a shelf board of a shelf on which a product is displayed using information on a distance from a reference point;
A calculation unit that calculates the depth from the shelf board at the measurement point using information on the distance from the reference point;
A determination unit that determines an inventory status of a product at a position corresponding to the measurement point using the depth.
JP2017226317A 2017-11-24 2017-11-24 Inventory detection program, inventory detection method and inventory detection device Active JP7130945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017226317A JP7130945B2 (en) 2017-11-24 2017-11-24 Inventory detection program, inventory detection method and inventory detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017226317A JP7130945B2 (en) 2017-11-24 2017-11-24 Inventory detection program, inventory detection method and inventory detection device

Publications (2)

Publication Number Publication Date
JP2019096162A true JP2019096162A (en) 2019-06-20
JP7130945B2 JP7130945B2 (en) 2022-09-06

Family

ID=66971733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017226317A Active JP7130945B2 (en) 2017-11-24 2017-11-24 Inventory detection program, inventory detection method and inventory detection device

Country Status (1)

Country Link
JP (1) JP7130945B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307861A (en) * 2019-10-18 2021-02-02 北京京东尚科信息技术有限公司 System, method and apparatus for shelf condition monitoring
WO2022024367A1 (en) * 2020-07-31 2022-02-03 日本電気株式会社 Learning model generation device, learning model generation system, learning model generation method, and recording medium
JP2022035584A (en) * 2020-08-21 2022-03-04 東芝テック株式会社 Image processing device
JP7648260B1 (en) * 2024-11-19 2025-03-18 株式会社D4All Shipping Support Device
JP7658648B1 (en) * 2024-12-18 2025-04-08 株式会社D4All Delivery Support Device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015136847A1 (en) * 2014-03-12 2015-09-17 日本電気株式会社 Display condition analysis device, display condition analysis method, and program recording medium
JP2016009329A (en) * 2014-06-24 2016-01-18 王子ホールディングス株式会社 Merchandise delivery system and merchandise delivery method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015136847A1 (en) * 2014-03-12 2015-09-17 日本電気株式会社 Display condition analysis device, display condition analysis method, and program recording medium
JP2016009329A (en) * 2014-06-24 2016-01-18 王子ホールディングス株式会社 Merchandise delivery system and merchandise delivery method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307861A (en) * 2019-10-18 2021-02-02 北京京东尚科信息技术有限公司 System, method and apparatus for shelf condition monitoring
WO2022024367A1 (en) * 2020-07-31 2022-02-03 日本電気株式会社 Learning model generation device, learning model generation system, learning model generation method, and recording medium
JPWO2022024367A1 (en) * 2020-07-31 2022-02-03
JP7396499B2 (en) 2020-07-31 2023-12-12 日本電気株式会社 Learning model generation device, learning model generation system, learning model generation method, and learning model generation program
JP2022035584A (en) * 2020-08-21 2022-03-04 東芝テック株式会社 Image processing device
JP7551397B2 (en) 2020-08-21 2024-09-17 東芝テック株式会社 Image Processing Device
JP7648260B1 (en) * 2024-11-19 2025-03-18 株式会社D4All Shipping Support Device
JP7658648B1 (en) * 2024-12-18 2025-04-08 株式会社D4All Delivery Support Device

Also Published As

Publication number Publication date
JP7130945B2 (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN109446883B (en) Commodity state identification method and device, electronic equipment and readable storage medium
JP7130945B2 (en) Inventory detection program, inventory detection method and inventory detection device
US11587029B2 (en) Determining product placement compliance
US20230389725A1 (en) Image display device, image display system, image display method, and program
US11049279B2 (en) Device for detecting positional relationship among objects
JP7024351B2 (en) Shelf allocation generation program, shelf allocation generation method and shelf allocation generation device
JP7435587B2 (en) Article estimation device, article estimation method, and program
US20150213498A1 (en) Method and apparatus for providing product information
US20200202095A1 (en) Positional relationship detection device and positional relationship detection system
CN108898109A (en) The determination methods, devices and systems of article attention rate
US11315074B2 (en) Smart shelf system
US11748787B2 (en) Analysis method and system for the item on the supermarket shelf
CN111161346A (en) Method and device for layering commodities in goods shelf and electronic equipment
US12299629B2 (en) Systems and methods of defining and identifying product display areas on product display shelves
US20250086582A1 (en) Shelf label management system, shelf label management method, and recording medium
US20230290105A1 (en) Product detection device, product detection system, product detection method, and recording medium
US11030575B2 (en) Smart item monitoring system
CA3269056A1 (en) Methods and apparatus for machine learning system for edge computer vision and active reality
CN108921642A (en) One kind intelligent fruits and vegetables checkout apparatus based on computer vision and method
EP4160533A1 (en) Estimation program, estimation method, and estimation device
JP5080028B2 (en) Article access management system
CN112532874B (en) Method and device for generating plane thermodynamic diagram, storage medium and electronic equipment
JP5822315B2 (en) Work support system, work support device, work support method, and program
JP7404038B2 (en) Information processing system, information processing device, information processing program, and information processing method
US20250014214A1 (en) Method for determining the position of furnishing elements, in particular electronic labels

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200803

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210608

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210803

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20210824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220315

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220808

R150 Certificate of patent or registration of utility model

Ref document number: 7130945

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150