JP7130945B2 - Inventory detection program, inventory detection method and inventory detection device - Google Patents

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

Info

Publication number
JP7130945B2
JP7130945B2 JP2017226317A JP2017226317A JP7130945B2 JP 7130945 B2 JP7130945 B2 JP 7130945B2 JP 2017226317 A JP2017226317 A JP 2017226317A JP 2017226317 A JP2017226317 A JP 2017226317A JP 7130945 B2 JP7130945 B2 JP 7130945B2
Authority
JP
Japan
Prior art keywords
point
depth
distance
shelf
inventory
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
JP2017226317A
Other languages
Japanese (ja)
Other versions
JP2019096162A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Ltd filed Critical Fujitsu 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

Images

Description

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

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

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

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

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

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

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

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

以下に、本願の開示する在庫検出プログラム、在庫検出方法及び在庫検出装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。また、以下に示す各実施例は、矛盾を起こさない範囲で適宜組み合わせても良い。 Exemplary 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 below with reference to the drawings. In addition, this invention is not limited by this Example. Moreover, each embodiment shown below may be appropriately combined within a range that does not cause contradiction.

本実施例における検出装置100は、基準点から測定点までの距離を測定した測距データを用いて、商品の在庫を検出する。図1は、実施例1における測距データの取得処理の一例を示す図である。図1に示すように、本実施例における検出装置100は、例えば自走式のロボットである。検出装置100は、例えば赤外線や音波等を照射することにより、対象物との距離を測定する測距センサを用いて、基準点920から測定点までの測距データを取得する。なお、測距データは、距離に関する情報の一例である。 The detection device 100 in this embodiment detects the inventory of products 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 a process of acquiring distance measurement data according to the first embodiment. As shown in FIG. 1, the detection device 100 in this 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 a distance measurement sensor that measures the distance to the object by irradiating, for example, infrared rays, sound waves, or the like. Note that the ranging data is an example of information about distance.

検出装置100は、取得した測距データのうち、例えば最も距離が小さいデータを用いて、図1に示す棚900の棚板901の位置を特定する。同様に、検出装置100は、図1に示す棚板901の位置から任意の座標分上に移動した、商品の陳列位置に対応する測定点910における測距データを用いて、棚板901から測定点910までの奥行を示す深度を測定する。そして、検出装置100は、深度が0であるか又は小さい場合は、商品の在庫が十分にあると判定し、深度が大きい場合は、商品の在庫が少ないか又は全くないと判定する。 The detecting device 100 specifies the position of the shelf board 901 of the shelf 900 shown in FIG. Similarly, the detection device 100 moves from the position of the shelf board 901 shown in FIG. Depth is measured to indicate depth to point 910 . When the depth is 0 or small, the detection device 100 determines that there is a sufficient inventory of products, and when the depth is large, the detection device 100 determines that there is little or no inventory of products.

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

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

このような商品の棚における、棚板520からの奥行を示す深度の測定結果を図3に示す。図3は、実施例1における在庫状況に対応する測距データの一例を示す図である。図3において、x軸は棚の左右方向を示し、z軸は棚の奥行方向を示す。z軸は、数値が大きくなるほど深度が大きいことを示す。 FIG. 3 shows the depth measurement result indicating the depth from the shelf plate 520 in such a product shelf. FIG. 3 is a diagram showing an example of distance measurement data corresponding to inventory status in the first embodiment. In FIG. 3, the x-axis indicates the horizontal direction of the shelf, and the z-axis indicates the depth direction of the shelf. On the z-axis, higher numbers indicate greater 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 fully stocked items 810 , the corresponding depth 811 is less than the first threshold 801 . The same is true for depth 851 corresponding to item 850 . On the other hand, the depth 821 corresponding to the product 820 with low inventory is included in the range 891 that is greater than or equal to the first threshold 801 but less than the second threshold 802 . Also, the depth 841 corresponding to the out-of-stock product 840 is included in the range 892 above the second threshold 802 .

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

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

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

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

記憶部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 various data such as programs executed by the control unit 130, for example. The storage unit 120 also has a ranging data DB 121 , a depth DB 122 and a planogram DB 123 . The storage unit 120 corresponds to a semiconductor memory device such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, or a storage device such as a HDD (Hard Disk Drive). In addition, in the following description, a database (Database) may be written as "DB."

測距データDB121は、測距データを、測定点の座標と対応付けて記憶する。図6は、実施例1における測距データDBの一例を示す図である。図6に示すように、測距データDB121は、例えば、「棚番」と、「x座標」及び「y座標」と、「距離」とを対応付けて記憶する。なお、測距データDB121に記憶される情報は、例えば後に説明する距離取得部131により入力される。測距データDB121は、例えば、測定点ごとに1レコードとして記憶する。 The distance measurement data DB 121 stores the distance measurement data in association with the coordinates of the measurement point. FIG. 6 is a diagram illustrating an example of a distance measurement data DB according to the first embodiment; As shown in FIG. 6, the distance measurement data DB 121 stores, for example, "storage number", "x coordinate", "y coordinate", and "distance" in association with each other. Information stored in the distance measurement data DB 121 is input by, for example, a distance acquisition unit 131 to be 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, "shelve number" stores an identifier that uniquely identifies a product display shelf. "x coordinate" and "y coordinate" store the coordinates of the measurement point. Note that 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 ranging data in association with the position on the shelf. FIG. 7 is a diagram illustrating an example of a depth DB according to the first embodiment; As shown in FIG. 7, the depth DB 122 stores "shelve number", "shelf level", "x coordinate", and "depth" in association with each other. Information stored in the depth DB 122 is input by, for example, a depth calculation unit 133 to be described later.

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

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

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

図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 controls overall processing of the detection device 100 . The control unit 130 is implemented by, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like executing a program stored in an internal storage device using a RAM as a work area. Also, the control unit 130 may be implemented by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

制御部130は、距離取得部131、棚板検出部132、深度算出部133、在庫判定部134及び出力部135を有する。なお、距離取得部131、棚板検出部132、深度算出部133、在庫判定部134及び出力部135は、プロセッサが有する電子回路の一例やプロセッサが実行するプロセスの一例である。 The control unit 130 has 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 . Note that the distance acquisition unit 131, the shelf board detection unit 132, the depth calculation unit 133, the inventory determination unit 134, and the output unit 135 are examples of electronic circuits possessed by the processor and processes executed by the processor.

距離取得部131は、測距データを取得する。例えば、距離取得部131は、外部I/F110を通じて、測距センサから測距データを取得し、測定点の座標と測定された距離とを対応付けて、測距データDB121に記憶する。 The distance acquisition unit 131 acquires ranging data. For example, the distance acquisition unit 131 acquires distance measurement data from a distance measurement sensor through the external I/F 110, associates the coordinates of the measurement point with the measured distance, and stores them 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. Processing by the shelf detection unit 132 will be described with reference to FIGS. 9A to 9C. In addition, the shelf board detection part 132 is an example of a detection part.

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

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

そして、棚板検出部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. do. When the shelf board detection unit 132 determines that the difference in distance is less than the predetermined threshold value, the shelf board detection unit 132 generates a new point that is moved by a predetermined coordinate in the horizontal direction from each of the second point and the third point. identified as a second point and a third point. 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 group data, the shelf detection unit 132 detects a straight line in the left-right direction connecting the second point and the third point as a shelf. Detect as the position of the board. Then, the shelf board detection unit 132 specifies, among the points on the median line 511, the point having the smallest distance measurement data after the first point as a new first point. Also, when 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, , similarly identify a new first point.

棚板検出部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 the process of identifying the first point from the bottom end of the point cloud data in the vertical direction, for example, the Y-axis direction, and reaches a point moved downward by a predetermined coordinate from the top end of the Y-axis direction. A plurality of shelf boards included in the product display shelf are detected by repeating the processing until the product display shelf is reached. For example, in FIG. 9C, the shelf detection unit 132 starts processing from the lower end Ymin in the Y-axis direction and moves down from the upper end Ymax in the Y-axis direction by a predetermined coordinate h1 to a point Ymax-h1. repeat. Thereby, the shelf detection unit 132 detects the shelves 540 to 580 in addition to the shelf 520 . It should be noted that the reason why the process is not repeated up to the upper end Ymax in the Y-axis direction and the process ends at a point moved downward by a predetermined coordinate is that if there is no space between the upper ends of the shelves, This is because the products cannot be displayed.

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

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

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

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

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

在庫判定部134は、深度DB122から深度を取得する。また、在庫判定部134は、棚割DB123を参照し、取得した深度に対応する位置に陳列される商品を特定する。そして、在庫判定部134は、取得した深度を、第1の閾値及び第2の閾値と比較する。 The inventory determination unit 134 acquires depth from the depth DB 122 . In addition, the inventory determination unit 134 refers to the planogram DB 123 to identify the products to be displayed at the position corresponding to the acquired depth. The inventory determination unit 134 then 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 inventory determining unit 134 determines that the product displayed at the corresponding position is "in stock". When the depth is greater than or equal to the first threshold and less than the second threshold, the inventory determining unit 134 determines that the product displayed at the corresponding position is "out of stock". When the depth is equal to or greater than the second threshold, the inventory determination 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 inventory determination result at each measurement point in association with the information on the planogram. The output unit 135 acquires the “shelve number”, “shelve stage” and “x coordinate” of each depth from the depth DB 122 . Next, the output unit 135 refers to the shelving allocation DB 123 to specify the products to be displayed at the positions corresponding to each "shelve number", "shelf level" and "x coordinate". Then, the output unit 135 outputs the inventory status of the products 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 shelf 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 according to the first embodiment; As shown in FIG. 11, the output unit 135 generates an output result including information indicating that the product "●● Ramen" with the ID "A001" is "in stock". Similarly, the output unit 135 associates each position in the depth DB 122 with each product in the planogram DB 123, and outputs the inventory status of each product. For example, if the first threshold is "30" and the second threshold is "50", it is indicated that the product with a depth of "40" at the corresponding display position is "short of stock". Items with a depth of "50" at the corresponding display position are indicated as "out of stock".

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

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

次に、在庫判定部134は、x方向にw座標分移動した測定点を特定し(S14)、当該測定点のx座標が所定の閾値以上か否かを判定する(S15)。深度算出部133は、x座標が所定の閾値未満であると判定した場合(S15:No)、S12に戻って処理を繰り返す。 Next, the inventory determination unit 134 identifies a 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 greater than a predetermined threshold (S15). When the depth calculation unit 133 determines that the x-coordinate is less than the predetermined threshold value (S15: No), the process returns to S12 and repeats the process.

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

一方、出力部135は、全ての棚板について処理が完了したと判定された場合(S16
:Yes)、棚割DB123を参照し、深度DB122に記憶された座標と棚割情報とを突合する(S18)。そして、出力部135は、突合結果を出力し(S19)、処理を終了する。
On the other hand, when the output unit 135 determines that the processing has been completed for all the shelf boards (S16
: Yes), the planogram DB 123 is referred to match the coordinates stored in the depth DB 122 with the planogram 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, shelf board detection processing will be described. FIG. 13 is a flowchart illustrating an example of shelf board detection processing according to the first embodiment. As shown in FIG. 13, the shelf detection unit 132 identifies the median line on the x-coordinate straight line (S110). Next, the shelf board detection unit 132 identifies the closest point on the median line as the first point (S111).

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

棚板検出部132は、距離の差が所定の閾値未満であると判定した場合(S114:Yes)、第2の点及び第3の点が、それぞれ点群データ中の左右両端に到達するまで、S113に戻って処理を繰り返す(S115:No)。 When the shelf detection unit 132 determines that the distance difference is less than the predetermined threshold (S114: Yes), the second point and the third point reach the left and right ends in the point cloud data. , return to S113 and repeat the process (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 the left and right ends in the point group data (S115: Yes), the second point and the third point is detected as a shelf plate (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 specifies the next closest point on the median line (S117), and determines whether or not the y-coordinate of the point is equal to or greater than Ymax-h1 (S118). When the shelf detection unit 132 determines that the y-coordinate is less than Ymax-h1 (S118: No), the process returns to S113 and repeats the process. On the other hand, when the shelf detection unit 132 determines that the y-coordinate is equal to or greater than Ymax-h1 (S118: Yes), it 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 inventory determination processing according to the first embodiment. First, the inventory determination unit 134 determines whether or not the acquired depth is equal to or greater than the first threshold (S130). When the inventory determining 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 "in stock" (S132), and performs inventory detection processing. back to

一方、在庫判定部134は、深度が第1の閾値以上であると判定した場合(S130:Yes)、深度が第2の閾値以上であるか否かを判定する(S131)。在庫判定部134は、深度が第2の閾値未満であると判定した場合(S131:No)、対応する位置に陳列される商品は「品薄」であると判定し(S133)、在庫検出処理に戻る。 On the other hand, when the inventory determination unit 134 determines that the depth is greater than or equal to the first threshold (S130: Yes), it determines whether or not the depth is greater than or equal to the second threshold (S131). When the inventory 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 "shortage" (S133), and the inventory detection process return.

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

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

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

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

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

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

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

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

図15に示すように、直線611に対応する測定点691がペットボトルのラベルで覆われていない透明な部分である場合、当該測定点については距離を正しく取得することができない。このため、図15において、点群データにおける測定点691に対応する測距データ613は、距離が測定できなかったことを示す。 As shown in FIG. 15, if the measurement point 691 corresponding to the straight line 611 is a transparent portion that is not covered with the PET bottle label, the distance cannot be obtained correctly for that measurement point. Therefore, in FIG. 15, the 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 identifies a straight line 621 at a position moved upward by a predetermined coordinate from the straight line 611 . Then, the detection device 300 acquires distance measurement data at a specific x-coordinate measurement point 623 on the straight line 621 . In this case, since the portion 692 of the PET bottle 690 corresponding to the measurement point 623 is the portion covered with the label, distance measurement data at the measurement point 623 can be obtained.

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

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

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

[機能ブロック]
次に、本実施例における検出装置300の機能について、図17は、実施例2における検出装置の一例を示す図である。図17に示すように、本実施例における検出装置300は、外部I/F110と、記憶部320と、制御部330とを有する。なお、以下の実施例において、先に説明した図面に示す部位と同一の部位には同一の符号を付し、重複する説明は省略する。
[Function block]
Next, regarding 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 shown in FIG. 17 , the detection device 300 in this embodiment has an external I/F 110 , a storage section 320 and a control section 330 . In the following embodiments, the same reference numerals are given to the same parts as the parts shown in the previously described drawings, and overlapping explanations will be omitted.

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

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

深度DB322は、図7に示すような測距データから算出される深度を、棚における位置と、距離が測定された高さとに対応付けて記憶する。図19は、実施例2における深度DBの一例を示す図である。図19に示すように、深度DB322は、「棚番」と、「棚段」と、「x座標」と、「深度」とに加えて、さらに「測定高さ」を対応付けて記憶する。 The depth DB 322 stores the depth calculated from the distance measurement data shown in FIG. 7 in association with the position on the shelf and the height at which the distance was measured. FIG. 19 is a diagram illustrating an example of a depth DB according to the second embodiment; As shown in FIG. 19, the depth DB 322 stores "shelve number", "shelf level", "x-coordinate", and "depth" in association with "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 was measured. In the example shown in FIG. 19, for example, measurement height "1" indicates that the distance was obtained at a measurement point on line 611 shown in FIG. Indicates that the distance was obtained with a point. Note that "-" indicates that the distance could not be obtained at any measurement point. In the example shown in FIG. 19, the depth DB 322 acquires the distance at the measurement point on the straight line 611 at the x-coordinate "80" of the shelf number "1" and the x-coordinate "160" and " 240” stores that the distance was obtained 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 overall processing of the detection device 300 . The control unit 330 is implemented, for example, by executing a program stored in an internal storage device using a RAM as a work area by a CPU, MPU, or the like. Also, the control unit 330 may be implemented by an integrated circuit such as an ASIC or FPGA, for example.

制御部330は、距離取得部331、棚板検出部132、深度算出部333、在庫判定部334及び出力部135を有する。なお、距離取得部331、棚板検出部132、深度算出部333、在庫判定部334及び出力部135は、プロセッサが有する電子回路の一例やプロセッサが実行するプロセスの一例である。 The control unit 330 has 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 . Note that the distance acquisition unit 331, the shelf detection unit 132, the depth calculation unit 333, the inventory determination unit 334, and the output unit 135 are examples of electronic circuits possessed by the processor and processes executed by the processor.

距離取得部331は、測距データが取得できなかった場合、対象とした座標に対応付けて、測距データが取得されなかったことを示す情報を測距データDB321に記憶する。 When the distance measurement data cannot be acquired, the distance acquisition unit 331 stores information indicating that the distance measurement data has not been 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 when storing it in the depth DB 322, also stores the measurement height at which the distance measurement data used was acquired. If the distance measurement data at the measurement point cannot be obtained, the depth calculation unit 333 tries to calculate the depth again using the distance measurement data at a different measurement point.

深度算出部333は、例えば図15に示す直線611上の測定点において測距データを取得できない場合、所定の座標分上方向に移動した位置における直線621上の測定点において測距データを取得する。深度算出部333は、例えば直線621上の測定点において測距データが取得できた場合、当該測距データを用いて深度を算出し、測定点に対応する測定高さ「2」と対応付けて深度DB322に記憶する。 For example, when the distance measurement data cannot be acquired at the measurement point on the straight line 611 shown in FIG. . 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 it with the measured height "2" corresponding to the measurement point. Store in the depth DB 322 .

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

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

図20は、実施例2における在庫検出処理の一例を示すフローチャートである。図20に示すように、実施例2における在庫検出処理においては、図12に示すS12及びS13の代わりに、深度特定処理を実行する(S22)。 FIG. 20 is a flow chart showing an example of inventory detection processing in the second embodiment. As shown in FIG. 20, in the inventory detection process in the second embodiment, depth specifying 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 illustrating an example of depth identification processing according to the second embodiment. First, the depth calculator 333 identifies 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 has been acquired at the measurement point on the specified straight line (S222).

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

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

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

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

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

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

また、図7においては、深度算出部133が、例えば深度を算出後、右方向に「80」づつ移動する場合における算出結果を記憶するが、移動する座標は一例であり、例えば棚の幅や商品の幅に応じて適宜変更してもよい。 Also, in FIG. 7, the depth calculation unit 133 stores the calculation result when, for example, after calculating the depth, it moves rightward by "80". You may change suitably according to the width of goods.

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

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

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

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

ところで、上記の実施例で説明した各種の処理は、予め用意されたプログラムをコンピュータで実行することで実現できる。そこで、以下では、上記の実施例と同様の機能を有するプログラムを実行するコンピュータの一例を説明する。図22は、検出プログラムを実行するコンピュータの一例を示す図である。なお、以下においては、実施例1における検出装置100を例として説明するが、実施例3における検出装置300についても同様のコンピュータにより実現できる。 By the way, the various processes described in the above embodiments can be realized by executing a prepared program on a computer. Therefore, an example of a computer that executes a program having functions similar to those of the above embodiments will be described below. FIG. 22 is a diagram illustrating an example of a computer that executes a detection program; Although the detection device 100 according to the first embodiment will be described below as an example, the detection device 300 according to the third embodiment can also be realized by a similar computer.

図22が示すように、コンピュータ200は、各種演算処理を実行するCPU201と、データ入力を受け付ける入力装置202と、モニタ203とを有する。また、コンピュータ200は、記憶媒体からプログラム等を読み取る媒体読取装置204と、各種装置と接続するためのインタフェース装置205と、他の情報処理装置等と有線または無線により接続するための通信装置206とを有する。また、コンピュータ200は、各種情報を一時記憶するRAM207と、ハードディスク装置208とを有する。また、各装置201~208は、バス209に接続される。 As shown in FIG. 22, the computer 200 has a CPU 201 that executes various arithmetic processes, an input device 202 that receives data input, and a monitor 203 . The computer 200 also includes a medium reading device 204 for reading programs and the like from a storage medium, an interface device 205 for connecting to various devices, and a communication device 206 for connecting to other information processing devices by wire or wirelessly. have The computer 200 also has a RAM 207 that temporarily stores various information, and a hard disk device 208 . Each device 201 - 208 is also connected to a 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 device 208 stores a detection program having the same functions as the distance acquisition unit 131, the shelf board detection unit 132, the depth calculation unit 133, the inventory determination unit 134, and the output unit 135 shown in FIG. be. The hard disk device 208 also stores a distance measurement data DB 121, a depth DB 122, a planogram DB 123, and various data for implementing the detection program. The input device 202 receives input of various information such as management information from an administrator of the computer 200, for example. The monitor 203 displays, for example, management information screens 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, is connected to an external device having a sensor such as a camera or a distance measuring sensor, and exchanges various information. The communication device 206 has, for example, the same functions as the external I/F 110 shown in FIG. 5, is connected to an external database or the like, and exchanges various information.

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

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

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 section 121, 321 ranging data DB
122, 322 Depth DB
123 Planogram DB
130, 330 control unit 131, 331 distance acquisition unit 132 shelf board detection unit 133, 333 depth calculation unit 134, 334 inventory determination unit 135 output unit

Claims (10)

測距センサの位置を示す基準点から商品が陳列される棚に含まれる測定点までの距離に関する情報を用いて、前記基準点からの距離が最も近い測定点から左右方向の測定点を特定して前記棚の棚板を検出し、
前記基準点から前記棚に含まれる測定点までの距離に関する情報を用いて、前記基準点から検出された前記棚板から上方向の測定点までの距離と、前記基準点から前記棚板までの最短距離との差分を、前記上方向の測定点における、前記棚板からの深度として算出し、
前記深度の深さに応じて、深度を算出した前記上方向の測定点に対応する位置における商品の在庫状況を判定する
処理をコンピュータに実行させることを特徴とする在庫検出プログラム。
Using the information about the distance from the reference point indicating the position of the distance measuring sensor to the measurement points included in the shelves where the products are displayed, the measurement points in the left and right direction are specified from the measurement points closest to the reference point. to detect the shelf plate of the shelf,
Using information about the distance from the reference point to the measurement point included in the shelf, the distance from the shelf board detected from the reference point to the measurement point in the upward direction, and the distance from the reference point to the shelf board Calculate the difference from the shortest distance as the depth from the shelf board at the measurement point in the upward direction ,
An inventory detection program that causes a computer to execute a process of determining an inventory status of a product at a position corresponding to the upward measuring point from which the depth is calculated, according to the depth of the depth.
前記判定する処理の結果を出力する処理をさらに前記コンピュータに実行させ、
前記判定する処理は、前記深度が第1の閾値以上第2の閾値未満である場合は、前記商品が品薄であると判定し、前記深度が第2の閾値以上である場合は、前記商品が品切れであると判定することを特徴とする請求項1に記載の在庫検出プログラム。
causing the computer to further execute a process of outputting the result of the determination process;
The determination processing determines that the product is in short supply when the depth is greater than or equal to a first threshold and less than a second threshold, and determines that the product is out of stock when the depth is greater than or equal to the second threshold. 2. The inventory detection program according to claim 1, wherein it is determined that the product is out of stock.
前記出力する処理は、測定点における棚板の位置、前記測定点に対応する位置および前記測定点における前記棚板からの深度を記憶する深度データと、前記棚板に陳列された商品の陳列位置を記憶する棚割データとを照合することにより、前記測定点における棚板の位置及び前記測定点に対応する位置に陳列される商品を特定し、特定した商品の在庫の判定結果を出力する処理をさらに前記コンピュータに実行させることを特徴とする請求項2に記載の在庫検出プログラム。 The output processing includes depth data storing the position of the shelf board at the measurement point, the position corresponding to the measurement point, and the depth from the shelf board at the measurement point, and the display positions of the products displayed on the shelf board. A process of identifying the position of the shelf board at the measurement point and the product displayed at the position corresponding to the measurement point by collating with the stored planogram data, and outputting the inventory determination result of the identified product 3. The inventory detection program according to claim 2, further causing said computer to execute: 前記検出する処理は、前記基準点からの距離に関する情報として取得された点群データの左右方向の中央部分において、最も前記基準点からの距離が近いと判定される第1の点を特定し、前記第1の点の左右方向に所定の座標分移動した第2の点及び第3の点を特定し、前記第2の点及び第3の点のそれぞれにおける前記基準点からの距離と、前記第1の点における前記基準点からの距離との差が、所定の閾値未満であれば、さらに左右方向に所定の座標文移動した前記第2の点及び前記第3の点を新たに特定し、前記第2の点及び前記第3の点が前記点群データの左右方向の両端においてそれぞれ検出された場合、前記第2の点と前記第3の点とを結ぶ直線を前記棚板として特定することを特徴とする請求項1乃至3のいずれか1つに記載の在庫検出プログラム。 In the detecting process, a first point determined to be closest to the reference point is specified in the central portion in the horizontal direction of the point cloud data acquired as information about the distance from the reference point, A second point and a third point that are moved by a predetermined coordinate in the left-right direction of the first point are specified, and the distance from the reference point at each of the second point and the third point; If the difference between the first point and the distance from the reference point is less than a predetermined threshold value, the second point and the third point, which are moved horizontally by a predetermined coordinate sentence, are newly specified. , when the second point and the third point are detected at both ends of the point group data in the horizontal direction, a straight line connecting the second point and the third point is specified as the shelf board. 4. The inventory detection program according to any one of claims 1 to 3, characterized by: 前記検出する処理は、前記棚板が特定された場合、又は前記第2の点若しくは前記第3の点が特定されなかった場合、前記点群データの左右方向の中央において、次に前記基準点からの距離が近いと判定される点を新たに前記第1の点とすることを特徴とする請求項4に記載の在庫検出プログラム。 In the detecting process, when the shelf board is specified, or when the second point or the third point is not specified, at the center in the horizontal direction of the point cloud data, then the reference point 5. The inventory detection program according to claim 4, wherein a point determined to be close to the first point is newly set as the first point. 前記検出する処理を、前記点群データの上下方向の下端の点から開始し、前記点群データの上下方向の上端から所定の座標分移動した点に到達するまで繰り返し前記コンピュータに実行させることを特徴とする請求項5に記載の在庫検出プログラム。 causing the computer to repeatedly execute the detection process, starting from a lower end point in the vertical direction of the point cloud data, until reaching a point moved by a predetermined coordinate from the upper end in the vertical direction of the point cloud data; 6. An inventory detection program according to claim 5. 前記算出する処理は、前記棚板より上方向に所定の座標分移動した第1の測定点を特定し、前記基準点から前記第1の測定点までの距離に関する情報と、前記棚板までの距離に関する情報との差分を、前記深度として算出することを特徴とする請求項1乃至6のいずれか1つに記載の在庫検出プログラム。 The calculating process specifies a first measurement point moved upward by a predetermined coordinate from the shelf board, information on the distance from the reference point to the first measurement point, and information on the distance to the shelf board. 7. The stock detection program according to any one of claims 1 to 6, wherein a difference from distance information is calculated as the depth. 前記算出する処理は、前記第1の測定点において前記深度を特定できない場合、前記第1の測定点からさらに上方向に所定の座標分移動した第2の測定点を特定し、前記基準点から前記第2の測定点までの距離に関する情報と、前記棚板までの距離に関する情報との差分を、前記深度として算出することを特徴とする請求項7に記載の在庫検出プログラム。 In the calculating process, when the depth cannot be specified at the first measurement point, a second measurement point further moved upward by a predetermined coordinate from the first measurement point is specified, and the depth is determined from the reference point. 8. The stock detection program according to claim 7, wherein the depth is calculated as a difference between the information on the distance to the second measurement point and the information on the distance to the shelf board. コンピュータが、
測距センサの位置を示す基準点から商品が陳列される棚に含まれる測定点までの距離に関する情報を用いて、前記基準点からの距離が最も近い測定点から左右方向の測定点を特定して前記棚の棚板を検出し、
前記基準点から前記棚に含まれる測定点までの距離に関する情報を用いて、前記基準点から検出された前記棚板から上方向の測定点までの距離と、前記基準点から前記棚板までの最短距離との差分を、前記上方向の測定点における、前記棚板からの深度として算出し、
前記深度の深さに応じて、深度を算出した前記上方向の測定点に対応する位置における商品の在庫状況を判定する
処理を実行することを特徴とする在庫検出方法。
the computer
Using information about the distance from the reference point indicating the position of the distance measuring sensor to the measurement points included in the shelves where the products are displayed, the measurement points in the horizontal direction are specified from the measurement points closest to the reference point. to detect the shelf plate of the shelf,
Using information about the distance from the reference point to the measurement point included in the shelf, the distance from the shelf board detected from the reference point to the measurement point in the upward direction, and the distance from the reference point to the shelf board Calculate the difference from the shortest distance as the depth from the shelf board at the measurement point in the upward direction ,
An inventory detection method, comprising: determining an inventory status of a product at a position corresponding to the upward measuring point from which the depth is calculated, according to the depth of the depth.
測距センサの位置を示す基準点から商品が陳列される棚に含まれる測定点までの距離に関する情報を用いて、前記基準点からの距離が最も近い測定点から左右方向の測定点を特定して前記棚の棚板を検出する検出部と、
前記基準点から前記棚に含まれる測定点までの距離に関する情報を用いて、前記基準点から検出された前記棚板から上方向の測定点までの距離と、前記基準点から前記棚板までの最短距離との差分を、前記上方向の測定点における、前記棚板からの深度として算出する算出部と、
前記深度の深さに応じて、深度を算出した前記上方向の測定点に対応する位置における商品の在庫状況を判定する判定部と
を有することを特徴とする在庫検出装置。
Using the information about the distance from the reference point indicating the position of the distance measuring sensor to the measurement points included in the shelves where the products are displayed, the measurement points in the left and right direction are specified from the measurement points closest to the reference point. a detection unit that detects the shelf plate of the shelf by
Using information about the distance from the reference point to the measurement point included in the shelf, the distance from the shelf board detected from the reference point to the measurement point in the upward direction, and the distance from the reference point to the shelf board a calculation unit that calculates the difference from the shortest distance as the depth from the shelf board at the measurement point in the upward direction ;
and a determination unit that determines, according to the depth of the depth, the inventory status of the product at a position corresponding to the measurement point in the upward direction from which the depth is calculated.
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 JP2019096162A (en) 2019-06-20
JP7130945B2 true 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)

Families Citing this family (2)

* 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
US20230306744A1 (en) * 2020-07-31 2023-09-28 Nec Corporation Learning model generation device, learning model generation method, and recording medium

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

Also Published As

Publication number Publication date
JP2019096162A (en) 2019-06-20

Similar Documents

Publication Publication Date Title
CN109446883B (en) Commodity state identification method and device, electronic equipment and readable storage medium
US11587029B2 (en) Determining product placement compliance
US10387947B2 (en) Location assignment system and method
US11640576B2 (en) Shelf monitoring device, shelf monitoring method, and shelf monitoring program
JP6897555B2 (en) Information processing equipment, control methods, and programs
US9928438B2 (en) High accuracy localization system and method for retail store profiling via product image recognition and its corresponding dimension database
JP7024351B2 (en) Shelf allocation generation program, shelf allocation generation method and shelf allocation generation device
WO2019165892A1 (en) Automatic vending method and apparatus, and computer-readable storage medium
CN109001748B (en) Target object and article association method, device and system
WO2019087792A1 (en) Shelf label detection device, shelf label detection method, and shelf label detection program
KR20190032284A (en) A method for tracking the placement of a product on a store shelf
US20160048732A1 (en) Displaying information relating to a designated marker
US20150213498A1 (en) Method and apparatus for providing product information
CN111161346B (en) Method and device for layering commodities in goods shelves and electronic equipment
JP2018131331A (en) Article management device and article management method
JP7130945B2 (en) Inventory detection program, inventory detection method and inventory detection device
JP2024040297A (en) Article estimation device, article estimation method, and program
JP7459947B2 (en) Commodity detection device, commodity detection system, commodity detection method and commodity detection program
US11030575B2 (en) Smart item monitoring system
CN115359117B (en) Commodity display position determining method, commodity display position determining device and readable storage medium
JPWO2019064926A1 (en) Information processing equipment, information processing methods, and programs
CN113269053A (en) Commodity shelf-level acquisition method, terminal and storage device
CN111783627A (en) Commodity stock determining method, device and equipment
US20240135319A1 (en) Methods and apparatus for machine learning system for edge computer vision and active reality
US20240112136A1 (en) Methods and apparatus for machine learning system for edge computer vision and active reality

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