Vending machine

By using the photography part and the control part in the vending machine to determine the corresponding relationship and posture between the goods lane and the product, the problem of sales failure caused by poor correspondence between the goods lane and the product or poor posture in the prior art is solved, and a higher level of efficiency is achieved. Product sales reliability and user quick response.

CN118675262APending Publication Date: 2024-09-20FUJI ELECTRIC CO LTD
View PDF 25 Cites 0 Cited by

Patent Information

Application Number
CN202410161948.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2024-02-05
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In existing vending machines, if there is a poor correspondence between the goods lane and the product set by the user or the product is in a bad posture, the product may not be moved out of the goods lane, causing sales failure.

Method used

By installing a photography unit in the vending machine, the corresponding relationship between the aisle and the product and the posture of the product are determined based on the captured image of the aisle. The control unit can make corresponding modifications or stop sales to prevent the product from not being moved from the aisle. .

Benefits of technology

It effectively suppresses sales failures caused by products not being moved out of the aisle, improves the reliability of product sales and users' quick response capabilities, and reduces the loss of product sales opportunities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675262A
    Figure CN118675262A
Patent Text Reader

Abstract

The invention provides a vending machine. The vending machine is provided with: a storage compartment including a plurality of channels for storing goods; an image capturing unit that captures an image of the storage; and a control unit that determines the correspondence between the channel and the product, or determines the posture of the product, on the basis of the image of the channel captured by the image capturing unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an automatic vending machine, and in particular to an automatic vending machine having a storage room and a photographing unit, wherein the storage room includes a plurality of aisles for storing commodities, and the photographing unit photographs the storage room. Background Art

[0002] Conventionally, there is known a vending machine having a storage room including a plurality of aisles for storing commodities and a photographing unit for photographing the storage room. Such a vending machine is disclosed in Japanese Patent Application Laid-Open No. 2020-21367, for example.

[0003] The above-mentioned Japanese Patent Publication No. 2020-21367 discloses a vending machine, which includes: a storage room in which a plurality of aisles for placing goods are arranged; a determination member detection unit including a photographing unit; and a sold-out determination unit. The above-mentioned Japanese Patent Publication No. 2020-21367 discloses that the photographing unit detects the sold-out determination member provided in the aisle. In addition, the Japanese Patent Publication No. 2020-21367 discloses that the sold-out determination unit determines whether the goods are sold out for each aisle based on the detection result of the sold-out determination member by the photographing unit.

[0004] Although not disclosed in the above-mentioned Japanese Patent Publication No. 2020-21367, a sales failure may occur in which the goods purchased by the purchaser are not moved out of the aisle to the outlet for taking out the goods, because the aisle set by the user is too narrow for the goods, or the goods are arranged in a tilted state relative to the aisle. In the event of a sales failure, the purchaser cannot receive the goods even though he has purchased them. Therefore, a vending machine that can suppress the occurrence of sales failures in which the purchased goods are not moved out of the aisle is desired. Summary of the invention

[0005] The present invention is made to solve the above-mentioned problems, and one object of the present invention is to provide a vending machine that can suppress the occurrence of sales failures in which purchased goods are not removed from the aisle.

[0006] In order to achieve the above-mentioned purpose, a vending machine according to one aspect of the present invention comprises: a storage room including a plurality of aisles for storing goods; a photographing unit for photographing the storage room; and a control unit for determining the correspondence between the aisles and the goods, or determining the posture of the goods, based on the images of the aisles taken by the photographing unit.

[0007] In the vending machine of one aspect of the present invention, as described above, the control unit determines the correspondence between the aisle and the goods, or determines the posture of the goods, based on the image of the aisle taken by the photographic unit. Thus, the control unit can determine the correspondence between the aisle and the goods based on the image of the aisle taken by the photographic unit. Alternatively, the control unit can determine the posture of the goods based on the image of the aisle taken by the photographic unit. As a result, based on the determination result of the control unit, it is possible to modify the aisles set for the goods, modify the posture of the goods in the aisles, or stop selling the goods in the aisles that are determined to have a poor correspondence between the aisles and the goods or in the aisles that are determined to have a poor posture of the goods. Therefore, it is possible to suppress the occurrence of sales failures in which the purchased goods are not moved out of the aisles.

[0008] In the vending machine of one aspect above, it is preferred that the control unit notifies the user that the determination result is a negative result, at least when the determination result is a negative result. If configured in this way, when the determination result of the correspondence between the aisle and the product is a negative result, or when the determination result of the posture of the product is a negative result, the user can understand the negative determination result. Thus, the user can quickly implement modifications to the aisles set for the products, or modifications to the posture of the products in the aisles, etc. based on the notification of the negative determination result. As a result, the loss of sales opportunities for the products can be suppressed. Here, in this specification, the user refers to at least any one of the manager of the vending machine, the person who sets the aisles of the vending machine, and the person who fills the vending machine with products.

[0009] In the vending machine of one aspect described above, it is preferred that the control unit determines whether the set aisle is good for the goods based on the aisle-goods correspondence information obtained by associating the aisle with the size of the goods, and the image of the aisle. If configured in this way, the correspondence between the aisle and the goods can be determined based on the aisle-goods correspondence information obtained by associating the aisle with the size of the goods, and the image of the aisle, so it is easy to determine whether the set aisle is good for the goods. As a result, based on the determination result of the control unit, the set aisles can be modified for the goods, and the sales of the goods in the aisles determined to have a poor correspondence between the aisles and the goods can be stopped. Therefore, the occurrence of sales failures in which the purchased goods are not moved out of the aisles can be further suppressed.

[0010] In this case, it is preferred that the control unit determines whether the set aisle is good based on the aisle-product correspondence information, and the image before the product is arranged and the image when the product is sold taken by the photographic unit, wherein the image before the product is arranged is an image of the aisle before the product is arranged, and the image when the product is sold is an image of the aisle and the products stored in the aisle when the products are sold. If it is constructed like this, the correspondence between the aisle and the product can be determined based on the image before the product is arranged and the image when the product is sold, wherein the image before the product is arranged is an image of the aisle before the product is arranged, and the image when the product is sold is an image of the aisle and the products stored in the aisle when the products are sold. Thus, it is possible to determine whether the currently set aisle is good based on the image before the product is arranged and the image when the product is sold. As a result, it is possible to determine with high accuracy whether the set aisle is good for the product.

[0011] In the above-mentioned structure in which the control unit determines whether the aisle is good based on the aisle-product correspondence information, the image before the product is arranged, and the image when the product is sold, it is preferred that the control unit obtains aisle information related to the aisle and product size information related to the size of the product based on the image before the product is arranged and the image when the product is sold, and determines whether the set aisle is good based on the aisle-product correspondence information and the obtained aisle information and product size information. If constructed like this, the correspondence between the aisle and the product can be determined based on the aisle information related to the aisle and the product size information related to the size of the product. Thus, it is possible to determine whether the currently set aisle is good based on the aisle information and the product size information. As a result, it is possible to determine with higher accuracy whether the set aisle is good for the product.

[0012] In this case, it is preferred that the storage includes: a partition plate for separating adjacent aisles in the left-right direction; and a spiral member that is spirally wound and extends in the front-to-back direction, and the aisle-goods correspondence information and the aisle information include at least one of the number of spiral members configured in one aisle, the pitch of the spirals of the spiral members, and the spacing of the partition plates that separate the aisles. If constructed like this, at least one of the above information is included in the aisle-goods correspondence information and the aisle information. Thus, it is possible to determine whether the currently set aisle is good based on at least one of the above information included in the aisle-goods correspondence information and the aisle information. As a result, it is possible to further determine whether the aisle is good with high accuracy.

[0013] In the structure where the above-mentioned aisle commodity corresponding information and the aisle information include at least one of the above-mentioned information, it is preferred that, when the number of spiral members configured in one aisle is multiple, the control unit further obtains the position information of the front end portions of each of the multiple spiral members based on the image when the commodity is sold, and further determines whether the positional relationship between the front ends is good based on the positional information of the front ends obtained. If constructed like this, the control unit can further determine whether the positional relationship between the front ends of each of the multiple spiral members is good. Thus, it is possible to modify the position of the front end portion of the spiral member when it is determined that the determination result is a negative result, so that the poor carrying out of the commodity caused by the misalignment of the positions of the front ends of each of the multiple spiral members can be suppressed. As a result, the loss of sales opportunities of the commodity can be further suppressed.

[0014] In the vending machine of the above-mentioned aspect, it is preferred that the control unit obtains storage posture information related to the posture of the stored goods based on the image of the aisle and the goods stored in the aisle when the goods are sold, that is, the image of the goods when the goods are sold, and normal posture information related to the posture of the normal goods, and determines whether the posture of the goods in the aisle is good based on the acquired storage posture information and normal posture information. If it is configured in this way, the posture of the goods in the aisle can be determined based on the acquired storage posture information and normal posture information, so it is easy to determine whether the posture of the goods in the aisle is good compared to the case where the posture of the goods in the aisle is determined to be good only based on the storage posture information. As a result, the posture of the goods in the aisle can be modified, and the sale of the goods in the aisle determined to have a bad posture can be stopped, etc. based on the determination result of the control unit. Therefore, the occurrence of sales failures in which the purchased goods are not moved out of the aisle can be further suppressed.

[0015] In this case, it is preferred that the control unit acquires product shape information related to the shape of the product based on the product image when the product is sold, acquires storage posture information based on the acquired product shape information and the product image when the product is sold, and acquires normal posture information based on the storage posture information, and the control unit determines whether the posture of the product in the aisle is good based on the acquired storage posture information and the normal posture information. If configured in this way, the storage posture information can be acquired based on the product shape information acquired from the product image when the product is sold, and the product image when the product is sold, so that the storage posture information corresponding to the shape of the product can be acquired, and the normal posture information can be acquired based on the storage posture information corresponding to the shape of the product. As a result, it is possible to determine whether the posture of the product in the aisle is good based on the storage posture information and the normal posture information. Therefore, it is possible to determine with high accuracy whether the posture of the product in the aisle corresponding to the shape of the product is good.

[0016] In the structure in which the control unit acquires the storage posture information based on the product shape information and the product sales image, and acquires the normal posture information based on the storage posture information, it is preferred that the control unit acquires the difference between the acquired storage posture information and the normal posture information, and when the acquired difference exceeds a preset threshold, the posture of the product is determined to be bad. If configured in this way, the posture of the product can be determined to be bad when the acquired difference exceeds a preset threshold. As a result, it is possible to more accurately determine whether the posture of the product in the aisle corresponding to the shape of the product is good.

[0017] In the above-mentioned structure in which the control unit determines whether the posture of the goods in the aisle is good based on the storage posture information and the normal posture information, it is preferable that the control unit performs control to stop the sale of the goods in the aisle when the determination result is that the posture of the goods is bad. If it is configured in this way, the sale of the goods in the aisle determined as the result of the determination that the posture of the goods is bad can be stopped. As a result, the occurrence of sales failures in which the purchased goods are not moved out of the aisle can be reliably suppressed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a block diagram showing the configuration of an automatic vending machine system including the automatic vending machine according to the first embodiment.

[0019] Figure 2 This is a schematic diagram showing an example of a vending machine.

[0020] Figure 3 This is a schematic diagram showing an example of an image before product placement.

[0021] Figure 4 This is a schematic diagram showing an example of an image when a product is sold.

[0022] Figure 5 This is an explanatory diagram for explaining an example of cargo lane information.

[0023] Figure 6 This is an explanatory diagram for explaining an example of product size information.

[0024] Figure 7 This is an explanatory diagram for explaining an example of channel-product correspondence information.

[0025] Figure 8 This is an explanatory diagram for explaining an example of a determination result obtained by the determination unit as to whether a cargo lane is good or not.

[0026] Fig. 9 This is an explanatory diagram for explaining a display example on the display unit when the determination result of the determination unit is good.

[0027] Fig.10This is an explanatory diagram for explaining an example of display on the display unit when the result of determination as to whether the cargo lane is good or not is bad.

[0028] Fig.11 This is a flowchart for explaining the process of determining whether a cargo lane is good.

[0029] Fig.12 It is a schematic diagram for explaining the storage posture shape when the box shape is used.

[0030] Fig.13 It is a schematic diagram for explaining the storage posture shape when the first container shape is used.

[0031] Fig.14 It is a schematic diagram for explaining the storage posture shape when the second container shape is used.

[0032] Fig.15 This is a schematic diagram for explaining the normal posture shape when the box shape is used.

[0033] Fig.16 It is a schematic diagram for explaining the normal posture shape of the first container shape.

[0034] Fig.17 It is a schematic diagram for explaining the normal posture shape of the second container shape.

[0035] Fig.18 This is an explanatory diagram for explaining an example of display on the display unit when the result of determination as to whether the posture of the product is good or not is bad.

[0036] Fig.19 This is a flowchart for explaining the process of determining whether the posture of the product is good or not.

[0037] Fig. 20 It is a block diagram showing the structure of an automatic vending machine system including an automatic vending machine according to the second embodiment.

[0038] Fig.21 It is a schematic diagram of the feature quantity distribution.

[0039] Fig. 22 This is a diagram for explaining that there is no product image.

[0040] Fig.23 This is a schematic diagram showing an example of an image before commodity placement for explaining image correction when commodity is sold.

[0041] Fig.24 1 is a schematic diagram showing an example of a commodity selling image for explaining correction of the commodity selling image.

[0042] Fig.25 1 is a schematic diagram showing an example of a corrected commodity sales image.

[0043] Fig.26 This is a flowchart for explaining the process of determining whether a product is present or not.

[0044] Fig. 27 This is a flowchart for explaining the acquisition process of the first configuration information.

[0045] Fig.28 This is a flowchart for explaining the acquisition process of the second configuration information. DETAILED DESCRIPTION

[0046] Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[0047] [First embodiment]

[0048] (Structure of vending machine system)

[0049] First, refer to Figure 1 to Figure 4 The configuration of the automatic vending machine system 200 according to the first embodiment will be described.

[0050] like Figure 1 As shown, the vending machine system 200 includes the vending machine 100 and the terminal device 90. The vending machine 100 and the terminal device 90 can communicate with each other via a communication network 95. The terminal device 90 is an example of a "display device" described in the claims.

[0051] (Structure of vending machine)

[0052] The vending machine 100 includes a storage 1, a camera 2, a vending machine-side control unit 10, a storage unit 30, a vending machine-side communication unit 3, and a conveying unit 4 as hardware. Figure 2 As shown, the vending machine 100 includes a housing 101 and a door 102. A storage 1 is arranged inside the housing 101. The vending machine-side control unit 10 is an example of a "control unit" described in the claims.

[0053] like Figure 3 As shown, the storage room 1 has a plurality of divided aisles 5, and the interior of the plurality of aisles 5 is used to arrange commodities 80. The storage room 1 includes: a partition plate 6, which is used to separate the aisles 5 adjacent to each other in the left-right direction; and a spiral member 7, and one or more of the spiral members 7 are respectively arranged in the plurality of divided aisles 5. In the first embodiment, one or two spiral members 7 are respectively provided in the plurality of aisles 5 divided by the partition plate 6.

[0054] In the aisle 5 provided with a plurality of spiral members 7, the partition plates 6 provided therein can be moved in any direction in the left-right direction to adjust the interval in the left-right direction of the aisle 5. In the first embodiment, in the aisle 5 provided with two spiral members 7, by adjusting the movement of the partition plates 6 provided therein, any of aisles 5 can be provided, such as a wide aisle 5 having a wide width in the left-right direction of the aisle 5, a narrow aisle 5 having a narrow width in the left-right direction of the aisle 5, and a standard aisle 5 having a width narrower than the wide aisle 5 and wider than the narrow aisle 5.

[0055] like Figure 2 As shown, the spiral member 7 is arranged to be wound in a spiral shape and to extend in the front-rear direction of the aisle 5. The spiral member 7 is provided to carry out the commodity 80 arranged in the aisle 5 to the conveying unit 4.

[0056] The photographing unit 2 is configured to photograph an image 20 before the product is arranged (see Figure 3 ) and product sales image 21 (refer to Figure 4 ), wherein the image 20 before the goods are arranged is an image of the aisle 5 before the goods are arranged, and the image 21 when the goods are sold is an image of the aisle 5 and the goods 80 stored in the aisle 5 when the goods are sold. The photographing unit 2 includes two cameras. The photographing unit 2 is arranged on the conveying unit 4. Specifically, one camera of the photographing unit 2 is arranged on each of the non-rotating parts of the left and right ends of the conveying unit 4. The photographing unit 2 is configured to be able to obtain aisle information 32 related to the aisle 5 and product size information 33 related to the size of the product 80 based on the two cameras. In addition, the photographing unit 2 may not be two cameras, but a stereo camera.

[0057] After the user sets the aisle 5 and before the user arranges the products 80 in the aisle 5, the photographing unit 2 photographs the product arrangement pre-image 20. Specifically, after the aisle 5 is set and before the products are arranged, the photographing unit 2 photographs the product arrangement pre-image 20 based on the user's input operation on the remote controller (not shown).

[0058] In addition, after the user arranges the commodity 80 in the aisle 5, the photographing unit 2 photographs the commodity sale image 21. Specifically, based on the fact that the door 102 of the vending machine 100 is closed and the door switch is turned on after the user arranges the commodity, the photographing unit 2 photographs the commodity sale image 21. In addition, after the commodity purchaser purchases the commodity 80, the photographing unit 2 photographs the commodity sale image 21. Specifically, based on the fact that the commodity purchaser purchases the commodity 80, the photographing unit 2 photographs the commodity sale image 21.

[0059] like Figure 1As shown, the vending machine side control unit 10 includes a determination unit 11, a passage information acquisition unit 12, a product appearance acquisition unit 13, an image processing unit 14, a product shape acquisition unit 15, and an action control unit 16 as software (software program). The vending machine side control unit 10 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a GPU (Graphics Processing Unit), or an FPGA (Field-Programmable Gate Array) configured for image processing, etc. In addition, the vending machine side control unit 10 including the determination unit 11, the passage information acquisition unit 12, the product appearance acquisition unit 13, the image processing unit 14, the product shape acquisition unit 15, and the action control unit 16 is an example of the "control unit" in the claims.

[0060] The determination unit 11 is configured to determine whether the aisle 5 provided is good for the product 80 based on the aisle product correspondence information 31 (described later) obtained by associating the aisle 5 with the size of the product 80, the product pre-arrangement image 20, and the product sales image 21. In addition, the determination unit 11 is configured to determine whether the posture of the product 80 in the aisle 5 is good based on the storage posture information 35 and the normal posture information 36 (described later). The determination of whether the aisle 5 is good and the determination of whether the posture of the product 80 in the aisle 5 is good by the determination unit 11 will be described later.

[0061] The channel information acquisition unit 12 is configured to acquire channel information 32 related to the channel 5 based on the product arrangement pre-image 20. Figure 5 As shown, the aisle information acquisition unit 12 acquires information on the number of spiral members 7 arranged in one aisle 5, the pitch of the spirals of the spiral members 7, and the interval of the partition plates 6 that partition the aisles 5. The aisle information acquisition unit 12 acquires the distance from the partition plates 6 and spiral members 7 provided in the aisles 5 based on the parallax of the two cameras included in the photographing unit 2, and acquires the position and size of the partition plates 6 and spiral members 7 based on the acquired distance. When the image 20 before the product arrangement is taken by the photographing unit 2, the aisle information acquisition unit 12 acquires the aisle information 32 based on the image 20 before the product arrangement is taken.

[0062] The product shape acquisition unit 13 is configured to acquire product size information 33 related to the size of the product 80 based on the product sales image 21. The product shape acquisition unit 13 acquires the product size information 33 of the product 80 arranged at the front of the aisle 5 for each of the plurality of aisles 5. For example, Figure 6 As shown, the product shape acquisition unit 13 acquires information on the size of the product 80 in the width direction, the size of the product 80 in the height direction, and the size of the product 80 in the depth direction. The product shape acquisition unit 13 acquires the distance related to the product 80 arranged at the front of the aisle 5 based on the parallax of the two cameras included in the photographing unit 2, and acquires information related to the size of the product 80 based on the acquired distance. In addition, the product shape acquisition unit 13 acquires storage posture information 35 including information on vertex coordinates of the outline of the product 80 based on the product shape information 34 acquired by the product shape acquisition unit 15 and the product sales image 21 captured by the photographing unit 2. The details of the storage posture information 35 acquired by the product shape acquisition unit 13 will be described later. The product shape acquisition unit 13 acquires the product size information 33 of the product 80 based on the information related to the size of the product 80 based on the above distance and the storage posture information 35.

[0063] Furthermore, the product appearance acquisition unit 13 is configured to acquire the normal posture information 36 based on the acquired storage posture information 35 .

[0064] When the photographing unit 2 captures a product sales image 21 based on the situation that the door 102 of the vending machine 100 is closed and the door switch is turned on after the user arranges the product, the product appearance acquisition unit 13 acquires the product size information 33 based on the captured product sales image 21.

[0065] In addition, when the number of spiral members 7 arranged in one aisle 5 is plural, the product appearance acquisition unit 13 further acquires the position information of the front end portions 7a of the plurality of spiral members 7 based on the product sales image 21. Figure 6 As shown, the product appearance acquisition unit 13 acquires information related to good or bad as the position information of the front end portion 7a, wherein good is the position of the front end portion 7a of each of the plurality of spiral members 7 (refer to Figure 4 ) is aligned, and the defect is that the position of the front end portion 7a is not aligned. Here, the position alignment of the front end portions 7a of each of the plurality of spiral members 7 means that the position of the front end portions 7a of each of the plurality of spiral members 7 is arranged at a position that is line-symmetrical with respect to the center line extending in the vertical direction of the cargo lane 5.

[0066] The product shape acquisition unit 15 is configured to acquire product shape information 34 related to the shape of the product 80 based on the product sales image 21. The product shape acquisition unit 15 is configured to acquire the product shape information 34 of the product 80 arranged at the front of the aisle 5 using the first learned model 37. Specifically, the product shape acquisition unit 15 inputs the product sales image 21 of each aisle 5 as an input image to the first learned model 37, and acquires the product shape information 34 of the product 80 arranged at the front of the aisle 5 as an output result.

[0067] When the photographing unit 2 captures the product-selling image 21 based on the fact that the door 102 of the vending machine 100 is closed after the user arranges the product, the product shape acquisition unit 15 acquires the product shape information 34 based on the captured product-selling image 21. When the photographing unit 2 captures the product-selling image 21 based on the fact that the product purchaser purchases the product 80, the product shape acquisition unit 15 acquires the product shape information 34 based on the captured product-selling image 21.

[0068] The image processing unit 14 is configured to perform processing to extract a region corresponding to the aisle 5 where the product 80 is sold from the product sales image 21 captured by the photographing unit 2. Specifically, the image processing unit 14 generates an extracted image 70 (see Fig.12 ), the extracted image 70 is a commodity sales image 21 obtained by photographing a plurality of aisles 5 arranged on two layers in the vertical direction (see Figure 4 ) is obtained by extracting an area corresponding to the aisle 5 where the product 80 is sold. In addition, the image processing unit 14 is configured to generate the extracted image 70 by cutting out an area of ​​each aisle 5 from the product sales image 21 captured by the imaging unit 2 after the user arranges the products 80 in the aisle 5.

[0069] The motion control unit 16 is configured to control the vending operation of the automatic vending machine 100. The motion control unit 16 is configured to control the spiral member 7 so that the selected commodity 80 is carried out to the conveying unit 4 based on the operation of the commodity selection button (not shown) by the commodity purchaser. In addition, the motion control unit 16 is configured to control the conveying unit 4 to move to the aisle 5 where the selected commodity 80 is arranged. The motion control unit 16 is configured to control the conveying unit 4 to move the commodity 80 that has been carried out to the take-out port 103 (see FIG. 1 ). Figure 2 ) control.

[0070] The action control unit 16 is configured to, when the determination unit 11 determines that the posture of the commodity 80 is not good, perform control to stop the sale of the commodity 80 in the aisle 5 determined to be in a bad posture. In addition, when the user's sales stop command to stop the sale of the commodity 80 in a specific aisle 5 is obtained through the vending machine-side communication unit 3, the action control unit 16 is configured to stop the sale of the commodity 80 in the specific aisle 5 involved in the sales stop command. In these cases, the action control unit 16 is configured not to accept the operation input of selecting the aisle 5 determined to be in a bad posture of the commodity 80 or the specific aisle 5 involved in the sales stop command.

[0071] The storage unit 30 is configured to include a volatile storage device and a non-volatile storage device. The storage unit 30 stores the image 20 before the product is arranged and the image 21 when the product is sold, which is taken by the photographing unit 2. In addition, the storage unit 30 stores the aisle product correspondence information 31, the aisle information 32 acquired by the aisle information acquisition unit 12, and the product size information 33 acquired by the product shape acquisition unit 13. In addition, the storage unit 30 stores the product shape information 34 acquired by the product shape acquisition unit 15 and the storage posture information 35 and the normal posture information 36 acquired by the product shape acquisition unit 13. In addition, the storage unit 30 stores the first learned model 37 for acquiring the product shape information 34. In addition, the storage unit 30 stores various programs 38 executed by the vending machine-side control unit 10.

[0072] The vending machine-side communication unit 3 communicates with the terminal device 90 .

[0073] The conveying unit 4 is used to convey the commodity 80 taken out from the aisle 5 to the outlet 103. The conveying unit 4 is a bucket with an upper opening. The conveying unit 4 moves in the vertical direction. The conveying unit 4 rotates near the outlet 103 to carry the commodity 80 to the outlet 103.

[0074] (Structure of terminal device)

[0075] The terminal device 90 includes an operation unit 91, a display unit 92, a terminal device side communication unit 93, and a terminal device side control unit 94. The terminal device 90 is, for example, a computer used by a user.

[0076] The operation unit 91 receives input of operations performed on the terminal device 90. The operation unit 91 is, for example, a keyboard, a mouse, a touch panel provided on the display unit 92, or the like.

[0077] The display unit 92 displays the determination result of the determination unit 11 of the automatic vending machine 100 and information for operating the terminal device 90. The display unit 92 is, for example, a liquid crystal display, an organic EL display, or the like.

[0078] The terminal device-side communication unit 93 communicates with the automatic vending machine 100 .

[0079] The terminal device side control unit 94 performs operation control of the terminal device 90. The terminal device side control unit 94 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.

[0080] (Determination of whether the cargo channel is good)

[0081] The determination of whether the installed cargo lane 5 is good or not by the determination unit 11 will be described.

[0082] As described above, the determination unit 11 is configured to determine whether the provided aisle 5 is good or not based on the aisle-product correspondence information 31 , the aisle information 32 , and the product size information 33 .

[0083] like Figure 5 As shown, the aisle information 32 is acquired for each aisle of the plurality of aisles 5 by the aisle information acquisition unit 12 based on the image 20 before the commodity arrangement. The aisle information acquisition unit 12 acquires information on whether the number of spiral members 7 is 1 or 2 as information on the number of spiral members 7 arranged in one aisle 5. When the number of spiral members 7 is 1, information such as "single" is acquired, and when the number of spiral members 7 is 2, information such as "double" is acquired. In addition, the aisle information acquisition unit 12 acquires information on the number of windings of the spiral member 7 as information on the pitch of the spiral of the spiral member 7. The number of windings of the spiral member 7 is the number of commodities that can be accommodated in the spiral member 7. In addition, the aisle information acquisition unit 12 acquires information on which aisle 5 is a wide aisle 5, a narrow aisle 5, or a standard aisle 5 as information on the spacing of the partition plates 6 that divide the aisles 5.

[0084] The aisle information 32 acquired by the aisle information acquisition unit 12 is stored in the storage unit 30 in the form of a data table. An example of the aisle information 32 is stored: at aisle position 1-2, the number of spiral members 7: double, the pitch of spiral members 7: 5, and the interval of partition plates 6: wide.

[0085] like Figure 6As shown, the product size information 33 is obtained by the product shape acquisition unit 13 for each of the plurality of aisles 5 based on the product sales image 21. The product size information 33 obtained by the product shape acquisition unit 13 is stored in the storage unit 30 in the form of a data table. As an example of the product size information 33, the following is stored: at the aisle position: 1-2, the width dimension of the product 80: 110 mm, the height dimension of the product 80: 100, the depth dimension of the product 80: 80, and the position of the front end portion 7a of the screw: good.

[0086] like Figure 7 As shown, the aisle product correspondence information 31 is stored in the storage unit 30 in advance in the form of a data table. The aisle product correspondence information 31 is information on the optimal combination of the size of the product 80 that can be sold in the vending machine 100 and the aisle 5 set for arranging the product 80. In the aisle product correspondence information 31, for each combination of the information on the size of the product 80 in the width direction, the information on the size of the product 80 in the height direction, and the information on the size of the product 80 in the depth direction, the information on the number of spiral members 7, the number of windings of the spiral member 7, and the interval between the partition plates 6 are associated with the optimal aisle 5 to be set.

[0087] For example, the optimal aisle 5 for commodity 80 having the following dimensions: 132 mm to 164 mm in width, 30 mm to 160 mm in height, and 56 mm to 87 mm in depth, is associated with the number of spiral members 7: double, the spacing of spiral members 7: 5, and the spacing of partition plates 6: wide.

[0088] The determination unit 11 compares the channel-product correspondence information 31 with the channel information 32 and the product size information 33 . Figure 8 is an example of the determination result of the determination unit 11. Figure 8 As shown, the aisles 5 set at aisle positions 1-2, 5-6, and 10 are determined to be defective, and the aisles 5 set at positions other than aisle positions 1-2, 5-6, and 10 are determined to be good.

[0089] Specifically, regarding aisle position 1-2, the spacing of the partition plates 6 is appropriate as standard according to the width dimension of the configured goods 80, whereas the spacing of the partition plates 6 of the configured aisle 5 is wide, and therefore aisle position 1-2 is determined to be defective. In addition, regarding aisle position 5-6, since the position of the front end portion 7a of the spiral member is defective, aisle position 5-6 is determined to be defective. In addition, regarding aisle position 10, the number of windings of the spiral member 7 is appropriate as 5 according to the depth dimension of the configured goods 80, whereas the number of windings of the spiral member 7 of the configured aisle 5 is 10, and therefore aisle position 10 is determined to be defective.

[0090] The determination result of the determination unit 11 is notified to the terminal device 90 via the automatic vending machine-side communication unit 3 . Fig. 9 This is the determination result displayed on the display unit 92 of the terminal device 90 when the determination result of the determination unit 11 is a positive result for all the aisles 5. That is, the determination result of the determination unit 11 is good for all the aisles 5. In this case, the display unit 92 displays "Shelf setting status: good".

[0091] In contrast, Fig.10 This is the determination result displayed on the display unit 92 of the terminal device 90 when the determination result of the determination unit 11 is a negative result. That is, the determination result of the determination unit 11 is defective for some or all of the aisles 5. Fig.10 In the example shown, based on the determination result that aisle 5 set at aisle position 1-2, aisle position 5-6, and aisle position 10 is defective, the display columns for aisle position 1-2, aisle position 5-6, and aisle position 10 are colored (illustrated by hatching). In this case, "Shelf Setting Status: Defective" is displayed on display unit 92.

[0092] Furthermore, when the determination result of the determination unit 11 is a negative result, the operation control unit 16 may stop the sale of the commodities 80 in the aisle 5 corresponding to the negative determination result based on the input of the sales stop command by the user through the operation unit 91 via the terminal device side communication unit 93. Thus, in the aisle 5 corresponding to the negative determination result, the occurrence of a sales failure in which the purchased commodities 80 are not removed from the aisle 5 can be avoided.

[0093] (Determination of whether the cargo channel is good)

[0094] Reference Fig.11The following is a description of the first embodiment of the determination process of whether the provided aisle 5 is good or not, which is performed by the photographing unit 2, the vending machine-side control unit 10 (determination unit 11, aisle information acquisition unit 12, and product appearance acquisition unit 13), and the vending machine-side communication unit 3. In addition, the order of the processing steps can be reversed or executed simultaneously as long as they are not contradictory.

[0095] In step S1, after the user sets the aisle 5 and before the user arranges the products 80 in the aisle 5, the photographing unit 2 photographs the product pre-arrangement image 20. Thereafter, the process proceeds to step S2.

[0096] In step S2, the aisle information acquisition unit 12 acquires information on the number of spiral members 7 arranged in one aisle 5, information on the pitch of the spirals of the spiral members 7, and information on the interval of the partition plates 6 that partition the aisles 5 for each of the plurality of aisles 5, based on the pre-product arrangement image 20 captured by the photographing unit 2, as aisle information 32. The acquired aisle information 32 is stored in the storage unit 30. Thereafter, the process proceeds to step S3.

[0097] In step S3, after the user arranges the commodity 80 in the aisle 5, the photographing unit 2 photographs the commodity sales image 21. Thereafter, the process proceeds to step S4.

[0098] In step S4, the product shape acquisition unit 13 acquires information on the dimensions of the product 80 in the width direction, the dimensions of the product 80 in the height direction, and the dimensions of the product 80 in the depth direction for each of the plurality of aisles 5 as product size information 33, based on the product sales image 21 captured by the photographing unit 2 and the storage posture information 35 acquired based on the product shape information 34 acquired by the product shape acquisition unit 15. In addition, when there are a plurality of spiral members 7 arranged in one aisle 5, the product shape acquisition unit 13 acquires position information of the front end portion 7a of each of the plurality of spiral members 7 based on the product sales image 21. The acquired product size information 33 and the position information of the front end portion 7a are stored in the storage unit 30. Thereafter, the process proceeds to step S5.

[0099] In step S5, the determination unit 11 determines whether the set aisle 5 is good based on the aisle-product correspondence information 31, the aisle information 32, the product size information 33, and the position information of the front end portion 7a stored in the storage unit 30. When the determination unit 11 determines that all the aisles 5 are good (affirmative result) ("Yes" in step S5), the process proceeds to step S6, and when the determination unit 11 determines that some or all of the aisles 5 are bad (negative result) ("No" in step S5), the process proceeds to step S7.

[0100] In step S6, the determination unit 11 notifies the terminal device 90 that the determination result is positive via the automatic vending machine-side communication unit 3. The terminal device 90 displays information on the positive determination result on the display unit 92. Thereafter, the process ends.

[0101] In step S7, the determination unit 11 notifies the terminal device 90 that the determination result is a negative result via the automatic vending machine-side communication unit 3. The terminal device 90 displays information on the negative determination result on the display unit 92. Thereafter, the process ends.

[0102] (Judgment of whether the goods in the aisle are in good condition)

[0103] Next, the determination by the determination unit 11 as to whether the posture of the commodities 80 in the aisle 5 is good or not will be described.

[0104] As mentioned above, Figure 1 As shown, the product shape acquisition unit 15 is configured to acquire product shape information 34 based on the product image 21 when the product is sold. In addition, as described above, the product appearance acquisition unit 13 is configured to acquire storage posture information 35 based on the product shape information 34 and the product image 21 when the product is sold. In addition, the product appearance acquisition unit 13 is configured to acquire normal posture information 36 based on the storage posture information 35. In addition, the determination unit 11 is configured to determine whether the posture of the product 80 in the aisle 5 is good based on the storage posture information 35 and the normal posture information 36. In addition, when determining whether the posture of the product 80 in the aisle 5 is good, the same storage posture information 35 as the storage posture information 35 acquired by the product appearance acquisition unit 13 used when determining whether the set aisle 5 is good is also used.

[0105] The product shape acquisition unit 15 uses the first learned model 37 stored in the storage unit 30 to acquire the pre-classified product shape information 34 related to the shape of the product 80. The product shape acquisition unit 15 inputs the extracted image 70 generated by the image processing unit 14 for the product sales image 21 to the first learned model 37, and acquires the product shape information 34 of the product 80 as an output result.

[0106] The first learned model 37 is produced by performing machine learning on the produced multiple learning data sets as training data. As the machine learning method of the first learned model 37, any method such as Fully Convolutional Networks (FCN), neural network, support vector machine (SVM), boosting, etc. can be used. However, the method for producing the first learned model 37 is not particularly limited.

[0107] In the first embodiment, as the product shape information 34, for example, any of information that the product 80 arranged at the front of the aisle 5 is in a box shape, information that the product 80 is in a first container shape, and information that the product 80 is in a second container shape is obtained. Fig.12 As shown in FIG. 1 , the information that the shape of the commodity 80 is a box shape refers to the information that the commodity 80 has a rectangular box shape. Fig.13 As shown, the information that the shape of the commodity 80 is the first container shape means that the commodity 80 has the following commodity shape: the commodity 80 includes a substantially conical container 81 having a bottom and a substantially circular lid 82, and the commodity 80 is stored in a manner such that the surface of the lid 82 is arranged on the front surface side of the aisle 5. Fig.14 As shown, the information that the shape of product 80 is a second container shape refers to information that product 80 has the following product shape: product 80 includes a roughly conical container 81 with a bottom and a roughly circular lid 82, and product 80 is stored in a manner such that the side of container 81 is arranged on the front surface side of aisle 5.

[0108] The product shape acquisition unit 13 compares the product sales image 21 captured by the photographing unit 2 with the extracted image 70 based on the product arrangement pre-image 20 stored in the storage unit 30, and extracts the region of the product 80 in the extracted image 70 based on the product sales image 21 using a background difference method. The product shape acquisition unit 13 detects the contour of the product 80 in the product sales image 21 based on the product shape information 34 acquired by the product shape acquisition unit 15 and the region of the product 80 extracted in the extracted image 70, and acquires the storage posture information 35 based on the detection result of the product contour, the storage posture information 35 such as the information of the vertex coordinates of the contour, the information of the angle of the side of the contour with respect to the horizontal direction, and the information of the center coordinates of the contour. That is, the product shape acquisition unit 13 acquires the storage posture information 35 related to the current posture of the product 80 stored in the aisle 5 in the extracted image 70.

[0109] In a first embodiment, if Fig.12 As shown in FIG. 1 , when the product shape is a box shape as the product shape information 34, the product shape acquisition unit 13 acquires information on the coordinates P1 of the upper left vertex of the rectangular shape of the product 80, the coordinates P2 of the lower right vertex of the rectangular shape of the product 80, and the angle θ1 of the bottom side of the rectangular shape of the product 80 relative to the horizontal direction in the extracted image 70 as the storage posture information 35. Fig.13As shown in FIG. 1 , when the product shape is the first container shape as the product shape information 34, the product shape acquisition unit 13 acquires information on the center coordinates P3 of the outline of the substantially circular cover 82 of the product 80 in the extracted image 70 and information on the aspect ratio of the outline of the substantially circular cover 82 of the product 80 as the storage posture information 35. Fig.14 As shown, when the information that the shape of the product is a second container shape is obtained as the product shape information 34, the product shape acquisition unit 13 obtains information on the coordinates P4 of the upper left vertex of the outline of the trapezoidal shape of the container 81 of the product 80 when viewed from the side, information on the coordinates P5 of the lower right vertex of the outline of the trapezoidal shape of the container 81 of the product 80 when viewed from the side, information on the angle θ2 of the center line of the outline of the trapezoidal shape of the container 81 of the product 80 when viewed from the side relative to the horizontal direction, and information on the length ratio of the upper base to the lower base of the outline of the trapezoidal shape of the container 81 of the product 80 when viewed from the side, as the storage posture information 35.

[0110] like Figure 1 As shown, the storage posture information 35 acquired by the product appearance acquisition unit 13 is stored in the storage unit 30 .

[0111] In addition, the product shape acquisition unit 13 calculates the contour of the product 80 stored in the aisle 5 in the normal posture 83 based on the acquired storage posture information 35 and the product shape information 34 acquired by the product shape acquisition unit 15, and acquires the normal posture information 36 based on the detection result of the product contour in the normal posture 83, and the normal posture information 36 is, for example, information on the vertex coordinates of the contour, information on the angle of the side of the contour relative to the horizontal direction, and information on the center coordinates of the contour. That is, the product shape acquisition unit 13 acquires the normal posture information 36 related to the normal posture 83 of the product 80 stored in the aisle 5 in the extracted image 70.

[0112] In the first embodiment, the product appearance acquisition unit 13 Fig.15 When information that the product shape is a box shape is obtained as the product shape information 34 as shown, the contour of the product 80 when stored in the aisle 5 in the normal posture 83 is calculated based on the side length information based on the storage posture information 35, and the normal posture information 36 is obtained based on the detection result of the product contour in the normal posture 83. For convenience of explanation, the normal posture 83 of the product 80 is illustrated by hatching. As the normal posture information 36, information on the upper left vertex coordinates P6 of the rectangular shape contour of the product 80 in the normal posture 83 and information on the lower right vertex coordinates P7 of the rectangular shape contour of the product 80 are obtained.

[0113] In addition, the product appearance acquisition unit 13 Fig.16 When the information that the shape of the commodity is the first container shape is obtained as the commodity shape information 34 as shown in the figure, the elliptical shape of the lid 82 is detected based on the storage posture information 35, and the length information of the major axis of the detected elliptical shape is obtained. Then, the commodity shape acquisition unit 13 calculates the contour of the lid 82 of the commodity 80 when it is stored in the aisle 5 in the normal posture 83 based on the length information of the major axis, and obtains the normal posture information 36 based on the detection result of the commodity contour in the normal posture 83. For convenience of explanation, the normal posture 83 of the commodity 80 is illustrated by hatching. As the normal posture information 36, the information of the center coordinates P8 of the contour of the substantially circular lid 82 of the commodity 80 in the normal posture 83 is obtained.

[0114] In addition, the product appearance acquisition unit 13 Fig.17 When the information that the shape of the commodity is the second container shape is obtained as the commodity shape information 34 as shown in the figure, the trapezoidal shape of the container 81 of the commodity 80 when viewed from the side is detected based on the storage posture information 35, and the up-down direction of the commodity 80 is determined based on the length ratio of the upper base to the lower base of the detected trapezoidal shape. Then, the commodity shape acquisition unit 13 calculates the outline of the trapezoidal shape of the container 81 of the commodity 80 when viewed from the side when the commodity 80 is stored in the aisle 5 in the normal posture 83, and obtains the normal posture information 36 based on the detection result of the commodity outline in the normal posture 83. For convenience of explanation, the normal posture 83 of the commodity 80 is illustrated by hatching. As the normal posture information 36, the information of the upper right vertex coordinates P9 of the outline of the trapezoidal shape of the container 81 of the commodity 80 when viewed from the side in the normal posture 83 and the information of the lower left vertex coordinates P10 of the outline of the trapezoidal shape of the container 81 of the commodity 80 when viewed from the side are obtained.

[0115] like Figure 1 As shown, the normal posture information 36 acquired by the product appearance acquisition unit 13 is stored in the storage unit 30 .

[0116] The determination unit 11 obtains the difference between the storage posture information 35 and the normal posture information 36. Then, the determination unit 11 determines that the posture of the product 80 is good when the obtained difference is less than a preset threshold value, and determines that the posture of the product 80 is bad when the obtained difference exceeds the preset threshold value.

[0117] After the user arranges the goods 80 in the aisles 5, the determination unit 11 determines whether the postures of the goods 80 in the aisles 5 are good for each of the plurality of aisles 5 based on the goods-selling images 21 captured by the photographing unit 2. In addition, after the goods 80 are purchased by the goods purchaser, the determination unit 11 determines whether the postures of the goods 80 in the aisles 5 where the goods 80 are sold are good based on the goods-selling images 21 captured by the photographing unit 2.

[0118] The determination result of the determination unit 11 is notified to the terminal device 90 via the vending machine-side communication unit 3. When the determination unit 11 determines that the commodity 80 is in a good position, the display unit 92 of the terminal device 90 displays that the commodity 80 is in a good position.

[0119] Fig.18 This is an example of a determination result displayed on the display unit 92 of the terminal device 90 when the determination unit 11 determines that the posture of the commodity 80 is not good. In this case, "Determination result: NG (bad)" is displayed on the display unit 92. In addition, a superimposed image obtained by superimposing the outline of the commodity 80 based on the normal posture information 36 on the extracted image 70 is displayed on the display unit 92, and a message "Please correct it to fit the frame" is displayed.

[0120] In addition, based on the bad determination result obtained by the determination unit 11, the operation control unit 16 (see Figure 1 ) performs control to stop the sale of the commodity 80 in the aisle 5 corresponding to the bad judgment result. Thus, in the aisle 5 corresponding to the bad judgment result, the occurrence of a sales failure in which the purchased commodity 80 is not removed from the aisle 5 can be avoided.

[0121] (Determination of whether the position of the goods in the aisle is good or not)

[0122] Reference Fig.19 The following describes the determination process of whether the posture of the commodity 80 in the aisle 5 is good or not, which is performed by the photographing unit 2, the vending machine-side control unit 10 (determination unit 11, commodity shape acquisition unit 15, commodity appearance acquisition unit 13, image processing unit 14) and the vending machine-side communication unit 3 in the first embodiment. In addition, the order of the processing steps can be reversed or executed simultaneously as long as they are not contradictory.

[0123] In step S11, after the user sets the aisle 5 and before the user arranges the commodities 80 in the aisle 5, the photographing unit 2 photographs the commodity pre-arrangement image 20. Thereafter, the process proceeds to step S12.

[0124] In step S12, after the user places the commodity 80 in the aisle 5 and after the commodity purchaser purchases the commodity 80, the photographing unit 2 photographs the commodity sales image 21. Thereafter, the process proceeds to step S13.

[0125] In step S13, after the user places the product 80 in the aisle 5 and the product purchaser purchases the product 80, the image processing unit 14 generates the extracted image 70 based on the product sales image 21 captured by the imaging unit 2. The process then proceeds to step S14.

[0126] In step S14 , the product shape acquisition unit 15 inputs the extracted image 70 generated by the image processing unit 14 to the first learned model 37 stored in the storage unit 30 , and acquires the product shape information 34 of the product 80 as an output result. Thereafter, the process proceeds to step S15 .

[0127] In step S15, the product external shape acquisition unit 13 acquires the storage posture information 35 based on the product shape information 34 acquired by the product shape acquisition unit 15 and the extracted image 70. The acquired storage posture information 35 is stored in the storage unit 30. Thereafter, the process proceeds to step S16.

[0128] In step S16, the product external shape acquisition unit 13 acquires the normal posture information 36 based on the acquired storage posture information 35 and the product shape information 34 acquired by the product shape acquisition unit 15. The acquired normal posture information 36 is stored in the storage unit 30. Thereafter, the process proceeds to step S17.

[0129] In step S17, the determination unit 11 determines whether the posture of the commodity 80 in the aisle 5 is good based on the storage posture information 35 and the normal posture information 36 stored in the storage unit 30. Specifically, the determination unit 11 obtains the difference between the storage posture information 35 and the normal posture information 36, and when the obtained difference is less than a preset threshold, the posture of the commodity 80 is determined to be good, and when the obtained difference exceeds the preset threshold, the posture of the commodity 80 is determined to be bad. When the determination unit 11 determines that the posture of the commodity 80 in the aisle 5 is good (affirmative result) ("Yes" in step S17), the process proceeds to step S18, and when the determination unit 11 determines that the posture of the commodity 80 in the aisle 5 is bad (negative result) ("No" in step S17), the process proceeds to step S19.

[0130] In step S18, the determination unit 11 notifies the terminal device 90 that the determination result is positive via the automatic vending machine-side communication unit 3. The terminal device 90 displays information on the positive determination result on the display unit 92. Thereafter, the process ends.

[0131] In step S19, the determination unit 11 notifies the terminal device 90 that the determination result is a negative result via the vending machine-side communication unit 3. The terminal device 90 displays information related to the negative determination result and a superimposed image obtained by superimposing the outline of the commodity 80 based on the normal posture information 36 on the extracted image 70 on the display unit 92. Thereafter, the process proceeds to step S20.

[0132] In step S20, the operation control unit 16 performs control to stop the sale of the commodities 80 in the aisle 5 corresponding to the determination result of defect. Then, the process ends.

[0133] (Effects of the First Embodiment)

[0134] In the first embodiment, the following effects can be obtained.

[0135] In the first embodiment, as described above, the determination unit 11 determines the correspondence between the aisle 5 and the commodity 80 or determines the posture of the commodity 80 based on the image of the aisle 5 captured by the photographing unit 2. Thus, the determination unit 11 can determine the correspondence between the aisle 5 and the commodity 80 based on the image of the aisle 5 captured by the photographing unit 2. Alternatively, the determination unit 11 can determine the posture of the commodity 80 based on the image of the aisle 5 captured by the photographing unit 2. As a result, based on the determination result of the determination unit 11, it is possible to modify the aisles 5 set for the commodities 80, modify the posture of the commodities 80 in the aisles 5, or stop the sale of the commodities 80 in the aisles 5 determined to have a poor correspondence between the aisles 5 and the commodities 80 or in the aisles 5 determined to have a poor posture. Therefore, it is possible to suppress the occurrence of sales failures in which the purchased commodities 80 are not removed from the aisles 5.

[0136] In addition, in the first embodiment, as described above, the determination unit 11 notifies the user of the fact that the determination result is a negative result at least when the determination result is a negative result. Thus, when the determination result of the correspondence between the aisle 5 and the product 80 is a negative result, or the determination result of the posture of the product 80 is a negative result, the user can understand the negative determination result. Therefore, based on the notification of the negative determination result, the user can quickly perform a modification of the aisle 5 set for the product 80, or a modification of the posture of the product 80 in the aisle 5, etc. As a result, the loss of sales opportunities for the product 80 can be suppressed.

[0137] In the first embodiment, as described above, the determination unit 11 determines whether the aisle 5 provided is good for the product 80 based on the aisle-product correspondence information 31 obtained by associating the aisle 5 with the size of the product 80 and the image of the aisle 5. Thus, the correspondence between the aisle 5 and the product 80 can be determined based on the aisle-product correspondence information 31 obtained by associating the aisle 5 with the size of the product 80 and the image of the aisle 5, so it is easy to determine whether the aisle 5 provided is good for the product 80. As a result, based on the determination result of the determination unit 11, it is possible to modify the aisle 5 provided for the product 80, stop the sale of the product 80 in the aisle 5 determined to have a poor correspondence between the aisle 5 and the product 80, and the like. Therefore, the occurrence of a sales failure in which the purchased product 80 is not removed from the aisle 5 can be further suppressed.

[0138] In the first embodiment, as described above, the determination unit 11 determines whether the aisle 5 is good or not based on the aisle-product correspondence information 31, the product pre-arrangement image 20 and the product sales image 21 captured by the photographing unit 2, wherein the product pre-arrangement image 20 is an image of the aisle 5 before the products are arranged, and the product sales image 21 is an image of the aisle 5 and the products 80 stored in the aisle 5 when the products are sold. Thus, the correspondence between the aisle 5 and the products 80 can be determined based on the product pre-arrangement image 20 and the product sales image 21. Therefore, it is possible to determine whether the currently set aisle 5 is good or not based on the product pre-arrangement image 20 and the product sales image 21. As a result, it is possible to determine whether the set aisle 5 is good or not for the products 80 with high accuracy.

[0139] In the first embodiment, as described above, the determination unit 11 acquires the aisle information 32 related to the aisle 5 and the product size information 33 related to the size of the product 80 based on the image 20 before product placement and the image 21 when the product is sold, and determines whether the set aisle 5 is good based on the aisle product correspondence information 31 and the acquired aisle information 32 and product size information 33. Thus, the correspondence between the aisle 5 and the product 80 can be determined based on the aisle information 32 related to the aisle 5 and the product size information 33 related to the size of the product 80. Therefore, it is possible to determine whether the currently set aisle 5 is good based on the aisle information 32 and the product size information 33. As a result, it is possible to determine whether the set aisle 5 is good for the product 80 with higher accuracy.

[0140] In addition, in the first embodiment, as described above, the storage room 1 includes: a partition plate 6 for partitioning the adjacent aisles 5 in the left-right direction; and a spiral member 7 that is spirally wound and extends in the front-back direction, and the aisle-product correspondence information 31 and the aisle information 32 include information on the number of spiral members 7 arranged in one aisle 5, the pitch of the spirals of the spiral member 7, and the interval of the partition plate 6 that partitions the aisle 5. Thus, the aisle-product correspondence information 31 and the aisle information 32 include the above information, so it is possible to determine whether the currently set aisle 5 is good based on the above information included in the aisle-product correspondence information 31 and the aisle information 32. As a result, the determination unit 11 can further determine whether the aisle 5 is good with high accuracy.

[0141] In addition, in the first embodiment, as described above, when the number of spiral members 7 arranged in one aisle 5 is plural, the product shape acquisition unit 13 further acquires the position information of the front end portions 7a of each of the plurality of spiral members 7 based on the image 21 when the product is sold, and further determines whether the positional relationship between the front end portions 7a is good or not based on the acquired position information of the front end portions 7a. Thus, the product shape acquisition unit 13 can further determine whether the positional relationship between the front end portions 7a of each of the plurality of spiral members 7 is good or not. Therefore, when the determination result is determined by the determination unit 11 to be a negative result, the position of the front end portion 7a of the spiral member 7 can be modified, etc., so that the poor carrying out of the product 80 caused by the misalignment of the positions of the front end portions 7a of each of the plurality of spiral members 7 can be suppressed. As a result, the loss of sales opportunities of the product 80 can be further suppressed.

[0142] In the first embodiment, as described above, the determination unit 11 acquires the storage posture information 35 related to the posture of the stored commodities 80 and the normal posture information 36 related to the normal posture of the commodities 80 based on the image 21 of the aisle 5 and the commodities 80 stored in the aisle 5 when the commodities are sold, and determines whether the posture of the commodities 80 in the aisle 5 is good or not based on the acquired storage posture information 35 and normal posture information 36. Thus, the posture of the commodities 80 in the aisle 5 can be determined based on the acquired storage posture information 35 and normal posture information 36, and thus it is easier to determine whether the posture of the commodities 80 in the aisle 5 is good or not than when determining whether the posture of the commodities 80 in the aisle 5 is good or not based only on the storage posture information 35. As a result, based on the determination result of the determination unit 11, it is possible to modify the posture of the commodities 80 in the aisle 5, stop the sale of the commodities 80 in the aisle 5 determined to have a bad posture, and the like. Therefore, the occurrence of sales troubles in which the purchased commodities 80 are not carried out from the aisle 5 can be further suppressed.

[0143] In the first embodiment, as described above, the product shape acquisition unit 15 acquires the product shape information 34 related to the shape of the product 80 based on the product sales image 21, the product external shape acquisition unit 13 acquires the storage posture information 35 based on the acquired product shape information 34 and the product sales image 21, and acquires the normal posture information 36 based on the storage posture information 35, and the determination unit 11 determines whether the posture of the product 80 in the aisle 5 is good based on the acquired storage posture information 35 and the normal posture information 36. Thus, the product external shape acquisition unit 13 can acquire the storage posture information 35 based on the product shape information 34 acquired from the product sales image 21 and the product sales image 21, and can therefore acquire the storage posture information 35 corresponding to the shape of the product 80, and can acquire the normal posture information 36 based on the storage posture information 35 corresponding to the shape of the product 80. As a result, it is possible to determine whether the posture of the product 80 in the aisle 5 is good based on the storage posture information 35 and the normal posture information 36. Therefore, it is possible to determine with high accuracy whether the posture of the commodities 80 in the aisle 5 is good or not according to the shape of the commodities 80 .

[0144] In the first embodiment, as described above, the determination unit 11 obtains the difference between the acquired storage posture information 35 and the normal posture information 36, and when the acquired difference exceeds a preset threshold, determines that the posture of the commodity 80 is bad. Thus, when the acquired difference exceeds a preset threshold, the posture of the commodity 80 can be determined to be bad. Therefore, whether the posture of the commodity 80 in the aisle 5 corresponding to the shape of the commodity 80 is good or not can be determined with higher accuracy.

[0145] In the first embodiment, as described above, when the determination unit 11 determines that the position of the commodity 80 is not good as a determination result, the operation control unit 16 performs control to stop the sale of the commodity 80 in the aisle 5. Thus, the sale of the commodity 80 in the aisle 5 determined as a determination result that the position of the commodity 80 is not good can be stopped. As a result, the occurrence of a sales failure in which the purchased commodity 80 is not carried out from the aisle 5 can be reliably suppressed.

[0146] [Second embodiment]

[0147] (Structure of vending machine)

[0148] Next, refer to Figure 20 to Figure 25The structure of the automatic vending machine system 210 of the second embodiment is described. In the second embodiment, unlike the first embodiment, the image processing unit 14 corrects the commodity image 21 at the time of sale based on the pre-arrangement partial information in the commodity image 20 before arrangement and the sales partial information in the commodity image 21 at the time of sale captured by the photographing unit 2, and the determination unit 11 further determines whether there is a commodity 80 in the aisle 5. In addition, in the figure, the same reference numerals are attached to the same structural parts as those of the automatic vending machine system 200 of the first embodiment.

[0149] like Fig. 20 As shown, the vending machine side control unit 10 includes a determination unit 11, a passage information acquisition unit 12, a product appearance acquisition unit 13, an image processing unit 14, a product shape acquisition unit 15, an action control unit 16, and a feature extraction unit 17, which are software (software program). In addition, the vending machine side control unit 10 including the determination unit 11, the passage information acquisition unit 12, the product appearance acquisition unit 13, the image processing unit 14, the product shape acquisition unit 15, the action control unit 16, and the feature extraction unit 17 is an example of the "control unit" in the claims.

[0150] In addition, the storage unit 30 also stores a second learned model 41, a reference pattern image 23, and a product-free image 22. The second learned model 41 is a learned model created by machine learning. The reference pattern image 23 is a model including the aisle number plate 8 (see Figure 3 and Figure 4 ), the aisle number signs 8 are arranged near each of the plurality of aisles 5 to indicate the aisle numbers assigned to the plurality of aisles 5. The product-free image 22 is an image that includes only the range of one aisle 5 in the image 20 before product arrangement.

[0151] The feature extraction unit 17 is configured to extract a plurality of feature values ​​obtained by digitizing feature points from the product-free image 22 stored in the storage unit 30 as feature points using the second learned model 41 stored in the storage unit 30, and obtain a feature value distribution 50 (see Fig.21 ). The feature amount is obtained by quantifying the brightness of the storage room 1 where the commodities 80 are arranged.

[0152] like Fig. 22 As shown, in the pre-product placement image 20, the photographing range R is set so as to photograph the plurality of aisles 5 together. As for the product-free image 22, the range A of the product-free image 22 is set so as to include only one aisle 5 among the plurality of aisles 5 within the photographing range R in the pre-product placement image 20.

[0153] The photographing unit 2 photographs the product pre-arrangement image 20. In the second embodiment, the photographing unit 2 photographs the product pre-arrangement image 20 when the vending machine 110 is shipped from the manufacturing factory or when the vending machine 110 is installed. In addition, the photographing unit 2 photographs the product selling image 21 during the operation of the vending machine 110.

[0154] The image processing unit 14 obtains the aisle number plates 8 of each of the plurality of aisles 5 (see Figure 3 and Figure 4 ) of the reference pattern image 23 (refer to Fig. 20 ).like Fig.23 As shown, the image processing unit 14 detects the number pattern images 24 of the plurality of aisle number plates 8 in the product arrangement pre-image 20, and obtains first arrangement information 39 (refer to Fig. 20 In the second embodiment, the image processing unit 14 detects two number pattern images 24 in the commodity pre-arrangement image 20, and acquires first arrangement information 39 related to the detected two number pattern images 24.

[0155] In addition, if Fig.24 As shown, the image processing unit 14 detects the number pattern images 24 of the plurality of aisle number plates 8 in the commodity sales image 21, and obtains the second configuration information 40 (refer to Fig. 20 ) as partial information at the time of sale. In the second embodiment, the image processing unit 14 detects two number pattern images 24 in the commodity sale image 21, and obtains second configuration information 40 related to the detected two number pattern images 24. Then, as Fig.25 As shown, the image processing unit 14 performs the processing based on the first configuration information 39 (see Fig. 20 ) and second configuration information 40 (refer to Fig. 20 ) is used to correct the commodity sales image 21, thereby obtaining the corrected commodity sales image 25.

[0156] The image processing unit 14 obtains the position information and angle information of the two number pattern images 24 detected in the product arrangement pre-image 20 as the first arrangement information 39 (see Fig. 20 ). In addition, the image processing unit 14 obtains the position information and angle information of the two number pattern images 24 detected in the commodity sales image 21 as the second arrangement information 40 (refer to Fig. 20 ).

[0157] The image processing unit 14 does not acquire the second configuration information 40 (see Fig. 20), the image processing unit 14 communicates with the vending machine via the communication unit 3 (see Fig. 20 ) notifies the terminal device 90 of the abnormality of the imaging unit 2. In this case, information indicating that the imaging unit 2 is abnormal is displayed on the display unit 92 of the terminal device 90.

[0158] like Fig. 20 As shown, the determination unit 11 is configured to compare the feature quantity extracted by the feature quantity extraction unit 17 with the feature quantity obtained by digitizing the feature points extracted from the product sales image 21 photographed by the photography unit 2, so as to determine whether there is a product 80 in the storage room 1. Specifically, the determination unit 11 is configured to use the second learned model 41 (see Fig. 20 ) to calculate the feature quantity obtained by digitizing the feature points extracted from the commodity sales image 21. In addition, the determination unit 11 is configured to: when the feature quantity obtained by digitizing the feature points extracted from the commodity sales image 21 is in the feature quantity distribution 50 (refer to Fig.21 The determination unit 11 is configured to determine that there is a product when the feature quantity obtained by digitizing the feature points extracted from the product sales image 21 is outside the range of no products set based on the feature quantity distribution 50.

[0159] (Obtaining the First Configuration Information and the Second Configuration Information)

[0160] Reference Fig.23 The acquisition of the first arrangement information 39 by the image processing unit 14 will be described.

[0161] As an example, the image processing unit 14 obtains two lane numbers among the lane numbers assigned to the plurality of lanes 5 selected in advance, and obtains the first reference pattern image 23 (see FIG. 1 ) corresponding to the lane number plaques 8 of the two obtained lane numbers stored in the storage unit 30. Fig. 20 ) and the second reference pattern image 23 (refer to Fig. 20 In the second embodiment, the first reference pattern image 23 is the reference pattern image 23 of the aisle number sign 8 arranged at the left end of the lower layer. In addition, the second reference pattern image 23 is the reference pattern image 23 of the aisle number sign 8 arranged at the right end of the lower layer.

[0162] The image processing unit 14 processes the first reference pattern image 23 (see FIG. 1 ) acquired from the product pre-arrangement image 20 stored in the storage unit 30. Fig. 20 ) and the second reference pattern image 23 (refer to Fig. 20) respectively perform pattern matching, thereby detecting the first numbered pattern image 24a corresponding to the first reference pattern image 23 and the second numbered pattern image 24b corresponding to the second reference pattern image 23 in the image 20 before product arrangement. Then, the image processing unit 14 acquires the first arrangement information 39 based on the detected first numbered pattern image 24a and the second numbered pattern image 24b. The image processing unit 14 acquires the coordinates P11 of the detected first numbered pattern image 24a and the angle θ3 formed by the line connecting the detected first numbered pattern image 24a and the detected second numbered pattern image 24b and the horizontal direction of the image as the first arrangement information 39. The first arrangement information 39 acquired by the image processing unit 14 is stored in the storage unit 30.

[0163] Next, refer to Fig.24 The acquisition of the second arrangement information 40 by the image processing unit 14 will be described.

[0164] As an example, the image processing unit 14 obtains two aisle numbers at positions corresponding to the positions where the two aisle numbers selected when obtaining the first arrangement information 39 are arranged in the commodity sales image 21, and obtains the third reference pattern image 23 corresponding to the aisle number plate 8 of each of the two obtained aisle numbers stored in the storage unit 30 (refer to Fig. 20 ) and the fourth reference pattern image 23 (refer to Fig. 20 In the second embodiment, the third reference pattern image 23 is a pattern image of the aisle number sign 8 disposed at the left end of the lower layer. In addition, the fourth reference pattern image 23 is a pattern image of the aisle number sign 8 disposed at the right end of the lower layer.

[0165] The image processing unit 14 processes the acquired third reference pattern image 23 (see Fig. 20 ) and the fourth reference pattern image 23 (refer to Fig. 20 ) are used to perform pattern matching respectively, thereby detecting the third numbered pattern image 24c corresponding to the third reference pattern image 23 and the fourth numbered pattern image 24d corresponding to the fourth reference pattern image 23 in the product sales image 21. Then, the image processing unit 14 acquires the second arrangement information 40 based on the detected third numbered pattern image 24c and the fourth numbered pattern image 24d. The image processing unit 14 acquires the coordinates P12 of the detected third numbered pattern image 24c and the angle θ4 formed by the line connecting the detected third numbered pattern image 24c and the detected fourth numbered pattern image 24d and the horizontal direction of the image as the second arrangement information 40. The second arrangement information 40 acquired by the image processing unit 14 is stored in the storage unit 30.

[0166] Here, the product sales image 21 is an image including the aisle 5 where the product 80 is sold. Therefore, depending on the product 80 being sold, the plurality of aisles 5 included in the two layers in the vertical direction captured in the product sales image 21 and the plurality of aisles 5 included in the two layers in the vertical direction captured in the product before arrangement image 20 may be different. However, the positional relationship between the third reference pattern image 23 and the fourth reference pattern in the product sales image 21 corresponds to the positional relationship between the first reference pattern image 23 and the second reference pattern in the product before arrangement image 20. That is, even when the aisle 5 captured in the product sales image 21 and the aisle 5 captured in the product before arrangement image 20 are different, the positional relationship between the third reference pattern image 23 and the fourth reference pattern in the product sales image 21 is the same as the positional relationship between the first reference pattern image 23 and the second reference pattern in the product before arrangement image 20. Therefore, the product sales image 21 can be corrected based on the second arrangement information 40 and the first arrangement information 39.

[0167] When the image processing unit 14 acquires the second arrangement information 40, a search area for pattern matching is pre-set in the commodity sales image 21. In the case where the image processing unit 14 does not detect the third numbered pattern image 24c and the fourth numbered pattern image 24d in the pre-set search area, or the third numbered pattern image 24c and the fourth numbered pattern image 24d detected by the image processing unit 14 in the pre-set search area are not matched with the third reference pattern image 23 (refer to Fig. 20 ) and the fourth reference pattern image 23 (refer to Fig. 20 ) is less than a preset threshold, the image processing unit 14 notifies the terminal device 90 of the abnormality of the photographing unit 2 via the vending machine-side communication unit 3. The abnormality of the photographing unit 2 is, for example, an abnormality caused by excessive position deviation of the photographing unit 2, an abnormality caused by blurring of the lens of the camera of the photographing unit 2, etc.

[0168] Action control unit 16 (see Fig. 20 ) is configured to: when the image processing unit 14 notifies the abnormality of the photographing unit 2, control is performed to stop the sale of the commodity 80 in the vending machine 110. In this case, the operation control unit 16 is configured to: not receive the operation input to the vending machine 110 by the commodity purchaser.

[0169] (Image correction when selling products)

[0170] like Fig.25As shown, the image processing unit 14 corrects the commodity sales image in such a manner that the first arrangement information 39 stored in the storage unit 30 is equal to the second arrangement information 40 stored in the storage unit 30. Specifically, the image processing unit 14 performs image processing of rotating and translating the commodity sales image 21 so that the coordinates P11 (refer to Fig.23 ) and angle θ3 (refer to Fig.23 ) and the coordinates P12 (refer to Fig.24 ) and angle θ4 (refer to Fig.24 ), thereby correcting the commodity sales image 21, wherein the angle θ3 is the angle between the line connecting the detected first numbered pattern image 24a and the detected second numbered pattern image 24b contained in the first configuration information 39 and the horizontal direction of the image, and the angle θ4 is the angle between the line connecting the detected third numbered pattern image 24c and the detected fourth numbered pattern image 24d contained in the second configuration information 40 and the horizontal direction of the image. The corrected commodity sales image 25 is stored in the storage unit 30.

[0171] (Creation of feature quantity distribution)

[0172] Fig.21 is a diagram showing the feature quantity distribution 50 in two dimensions. The feature quantity extraction unit 17 (see Fig. 20 ) is configured to create a feature quantity distribution 50 based on the product-free image 22. The feature quantity extraction unit 17 is configured to obtain the feature quantity distribution 50 when the product 80 of the vending machine 110 is selected by the product purchaser. The feature quantity extraction unit 17 uses a plurality of product-free images 22 captured under a photographic condition substantially the same as at least one of a plurality of photographic conditions under which the product-sale image 21 is captured as the plurality of product-free images 22 from which a plurality of feature quantities are extracted, the plurality of photographic conditions including the position where the product 80 is arranged in the storage 1, the time period when the product-sale image 21 is captured, and the installation location of the vending machine 110 where the product-sale image 21 is captured. For example, in the case of the vending machine 110 in which the aisles 5 are numbered in the same manner, the position where the product 80 is arranged is the image of the aisle 5 with the same number captured. The time period is, for example, morning, afternoon, evening, etc. In addition, the installation location of the vending machine 110 where the product-sale image 21 is captured is indoors or outdoors.

[0173] Machine learning is used to create the feature quantity distribution 50. In the second embodiment, PaDiM (Patch Distribution Modeling) is used. PaDiM is a method that uses a learned model obtained by machine learning to extract features, creates a distribution, and calculates the distance between the created distribution and the evaluation object. In the second embodiment, the distribution is the feature quantity distribution 50, and the evaluation object is the image 21 at the time of commodity sales. In addition, in the second embodiment, PaDiM is used for the feature quantity extraction unit 17 and the determination unit 11. The feature quantity extraction unit 17 proceeds to use the second learned model 41 obtained by machine learning (refer to Fig. 20 ) to extract the feature value and create a distribution, and the determination unit 11 calculates the distance between the created distribution and the evaluation object.

[0174] In the second embodiment, the feature quantity extraction unit 17 is configured to obtain a hundred-dimensional feature quantity distribution 50 by calculation based on a plurality of feature points of the product-free image 22 using PaDiM.

[0175] The determination unit 11 is configured to: Fig.21 The range set based on the feature quantity distribution 50 indicated by the ellipse is used as the range for determining that there is no commodity. When the feature quantity of the image 21 at the time of commodity sales is included in the range for determining that there is no commodity, it is determined that there is no commodity. When the feature quantity of the image at the time of sales is included outside the range for determining that there is no commodity, it is determined that there is a commodity. Specifically, the determination unit 11 is configured to use PaDiM to calculate the feature quantity based on the feature points of the image 21 at the time of commodity sales. When the distance from the feature quantity distribution 50 exceeds a threshold value, it is considered to be outside the range for determining that there is no commodity, and thus it is determined that there is a commodity. When the distance from the feature quantity distribution 50 is less than the threshold value, it is considered to be within the range for determining that there is no commodity, and thus it is determined that there is no commodity.

[0176] (Determination of whether there are products in the channel)

[0177] Reference Figure 26 to Figure 28 The following will describe the determination process of whether or not there is a commodity 80 in the aisle 5 performed by the photographing unit 2, the vending machine-side control unit 10 (determination unit 11, image processing unit 14, feature extraction unit 17), and the vending machine-side communication unit 3 in the second embodiment. In addition, the order of the processing steps can be reversed or executed simultaneously as long as they are not contradictory.

[0178] exist Fig.26 In step S31, the image processing unit 14 acquires position information and angle information based on the two number pattern images 24 detected in the pre-product arrangement image 20 as the first arrangement information 39. Thereafter, the process proceeds to step S32.

[0179] In step S32, the vending machine-side control unit 10 receives an input from the commodity purchaser to a selection button for the commodity 80. Thereafter, the process proceeds to step S33.

[0180] In step S33, the feature extraction unit 17 creates the feature distribution 50 based on the product-free image 22. Thereafter, the process proceeds to step S34.

[0181] In step S34, the operation control unit 16 carries out the selected product 80 to the conveying unit 4, and conveys the selected product 80 to the take-out port 103 by the conveying unit 4. Thereafter, the process proceeds to step S35.

[0182] In step S35, the imaging unit 2 captures the commodity sales image 21 including the aisle 5 where the selected commodity 80 was placed. Then, the process proceeds to step S36.

[0183] In step S36, the image processing unit 14 obtains the position information and angle information of the two number pattern images 24 detected in the commodity sales image 21 as the second arrangement information 40, and corrects the commodity sales image 21 captured by the photographing unit 2 based on the obtained first arrangement information 39 and second arrangement information 40. Thereafter, the process proceeds to step S37.

[0184] In step S37, the determination unit 11 extracts the feature quantity obtained by digitizing the feature points of the corrected commodity sales image 25, and compares the feature quantity distribution 50 with the feature quantity of the corrected commodity sales image 25 to determine whether there is a commodity 80 in the aisle 5 where the selected commodity 80 was placed. When the determination unit 11 determines that there is a commodity in the aisle 5 ("Yes" in step S37), the process proceeds to step S32, and when the determination unit 11 determines that there is no commodity in the aisle 5 ("No" in step S37), the process proceeds to step S38.

[0185] In step S38, the operation control unit 16 performs control to stop the sale of the commodities 80 in the aisle 5 corresponding to the determination result that there is no commodity. Then, the process ends.

[0186] Next, Fig.26 The flow of the first arrangement information acquisition process performed by the image processing unit 14 in step S31 will be described below.

[0187] exist Fig. 27In step S311, the image processing unit 14 obtains two lane numbers among the pre-selected lane numbers assigned to the plurality of lanes 5, and obtains the first reference pattern image 23 and the second reference pattern image 23 corresponding to the lane number plaques 8 of the two obtained lane numbers stored in the storage unit 30. Thereafter, the process proceeds to S312.

[0188] In step S312, the image processing unit 14 performs pattern matching on the first reference pattern image 23 and the second reference pattern image 23 acquired in the product before arrangement image 20, thereby detecting the first numbered pattern image 24a and the second numbered pattern image 24b in the product before arrangement image 20, and acquires the first arrangement information 39 based on the detected first numbered pattern image 24a and the second numbered pattern image 24b. Thereafter, the process proceeds to S313.

[0189] In step S313, the image processing unit 14 stores the acquired first configuration information 39 in the storage unit 30. Then, the process proceeds to step S314. Fig.26 S32.

[0190] Next, Fig.26 The flow of the process of acquiring the second arrangement information and correcting the commodity selling image 21 in step S36 performed by the image processing unit 14 will be described.

[0191] exist Fig.28 In step S361, the image processing unit 14 obtains two aisle numbers at positions corresponding to the positions where the two aisle numbers selected when obtaining the first configuration information 39 are arranged in the commodity sales image 21, and obtains the third reference pattern image 23 and the fourth reference pattern image 23 corresponding to the aisle number plaques 8 of the two obtained aisle numbers stored in the storage unit 30. Thereafter, the process proceeds to S362.

[0192] In step S362, the image processing unit 14 performs pattern matching on the third reference pattern image 23 and the fourth reference pattern image 23 acquired in the commodity sales image 21, thereby detecting the third numbered pattern image 24c and the fourth numbered pattern image 24d in the commodity sales image 21. When the image processing unit 14 detects the third numbered pattern image 24c and the fourth numbered pattern image 24d ("Yes" in step S362), the process proceeds to step S363, and when the image processing unit 14 does not detect the third numbered pattern image 24c and the fourth numbered pattern image 24d ("No" in step S362), the process proceeds to step S366.

[0193] In step S363, the image processing unit 14 determines whether the similarity between the detected third numbered pattern image 24c and fourth numbered pattern image 24d and the third reference pattern image 23 and fourth reference pattern image 23 is greater than a preset threshold value. When the image processing unit 14 determines that the similarity is greater than the preset threshold value ("Yes" in step S363), the process proceeds to step S364, and when the image processing unit 14 determines that the similarity is less than the preset threshold value ("No" in step S363), the process proceeds to step S366.

[0194] In step S364, the image processing unit 14 acquires the second arrangement information 40 based on the detected third numbered pattern image 24c and fourth numbered pattern image 24d, and stores the acquired second arrangement information 40 in the storage unit 30. Thereafter, the process proceeds to S365.

[0195] In step S365, the image processing unit 14 corrects the commodity sales image 21 captured by the photographing unit 2 based on the first configuration information 39 stored in the storage unit 30 and the second configuration information 40 stored in the storage unit 30, and stores the corrected commodity sales image 25 in the storage unit 30. Then, the process enters Fig.26 S37.

[0196] In step S366, the image processing unit 14 notifies the terminal device 90 of the abnormality of the imaging unit 2 via the vending machine-side communication unit 3. Thereafter, the process proceeds to S367.

[0197] In step S367, the operation control unit 16 performs control to stop the sale of the commodity 80 in the vending machine 100. Thereafter, the process ends.

[0198] In addition, the other structures of the second embodiment are the same as those of the above-mentioned first embodiment.

[0199] (Effects of the Second Embodiment)

[0200] In the second embodiment, the following effects can be obtained.

[0201] In the second embodiment, as described above, the image processing unit 14 corrects the commodity image 21 when it is sold based on the pre-configuration part information related to the two parts in the commodity image 20 before configuration and the sales part information related to the parts corresponding to the two parts in the commodity image 21 when it is sold, and the determination unit 11 further determines whether there is a commodity 80 in the aisle 5 based on the commodity image 20 before configuration and the corrected commodity image 25 when it is sold, wherein the commodity image 20 before configuration is an image of the aisle 5 before the commodity 80 is configured, taken by the photographic unit 2, and the commodity image 21 when it is sold is an image of the aisle 5 taken by the photographic unit 2 when the commodity 80 is sold. Thus, the commodity image 21 can be corrected based on the pre-arrangement part information about the two parts in the commodity image 20 and the sales part information about the parts corresponding to the two parts in the commodity image 21. Therefore, compared with the case where the commodity image 21 is corrected based on one of the pre-arrangement and sales images 20, the positional shift between the commodity image 20 and the sales image 21 caused by the positional shift of the photographing unit 2 can be properly corrected. As a result, even if the positional shift of the photographing unit 2 occurs when the pre-arrangement and sales images 20 and the sales images 21 are captured, the determination unit 11 can determine the presence or absence of the commodity 80 in the aisle 5 with high accuracy based on the pre-arrangement and sales images 20 and the corrected sales images 25. Therefore, the accuracy of the sold-out determination of the commodity 80 in the aisle 5 can be improved.

[0202] In addition, in the second embodiment, as described above, the image processing unit 14 obtains the first reference pattern image 23 and the second reference pattern image 23 corresponding to the two aisle number signs 8, detects the first number pattern image 24a and the second number pattern image 24b in the product before configuration image 20, and obtains the first configuration information 39 related to the detected first number pattern image 24a and the second number pattern image 24b as the pre-configuration partial information, detects the third number pattern image 24c and the fourth number pattern image 24d in the product when selling image 21, and obtains the second configuration information 40 related to the detected third number pattern image 24c and the fourth number pattern image 24d as the partial information when selling, corrects the product when selling image 21 based on the first configuration information 39 and the second configuration information 40, and determines whether there is a product 80 in the aisle 5 based on the product before configuration image 20 and the corrected product when selling image 25. Thus, the product-sale image 21 can be corrected based on the first arrangement information 39 and the second arrangement information 40 acquired by detecting the number pattern image 24 corresponding to the aisle number plate 8, and thus the positional shift between the product-pre-arrangement image 20 and the product-sale image 21 caused by the positional shift of the photographing unit 2 can be appropriately corrected. As a result, even when the positional shift of the photographing unit 2 occurs when the product-pre-arrangement image 20 and the product-sale image 21 are captured, the determination unit 11 can determine the presence or absence of the product 80 in the aisle 5 with higher accuracy based on the product-pre-arrangement image 20 and the corrected product-sale image 25. Therefore, the accuracy of the sold-out determination of the product 80 in the aisle 5 can be further improved.

[0203] In the second embodiment, as described above, the image processing unit 14 acquires the position information and angle information based on the first numbered pattern image 24a and the second numbered pattern image 24b detected in the product before arrangement image 20 as the first arrangement information 39, acquires the position information and angle information based on the third numbered pattern image 24c and the fourth numbered pattern image 24d detected in the product when sold image 21 as the second arrangement information 40, corrects the product when sold image 21 based on the first arrangement information 39 and the second arrangement information 40, and determines whether there are products 80 in the aisle 5 based on the product before arrangement image 20 and the corrected product when sold image 25. Thus, the product when sold image 21 can be corrected based on the first arrangement information 39 and the second arrangement information 40 including the angle information, and thus the complex positional offset in the rotation direction between the product before arrangement image 20 and the product when sold image 21 can be appropriately corrected. As a result, even if a complex positional offset of the photographing unit 2 occurs when capturing the image 20 before the product is configured and the image 21 when the product is sold, the determination unit 11 can further determine with high precision whether there is a product 80 in the aisle 5 based on the image 20 before the product is configured and the corrected image 25 when the product is sold.

[0204] In the second embodiment, as described above, when the partial information at the time of sale is not acquired in the commodity at the time of sale image 21, the image processing unit 14 notifies the user that the photographing unit 2 is abnormal. Thus, the user can understand the abnormality of the photographing unit 2 based on the notification of the abnormality of the photographing unit 2, and can quickly perform correction of the defective condition of the photographing unit 2. As a result, the loss of sales opportunities of the commodity 80 can be suppressed.

[0205] In addition, other effects of the second embodiment are the same as those of the above-mentioned first embodiment.

[0206] [Modifications]

[0207] The embodiments disclosed this time should be considered as illustrative in all aspects and not restrictive. The scope of the present invention is indicated by the claims rather than the description of the embodiments above, and includes all changes (modifications) within the meaning and scope equivalent to the claims.

[0208] For example, in the first embodiment, as the information related to the aisle and the aisle information in the aisle-product correspondence information, the information on the number of spiral members arranged in one aisle, the information on the pitch of the spirals of the spiral members, and the information on the interval of the partition plates that divide the aisles are shown, but the present invention is not limited thereto. In the present invention, for example, the information related to the aisle and the aisle information may be only at least one of the above information, or may be information to which other information related to the aisles is added.

[0209] In addition, in the first embodiment, as the information related to the size of the goods in the aisle goods corresponding information and the product size information, examples of the information on the size of the goods in the width direction, the information on the size of the goods in the height direction, and the information on the size of the goods in the depth direction are shown, but the present invention is not limited thereto. In the present invention, for example, the information related to the size of the goods and the product size information may be only at least one of the above information, or may be information to which other information related to the size of the goods is added.

[0210] In addition, in the first embodiment, the following example is shown: the position information of the front end of each spiral member is obtained, and based on the obtained position information of the front end, it is further determined whether the positional relationship between the front ends is good, but the present invention is not limited to this. In the present invention, the position information of the front end may not be obtained, and it is also possible not to determine whether the positional relationship between the front ends is good.

[0211] In addition, in the first embodiment, an example is shown in which the storage unit stores the aisle-product correspondence information, but the present invention is not limited thereto. In the present invention, for example, the aisle-product correspondence information stored in a server or the like may be obtained via the communication unit on the vending machine side.

[0212] In the first embodiment, the box shape, the first container shape, and the second container shape are shown as examples of product shape information, but the present invention is not limited thereto. In the present invention, other examples of product shapes may be added as product shape information.

[0213] In addition, in the first embodiment, as the storage posture information and the normal posture information, examples such as information on the vertex coordinates of the contour, information on the angle of the side of the contour relative to the horizontal direction, and information on the center coordinates of the contour are shown, but the present invention is not limited to this. In the present invention, other information may be added as the storage posture information and the normal posture information.

[0214] In the first embodiment, the product shape acquisition unit acquires product shape information using the first learned model, but the present invention is not limited thereto. In the present invention, a software program that does not use a learned model may be used to acquire product shape information.

[0215] In the first embodiment, the product appearance acquisition unit uses the background difference method to extract the product area, but the present invention is not limited to this. In the present invention, other well-known methods can also be used to extract the product area.

[0216] In addition, in the first and second embodiments, the commodity sales images are shown as images obtained by taking a picture of a plurality of aisles arranged in two layers in the vertical direction, but the present invention is not limited thereto. In the present invention, the commodity sales images may be images of each of a plurality of aisles, or images obtained by taking a picture of a plurality of aisles arranged in one layer or three or more layers in the vertical direction.

[0217] In addition, in the first embodiment and the second embodiment, an example in which the photographing unit is arranged in the conveying unit is shown, but the present invention is not limited to this. In the present invention, for example, the photographing unit may also be arranged in the door. In this case, a plurality of photographing units may also be arranged.

[0218] In addition, in the second embodiment, the following example is shown: the image processing unit detects two numbered pattern images in the image before product placement and obtains the first arrangement information related to the two detected numbered pattern images, and detects two numbered pattern images in the image when the product is sold and obtains the second arrangement information related to the two detected numbered pattern images, but the present invention is not limited to this. In the present invention, for example, three or more numbered pattern images may be detected and the first arrangement information and the second arrangement information related to the three or more detected numbered pattern images may be obtained.

[0219] In addition, in the second embodiment, an example of pattern matching based on the pattern image of the aisle number plate is shown, but the present invention is not limited to this. In the present invention, for example, pattern matching may be performed based on the pattern image of the frame portion of the aisle number plate, an object other than the aisle number plate, or the like.

[0220] In the second embodiment, an example of using PaDiM is shown as machine learning when creating the second learned model, but the present invention is not limited thereto. In the present invention, for example, deep learning may be used as machine learning when creating the second learned model.

Claims

1. A vending machine having: A storage warehouse, which includes a plurality of aisles for storing goods; A photography unit, which takes a photo of the storage room; and A control unit determines a correspondence between the aisle and the commodity, or determines a posture of the commodity, based on the image of the aisle captured by the imaging unit.

2. The vending machine according to claim 1, wherein: The control unit notifies a user that the result of the determination is a negative result at least when the result of the determination is a negative result.

3. The vending machine according to claim 1 or 2, wherein: The control unit determines whether the aisle is suitable for the product based on aisle-product correspondence information obtained by associating the aisle with the size of the product and the image of the aisle.

4. The vending machine according to claim 3, wherein: The control unit determines whether the set up aisle is good based on the aisle product correspondence information, and the product pre-configuration image and product sales image captured by the photographic unit, wherein the product pre-configuration image is an image of the aisle before the products are configured, and the product sales image is an image of the aisle and the products stored in the aisle when the products are sold.

5. The vending machine according to claim 4, wherein: The control unit obtains aisle information related to the aisle and product size information related to the size of the product based on the image before the product is configured and the image when the product is sold, and determines whether the set aisle is good based on the aisle product correspondence information and the acquired aisle information and product size information.

6. The vending machine according to claim 5, wherein: The storage room includes: a partition plate for partitioning the adjacent cargo lanes in the left-right direction; and a spiral member wound in a spiral shape and extending in the front-rear direction. The lane-product correspondence information and the lane information include at least one of the number of the spiral members arranged in one lane, the pitch of the spiral of the spiral member, and the interval of the partition plates that partition the lane.

7. The vending machine according to claim 6, wherein: When a plurality of spiral members are arranged in one aisle, the control unit further obtains position information of the front end portions of each of the plurality of spiral members based on the image of the commodity when it is sold, and further determines whether the positional relationship between the front end portions is good based on the obtained position information of the front end portions.

8. The vending machine according to claim 1 or 2, wherein: The control unit obtains storage posture information related to the posture of the stored goods based on the image of the aisle and the goods stored in the aisle when the goods are sold, that is, the image of the goods when sold, and normal posture information related to the posture of a normal goods, and determines whether the posture of the goods in the aisle is good based on the acquired storage posture information and normal posture information.

9. The vending machine according to claim 8, wherein: The control unit acquires product shape information related to the shape of the product based on the product sales image, acquires the storage posture information based on the acquired product shape information and the product sales image, and acquires the normal posture information based on the storage posture information. The control unit determines whether the posture of the products in the aisle is good or not based on the acquired storage posture information and the normal posture information.

10. The vending machine according to claim 9, wherein: The control unit acquires a difference between the acquired storage posture information and the normal posture information, and determines that the posture of the product is defective when the acquired difference exceeds a preset threshold.

11. The vending machine according to claim 8, wherein: The control unit performs control to stop the sale of the product in the aisle when it is determined that the product is in an improper posture as a result of the determination.

Citation Information

Patent Citations

  • Automatic vending machine

    JP2020021367A

  • Self-service supermarket vending system and self-service vending system

    CN108831019A

  • Vending machine and intelligent inventory monitoring system and method

    CN109272638A

  • Automatic vending machine

    CN110164031A

  • Goods channel adjusting method, device and system of vending machine and computer equipment

    CN110659090A