Self-checkout system, purchased goods management method and purchased goods management program

The self-checkout system addresses high costs and inaccuracies in product identification by detecting and classifying shelf changes to manage purchased products efficiently, reducing costs and improving accuracy.

JP7568004B2Active Publication Date: 2024-10-16NEC CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2023120618
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-07-25
Publication Date
2024-10-16
Estimated Expiration
2038-03-09

AI Technical Summary

Technical Problem

Existing self-checkout systems require extensive image collection and updating for each product, leading to high costs due to frequent product changes in convenience stores and supermarkets, and struggle to accurately identify purchased products from candidates.

Method used

A self-checkout system that detects changes in product shelves using captured images, classifies these changes, generates shopping lists, and integrates relevance information to manage purchased products without pre-collecting individual product images, utilizing change detection, classification, and relevance integration processes.

Benefits of technology

Enables effective product management without pre-collected images, accurately identifying purchased items and reducing costs by detecting product additions, removals, and location changes, thereby minimizing lost sales and waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568004000001
    Figure 0007568004000001
  • Figure 0007568004000002
    Figure 0007568004000002
  • Figure 0007568004000003
    Figure 0007568004000003
Patent Text Reader

Abstract

To provide a self-register system capable of properly managing commodities to be purchased by customers without previously preparing images of individual commodities.SOLUTION: Change detection means 840 detects a change region of a commodity shelf on which commodities are arranged on the basis of images in which the commodities are imaged. Classification means 850 classifies a change in the commodity shelf in the detected change region. Shopping list generation means 860 generates a shopping list of a customer on the basis of classification of the change in the commodity shelf and shelving allocation information for the commodity shelf.SELECTED DRAWING: Figure 31
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a self-register system, a purchased item management method, and a purchased item management program that automatically manages items purchased by customers. [Background technology]

[0002] Self-service registers, where customers themselves operate the cash register (hereafter referred to as "cash register") terminal, have been introduced in convenience stores, supermarkets, and other retail stores. In a typical self-service register, customers make payments by having the register terminal read the product's identification code (e.g., barcode). However, because it is time-consuming and tedious for customers to determine the location of the identification code, various methods have been proposed to automatically identify the product that the customer is purchasing.

[0003] For example, Patent Document 1 describes a product monitoring device that monitors the display status of products. The device described in Patent Document 1 detects products from images captured of a display area and evaluates the product display status in the display area based on the detection results.

[0004] Also, Patent Document 2 describes a POS (Point Of Sales) system for making payment for products. The POS system described in Patent Document 2 detects the movement of customers using captured images, identifies the customer who is about to make payment for a product, and recognizes the product to be paid for from among the products displayed in positions corresponding to the customer's movement.

[0005] Non-Patent Document 1 describes a method for subtracting a background image using an adaptive Gaussian mixture model. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] International Publication No. 2015 / 079622 [Patent Document 2] International Publication No. 2015 / 140853 [Non-patent literature]

[0007] [Non-Patent Document 1] Zoran Zivkovic, "Improved Adaptive Gaussian Mixture Model for Background Subtraction", Proceedings of the 17th International Conference on Pattern Recognition (ICPR'04), USA, IEEE Computer Society, August 2004, Volume2-Volume02, p.28-31 Summary of the Invention [Problem to be solved by the invention]

[0008] The product monitoring device described in Patent Document 1 extracts an object from a video using a general image recognition method. However, to extract an object from a video using a general image recognition method, an image (reference image) that represents the object to be extracted is required. However, each convenience store or supermarket may have thousands or tens of thousands of products, and these products are generally replaced periodically. Therefore, there is a problem in that collecting and updating reference images for all products would be very costly.

[0009] Furthermore, in the system described in Patent Document 2, products associated with flow line data are set as candidates for payment processing, but it is difficult to specify the product that the customer will purchase from among the candidates.

[0010] Therefore, an object of the present invention is to provide a self-checkout system, a purchased item management method, and a purchased item management program that can appropriately manage items purchased by customers without having to prepare images of each item in advance. [Means for solving the problem]

[0011] The self-checkout system of the present invention includes a change detection means for detecting a changed area of ​​a product shelf on which a product is placed based on a captured image in which the product is captured, a classification means for classifying changes in the product shelf in the detected changed area, a shopping list generation means for generating a shopping list for a customer based on the classification of changes in the product shelf and the product shelf allocation information, an association generation means for generating association information indicating an association between the changed area and a person based on person information acquired from the captured image, and an association integration means for integrating association information into one if the association information includes association information about the same person. and a shopping list update means for updating the contents of the shopping list, wherein the relationship integration means detects, based on the relationship information, that an item has been returned to a location different from the location from which it was taken, and the shopping list update means sets a deletion flag for identifying the item that has been returned to a location different from the location from which it was taken, to the target item included in the shopping list. It is characterized by:

[0012] The present invention By The law is The computer Detecting a change area of ​​a product shelf on which the product is placed based on a captured image of the product; The computer Classifying the shelf changes in the detected change areas; The computer generating a shopping list for the customer based on the classification of shelf changes and the shelf layout information; The computer generating association information indicating an association between the change area and the person based on person information acquired from the captured image; The computer If the relationship information contains information about the same person, the relationship information is merged into one. The computer detects, based on the relevance information, that the product has been returned to a location different from the location from which it was taken, and updates the contents of the shopping list by setting a deletion flag for the target product included in the shopping list, the deletion flag identifying the product that has been returned to a location different from the location from which it was taken. It is characterized by:

[0013] The present invention by The program causes the computer to perform a change detection process for detecting a changed area of ​​a product shelf on which a product is placed based on a captured image in which the product is captured, a classification process for classifying changes in the product shelf in the detected changed area, a shopping list generation process for generating a shopping list for a customer based on the classification of changes in the product shelf and the product shelf allocation information, and an association generation process for generating association information indicating an association between the changed area and a person based on person information acquired from the captured image. , Seki If the relationship information contains related information about the same person, the relationship information is merged into one. and executing a shopping list update process for updating the contents of the shopping list, detecting in a relationship integration process that an item has been returned to a location different from the location from which it was taken, based on the relationship information, and setting in the shopping list update process a deletion flag for identifying an item that has been returned to a location different from the location from which it was taken, for the target item included in the shopping list. It is characterized by: Effect of the Invention

[0014] According to the present invention, products purchased by customers can be appropriately managed without having to prepare images of each product in advance. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing a configuration example of a first embodiment of a self-checkout system according to the present invention; [Diagram 2] FIG. 2 is an explanatory diagram showing an example of a usage scene of the self-checkout system 1. [Diagram 3] 1 is a block diagram showing an example of the configuration of an image processing device 100. FIG. [Figure 4] 4] FIG. 4 is a block diagram showing an example configuration of a first change detection section and a first storage section. [Diagram 5] 10A and 10B are explanatory diagrams showing an example of the operation of a foreground region detection unit; [Figure 6] 11 is an explanatory diagram showing an example of a classification result output by an area change classification unit; FIG. [Figure 7] FIG. 11 is an explanatory diagram showing an example of relevance information between a product and a person; [Figure 8] FIG. 11 is an explanatory diagram showing an example in which relevance information between a product and a person is integrated. [Figure 9] 1 is a block diagram showing an example of the configuration of a shopping list management device; [Figure 10] FIG. 11 is an explanatory diagram showing an example of shelf allocation information. [Figure 11] 4 is a flowchart showing an example of the operation of the image processing device 100 according to the first embodiment. [Figure 12] 4 is a flowchart showing an operation example of the self-checkout system according to the first embodiment. [Figure 13] FIG. 2 is an explanatory diagram showing an example of the configuration of an image processing device 200. [Figure 14] 4] FIG. 4 is a block diagram showing an example configuration of a second change detection section and a second storage section. [Figure 15] 10 is a flowchart showing an example of the operation of the image processing device 200 according to the second embodiment. [Figure 16]FIG. 13 is an explanatory diagram showing a configuration example of a third embodiment of a self-checkout system according to the present invention. [Figure 17] FIG. 2 is an explanatory diagram showing an example of the configuration of an image processing device 300. [Figure 18] FIG. 11 is an explanatory diagram showing an example of flow line data. [Figure 19] FIG. 11 is an explanatory diagram showing an example of relevance information between a product and a person; [Figure 20] FIG. 13 is an explanatory diagram showing an example in which associations between products and people are integrated. [Figure 21] 13 is a flowchart showing an example of the operation of the image processing device 300 according to the third embodiment. [Figure 22] FIG. 13 is a block diagram showing a modified example of the self-checkout system of the third embodiment. [Figure 23] FIG. 2 is a block diagram showing an example of the configuration of an image processing device 300a. [Figure 24] FIG. 11 is an explanatory diagram showing another example of the flow line data. [Diagram 25] 11 is an explanatory diagram showing an example of an operation for detecting a foreground region; FIG. [Figure 26] 11 is an explanatory diagram showing an example of an operation for detecting a foreground region; FIG. [Figure 27] 11 is an explanatory diagram showing an example of an operation for detecting a foreground region; FIG. [Figure 28] 1 is an explanatory diagram showing an example of the operation of a self-checkout system in a first specific example. FIG. [Figure 29] FIG. 11 is an explanatory diagram showing an example of the operation of a self-checkout system in a second specific example. [Diagram 30] FIG. 2 is a block diagram showing an example of a hardware configuration of an information processing device that realizes components of each device. [Diagram 31] 1 is a block diagram showing an overview of a self-checkout system according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0017] [First embodiment] In the first embodiment, a self-checkout system 1 that manages a list of products that a customer plans to purchase (hereinafter, referred to as a shopping list) based on captured images will be described.

[0018] As will be described later, the self-checkout system 1 of this embodiment detects changes in the product shelves 3 based on the captured image captured by the imaging device 2, and detects areas of people and objects included in the captured image. The self-checkout system 1 then associates the change in the product shelves 3 with the extracted person, and integrates the associated information based on the person. In this way, the self-checkout system 1 is configured to associate the change in the product shelves 3 based on the extracted person. In this way, the self-checkout system 1 detects the products that the extracted person is trying to purchase.

[0019] 1 is a block diagram showing a configuration example of a first embodiment of a self-checkout system according to the present invention. The self-checkout system 1 of this embodiment includes a terminal 10 carried by a customer, an image processing device 100, an imaging device 2, a shopping list management device 20, an output device 30, a payment device 40, and a person identification device 50. The terminal 10, the image processing device 100, the imaging device 2, the shopping list management device 20, the output device 30, the payment device 40, and the person identification device 50 are connected to each other via a network N, for example.

[0020] In this embodiment, the image processing device 100, the imaging device 2, and the shopping list management device 20 are described as being separate components. However, each device may be built into the other device. For example, the imaging device 2 may have a function as the image processing device 100 described below, and the image processing device 100 may have a function as the imaging device 2. Also, for example, the image processing device 100 and the shopping list management device 20 may be realized by the same hardware, receive an image captured by the imaging device 2, and perform each process described below.

[0021] 1 illustrates an example in which there is one imaging device 2. However, the number of imaging devices 2 included in the self-checkout system 1 is not limited to one, and may be two or more.

[0022] Fig. 2 is an explanatory diagram showing an example of a usage scene of the self-checkout system 1. Referring to Fig. 2, in the self-checkout system 1, the imaging device 2 captures an image of a product shelf 3 in a store. Then, the imaging device 2 transmits a video signal indicating the captured image to the image processing device 100.

[0023] The imaging device 2 is, for example, a surveillance camera installed in a store or the like. The imaging device 2 is installed in a predetermined position in a store or the like where it can capture an image of the product shelf 3. A camera ID for identifying the imaging device 2 is assigned to the imaging device 2 in advance. The imaging device 2 acquires a captured image. At this time, the imaging device 2 refers to, for example, a clock owned by the imaging device 2 and associates the captured image with the imaging time, which is the time when the captured image was acquired. In this way, the imaging device 2 acquires a captured image showing the state of the product shelf 3 or the like.

[0024] The video captured by the imaging device 2 may be a moving image or a series of still images. In this embodiment, the captured image acquired by the imaging device 2 is at least one of a color image (hereinafter referred to as an RGB (Red Green Blue) image) and a distance image. The captured image acquired by the imaging device 2 may be, for example, an image in a color space other than an RGB image.

[0025] As described above, the imaging device 2 transmits a video signal indicating the captured image to the image processing device 100. The imaging device 2 may store the captured image in a storage device inside the imaging device 2 or in a storage device different from the image processing device 100.

[0026] The image processing device 100 is an information processing device that classifies changes in product shelves by analyzing captured images of products.

[0027] 3 is an explanatory diagram showing an example of the configuration of the image processing device 100. The image processing device 100 of this embodiment includes a first acquisition section 110, a first change detection section 120, a first storage section 130, a first relevance generation section 140, and a relevance integration section 150. Specifically, the image processing device 100 includes, for example, a calculation device and a storage device (not shown). The image processing device 100 realizes each of the above processing sections by, for example, executing a program stored in the storage device with the calculation device.

[0028] Note that the image processing device 100 illustrated in Fig. 3 illustrates a configuration unique to the present disclosure. The image processing device 100 may include components not illustrated in Fig. 3. This also applies to the second and subsequent embodiments.

[0029] The first acquisition unit 110 acquires a video signal indicating a captured image obtained by the imaging device 2 capturing an image of the product shelf 3. The first acquisition unit 110 may receive a video signal transmitted from the imaging device 2. The first acquisition unit 110 may acquire a video signal converted based on a captured image stored inside the imaging device 2 or in a storage device different from the imaging device 2 and the image processing device 100.

[0030] As described above, the image processing device 100 may be configured to be built into the imaging device 2. In such a configuration, the first acquisition section 110 may be configured to acquire the captured image itself.

[0031] The first acquisition unit 110 converts the acquired video signal into at least one or both of an RGB image and a distance image that constitute the video signal. Then, the first acquisition unit 110 supplies the converted image (at least one or both of the RGB image and the distance image) to the first change detection unit 120. Note that the RGB image and the distance image obtained by converting the video signal by the first acquisition unit 110 are also simply referred to as captured images, since they represent captured images of the product shelves 3 captured by the imaging device 2.

[0032] 4 is a block diagram showing an example of the configuration of first change detection section 120 and first storage section 130. Hereinafter, first change detection section 120 and first storage section 130 will be described with reference to FIG.

[0033] The first storage unit 130 is a storage device such as a hard disk or a memory. The first storage unit 130 stores background information 131, a shelf change model 132, foreground information 133, and person information 134. The first storage unit 130 may be realized by a storage device different from the image processing device 100, or may be built into the first change detection unit 120. The background information 131, the shelf change model 132, the foreground information 133, and the person information 134 may be stored in the same storage device or in separate storage devices.

[0034] The background information 131 is a reference image for the first change detection section 120 to compare with the captured image. The background information 131 is also called a background image. For example, the background information 131 is preferably an image of the same type as the captured image. For example, if the captured image is an RGB image, the background information 131 is preferably an RGB image. Note that the background information 131 may be the captured image initially supplied from the first acquisition section 110 to the first change detection section 120, or may be an image given in advance.

[0035] As will be described later, the background information 131 is updatable information. The details of the process for updating the background information 131 will be described later.

[0036] The shelf change model 132 is a model of a change in the product shelf 3 that has been learned in advance. The shelf change model 132 is, for example, stored in advance in the first storage unit 130. The shelf change model 132 may be obtained by learning using machine learning such as a generally well-known Convolutional Neural Network.

[0037] The shelf change model 132 represents, for example, "changes due to products no longer being included in the product shelf 3" or "changes due to new products being included in the product shelf 3" learned using an image in which the product shelf 3 includes a product and an image in which the product shelf 3 does not include a product. The shelf change model 132 also represents "changes due to changes in the appearance of products displayed on the product shelf 3" learned using images of multiple products and multiple images in which the shape of each product has changed. The shelf change model 132 also represents "changes due to the presence of a person in front of the product shelf 3" and "changes due to the presence of a shopping cart in front of the product shelf 3" learned using an image captured in a state in which no object exists in front of the product shelf 3 and an image captured in a state in which an object such as a person exists in front of the product shelf 3. The shelf change model 132 may also represent, for example, "changes due to changes in lighting" learned using images under various environments.

[0038] The learning data of the shelf change model 132 may be, for example, a six-channel image obtained by combining two RGB images before and after the change, or a two-channel image obtained by combining any one of the R, G, or B components of the two RGB images before and after the change. The learning data may also be, for example, a four-channel image obtained by combining any two of the R, G, or B components of the two RGB images before and after the change, or a two-channel image obtained by converting the two RGB images before and after the change into a grayscale image and then combining them. The learning data may also be an image obtained by converting the RGB images before and after the change into another color space, such as the HSV (Hue Saturation Value) color space, and combining one or more channels in the color space after the conversion into the other color space.

[0039] In addition, the learning data of the shelf change model 132 may be generated from a color image such as an RGB image, or may be generated using both a color image and a distance image.

[0040] Foreground information 133 is information stored by foreground region detection unit 121. Foreground information 133 includes information indicating a foreground region (changing region) that is a region in the RGB image that is different from the background image, detected as a result of foreground region detection unit 121 comparing background information 131, which is a background image, with an RGB image, which is a captured image. Specifically, foreground information 133 is, for example, a binary image associated with the capture time of the captured image. Note that the process of storing foreground information 133 will be described in detail later.

[0041] The person information 134 is information stored by the foreground region tracking unit 123. The person information 134 is generated, for example, by associating the person region extracted by the foreground region tracking unit 123 with an ID of the imaging device (camera ID), a person ID, a position on a captured image, a capture time of the captured image, and the like. As described later, the person region is, for example, an RGB image. In other words, the person information 134 may include information indicating, for example, the color, area, shape, and aspect ratio of a circumscribing rectangle of the stored person region. The process of storing the person information 134 will also be described later in detail.

[0042] The first change detection unit 120 detects a changed area relating to the product shelf 3.

[0043] For example, the first change detection unit 120 detects the area of ​​a product displayed on the product shelf 3 included in the captured image when that product is not included in an image (for example, a background image) acquired before the captured image. Also, the first change detection unit 120 detects the area of ​​a product displayed on the product shelf 3 included in the background image when that product is not included in the captured image. Also, the first change detection unit 120 detects the area of ​​a product when, for example, the product displayed on the product shelf 3 included in the captured image and the product included in the background image look different from each other. In this way, the first change detection unit 120 detects changes in the display state of products, such as a decrease in the number of products (disappearance), an increase in the number of products (new appearance), or a change in the appearance of a product, based on the captured image.

[0044] In addition, the first change detection unit 120 detects the area of ​​the person or object included in the captured image of the product shelf 3, for example, when the captured image is captured when a person or object is present between the product shelf 3 and the imaging device 2.

[0045] As described above, the first change detection unit 120 detects changed areas related to the product shelf 3, such as changed areas inside the product shelf 3 where the display state of the products has changed, and changed areas in the captured image due to a person or object that exists between the product shelf 3 and the imaging device 2.

[0046] As illustrated in FIG. 4, first change detection section 120 includes foreground region detection section 121, background information update section 122, foreground region tracking section 123, first extraction section 124, second extraction section 125, and region change classification section 126.

[0047] The foreground region detection unit 121 receives the captured image supplied from the first acquisition unit 110. The foreground region detection unit 121 also acquires background information 131 corresponding to the captured image from the first storage unit 130. As described above, the background information 131 is an RGB image. The foreground region detection unit 121 compares the captured image, which are two RGB images, with the background information 131. The foreground region detection unit 121 then detects a region that has changed between the two compared RGB images as a changed region. Since the foreground region detection unit 121 compares the background information 131, which is a background image, with the RGB image, which is the captured image, it can be said that the foreground region detection unit 121 performs a process of detecting a foreground region that is a region different from the background image.

[0048] In this embodiment, the method by which foreground region detection unit 121 detects the changed region is not particularly limited. Foreground region detection unit 121 may detect the changed region using existing technology. For example, foreground region detection unit 121 may detect the changed region using a background subtraction method. Foreground region detection unit 121 may generate a binary image in which the pixel values ​​of the detected changed region are expressed as 255 and the other pixel values ​​are expressed as 0.

[0049] Here, an example of the operation of the foreground region detection unit 121 will be described in more detail with reference to Fig. 5. Fig. 5 is an explanatory diagram showing an example of the operation of the foreground region detection unit 121. Fig. 5(a) shows an example of a captured image, and Fig. 5(b) shows an example of background information 131 corresponding to the captured image stored in the first storage unit 130. Fig. 5(c) shows an example of a binary image that is a result of detection of a changed region.

[0050] 5(a) and 5(b), there are differences between the captured image and the background information 131 in three areas of product G1, product G2, and product G3. For example, in the example shown in FIG. 5(a) and FIG. 5(b), product G1 is not included in the background information 131 but is included in the captured image. Product G3 is included in the background information 131 but is not included in the captured image. Other products are displayed on the background information 131 at the position of product G2 included in the captured image. Therefore, the foreground area detection unit 121 detects the area of ​​product G2 as an area where a change has occurred. In such a case, the foreground area detection unit 121 generates a binary image in which the areas corresponding to the areas of product G1, product G2, and product G3 are expressed in white and the other areas are expressed in black, as shown in FIG. 5(c), for example.

[0051] In the following description, the changed region refers to each white portion exemplified in Fig. 5(c). That is, the changed region is, for example, a pixel whose pixel value is 255, and a collection of pixels whose adjacent pixels also have a pixel value of 255. In the example shown in Fig. 5(c), foreground region detection unit 121 detects three changed regions.

[0052] As described above, the foreground region detection unit 121 generates, for example, a binary image of the same size as the captured image. The foreground region detection unit 121 also associates the binary image, which is the detection result, with the imaging time of the captured image used to generate the binary image. The foreground region detection unit 121 may associate, with the binary image, information indicating the captured image used to generate the binary image and information indicating the background information 131. The foreground region detection unit 121 then supplies the detection result associated with the imaging time of the captured image and the like to the background information update unit 122 and the foreground region tracking unit 123. The foreground region detection unit 121 also stores the detection result associated with the imaging time of the captured image in the first storage unit 130 as foreground information 133.

[0053] The detection result by foreground region detection section 121 may include information indicating the detected changed region. Foreground region detection section 121 may, for example, associate information indicating the position of the detected changed region (region with a pixel value of 255) and its size with information indicating the captured image used to detect the changed region and information indicating the background image, and output the information as the detection result. In this way, the detection result output by foreground region detection section 121 may be in any format.

[0054] Furthermore, the foreground region detection section 121 may associate the imaging time of the captured image with the binary image that is the detection result, and may also associate color information contained in the changed region extracted from the captured image. Instead of the color information of the changed region, the foreground region detection section 121 may associate the image of the changed region with the detection result. In this way, the foreground region detection section 121 may associate information other than the imaging time with the detection result.

[0055] 5(c), the binary image generated by foreground region detection unit 121 may include a plurality of changed regions. In such a case, foreground region detection unit 121 may generate a binary image for each changed region. A method in which foreground region detection unit 121 generates a binary image for each changed region will be described later as a modified example of foreground region detection unit 121.

[0056] The foreground region tracking unit 123 tracks the changed region detected by the foreground region detection unit 121 among the multiple captured images. Depending on the tracking result, the foreground region tracking unit 123 supplies a binary image to the first extraction unit 124 and the second extraction unit 125, and extracts a person region. In addition, the foreground region tracking unit 123 supplies an update signal indicating an update of the background information 131 to the background information update unit 122.

[0057] Foreground region tracking unit 123 receives, for example, a detection result (binary image) supplied from foreground region detection unit 121. In addition, foreground region tracking unit 123 acquires foreground information 133, which is a binary image associated with the binary image that is the detection result and which is generated from a captured image captured before the capture time of the captured image related to the binary image, from first storage unit 130. Then, foreground region tracking unit 123 tracks the changed areas by performing a process of associating the changed areas represented by each binary image with each other.

[0058] The foreground region tracking unit 123 can track the changed region using various methods. For example, the foreground region tracking unit 123 calculates a similarity based on at least one of the area, shape, and aspect ratio of the circumscribing rectangle of the changed region represented by the binary image supplied from the foreground region detection unit 121 and the foreground information 133 acquired from the first storage unit 130. Then, the foreground region tracking unit 123 tracks the changed region by associating the changed regions with the highest calculated similarity. In addition, in a configuration in which color information is associated with the detection result, the foreground region tracking unit 123 may perform tracking using the color information. The foreground region tracking unit 123 may perform tracking based on an image of the changed region associated with the detection result.

[0059] Foreground region tracking unit 123 checks whether the tracking result is for a predetermined time or more, or whether the amount of movement of the changed region is for a predetermined threshold or more. Note that the predetermined time and the predetermined threshold used by foreground region tracking unit 123 for the check are arbitrary.

[0060] When the amount of movement of the changed region is less than a predetermined threshold and the result of tracking is equal to or longer than a predetermined time, the foreground region tracking unit 123 supplies the binary image, which is the detection result supplied from the foreground region detection unit 121, to the first extraction unit 124 and the second extraction unit 125. At this time, the foreground region tracking unit 123, for example, adds information indicating the captured image used to generate the binary image and information indicating the background information 131 to the binary image, and supplies the binary image to the first extraction unit 124 and the second extraction unit 125. The foreground region tracking unit 123 may, for example, supply the corresponding captured image and background information 131 together with the binary image to the first extraction unit 124 and the second extraction unit 125. Also, when the binary image includes a plurality of changed regions and any of the changed regions has not been tracked for a predetermined time or longer, the foreground region tracking unit 123 may supply the binary image together with information indicating the changed region tracked for a predetermined time or longer to the first extraction unit 124 and the second extraction unit 125.

[0061] If a binary image includes multiple changed regions, foreground region tracking unit 123 may generate multiple binary images such that each binary image includes one changed region. For example, a binary image including only changed regions that have been tracked for a predetermined time or more may be supplied to first extraction unit 124 and second extraction unit 125, and a binary image including changed regions that have not been tracked for a predetermined time or more may be discarded. Foreground region tracking unit 123 may receive a binary image for each changed region from foreground region detection unit 121 as a detection result.

[0062] Furthermore, if the amount of movement of the changed area is equal to or greater than a predetermined threshold, the foreground area tracking unit 123 determines that the object included in the changed area is a moving object. When it is determined that the object included in the changed area is a moving object in this manner, the foreground area tracking unit 123 refrains from supplying the changed area to the first extraction unit 124 and the second extraction unit 125. This enables the image processing device 100 to delete changes on the product shelf 3 that are unrelated to an increase or decrease in the number of products, such as "changes caused by the presence of a person in front of the product shelf 3." This makes it possible to more accurately monitor the display state of products.

[0063] Note that the foreground region tracking unit 123 may supply the determination result that an object included in a changed region is a moving body to the first extraction unit 124 and the second extraction unit 125 in association with the changed region. Then, when the determination result is associated with a changed region, the region change classification unit 126 may classify the change related to the product shelf 3 in this changed region into a type related to a change other than the products displayed on the product shelf 3. For example, the region change classification unit 126 may classify the change related to the product shelf 3 in the changed region into a type related to a change other than the products, such as "a change due to the presence of a person in front of the product shelf 3" or "a change due to a shopping cart in front of the product shelf 3."

[0064] The foreground region tracking unit 123 extracts a changed region determined to be a moving object from the captured image as a person region. Specifically, the foreground region tracking unit 123 uses the captured image and a binary image having the same size as the captured image to extract, as a first image of interest, an image of a region on the captured image corresponding to a region in the binary image where the pixel value is 255. For example, when the captured image is an RGB image, the extracted person region is also an RGB image.

[0065] For each changed region determined to be a moving object, the foreground region tracking unit 123 may extract a person region of the same shape as the changed region, or may extract as the person region a region surrounded by a frame of the same shape as a frame of a predetermined shape circumscribing the changed region. The shape of the frame circumscribing the changed region may be any shape, such as a rectangle or an ellipse. Furthermore, the foreground region tracking unit 123 may extract as the person region a region surrounded by a frame that is a predetermined size larger than the frame circumscribing the changed region.

[0066] Next, foreground region tracking unit 123 associates the extracted person region with the ID (camera ID) of imaging device 2, a person ID assigned to each extracted person region, a position on the captured image, a capture time of the captured image, etc. Then, foreground region tracking unit 123 stores the associated information in the first storage unit as person information 134. Note that the position on the captured image may be expressed, for example, by the coordinate values ​​of the four corners of a circumscribing rectangle of a changing region determined to be a moving object, or may be expressed by the coordinate values ​​of at least one of the four corners and the width and height of the circumscribing rectangle.

[0067] Furthermore, the foreground region tracking unit 123 supplies an update signal indicating an update of the background information 131 to the background information update unit 122 .

[0068] For example, after tracking the changed region, when supplying the detection result indicating the changed region to the first extraction unit 124 and the second extraction unit 125, the foreground region tracking unit 123 supplies an update signal having a value of 1 to the background information update unit 122 together with information indicating the changed region. The update signal having a value of 1 indicates that the image of the part corresponding to the changed region in the background information 131 is updated. Furthermore, when not supplying the detection result to the first extraction unit 124 and the second extraction unit 125, the foreground region tracking unit 123 may supply an update signal having a value of 0 to the background information update unit 122 together with information indicating the changed region. The update signal having a value of 0 indicates that the image of the part corresponding to the changed region in the background information 131 is not updated. Note that the detection result is not output to the first extraction unit 124 and the second extraction unit 125 when, for example, the tracking result is less than a predetermined time, or when the amount of movement of the changed region is equal to or greater than a predetermined threshold.

[0069] The foreground region tracking unit 123 may supply an update signal indicating an update of the background information 131 to the background information updating unit 122 at a timing other than the above-mentioned timing. For example, when it is determined that a product included in the changed region is likely to have been purchased or replenished based on product purchase information, stocking information, store clerk work information, and the like transmitted from an external device (not shown) of the image processing device 100, the foreground region tracking unit 123 may output an update signal having a value of 1 to update the background of the product shelf 3. The foreground region tracking unit 123 may supply an update signal indicating an update of the background information 131 to the background information updating unit 122 based on the tracking time and the like included in the tracking result.

[0070] The background information update unit 122 updates the background information 131 based on the captured image supplied from the first acquisition unit 110, the detection result supplied from the foreground region detection unit 121, the background information 131 (e.g., an RGB image) stored in the first storage unit 130, and the update signal supplied from the foreground region tracking unit 123. The method by which the background information update unit 122 updates the background information 131 is not particularly limited. The background information update unit 122 may update the background information 131 using, for example, a method similar to that described in Non-Patent Document 1.

[0071] Note that background information update unit 122 does not need to update, for example, a portion of the image indicated by background information 131 that corresponds to a changed region indicated by the detection result supplied from foreground region detection unit 121. For example, when background information update unit 122 receives an update signal having the above-mentioned value of 0 from foreground region tracking unit 123, it does not update the background information of the region corresponding to the changed region.

[0072] As described above, when the foreground region tracking unit 123 does not output the detection result to the first extraction unit 124 and the second extraction unit 125, it supplies an update signal with a value of 0 to the background information update unit 122. In this way, when the tracking result satisfies the first predetermined condition, the background information update unit 122 receives an update signal with a value of 0 and does not update the background information of the region corresponding to the changed region. In other words, when the tracking result satisfies the first predetermined condition, the background information update unit 122 updates the region of the background information 131 other than the region corresponding to the changed region. This makes it easier for the foreground region detection unit 121 to detect the region corresponding to the region that was not updated in the captured image next acquired by the first acquisition unit 110 as a changed region.

[0073] Furthermore, for example, when the value of the update signal supplied from the foreground region tracking unit 123 is 1, the background information update unit 122 updates the image of the portion of the RGB image represented by the background information 131 that corresponds to the changed region indicated by the detection result supplied from the foreground region detection unit 121. As described above, when the tracking result is for a predetermined time or more, the foreground region tracking unit 123 supplies the detection result indicating the tracked changed region to the first extraction unit 124 and the second extraction unit 125, and supplies an update signal with a value of 1 to the background information update unit 122. In other words, when the tracking result satisfies the second predetermined condition that the tracking result is a result of tracking for a predetermined time or more, the background information update unit 122 receives an update signal with a value of 1 from the foreground region tracking unit 123 and updates the image of the portion of the background information 131 that corresponds to the changed region. This allows the background information update unit 122 to bring the background information 131 stored in the first storage unit 130 closer to the captured image acquired by the first acquisition unit 110 at that time point. Therefore, the image processing device 100 can prevent the foreground region detection section 121 from detecting, as a changed region, a region on the captured image that corresponds to the changed region and that is to be acquired next by the first acquisition section 110.

[0074] The first extraction unit 124 receives a binary image that is a detection result from the foreground region tracking unit 123. In addition, the first extraction unit 124 acquires the captured image used to generate the binary image from the first acquisition unit 110. Note that the first extraction unit 124 may receive the captured image from the foreground region tracking unit 123 together with the binary image.

[0075] The first extraction unit 124 extracts an image of a changed region from the captured image. Specifically, the first extraction unit 124 uses the captured image and a binary image having the same size as the captured image to extract, as a first image of interest, an image of a region on the captured image corresponding to a region in the binary image where the pixel value is 255. For example, when the binary image is as shown in FIG. 5(c), the first extraction unit 124 extracts three first images of interest from the captured image. For example, when the captured image is an RGB image, the extracted first images of interest are also RGB images.

[0076] For each changed area, the first extraction unit 124 may extract a first image of interest of an area having the same shape as the changed area, or may extract an image of an area surrounded by a frame having the same shape as a frame of a predetermined shape circumscribing the changed area as the first image of interest. The shape of the frame circumscribing the changed area may be any shape, such as a rectangle or an ellipse. The first extraction unit 124 may also extract an image of an area surrounded by a frame that is a predetermined size larger than the frame circumscribing the changed area as the first image of interest.

[0077] The first extraction unit 124 supplies the extracted first image of interest to the area change classification unit 126. The area of ​​the first image of interest extracted by the first extraction unit 124 on the captured image is also called the first area of ​​interest. The first extraction unit 124 acquires position information of the first area of ​​interest, associates the position information with the image capture time, and supplies them to the first correlation generation unit 140. The position information of the first area of ​​interest may be, for example, the coordinate values ​​of the four corners of a circumscribing rectangle of the first area of ​​interest, or may be expressed by the coordinate values ​​of at least one of the four corners and the width and height of the circumscribing rectangle. If the circumscribing rectangle is circular, the position information of the first area of ​​interest may be, for example, the center coordinates of the circle and the radius of the circle. If the circumscribing rectangle is elliptical, the position information of the first area of ​​interest may be, for example, the center coordinates of the ellipse and the major axis and minor axis of the ellipse.

[0078] Second extraction unit 125 receives a binary image that is a detection result from foreground region tracking unit 123. Second extraction unit 125 also acquires background information 131 used to generate the binary image from first storage unit 130. Note that second extraction unit 125 may receive background information 131 from foreground region tracking unit 123 together with the binary image.

[0079] The second extraction unit 125 extracts an image of a changed region from the background information 131. Specifically, the second extraction unit 125 uses the background information 131, which is a background image, and a binary image to extract, as a second image of interest, an image of a region on the background information 131 corresponding to a region in the binary image where the pixel value is 255. The method of extracting the second image of interest is the same as the method of extracting the first image of interest. The second extraction unit 125 supplies the extracted second image of interest to the region change classification unit 126. Note that the region on the background information 131 of the second image of interest extracted by the second extraction unit 125 is also referred to as a second region of interest.

[0080] The area change classification unit 126 classifies the changes related to the product shelf 3 in the changed area, and supplies the classification result to the first relevance generation unit 140. The area change classification unit 126 classifies the change from the image state of the area corresponding to the detected changed area on the background image to the image state of the area corresponding to the changed area on the captured image, based on the first attention area and the second attention area supplied from the first extraction unit 124 and the second extraction unit 125, and the shelf change model 132 stored in the first storage unit 130.

[0081] The state of the image is, for example, a state in which the image includes or does not include a product, a state in which the image includes or does not include a customer, a state in which the image includes or does not include a shopping basket, a state in which the image includes or does not include a shopping cart, etc. Based on the shelf change model 132, the area change classification unit 126 classifies the changes related to the product shelf 3 in the changed area into types of changes such as, for example, "a change due to the product no longer being included in the product shelf 3," "a change due to a new product being included in the product shelf 3," "a change due to a change in the appearance of the products displayed on the product shelf 3," "a change due to the presence of a person in front of the product shelf 3," "a change due to a shopping cart being in front of the product shelf 3," and "a change due to a change in lighting." Note that the types into which the area change classification unit 126 classifies the changes in the state in the changed area are merely examples and are not limited to these.

[0082] For example, a "change due to a product no longer being included on the product shelf 3" can also be referred to as a "change due to a product being removed," and a "change due to a new product being included on the product shelf 3" can also be referred to as a "change due to a product being placed on the product shelf." Furthermore, for example, a "change due to a change in lighting" can also be referred to as a "change in the product shelf environment." Furthermore, the area change classification unit 126 may classify a change in the product shelf as a "change due to a change in the appearance of a product." A "change due to a change in the appearance of the product shelf 3" may be further classified in more detail, for example, as a "change in appearance due to a different product being placed on the product shelf" or a "change in appearance due to a change in the posture of a product."

[0083] More specifically, the area change classification unit 126 receives the first image of interest from the first extraction unit 124. The area change classification unit 126 also receives the second image of interest from the second extraction unit 125. Then, based on the shelf change model 132 stored in the first storage unit 130, the area change classification unit 126 classifies the change from the state of the second image of interest to the state of the first image of interest corresponding to the second image of interest into, for example, the above-mentioned types. In other words, the area change classification unit 126 classifies the change from the state of the second image of interest to the state of the first image of interest based on the result of comparison with the shelf change model 132.

[0084] 6 is an explanatory diagram showing an example of a classification result output by the area change classification section 126. The area change classification section 126 outputs, for example, a classification result 90 shown in FIG.

[0085] As illustrated in Fig. 6, the classification result 90 includes, for example, a second image of interest 91, a first image of interest 92, and a type of change 93. Note that the classification result 90 illustrated in Fig. 6 is an example, and the classification result 90 may include information other than the information illustrated in Fig. 6. The classification result 90 may include, for example, information related to the captured image (such as an identifier and a capture time) and information indicating the position of the first image of interest 92 in the captured image.

[0086] The area change classification unit 126 may classify the change regarding the product shelf 3 into any of the above types, for example, by using a machine learning method (such as a Convolutional Neural Network) used to create the shelf change model 132.

[0087] An example of the configuration of first change detection section 120 has been described above.

[0088] The first relationship generation unit 140 receives the classification result of the changed area and the position information of the changed area from the first change detection unit 120. The first relationship generation unit 140 also acquires person information 134 from the first storage unit 130. The first relationship generation unit 140 then generates product-person relationship information indicating the relationship between the product (change in the display state of the product) corresponding to the changed area and the person, based on the image capture time of the changed area corresponding to the position information of the changed area and the image capture time of the person linked to the person information 134. The first relationship generation unit 140 then supplies the generated product-person relationship information to the relationship integration unit 150.

[0089] Specifically, the first relationship generation section 140 extracts people who intersect with the changing area from people whose images were captured at a time before the imaging time at which the changing area was detected, and then associates the changing area with the person whose image was captured at the time closest to the imaging time of the changing area among the extracted people.

[0090] Fig. 7 is an explanatory diagram showing an example of the relationship information between products and people generated by the first relationship generation unit 140. Fig. 7 shows an example of a camera ID indicating the ID of an imaging device, a person ID indicating a person captured by the imaging device, position information of a changed area on the product shelf, and a classification result of the change. In Fig. 7, the position information of the changed area is expressed by the coordinate value of one corner of a circumscribing rectangle of the changed area and the width and height of the circumscribing rectangle. In addition, the type of change is shown as "a change due to a product being taken" as "a decrease in products" and "a change due to a new product being added to the product shelf 3" as "an increase in products."

[0091] However, the relevance information may include the contents themselves classified by the area change classification unit 126. In that case, the shopping list update unit 22, which will be described later, determines the contents of the shopping list to be updated based on the classified contents.

[0092] Note that the first relationship generation section 140 may, for example, associate the generated person-product relationship information with the person information 134 stored in the first storage section 130 and supply the information to the relationship integration section 150. The first relationship generation section 140 may also add information about the captured image (such as an identifier and a capture time) to the relationship information.

[0093] The relationship integrating unit 150 receives relationship information between products and people from the first relationship generating unit 140. If the received relationship information includes relationship information about the same person, the relationship integrating unit 150 integrates the information into one. The relationship integrating unit 150 then provides the integrated relationship information to the shopping list management device 20.

[0094] The relevance integration unit 150 calculates the similarity based on, for example, at least one of the color, area, shape, and aspect ratio of the circumscribing rectangle of the person area stored in the person information 134 of the first storage unit 130. Then, the relevance integration unit 150 determines that the person areas with the highest calculated similarity are the same person. As described above, the relevance integration unit 150 integrates the relevance information of the same person that has been determined to be the same person.

[0095] FIG. 8 is an explanatory diagram showing an example of integrating the relationship information between products and people shown in FIG. 7. In the example shown in FIG. 8, the relationship information of person ID=1 and person ID=4 shown in FIG. 7 is integrated into one. The relationship information of person ID=2 and person ID=3 shown in FIG. 7 is also integrated into one. In other words, FIG. 8 shows an example of a case where the people with person ID=1 and person ID=4 shown in FIG. 7 are the same person, and the people with person ID=2 and person ID=3 shown in FIG. 7 are the same person.

[0096] In the example shown in Fig. 8, as an example of integration, when integrating the relationship information, two person IDs are compared, and the person ID with the smaller value is adopted as the person ID of the integrated relationship information, but the person ID with the larger value may be adopted. Also, for example, after integrating the relationship information, the person ID may be reassigned. Also, the person ID used when identifying the person by the person identification device 50 described later may be adopted, or identification information for identifying the terminal 10 carried by the person may be adopted.

[0097] Furthermore, the relevance integrating unit 150 may detect that the product has been returned to a location different from the location where it was taken, based on the relevance information. For example, the relevance integrating unit 150 may detect that the product has been returned to a location different from the location where it was taken, by comparing the location where the product was obtained with the location where the product was returned.

[0098] The operation of the relevance integration unit 150 will be specifically described below with reference to FIG. 8. The relevance integration unit 150 compares the position information and the type of change for each person ID. In the example shown in FIG. 7, a person with a person ID=1 acquires a product from a location (10,0) on a product shelf captured by an image capture device with a camera ID=1, and returns the product to a location (250,300). The width and height of the circumscribed rectangle of the acquired product and the returned product are both (30,50), and the acquired product and the returned product are determined to be the same product. From this, the relevance integration unit 150 detects that the person with a person ID=1 has returned the product to a different location, although it is the same shelf as the one from which the product was acquired. Note that the person with a person ID=2 has returned the same product to the same location as the one from which the product was acquired. Therefore, the relevance integration unit 150 does not detect this behavior as a product being returned to a location different from the one from which it was taken.

[0099] In this way, the relation integration unit 150 detects that the product has been returned to a location different from the location where it was taken by detecting that the same person has returned the product to a different location. Note that the relation integration unit 150 may also detect that the product has been returned to a location different from the location where it was taken, for example, when the product has been returned to the same location but its appearance has changed.

[0100] The above is an example of each component of the image processing device 100.

[0101] The terminal 10 is a device carried by a customer, and is realized by, for example, a mobile terminal or a tablet terminal. The terminal 10 stores information for identifying the customer, and is used by a person identification device 50 (described later) when associating the terminal 10 with the customer (person). The terminal 10 may display the information for identifying the customer as a label (such as a barcode), or may transmit the information by short-range wireless communication, for example.

[0102] Furthermore, the terminal 10 notifies the customer of various information in a manner that can be perceived by humans (such as display, vibration, light, and sound) in response to a notification from the notification unit 23 described later. The specific contents notified by the notification unit 23 will be described later.

[0103] The person identification device 50 is a device that identifies people. In this embodiment, the person identification device 50 does not need to identify the characteristics of the person itself (e.g., gender, age, height, etc.), but only needs to be able to identify the person in a manner that distinguishes them from other people. For example, in the example shown in FIG. 8, it is sufficient to be able to identify the person with person ID=1, person with ID=2, and person with ID=5 as being different people. The person identification device 50 is installed, for example, at the entrance of a store to identify people.

[0104] In this embodiment, the person identification device 50 identifies a person based on a captured image. The method by which the person identification device 50 identifies a person is arbitrary. For example, the person identification device 50 may acquire information (such as the color, area, shape, and aspect ratio of the circumscribing rectangle of the person area) used by the above-described relevance integrating unit 150 when calculating the similarity of the person from an image captured of a person entering a store. Then, the person identification device 50 may identify a person using the acquired information.

[0105] Furthermore, the person identification device 50 may associate the identified person with a device (terminal 10) carried by the person. Specifically, the person identification device 50 may capture an image of the person when the terminal 10 is detected by a sensor (not shown) installed at the entrance of the store, and associate the person identified in the captured image with the identification information of the terminal 10. In this case, the person identification device 50 is realized by a device including an imaging device and a sensor. Note that the imaging device and the sensor may be realized by separate hardware. Also, the device carried by the person is not limited to hardware such as a mobile phone, and may be, for example, a medium such as an IC card.

[0106] Specifically, a customer may launch an application program installed on the terminal 10 to display the customer's identification information, and when the customer has the identification information identified by the person identification device 50, the person identification device 50 may associate the person with the terminal 10.

[0107] 9 is a block diagram showing an example of the configuration of the shopping list management device 20. The shopping list management device 20 manages shopping lists for each person. The shopping list management device 20 includes a shopping list generation unit 21, a shopping list update unit 22, a notification unit 23, and a shopping list storage unit 24.

[0108] The shopping list storage unit 24 stores a shopping list for each person. For example, the shopping list storage unit 24 may store the shopping list in association with the person ID described above. The shopping list storage unit 24 may also store the shopping list in association with an identifier that is assigned by the person identification device 50 described above when identifying a person. In addition, when a person and a terminal 10 are associated with each other, the shopping list storage unit 24 may store the person and the terminal 10 in association with the shopping list.

[0109] The shopping list generation unit 21 generates a shopping list and registers it in the shopping list storage unit 24. For example, when the person identification device 50 identifies a person, the shopping list generation unit 21 may generate a shopping list corresponding to the person. Also, for example, when the person identification device 50 associates the person with the terminal 10, the shopping list generation unit 21 may generate a shopping list corresponding to the person. In this case, since the shopping list is associated with the terminal 10 carried by the person, the notification unit 23 described later can notify the terminal 10 of any changes that occur in the shopping list.

[0110] Furthermore, if the self-checkout system 1 does not include a person identification device 50 (i.e., if the terminal 10 is not associated with a shopping list), the shopping list generation unit 21 may generate a shopping list when the first relationship generation unit 140 generates relationship information between people and products. In this case, the shopping list generation unit 21 may integrate the shopping list when the relationship integration unit 150 integrates the relationship information. In this way, the shopping list is managed in association with each person.

[0111] The shopping list update unit 22 receives the integrated relevance information from the relevance integration unit 150, and updates the contents of the shopping list based on the relevance information integrated by the relevance integration unit 150. Specifically, the shopping list update unit 22 updates the contents of the shopping list corresponding to each person based on the classification of changes in product shelves and the product shelf allocation information included in the relevance information.

[0112] In this embodiment, the correlation information includes location information of the changed area of ​​the product shelf and a classification of the change in the product shelf. Therefore, the shopping list update unit 22 identifies the product for which a change in the display state has been detected based on the allocation information of the product shelf where the product is arranged.

[0113] The shopping list update unit 22 may receive only the relevance information newly integrated by the relevance integration unit 150 (i.e., difference information), or may receive all of the integrated relevance information. When receiving difference information, the shopping list update unit 22 performs an update process on the already generated shopping list targeting the products included in the difference information. When receiving all of the integrated relevance information, the shopping list update unit 22 updates the entire shopping list of that person based on the received relevance information.

[0114] The shelf allocation information is information that indicates the arrangement positions of products that have been prepared in advance on the product shelves of each store. The shelf allocation information is, for example, information that associates a product shelf number (tier) and row number with the product name to be arranged at the position of that number. Furthermore, the position where the image is captured by the imaging device 2 and the position of the product shelf are associated and managed in advance. Therefore, it becomes possible to identify a product by associating the area of ​​the product shelf in the image captured by the imaging device 2 with the shelf allocation information.

[0115] FIG. 10 is an explanatory diagram showing an example of shelf allocation information. In the example shown in FIG. 10, it is assumed that image I1 is an image captured by a camera with camera ID=1, which is an imaging device. Moreover, shelf allocation information I2 shown in FIG. 10 represents products arranged in an area specified by the tiers and columns of a product shelf. For example, it is assumed that the position information of product I3 included in image I1 matches the position information in the first row of the relevance information shown in FIG. 8 (i.e., position information (10,0,30,50)). In this case, the shopping list update unit 22 specifies product I3 as product a associated with the first row of the first tier of shelf allocation information I2.

[0116] As described above, the relevance information includes the classification result of the changed area of ​​the product shelf. In other words, it is possible to identify the classification of the change in the product shelf from the relevance information. Therefore, the shopping list update unit 22 identifies products classified as products classified as products in the change in the product shelf caused by a person picking up the product based on the shelf allocation information of the product shelf where the product is arranged. Then, the shopping list update unit 22 performs a registration process for registering the identified products in the shopping list corresponding to the person. In the above example, the change in the product shelf caused by a person picking up the product corresponds to "change due to product being picked up" and corresponds to "product reduction" in terms of the type of change.

[0117] The shopping list update unit 22 performs a process of registering the product in the shopping list corresponding to the person as a registration process for registering the product in the shopping list. In addition, as a registration process, the shopping list update unit 22 may cause the notification unit 23, which will be described later, to notify the terminal 10 of information that the product has been registered. At that time, the notification unit 23 may inquire of the customer via the terminal 10 as to whether the correct product has been added to the shopping list.

[0118] Furthermore, the shopping list update unit 22 identifies products that are classified as changes in the product shelf caused by the person returning the product, based on the shelf allocation information of the product shelf where the product is placed. Then, the shopping list update unit 22 performs a deletion process to delete the identified products from the shopping list corresponding to the person. In the above example, the change in the product shelf caused by the person returning the product corresponds to "change due to the product being placed on the product shelf" and corresponds to "increase in products" in terms of the type of change.

[0119] The shopping list update unit 22 performs a process of deleting an item from a shopping list corresponding to a person as a deletion process for deleting the item from the shopping list. In addition, as a deletion process, the shopping list update unit 22 may cause the notification unit 23, which will be described later, to notify the terminal 10 of information that the item has been deleted. At that time, the notification unit 23 may inquire of the customer via the terminal 10 as to whether the correct item has been deleted from the shopping list.

[0120] Alternatively, the shopping list update unit 22 may not immediately delete the item from the shopping list, but may instead, as a deletion process, set a deletion flag for the target item included in the shopping list, which identifies the item that has been returned to a location different from where it was taken. The shopping list update unit 22 may then cause the notification unit 23, described below, to notify the terminal 10 of information that the deletion flag has been set. At that time, the notification unit 23 may similarly inquire of the customer via the terminal 10 as to whether the item for which the deletion flag has been set is an item that should be deleted. The shopping list update unit 22 may then receive, via the terminal 10 carried by the person who sent the notification, an instruction indicating whether or not to delete the item for which the deletion flag has been set, and may delete the item from the shopping list when the instruction to delete the item has been received.

[0121] Furthermore, the shopping list update unit 22 may cause the notification unit 23 to transmit the shopping list to the terminal 10 every time the shopping list contents are updated.

[0122] The notification unit 23 notifies the terminal 10 of the shopping list information. As described above, the notification unit 23 may notify the terminal 10 of the registration and deletion of products and the setting of a deletion flag in response to the processing of the shopping list update unit 22.

[0123] Furthermore, when there is a product with a deletion flag set in the shopping list, the notification unit 23 may notify the payment device 40, which will be described later, that the payment process will be stopped. By sending such a notification, it is possible to prevent payment for an unauthorized product from being made.

[0124] The output device 30 outputs the contents of the shopping list. The output device 30 may be installed, for example, near the payment device 40 described below, and output the contents of the shopping list during payment processing. If the contents of the shopping list can be output to the terminal 10, the self-checkout system 1 does not need to include the output device 30. The output device 30 may be, for example, a display device such as a display, or a POS (point of sales) terminal. Furthermore, the output device 30 is not limited to these, and may be, for example, a speaker or a mobile terminal.

[0125] The payment device 40 performs payment processing based on the contents of the shopping list. For example, if the shopping list is associated with the terminal 10, the payment device 40 may notify the terminal 10 associated with the shopping list of the total amount and perform payment processing. Note that the method in which the payment device 40 performs payment via the individual's terminal 10 is widely known, and a detailed description thereof will be omitted here.

[0126] On the other hand, if a shopping list is not associated with the terminal 10, the payment device 40 may display the contents of the shopping list and the total amount on the output device 30 and accept payment processing such as deposit from the customer or card payment. Note that payment methods based on deposit and card payment are also widely known, so a detailed description thereof will be omitted here.

[0127] Furthermore, when the payment device 40 receives a notification from the notification unit 23 to stop the payment process (specifically, a notification that a product with a deletion flag set remains), the payment device 40 may stop the payment process based on the shopping list and display various alerts. For example, the payment device 40 may notify the terminal 10 that a deletion flag remains. Furthermore, the payment device 40 may prompt the customer to confirm the product with the deletion flag set on the output device 30 or by providing an audio guide, for example.

[0128] The image processing device 100 (more specifically, the first acquisition section 110, the first change detection section 120, the first relevance generation section 140, and the relevance integration section 150) are realized by a CPU of a computer that operates according to a program. For example, the program may be stored in a storage section (not shown) included in the image processing device 100, and the CPU may read the program and operate as the first acquisition section 110, the first change detection section 120, the first storage section 130, the first relevance generation section 140, and the relevance integration section 150 according to the program.

[0129] In addition, the first acquisition section 110, the first change detection section 120, the first memory section 130, the first relationship generation section 140 and the relationship integration section 150 included in the image processing device 100 may each be realized by dedicated hardware.

[0130] Furthermore, the shopping list management device 20 (more specifically, the shopping list generation unit 21, the shopping list update unit 22, and the notification unit 23) are also realized by the CPU of a computer that operates according to a program. For example, the program may be stored in a memory unit (not shown) provided in the shopping list management device 20, and the CPU may read the program and operate as the shopping list generation unit 21, the shopping list update unit 22, and the notification unit 23 according to the program. Furthermore, the shopping list generation unit 21, the shopping list update unit 22, and the notification unit 23 included in the shopping list management device 20 may each be realized by dedicated hardware.

[0131] Next, the operation of the image processing device 100 of this embodiment will be described with reference to Fig. 11. Fig. 11 is a flowchart showing an example of the operation of the image processing device 100 of this embodiment.

[0132] The first acquisition unit 110 acquires a captured image, which is an RGB image, from a video signal capturing an image of the product shelf 3 (Step S1001). The first acquisition unit 110 supplies the acquired captured image to the first change detection unit 120.

[0133] The foreground region detection unit 121 of the first change detection unit 120 detects a region that has changed between the two RGB images as a changed region (foreground region) using the captured image, which is an RGB image supplied from the first acquisition unit 110, and the background information 131, which is an RGB image stored in the first storage unit 130 (step S1002). Then, the foreground region detection unit 121 supplies the detection result of the changed region to the background information update unit 122 and the foreground region tracking unit 123. For example, the foreground region detection unit 121 generates a binary image in which the pixels of the detected changed region are set to 255 and the pixels of other regions are set to 0, and supplies the binary image to the background information update unit 122 and the foreground region tracking unit 123 as the detection result of the changed region.

[0134] Furthermore, foreground region detection unit 121 stores foreground information 133 in first storage unit 130 (step S1003). As described above, foreground information 133 is a detection result associated with an image capture time.

[0135] Foreground region tracking unit 123 tracks the changed region based on the detection result supplied from foreground region detection unit 121 and foreground information 133 (step S1004). Foreground region tracking unit 123 supplies a binary image indicating the changed region that has been tracked for a predetermined time or more to first extraction unit 124 and second extraction unit 125. Foreground region tracking unit 123 supplies an update signal indicating an update of background information 131 to background information update unit 122.

[0136] If the amount of movement of the changed area is equal to or greater than a predetermined threshold as a result of tracking, foreground area tracking unit 123 determines that the object included in the changed area is a moving object, and extracts the determined changed area as a person area. After that, foreground area tracking unit 123 associates predetermined information with the person area and stores it as person information 134 in the first storage unit.

[0137] The background information update unit 122 updates the background information 131 based on the captured image supplied from the first acquisition unit 110, the detection result of the changed area supplied from the foreground area detection unit 121, the background information 131, and the update signal supplied from the foreground area tracking unit 123 (step S1005). Note that step S1005 may be performed at any timing after step S1004.

[0138] Based on the captured image supplied from the first acquisition unit 110 and the detection result related to the captured image supplied from the foreground region tracking unit 123, the first extraction unit 124 extracts an image of a region (first region of interest) in the captured image that corresponds to the changed region indicated by the detection result as a first image of interest (step S1006). The first extraction unit 124 supplies the extracted first image of interest to the region change classification unit 126.

[0139] The second extraction unit 125 extracts a second image of interest from the background information 131 by the same operation as the first extraction unit 124, based on the detection result supplied from the foreground region tracking unit 123 and the background information 131 used to obtain the detection result, acquired from the first storage unit 130 (step S1007). The second extraction unit 125 supplies the extracted second image of interest to the region change classification unit 126. Note that steps S1006 and S1007 may be performed simultaneously or in the reverse order.

[0140] The area change classification unit 126 classifies the change related to the product shelf 3 based on the first image of interest supplied from the first extraction unit 124, the second image of interest supplied from the second extraction unit 125, and the shelf change model 132 stored in the first storage unit 130 (step S1008). Specifically, the change related to the product shelf 3 is a change from the state in the second image of interest to the state in the first image of interest.

[0141] The first association generation unit 140 receives the classification result of the changed area and the position information of the changed area from the area change classification unit 126 of the first change detection unit 120. The first association generation unit 140 also acquires person information 134 from the first storage unit 130. The first association generation unit 140 then extracts people who intersect with the changed area from among people whose images were captured at a time before the imaging time at which the changed area was detected. Thereafter, the first association generation unit 140 associates the changed area with the person whose image was captured at the time closest to the imaging time of the changed area among the extracted people (step S1009). In this way, the first association generation unit 140 generates association information.

[0142] The relevance integrating unit 150 receives relevance information between products and people from the first relevance generating unit 140, and integrates the relevance information of the same person into one if there is relevance information of the same person. The relevance integrating unit 150 calculates a similarity based on at least one of the color, area, shape, and aspect ratio of the circumscribed rectangle of the person area stored in the person information 134 of the first storage unit 130, for example. Then, the relevance integrating unit 150 determines that the person areas with the highest calculated similarity belong to the same person. After that, the relevance integrating unit 150 integrates the relevance information including the person determined to be the same person into one (step S1010).

[0143] The image processing device 100 determines whether the first acquisition unit 110 has received the next video signal (whether there is a next captured image) (step S1011). If there is a next captured image (YES in step S1011), the process proceeds to step S1001. On the other hand, if there is no next captured image (NO in step S1011), the image processing device 100 ends the operation.

[0144] Next, the operation of the self-checkout system 1 of this embodiment will be described with reference to FIG. 12. FIG. 12 is a flowchart showing an example of the operation of the self-checkout system 1 of this embodiment. First, when a customer (person) comes to a store, the person identification device 50 identifies the person and associates the person with the terminal 10 (step S1101). In addition, the shopping list generation unit 21 generates a shopping list corresponding to the person (step S1102). After the customer enters the store, the imaging device 2 acquires a captured image (step S1103). The image processing device 100 detects a changed area of ​​the product shelf based on the captured image (step S1104). Then, the image processing device 100 classifies the change in the product shelf in the detected changed area (step S1105). The image processing device 100 updates the shopping list corresponding to the person based on the classification of the change in the product shelf and the shelf allocation information of the product shelf (step S1106).

[0145] Thereafter, the settlement device 40 performs settlement processing based on the contents of the shopping list (step S1107).

[0146] As described above, in this embodiment, the first change detection unit 120 (more specifically, the foreground area detection unit 121) detects areas of the product shelves that have changed from the video of the product shelves. Furthermore, the first change detection unit 120 (more specifically, the area change classification unit 126) classifies the changes to the product shelves in the detected changed areas. Then, the shopping list update unit 22 generates a shopping list for the customer based on the classification of the changes to the product shelves and the layout information of the product shelves. Therefore, the products purchased by the customer can be appropriately managed without having to prepare images of each product in advance.

[0147] In addition, for example, in the commonly known background subtraction method, it is possible to detect other information simply by defining information that suppresses detection as the background, so there is no need to collect a reference image of the target object in advance. However, there are multiple changes in product shelves that can be detected as image differences. Therefore, if only the general background subtraction method is used, it is not possible to accurately recognize changes in product shelves.

[0148] For example, "a product has been taken," "a product has been placed (replenished)," "a change in appearance or position due to a product being picked up and then returned," "a change in lighting," etc. are all detected as changes on the shelves. However, a change due to "a product being taken" indicates that a product has been removed from the shelves, while "a product has been placed (replenished)" indicates that a product has been added to the shelves. Furthermore, changes due to "a change in appearance or position" or "a change in lighting" do not mean that products have increased or decreased on the shelves.

[0149] Therefore, there is a problem that simply using general technology cannot identify the type of change in the product shelves detected as image differences, making it difficult to accurately grasp the product display status.

[0150] However, in this embodiment, the area change classification unit 126 classifies the change in the product shelf in the detected changed area. Specifically, the area change classification unit 126 classifies the change in the product shelf from the image of the changed area using a shelf change model 132 that models the change in the product shelf 3 before and after a time change. This shelf change model 132 makes it possible to classify changes due to products being taken away, changes in the store environment of the product shelf, changes due to products being placed on the product shelf, changes due to changes in the appearance of the product, and the like. As a result, the image processing device 100 can more accurately determine the state of the product shelf 3, such as whether a product has been taken away or the product shelf 3 has been replenished.

[0151] Furthermore, as described above, the image processing device 100 of this embodiment can detect that a product has been returned to a location different from where it was taken. For example, when a product is returned to a location different from where it was taken, such as when a refrigerated product is returned to a room temperature shelf, sales opportunity losses and product disposal losses occur, which have a significant impact on store sales. Therefore, when such an event occurs, it is preferable to promptly carry out product management work to resolve the situation. By using the image processing device 100 of this embodiment, it is possible to reduce sales opportunity losses and product disposal losses caused by products being returned to a location different from where they were taken.

[0152] In the present embodiment, the imaging device 2 captures an image of the product shelf 3. However, the object captured by the imaging device 2 is not limited to the product shelf 3. The imaging device 2 may capture an image of products stacked on a trolley, for example. That is, the captured image captured by the imaging device 2 may be an image of products stacked on a trolley. The image processing device 100 may detect a change area by comparing the captured image of the products stacked on the trolley with a background image. As described above, the image processing device 100 is not limited to a product shelf where the products are displayed so that all the faces of the products are visible, and can use captured images of products displayed in various display methods.

[0153] [Second embodiment] Next, a second embodiment of the present invention will be described. In the second embodiment, a self-checkout system 1 in which a product shelf 3 is monitored by acquiring different types of images using a plurality of imaging devices 2 will be described. In this embodiment, a case in which RGB images and distance images are acquired by a plurality of imaging devices 2 will be described. The imaging devices 2 may be, for example, an RGB camera that acquires RGB images and a depth camera that acquires distance images.

[0154] In this case, the RGB camera and the depth camera are installed in close proximity to each other and capture the same object (the product shelf 3). Moreover, it is preferable that the RGB camera and the depth camera are time-synchronized and capture the product shelf 3 at approximately the same time. In other words, it is preferable that the depth camera is a camera that outputs a distance image capturing the imaging range of the RGB image captured by the RGB camera within a predetermined time from the capture time of the RGB image. Moreover, the imaging device 2 may be a sensor capable of acquiring multiple types of images (for example, an RGB image and a distance image). The imaging device 2 may be, for example, an RGBD camera.

[0155] 1 described in the first embodiment, the image processing device 200 in this embodiment is communicably connected to the terminal 10, the imaging device 2, the shopping list management device 20, the output device 30, the payment device 40, and the person identification device 50. The terminal 10, the shopping list management device 20, the output device 30, the payment device 40, and the person identification device 50 in this embodiment are the same as those in the first embodiment.

[0156] 13 is an explanatory diagram showing a configuration example of the image processing device 200. The image processing device 200 of this embodiment includes a first acquisition section 110, a second acquisition section 210, a second change detection section 220, a second storage section 230, a second relevance generation section 240, and a relevance integration section 150. Thus, the image processing device 200 includes the second acquisition section 210 in addition to the configuration of the image processing device 100. Also, instead of the first change detection section 120, the first storage section 130, and the first relevance generation section 140 of the image processing device 100, the image processing device 200 includes the second change detection section 220, the second storage section 230, and the second relevance generation section 240.

[0157] In the above, elements having the same functions as elements included in the drawings explained in the first embodiment are denoted by the same reference numerals. The following describes the characteristic configuration of this embodiment.

[0158] Fig. 14 is a block diagram showing an example of the configuration of second change detection section 220 and second storage section 230. As shown in Fig. 14, second change detection section 220 has foreground region detection section 121, background information update section 122, foreground region tracking section 123, first extraction section 124, second extraction section 125, region change classification section 126, and distance information update section 127. In addition, second storage section 230 stores background information 131, shelf change model 132, foreground information 133, person information 134, and distance information 135.

[0159] The first acquisition unit 110 acquires a captured image that is an RGB image, similarly to the first embodiment. Hereinafter, the captured image that is an RGB image acquired by the first acquisition unit 110 will be referred to as a first captured image.

[0160] The second acquisition unit 210 receives a video signal indicating a captured image obtained by the imaging device 2 capturing an image of the product shelf 3 in the same manner as the first acquisition unit 110, and acquires a distance image from the video signal. The second acquisition unit 210 receives a video signal of a different type from the video signal acquired by the first acquisition unit 110. For example, when the video signal acquired by the first acquisition unit 110 is a video signal representing an RGB image, the second acquisition unit 210 acquires a video signal representing a distance image. Here, the distance image may mean, for example, an image having a value of the distance from the imaging device 2 to an object. Also, each pixel of the distance image may be expressed by, for example, a value from 0 to 255. In this case, the value of each pixel (i.e., the distance value) may approach 0 if the object is close to the imaging device 2, and approach 255 if the object is far away. Note that the value of each pixel of the distance image is not limited to this. In this embodiment, the captured image acquired by the second acquisition unit 210 is described as a grayscale distance image.

[0161] Similarly to the first acquisition unit 110, the second acquisition unit 210 may acquire a video signal converted based on a captured image stored inside the imaging device 2 or in a storage device different from the imaging device 2 and the image processing device 100. In addition, when the image processing device 100 is built into the imaging device 2, the second acquisition unit 210 may acquire the captured image itself.

[0162] The second acquisition unit 210 converts the acquired video signal into a distance image representing the video signal, and supplies the distance image to the first extraction unit 124, the second extraction unit 125, and the distance information update unit 127. The distance image acquired by the second acquisition unit 210 converting the video signal, or the captured image acquired from the imaging device 2, will hereinafter be referred to as a second captured image.

[0163] The first acquisition section 110 and the second acquisition section 210 may be integrally formed. The first captured image and the second captured image are associated with each other based on information indicating the captured position and the captured time.

[0164] The second storage unit 230 of this embodiment stores the distance information 135. The distance information 135 will be described later.

[0165] The first extraction unit 124 extracts an image of the changed area from the second captured image. Specifically, the first extraction unit 124 uses the second captured image, which is a distance image supplied from the second acquisition unit 210, and the binary image, which is the detection result supplied from the foreground area detection unit 121, to extract, as a first image of interest, an image of an area on the second captured image corresponding to an area in the binary image where the pixel value is 255. The first extraction unit 124 may extract the first image of interest using a method similar to that of the first embodiment. Then, the first extraction unit 124 supplies the extracted first image of interest to the area change classification unit 126.

[0166] The second extraction unit 125 extracts an image of a changed region from a distance image taken before the time when a distance image, which is a second captured image associated with the first captured image used when the foreground region detection unit 121 generates a binary image, was captured. Specifically, the second extraction unit 125 receives a binary image, which is a detection result, from the foreground region detection unit 121. The second extraction unit 125 also acquires distance information 135, which is a second captured image captured before the capture time of the first captured image used to generate the binary image, from the second storage unit 230. The distance information 135 is a second captured image updated by the second acquisition unit 210 described later, and is a distance image acquired by the second acquisition unit 210. The distance information 135 is associated with the capture time. As described above, the first captured image and the second captured image are synchronized in time, so that the capture time of the first captured image and the capture time of the second captured image associated with the first captured image are substantially the same. Therefore, it can be said that the second extraction section 125 extracts, as a second image of interest, an image of a changed region from a second captured image captured (in the past) before the second captured image on which the first extraction section 124 performs the extraction process.

[0167] The second extraction unit 125 extracts the second image of interest using a method similar to the method used by the first extraction unit 124 to extract the first image of interest. The second extraction unit 125 supplies the extracted second image of interest to the area change classification unit 126.

[0168] Distance information update unit 127 updates distance information 135 based on the distance image supplied from second acquisition unit 210 and distance information 135 stored in second storage unit 230. Distance information update unit 127 may update distance information 135 by, for example, an operation similar to that of background information update unit 122.

[0169] The area change classification unit 126 classifies the changes related to the product shelf 3 in the changed area based on the distance information 135 in the changed area. First, the area change classification unit 126 receives the first image of interest from the first extraction unit 124. The area change classification unit 126 also receives the second image of interest from the second extraction unit 125. The area change classification unit 126 classifies the changes related to the product shelf 3 in the changed area based on the first image of interest and the second image of interest.

[0170] The area change classification unit 126 may classify the change based on the calculation result obtained by subtracting the value (distance value) of each pixel in the second image of interest from the value (distance value) of each pixel in the first image of interest. For example, when the calculation result is a value equal to or greater than a first predetermined threshold, that is, when the object included in the first image of interest is located further back than the object included in the second image of interest, the area change classification unit 126 may classify the change related to the product shelf 3 in the changed area as "a change due to the product no longer being included in the product shelf 3" ("a change due to the product being taken"). Also, when the calculation result is a value equal to or less than a second predetermined threshold, that is, when the object included in the first image of interest is located closer to the imaging device 2 than the object included in the second image of interest, the area change classification unit 126 may classify the change related to the product shelf 3 in the changed area as "a change due to the product being newly included in the product shelf 3". In other cases, the area change classification unit 126 may classify changes related to the product shelves 3 in the changed area as "changes due to a change in the appearance of the products displayed on the product shelves 3" or "changes due to a change in lighting", etc.

[0171] Furthermore, the area change classification unit 126 may, for example, cluster the distance values ​​of each pixel in the first image of interest and the distance values ​​of each pixel in the second image of interest, set the distance value of the class with the largest number of elements as the distance value representative of each image of interest, and further obtain the coordinates of the cluster of the class of each image of interest. Then, the area change classification unit 126 may classify the change related to the product shelf 3 in the changed area as "a change due to a change in the appearance of the products displayed on the product shelf 3" when, for example, the absolute value of the difference between the distance values ​​representative of each image of interest is within a third predetermined threshold value and the coordinates of the clusters of the classes of each image of interest are apart by a fourth predetermined threshold value or more.

[0172] Furthermore, the area change classification unit 126 may classify the change in the product shelf 3 in the change area into a type related to a change in the product displayed on the product shelf 3 or a type related to a change caused by an object other than the product displayed on the product shelf 3, by using, for example, a result of subtracting a distance value representative of the first attention image from a distance value from the imaging device 2 to the product shelf 3, which is set in advance. For example, if the result is a positive value, that is, if an object included in the image of the part of the change area in the captured image is present between the imaging device 2 and the product shelf 3, the area change classification unit 126 may classify the change in the product shelf 3 in the change area into a type related to "a change caused by an object other than the product displayed on the product shelf 3". The type related to "a change caused by an object other than the product displayed on the product shelf 3" is, for example, at least one of "a change caused by a person being in front of the product shelf 3", "a change caused by a shopping cart being in front of the product shelf 3", and "a change caused by a person and a shopping cart being in front of the product shelf 3". Furthermore, if the result is other than a positive value, the area change classification unit 126 may classify the change in the changed area regarding the product shelf 3 into a type related to "change in products displayed on the product shelf 3." In this way, the area change classification unit 126 performs classification processing using the first image of interest and a distance value set in advance, thereby reducing the processing cost required for the classification processing.

[0173] The image processing device 200 (more specifically, the first acquisition unit 110, the second acquisition unit 210, the second change detection unit 220, the second relationship generation unit 240, and the relationship integration unit 150) are realized by the CPU of a computer operating according to a program.

[0174] The above is an example of a characteristic configuration of the image processing device 200.

[0175] Next, the operation of the image processing device 200 of this embodiment will be described with reference to Fig. 15. Fig. 15 is a flowchart showing an example of the operation of the image processing device 200 of this embodiment.

[0176] The first acquisition unit 110 acquires a first captured image, which is an RGB image, from a video signal capturing an image of the product shelf 3 (step S2001). The second acquisition unit 210 acquires a second captured image, which is a distance image, from the video signal capturing an image of the product shelf 3 (step S2002). Note that it is sufficient that the capture time of the second captured image is within a predetermined time from the capture time of the first captured image, and that the capture range of the second captured image is the capture range of the first captured image. It is sufficient that the second acquisition unit 210 acquires the second captured image before step S2005.

[0177] The foreground region detection unit 121 detects a changed region (step S2003), and the background information update unit 122 updates the background information 131 (step S2004). The first extraction unit 124 extracts, based on the second captured image supplied from the second acquisition unit 210 and the detection result supplied from the foreground region detection unit 121, an image of a region (first region of interest) in the second captured image corresponding to the changed region indicated by the detection result as a first image of interest (step S2005). The first extraction unit 124 supplies the extracted first image of interest to the region change classification unit 126.

[0178] Further, the second extraction unit 125 extracts a second image of interest from the distance information 135 by the same operation as the first extraction unit 124 based on the detection result supplied from the foreground region detection unit 121 and the distance information 135 obtained from the second storage unit 230 and indicating the second captured image captured before the capture time of the second captured image supplied to the first extraction unit 124 (step S2006). The second extraction unit 125 supplies the extracted second image of interest to the region change classification unit 126. Note that steps S2005 and S2006 may be performed simultaneously or in reverse order. Then, the region change classification unit 126 classifies the change related to the product shelf 3 in the changed region based on the result of comparing the value of each pixel of the first image of interest with the value of each pixel of the second image of interest (step S2007). Furthermore, the distance information update unit 127 updates the distance information 135 based on the second captured image and the distance information 135 supplied from the second acquisition unit 210 (step S2008).

[0179] Thereafter, the image processing device 200 performs processing similar to the processing from step S1009 to step S1010 illustrated in FIG. 11, so that the second relationship generation unit 240 generates relationships (step S2009) and the relationship integration unit 150 integrates the relationship information (step S2010).

[0180] The image processing device 200 judges whether the first acquisition unit 110 and the second acquisition unit 210 have received the next video signal (whether there is a next captured image) (step S2011). If there is a next captured image (YES in step S2011), the process proceeds to step S2001. On the other hand, if there is no next captured image (NO in step S2011), the image processing device 200 ends the operation.

[0181] As described above, in this embodiment, the foreground region detection unit 121 detects a changed region of the product shelf on which the product is placed, based on an RGB image and a distance image capturing the imaging range of the RGB image as a captured image in which the product is captured. This makes it possible to more accurately determine changes in the product shelf, thereby enabling more appropriate management of products purchased by customers.

[0182] [Third embodiment] Next, a third embodiment of the present invention will be described. In the third embodiment, an image processing device 300 having a configuration for generating customer movement line data in addition to the configuration of the image processing device 100 described in the first embodiment will be described. As will be described later, the image processing device 300 generates association information using the generated movement line data. This makes it possible to obtain customer movement line data with higher accuracy, thereby making it possible to appropriately manage products purchased by customers.

[0183] 16 is an explanatory diagram showing a configuration example of a third embodiment of the self-checkout system according to the present invention. In addition to the imaging device 2 that images the product shelves 3, the self-checkout system 4 of this embodiment includes an imaging device 5 that images the aisles in the store in the same way as a general surveillance camera. Similarly to the imaging device 2, the imaging device 5 is communicably connected to the terminal 10, the shopping list management device 20, the output device 30, the payment device 40, the person identification device 50, and the image processing device 300 via the network N. The terminal 10, the imaging device 2, the shopping list management device 20, the output device 30, the payment device 40, and the person identification device 50 of this embodiment are also the same as those of the first embodiment.

[0184] The imaging device 5 is, for example, a surveillance camera installed in a store. The imaging device 5 is installed, for example, in a position where it can capture images of each aisle in the store. The imaging device 5 may have the same configuration as the imaging device 2.

[0185] The self-checkout system 4 may have one or more imaging devices 5. That is, the self-checkout system 4 may image each aisle in the store using one imaging device 5, or may image each aisle in the store using multiple imaging devices 5. In addition, in this embodiment, a case will be described in which the self-checkout system 4 has an imaging device 5 other than the imaging device 2. However, the self-checkout system 4 may obtain customer flow line data based on images captured by multiple imaging devices 2, for example. That is, the self-checkout system 4 may obtain customer flow line data based on images captured by multiple imaging devices 2 that capture images of the product shelves 3.

[0186] The image processing device 300 generates flow line data indicating the movement route of the customer within the store from the RGB image captured by the imaging device 5. Then, the image processing device 300 generates relevance information between the product and the person based on the generated flow line data and the changed area of ​​the product shelf 3.

[0187] 17 is a block diagram showing a configuration example of the image processing device 300. As shown in FIG. 17, the image processing device 300 of this embodiment includes a first acquisition unit 110, a first change detection unit 120, a first storage unit 130, a first relationship generation unit 340, a third acquisition unit 310, a movement line data generation unit 320, and a relationship integration unit 150. In this manner, the image processing device 300 of this embodiment includes the first relationship generation unit 340 instead of the first relationship generation unit 140 of the image processing device 100. Furthermore, the image processing device 300 includes a third acquisition unit 310 and a movement line data generation unit 320 in addition to the configuration of the image processing device 100.

[0188] In the above, elements having the same functions as elements included in the drawings explained in the first and second embodiments are denoted by the same reference numerals. The following describes the characteristic configuration of this embodiment.

[0189] The third acquisition unit 310 acquires an RGB image from the imaging device 5 by the same operation as the first acquisition unit 110, and supplies the RGB image to the traffic line data generation unit 320. The RGB image acquired by the third acquisition unit 310 is an image of an aisle of a store captured in the same manner as a general surveillance camera.

[0190] The flow line data generating unit 320 generates data on the flow line of a person in a store using an RGB image captured by at least one imaging device 5. The flow line data generated by the flow line data generating unit 320 is information including, for example, a person ID for identifying a customer and a product shelf ID that is an identifier for the product shelf 3 visited by the customer. The method by which the flow line data generating unit 320 generates the flow line data is not particularly limited. The flow line data generating unit 320 may generate the flow line data using, for example, the method described in Patent Document 2. That is, the flow line data generating unit 320 identifies a customer in a captured image by, for example, detecting a person who has the same data obtained by performing face recognition on the person as the same person, or by extracting information indicating the characteristics of the customer, such as clothing, and detecting the same person. In addition, the flow line data generating unit 320 determines that a customer has visited the product shelf 3 by, for example, the customer staying in front of the product shelf 3 for a certain period of time, the distance between the customer and the product shelf 3 becoming equal to or less than a certain distance, or the like. Then, the flow line data generating unit 320 generates the flow line data by associating the person ID for identifying the customer with the product shelf ID visited by the customer. Note that the flow line data generating unit 320 may generate the flow line data using a method other than the above example.

[0191] FIG. 18 is an explanatory diagram showing an example of flow line data generated by the flow line data generating unit 320. The flow line data shown in FIG. 18 includes a person ID indicating a person, a product shelf ID indicating a product shelf visited by the person, and a camera ID indicating an imaging device imaging the product shelf. The example shown in FIG. 18 shows that three people visited the product shelf A, and that a person with a person ID=1 and a person with a person ID=2 visited the product shelf A twice. Note that the example shown in FIG. 18 does not specify the time when the people visited the product shelf, but the flow line data may include the time when each product shelf was visited. The example shown in FIG. 18 shows that the product shelf A was visited in order from the top row to the oldest.

[0192] The flow line data generating unit 320 generates, for example, flow line data as shown in Fig. 18. Then, the flow line data generating unit 320 associates the generated flow line data with the time of the captured image of the flow line data, and supplies the data to the first relationship generating unit 340. In other words, the flow line data generating unit 320 includes in the flow line data the time when each person in the flow line data visited each product shelf, and supplies the data to the first relationship generating unit 340.

[0193] The first relationship generation unit 340 receives the classification result of the changed area and the position information of the changed area from the first change detection unit 120. The first relationship generation unit 340 also acquires movement line data from the movement line data generation unit 320. The first relationship generation unit 340 then generates relationship information between the product and the person corresponding to the changed area based on the imaging time of the changed area linked to the position information of the changed area and the imaging time linked to the movement line data. The first relationship generation unit 340 then supplies the generated relationship information between the product and the person to the relationship integration unit 150.

[0194] Specifically, the first association generation unit 340 associates the change area with the person who visited the product shelf at the time closest to the imaging time at which the change area was detected, from among the traffic line data generated at a time prior to the imaging time at which the change area was detected.

[0195] Fig. 19 is an explanatory diagram showing an example of product-person relationship information generated by the first relationship generation unit 340. Fig. 19 shows an example of a camera ID indicating the ID of an imaging device, a person ID indicating a person captured by the imaging device, a product shelf ID indicating a product shelf, position information of a changed area of ​​the product shelf, and a classification result of the change.

[0196] In this way, the first relationship creation unit 340 generates the relationship information by using the movement line data instead of the person information 134. Note that the first relationship creation unit 340 may also use the person information 134 when generating the relationship information.

[0197] The relationship integrating unit 150 receives the relationships between products and people from the first relationship generating unit 340, and if there are relationships between the same person, integrates them into one. Then, the relationship integrating unit 150 provides the integrated relationship to the shopping list management device 20.

[0198] Specifically, the relationship integration unit 150 integrates relationships of the same person based on the person ID. Fig. 20 is an explanatory diagram showing an example of integration of relationships between products and people illustrated in Fig. 19. In the example shown in Fig. 20, the relationship information of the person with person ID = 1 in Fig. 19 is integrated into one, and the relationship information of the person with person ID = 2 is also integrated into one.

[0199] The above is an example of a characteristic configuration of the image processing device 300.

[0200] Next, the operation of the image processing device 300 of this embodiment will be described with reference to Fig. 21. Fig. 21 is a flowchart showing an example of the operation of the image processing device 300 of this embodiment.

[0201] 21, the image processing device 300 performs processes similar to those from step S1001 to step S1008 shown in FIG. 11, whereby the area change classification unit 126 classifies the change (step S3001).

[0202] The third acquisition unit 310 acquires a captured image (third captured image) that is an RGB image from a video signal transmitted from the imaging device 5 that captured an image of the store aisle (step S3002). The third acquisition unit 310 supplies the acquired captured image to the flow line data generation unit 320.

[0203] The flow line data generating unit 320 generates data on the flow line of a person in the store using RGB images captured by at least one image capturing device (step S3003). Then, the flow line data generating unit 320 associates the generated flow line data with the time of the captured image of the flow line data and supplies the data to the first association generating unit 340.

[0204] The processing of steps S3002 and S3003 may be switched in execution order with respect to the processing of step S3001, or may be executed simultaneously.

[0205] The first association generation unit 340 receives the classification result of the changed area and the position information of the changed area from the first change detection unit 120. The first association generation unit 340 also acquires the movement line data from the movement line data generation unit 320. The first association generation unit 340 then generates association information between the product corresponding to the changed area and the person based on the image capture time of the changed area linked to the position information of the changed area and the image capture time linked to the movement line data (step S3004). Specifically, the first association generation unit 340 associates the changed area with the person who visited the product shelf at the time closest to the image capture time of the changed area from the movement line data generated at the time before the image capture time at which the changed area was detected. The first association generation unit 340 then supplies the generated association information between the product and the person to the association integration unit 150.

[0206] Thereafter, the image processing device 300 performs the processes from step S3005 to step S3006, which are similar to the processes from step S1010 to step S1011 shown in FIG.

[0207] As described above, the image processing device 300 of the present embodiment includes the third acquisition unit 310 and the flow line data generation unit 320. With this configuration, the flow line data generation unit 320 generates flow line data based on the RGB image supplied from the third acquisition unit 310. Then, the image processing device 300 generates the relevance information between the product and the person based on the change area detected from the RGB image of the product shelf 3 and the classification result of the change area, and the flow line data generated from the RGB image of the store aisle. In the captured image of the store aisle used for generating the flow line data, which is captured by the imaging device 5, the whole body of the person is captured. Therefore, it is easier to identify the person in the captured image than in the RGB image of the product shelf 3. In other words, when the relevance information is generated using the flow line data as in the image processing device 300, it is expected that the relevance information is generated with higher accuracy than when the relevance information is generated using the person information 134. Therefore, the image processing device 300 according to the present embodiment can integrate the relevance information with higher accuracy than the image processing device 100 of the first embodiment. This will enable more accurate data on customer movement patterns to be obtained, making it possible to properly manage the products that customers purchase.

[0208] Next, a modified example of the third embodiment will be described. In the third embodiment, the imaging device 5 captures an image of an aisle in a store to generate customer movement line data. However, the method of generating the movement line data is not limited to the method using images. FIG. 22 is a block diagram showing a modified example of the self-checkout system of the third embodiment. The self-checkout system 4a illustrated in FIG. 22 includes a movement line detection device 6 that detects the movement line of a customer, instead of the imaging device 5 included in the self-checkout system 4 of the third embodiment. Moreover, the self-checkout system 4a illustrated in FIG. 22 includes an image processing device 300a, instead of the image processing device 300 included in the self-checkout system 4 of the third embodiment.

[0209] The flow line detection device 6 is a device that detects the position of the terminal 10 carried by a customer. The flow line detection device 6 detects the position of the customer, for example, by detecting short-range wireless communication from the terminal 10. For example, when the person identification device 50 authenticates the terminal 10 at a predetermined location in the store (e.g., an entrance), the flow line detection device 6 tracks the authenticated person to detect the person's flow line. The shopping list generation unit 21 may generate a shopping list corresponding to the person carrying the authenticated terminal 10 at the timing when this authentication is performed.

[0210] Fig. 23 is a block diagram showing a configuration example of the image processing device 300a. As shown in Fig. 23, the image processing device 300a of this embodiment includes a first acquisition unit 110, a first change detection unit 120, a first storage unit 130, a third acquisition unit 310a, a movement line data generation unit 320a, a first relevance generation unit 340, and a relevance integration unit 150. In this way, the image processing device 300a of this modification includes the third acquisition unit 310a and the movement line data generation unit 320a instead of the third acquisition unit 310 and the movement line data generation unit 320 of the image processing device 300.

[0211] The third acquisition unit 310a acquires the position information of the customer from the movement line detection device 6. The position information of the customer includes, for example, the identification information of the terminal 10. The movement line data generation unit 320a generates movement line data of the person in the store. The movement line data generated by the movement line data generation unit 320a includes, for example, the identification information of the terminal 10 carried by the customer and a product shelf ID that is an identifier of the product shelf 3 visited by the customer. The method by which the movement line data generation unit 320a generates the movement line data is not particularly limited. As in the third embodiment, the movement line data generation unit 320a determines that the customer has visited the product shelf 3 by, for example, the fact that the customer has stayed in front of the product shelf 3 for a certain period of time, the distance between the customer and the product shelf 3 has become equal to or less than a predetermined distance, or the like. Then, the movement line data generation unit 320a generates the movement line data by associating the identification information of the terminal 10 carried by the customer with the product shelf ID visited by the customer.

[0212] Fig. 24 is an explanatory diagram showing another example of the flow line data. For example, as shown in Fig. 24, the flow line data generating unit 320a generates flow line data in which the identification information of the terminal 10 is associated with the product shelf ID. Furthermore, the flow line data generating unit 320a associates the generated flow line data with the acquisition time of the flow line data, and supplies the data to the first association generating unit 340. In other words, the flow line data generating unit 320a includes the time when each person in the flow line data visited each product shelf in the flow line data, and supplies the data to the first association generating unit 340. The subsequent processing is similar to that of the third embodiment.

[0213] As described above, in this modification, the flow line data is generated based on the position information of the person detected by the flow line detection device 6. As a result, as in the third embodiment, it is possible to obtain customer flow line data with higher accuracy, and therefore it is possible to appropriately manage products purchased by customers.

[0214] The self-checkout system of the third embodiment may include the second acquisition unit 210 as shown in the second embodiment, and may be configured to classify changes in product shelves using RGB images and distance images.

[0215] <Modification of the foreground region detection unit> Next, a modified example of the processing of the foreground region detection section included in first change detection section 120 or second change detection section 220 of the image processing device of each of the above-mentioned embodiments will be described.

[0216] In this modified example, the foreground area detection unit 121 included in the first change detection unit 120 or the second change detection unit 220 further uses pre-registered shelf area information to identify that the object included in the changed area is other than a product in the product shelf 3.

[0217] In this modification, a modification of the foreground region detection unit 121 of the image processing device 100 in the first embodiment will be described. However, this modification is applicable to both the image processing device 200 and the image processing device 300.

[0218] 25, 26, and 27 are explanatory diagrams showing an example of an operation of foreground region detection section 121 in this modified example for detecting a foreground region.

[0219] For example, foreground region detection section 121 detects a changed region by comparing the captured image supplied from first acquisition section 110 with background information 131, and generates detection result 71, which is a binary image representing the changed region, as illustrated in Fig. 25. This detection result includes three changed regions: changed region 72, changed region 73, and changed region 74. In such a case, foreground region detection section 121 generates detection results 71A, 71B, and 71C, which are separate binary images for each changed region, for detection result 71 using a general labeling method.

[0220] That is, when the detection result includes a plurality of changed regions, foreground region detection section 121 generates a plurality of binary images in which each changed region is included in a separate binary image.

[0221] Then, the foreground region detection unit 121 judges whether or not the changed region is a region in which a change related to a change in a product has been detected, based on preregistered shelf region information and each of the multiple binary images. Here, the shelf region information indicates the region on the product shelf 3 where the products are displayed.

[0222] The self-checkout system 1 monitors the products on the product shelves 3. Therefore, the area where the products are displayed, which is indicated by the shelf area information, can be called the monitored area. The shelf area information can also be called monitored area information. The shelf area information may be, for example, an image of the same size as the captured image acquired by the first acquisition unit 110, and may be a binary image in which the pixel value of the monitored area of ​​the product shelf 3 to be monitored is expressed as 255 and the rest as 0. The shelf area information may include, for example, one or more monitored areas. The shelf area information may be stored in the first storage unit 130 in advance, for example. The shelf area information includes information that identifies the product shelves 3 included in the captured image acquired by the first acquisition unit 110.

[0223] The foreground area detection unit 121 performs a logical AND operation for each corresponding pixel using shelf area information related to the product shelf 3 included in the captured image acquired by the first acquisition unit 110. For example, when shelf area information 75 illustrated in Fig. 26 is used, the foreground area detection unit 121 performs a logical AND operation for each corresponding pixel with the detection result 71A, the detection result 71B, or the detection result 71C. In the example shown in Fig. 26, the monitored areas in the shelf area information 75 are represented in white, so the shelf area information 75 includes six monitored areas.

[0224] 27 is a result of a logical AND operation between shelf area information 75 and detection result 71A. Moreover, calculation result 76B is a result of a logical AND operation between shelf area information 75 and detection result 71B. Moreover, calculation result 76C is a result of a logical AND operation between shelf area information 75 and detection result 71C.

[0225] Objects other than merchandise, such as people and carts, span multiple shelf areas. Therefore, as a result of performing a logical AND operation between detection result 71A and shelf area information 75, the part with a pixel value of 255 (white part) that represents the changed area is divided into multiple areas, as shown in calculation result 76A illustrated on the left side of Fig. 27. On the other hand, the parts (white parts) that represent the changed areas of calculation results 76B and 76C are unchanged from detection results 71B and 71C, respectively, and are continuous areas (a pixel with a pixel value of 255, and a collection of pixels where any of the pixels adjacent to that pixel has a pixel value of 255).

[0226] Products displayed in the display area (monitored area) of product shelf 3 do not span multiple monitored areas. Therefore, when the changed area is divided into multiple areas as in calculation result 76A, foreground area detection unit 121 determines that the change to this changed area is a change caused by something other than the product. In such a case, foreground area detection unit 121 does not include this change in the detection result supplied to foreground area tracking unit 123. In other words, foreground area detection unit 121 supplies detection result 71B and detection result 71C to foreground area tracking unit 123.

[0227] With this configuration, foreground region tracking unit 123 can supply changes to products displayed on product shelves 3 to first extraction unit 124 and second extraction unit 125. In other words, area change classification unit 126 can perform classification processing of changes to products displayed on product shelves 3, thereby preventing a decrease in classification accuracy of changes to products due to the influence of objects other than products. Furthermore, since foreground region detection unit 121 can classify changes in the changed area as changes due to objects other than products before the classification processing of area change classification unit 126 is performed, the processing amount of area change classification unit 126 can be reduced.

[0228] Next, specific examples of the present invention will be described. In the first specific example, an operation example of the self-checkout system when a customer carries the terminal 10 will be described, and in the second specific example, an operation example of the self-checkout system when a customer does not carry the terminal 10 will be described.

[0229] FIG. 28 is an explanatory diagram showing an example of the operation of the self-checkout system in the first specific example. First, when a customer C comes to the store, the person identification device 50 identifies the person via the terminal 10 carried by the customer (step S11). Thereafter, the person is uniquely managed using an identification ID that identifies the terminal 10. In addition, the shopping list generation means (shopping list generation unit 21 in the embodiment) generates a shopping list L corresponding to the identification ID (step S12). The notification unit 23 transmits the generated shopping list L to the terminal 10 (step S13). In addition, the notification unit 23 stores the generated shopping list L in the shopping list storage unit 24 (step S14).

[0230] Thereafter, the change detection means (first change detection unit 120 in the embodiment) detects a changed area based on the captured image in which the product is captured, and the classification means (area change classification unit 126 in the embodiment) classifies the change in the product shelf in the detected changed area (step S15). Here, it is assumed that a customer picks up a product. The shopping list generation means (shopping list update unit 22 in the embodiment) classifies the change in the product shelf (specifically, "change due to the product being picked up") and identifies the product based on the product shelf allocation information, and performs a registration process to register the identified product in the shopping list L corresponding to the person (step S16). The notification unit 23 notifies the terminal 10 of the contents of the shopping list L in which the product has been registered (step S17).

[0231] Furthermore, the change detection means detects a changed area based on the captured image in which the product is captured, and the classification means classifies the change in the product shelf in the detected changed area (step S18). Here, it is assumed that the customer has returned the product. The shopping list generation means classifies the change in the product shelf (specifically, "change due to the inclusion of a new product in the product shelf 3") and identifies the product based on the product shelf allocation information, and performs a deletion process to delete the identified product from the shopping list L corresponding to the person (step S19). The notification unit 23 notifies the terminal 10 of the contents of the shopping list L from which the product has been deleted (step S20). Note that the notification unit 23 may notify the terminal 10 of the shopping list L in which a deletion flag has been set for the product.

[0232] When a customer is about to leave the store, the payment device 40 performs a payment process based on the contents of the shopping list L corresponding to the customer (step S21). At this time, the output device 30 may display the contents of the shopping list L.

[0233] FIG. 29 is an explanatory diagram showing an example of the operation of the self-checkout system in the second specific example. First, when a customer comes to the store, the person identification device 50 identifies the person C from the image captured by the imaging device 2 (step S31). Thereafter, the person is identified to a position using an identification ID that identifies the person. In addition, the shopping list generation means (shopping list generation unit 21 in the embodiment) generates a shopping list L corresponding to the identification ID (step S32). In addition, the notification unit 23 stores the generated shopping list L in the shopping list storage unit 24 (step S33).

[0234] Thereafter, as in the first specific example, the change detection means (first change detection unit 120 in the embodiment) detects a changed area based on the captured image in which the product is captured, and the classification means (area change classification unit 126 in the embodiment) classifies the change in the product shelf in the detected changed area (step S34). Here, it is assumed that the customer picks up a product. The shopping list generation means (shopping list update unit 22 in the embodiment) classifies the change in the product shelf (specifically, "change due to the product being picked up") and identifies the product based on the product shelf allocation information, and performs a registration process to register the identified product in a shopping list corresponding to the person (step S35). Specifically, the shopping list generation means adds the product to the shopping list L stored in the shopping list storage unit 24.

[0235] Then, suppose that the customer returns the product. As in the first specific example, the shopping list generating means identifies the product based on the classification of the change in the product shelf (specifically, "change due to the product being placed on the product shelf") and the product shelf allocation information, and performs a deletion process to delete the identified product from the shopping list L corresponding to the person (step S36). Specifically, the shopping list generating means deletes the product from the shopping list L stored in the shopping list storage unit 24.

[0236] When the customer is about to leave the store, the payment device 40 performs payment processing based on the contents of the shopping list L corresponding to person C (step S37). Specifically, the output device 30 displays the contents of the shopping list and the total amount, and the payment device 40 performs payment processing based on the deposit or card payment from that person.

[0237] <Hardware configuration> In each of the above-described embodiments, the components of each device (more specifically, the image processing devices 100 to 500 and the shopping list management device 20) are shown, for example, as functional blocks. Some or all of the components of each device are realized by any combination of an information processing device 600 and a program as exemplified in FIG. 30. FIG. 30 is a block diagram showing an example of the hardware configuration of the information processing device 600 that realizes the components of each device. The information processing device 600 includes, as an example, the following configuration. ·CPU(Central Processing Unit)601 ROM (Read Only Memory) 602 ·RAM(Random Access Memory)603 · Programs 604 loaded into RAM 603 A storage device 605 for storing a group of programs 604 A drive device 606 that reads and writes data from a recording medium 610 outside the information processing device 600 A communication interface 607 that connects the information processing device 600 to an external communication network 611 Input / output interface 608 for inputting and outputting data Bus 609 connecting each component

[0238] The components of each device in each of the above-mentioned embodiments are realized by the CPU 601 acquiring and executing a group of programs 604 that realizes these functions. The group of programs 604 that realizes the functions of the components of each device are stored in the storage device 605 or the ROM 602 in advance, for example, and the CPU 601 loads the group of programs 604 into the RAM 603 and executes them as necessary. The group of programs 604 may be supplied to the CPU 601 via the communication network 611, or may be stored in the recording medium 610 in advance, and the drive device 606 may read out the programs and supply them to the CPU 601.

[0239] There are various variations in the method of implementing each device. Each device may be implemented, for example, by any combination of a separate information processing device 600 and a program for each component. Also, multiple components included in each device may be implemented by any combination of a single information processing device 600 and a program.

[0240] In addition, some or all of the components of each image processing device can be realized by other general-purpose or dedicated circuits, processors, etc., or a combination of these. These may be configured by a single chip, or may be configured by multiple chips connected via a bus.

[0241] Some or all of the components of each device may be realized by a combination of the above-mentioned circuits and programs.

[0242] When some or all of the components of each device are realized by a plurality of information processing devices, circuits, etc., the plurality of information processing devices, circuits, etc. may be centrally arranged or distributed. For example, the information processing devices, circuits, etc. may be realized as a client-server system, a cloud computing system, etc., in a form in which each is connected via a communication network.

[0243] Next, an overview of the present invention will be described. Fig. 31 is a block diagram showing an overview of a self-checkout system according to the present invention. A self-checkout system 800 (e.g., self-checkout system 1) according to the present invention includes a change detection means 840 (e.g., first change detection unit 120) that detects a changed area of ​​a product shelf on which a product is placed based on a captured image of the product, a classification means 850 (e.g., area change classification unit 126) that classifies the change in the product shelf in the detected changed area, and a shopping list generation means 860 (e.g., shopping list update unit 22) that generates a shopping list for a customer based on the classification of the change in the product shelf and the allocation information of the product shelf.

[0244] With such a configuration, products purchased by customers can be appropriately managed without having to prepare images of each product in advance.

[0245] Specifically, the classification of the changes to the shelves may be a change due to a product being removed, a change in the store environment of the shelves, a change due to a product being placed on the shelves, or a change due to a change in the appearance of the product.

[0246] Furthermore, when the classification of the change in the product shelf is a change due to the removal of a product, the shopping list generating means 860 may register the product in the shopping list.

[0247] Furthermore, the shopping list generating means 860 may delete a product from the shopping list when the classification of the change in the product shelf is a change caused by placing the product on the product shelf.

[0248] In addition, the classification of changes to product shelves, namely changes due to changes in the appearance of products, may include changes in appearance due to the placement of different products and changes in appearance due to changes in the posture of products.

[0249] Furthermore, the self-checkout system 800 may include an association generating means (for example, the first association generating unit 140) that generates association information indicating a relationship between a changed area and a person. The association generating means may generate association information by associating the changed area with a person based on the image capture time and person information acquired from the captured image, and the position information of the changed area and the image capture time acquired from the captured image. The shopping list generating means 860 may generate a shopping list corresponding to the person based on a classification of the change in the product shelf in the changed area and the product shelf allocation information. With such a configuration, the movement line of the person can be acquired from the image, so that the products purchased by the customer can be appropriately managed.

[0250] Similarly, the self-checkout system 800 may include an association generating means (e.g., second association generating unit 240) that generates association information indicating a relationship between a changed area and a person. The association generating means may generate association information by associating the changed area with a person based on the acquisition time and position information of the information of the person detected by a movement line detection means (e.g., movement line detection device 6) that detects the movement line of the person in the store, and the position information of the changed area acquired from the captured image and the image capture time. The shopping list generating means may generate a shopping list corresponding to the person based on the classification of the change in the product shelf in the changed area and the shelf allocation information of the product shelf. Since the movement line of the person can be acquired by such a configuration, the products purchased by the customer can be appropriately managed.

[0251] Also, specifically, the classification means 850 may classify the change in the product shelf from the image of the changed area using a shelf change model (e.g., shelf change model 132) that models the change in the product shelf before and after a time change.

[0252] The change detection means 840 may detect a changed area of ​​the product shelf on which the product is placed based on an RGB image and a distance image capturing the imaging range of the RGB image as the captured image of the product. With such a configuration, the change in the product shelf can be determined more accurately, and the products purchased by customers can be more appropriately managed.

[0253] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes.

[0254] (Additional Note 1) A self-checkout system comprising: a change detection means for detecting a changed area of ​​a product shelf on which a product is placed based on an image of the product; a classification means for classifying the change in the product shelf in the detected changed area; and a shopping list generation means for generating a shopping list for a customer based on the classification of the change in the product shelf and the layout information of the product shelf.

[0255] (Appendix 2) The classification of changes to the product shelves is a change due to a product being taken, a change in the store environment of the product shelves, a change due to a product being placed on the product shelves, or a change due to a change in the appearance of the product.

[0256] (Supplementary Note 3) The self-checkout system according to Supplementary Note 2, wherein the shopping list generating means registers an item in the shopping list when the classification of the change on the product shelf is a change due to the item being taken.

[0257] (Appendix 4) The self-checkout system according to appendix 2, wherein the shopping list generating means deletes an item from the shopping list if the classification of the change in the product shelf is a change due to a product being placed on the product shelf.

[0258] (Appendix 5) The self-checkout system according to any one of Appendices 2 to 4, in which the classification of changes to product shelves, includes changes in appearance due to a change in product appearance due to a different product being placed on the shelves, and changes in appearance due to a change in the posture of the product.

[0259] (Appendix 6) A self-checkout system as described in any one of Appendices 1 to 5, further comprising an association generation means for generating association information indicating a relationship between a changed area and a person, the association generation means generating association information by associating the changed area with the person based on the imaging time and information about the person obtained from the captured image, and the position information of the changed area and the imaging time obtained from the captured image, and the shopping list generation means generating a shopping list corresponding to the person based on a classification of changes in the product shelves in the changed area and shelf allocation information of the product shelves.

[0260] (Supplementary Note 7) A self-checkout system as described in any one of Supplementary Note 1 to Supplementary Note 5, further comprising an association generation means for generating association information indicating a relationship between a change area and a person, the association generation means generating association information by associating the change area with a person based on the acquisition time and location information of the person detected by a movement line detection means for detecting the movement line of the person within a store, and the location information of the change area acquired from an captured image and the image capture time, and a shopping list generation means generating a shopping list corresponding to the person based on a classification of changes in product shelves in the change area and shelf allocation information of the product shelves.

[0261] (Appendix 8) A self-checkout system according to any one of appendices 1 to 7, wherein the classification means classifies changes in product shelves from an image of a change area using a shelf change model that models changes in product shelves before and after a time change.

[0262] (Appendix 9) A self-checkout system according to any one of Appendices 1 to 8, wherein the change detection means detects a changed area of ​​the product shelf on which the product is placed based on an RGB image and a distance image captured within the imaging range of the RGB image, as an image in which the product is captured.

[0263] (Appendix 10) A method for managing purchased items, comprising: detecting a changed area of ​​a product shelf on which the product is placed based on an image of the product; classifying the change in the product shelf in the detected changed area; and generating a shopping list for a customer based on the classification of the change in the product shelf and the layout information of the product shelf.

[0264] (Appendix 11) A purchased item management program for causing a computer to execute a change detection process for detecting an area of ​​change in a product shelf on which a product is placed based on an image of the product, a classification process for classifying the change in the product shelf in the detected area of ​​change, and a shopping list generation process for generating a shopping list for a customer based on the classification of the change in the product shelf and the layout information of the product shelf.

[0265] The programs described in the above embodiments and appendices may be stored in a storage device or a computer-readable recording medium, such as a portable medium such as a flexible disk, an optical disk, a magneto-optical disk, or a semiconductor memory. [Explanation of symbols]

[0266] 1,4,4a Self-checkout system 2,5 Imaging device 3 Product shelves 6. Traffic flow detection device 10 Terminal 20 Shopping list management device 30 Output Device 40 Payment Device 50 Personal Identification Device 71 Detection Results 72 Change Area 73 Change Area 74 Change Area 75 Shelf area information 76 Operation result 90 Classification results 91 2nd featured image 92 1st featured image 93 Types of Change 100 Image processing device 110 First acquisition part 120 First change detection unit 121 Foreground region detection unit 122 Background information update section 123 Foreground Region Tracking Unit 124 1st extraction part 125 Second extraction part 126 Area Change Classification Unit 127 Distance information update section 130 1st memory section 131 Background information 132 Shelf change model 133 Foreground information 134 Person information 135 Distance Information 140 First Relevance Generation Unit 150 Relevance Integration Department 200 Image processing device 210 Second Acquisition Department 220 Second change detection unit 230 2nd memory section 240 Second Relevance Generation Unit 250 Relevance Integration Department 300, 300a Image processing device 310,310a 3rd acquisition part 320, 320a Flow line data generation unit 340 First Relevance Generation Unit 600 Information processing device 601 CPU 602 ROM 603 RAM 604 Programs 605 Storage device 606 Drive Unit 607 Communication Interface 608 Input / Output Interface 609 Bus 610 Recording media 611 Communication Network

Claims

1. A change detection means for detecting a changed area of ​​a product shelf on which a product is placed based on a captured image of the product; A classification means for classifying the change in the product shelf in the detected change area; a shopping list generating means for generating a shopping list for a customer based on the classification of changes in the product shelves and the layout information of the product shelves; an association generating means for generating association information indicating an association between a changed area and a person based on person information acquired from the captured image; a relation integration means for integrating, when the relation information includes relation information about the same person, the relation information into one; a shopping list update means for updating the contents of the shopping list; The association integration means detects, based on the association information, that the product has been returned to a location different from the location where it was taken; The shopping list update means sets a deletion flag, which identifies an item that has been returned to a location different from where it was taken, to the target item included in the shopping list. The self-checkout system is characterized by the following:

2. a foreground region tracking means for extracting a change region determined to be a moving object from a captured image as a person region; and a relevance integration means for calculating a similarity of the person region based on at least one of a color, a size, a shape, and an aspect ratio of a circumscribing rectangle of the person region; The relevance integration means determines that the person regions with the highest calculated similarity are regions of the same person. The self-checkout system according to claim 1.

3. A notification means is provided for notifying the terminal of information on the shopping list; The notification means inquires of the customer via the terminal whether the product for which the deletion flag is set is a product that should be deleted. The self-checkout system according to claim 1.

4. the correlation generating means generates correlation information by associating the changing area with the person based on the imaging time and information of the person acquired from the captured image and the position information of the changing area and the imaging time acquired from the captured image; The shopping list generating means generates a shopping list corresponding to the person based on the classification of the change in the product shelf in the change area and the layout information of the product shelf. The self-checkout system according to claim 1.

5. the association generation means generates association information by associating the changing area with the person based on an acquisition time and position information of the person detected by the flow line detection means that detects the flow line of the person in the store, and position information of the changing area acquired from the captured image and an image capture time; The shopping list generating means generates a shopping list corresponding to the person based on the classification of the change in the product shelf in the change area and the layout information of the product shelf. The self-checkout system according to claim 1.

6. The classification means classifies the change in the product shelf from the image of the change area using a shelf change model that models the change in the product shelf before and after the change in time. The self-checkout system according to claim 1.

7. The change detection means detects a changed area of ​​the product shelf on which the product is placed based on an RGB image and a distance image captured within the imaging range of the RGB image as an image in which the product is captured. The self-checkout system according to claim 1.

8. A computer detects a change area of ​​a product shelf on which the product is placed based on an image of the product, The computer classifies the changes in the shelves in the detected change areas; the computer generates a shopping list for the customer based on the classification of the shelf changes and the shelf layout information; the computer generates association information indicating an association between a changed area and a person based on person information acquired from the captured image; When the relationship information includes relationship information about the same person, the computer integrates the relationship information into one. the computer detects, based on the relevance information, that an item has been returned to a location different from where it was taken; The computer updates the shopping list by setting a deletion flag for the target item included in the shopping list, the deletion flag identifying the item that was returned to a location different from the location from which it was taken. A method comprising:

9. On the computer, A change detection process for detecting a change area of ​​a product shelf on which the product is arranged based on a captured image of the product; A classification process for classifying the changes in the product shelves in the detected change area; a shopping list generation process for generating a shopping list for a customer based on the classification of changes in the product shelves and the shelf layout information of the product shelves; an association generation process for generating association information indicating an association between a changed area and a person based on person information acquired from the captured image; A relationship integration process for integrating relationship information of the same person into one relationship information if the relationship information includes the relationship information of the same person; and Execute a shopping list update process to update the contents of the shopping list, the association integration process detects, based on the association information, that the product has been returned to a location different from the location from which it was taken; In the shopping list update process, a deletion flag is set for the target product included in the shopping list, which identifies the product that has been returned to a location different from the location from which it was taken. Program for.

Citation Information

Patent Citations

  • Electronic account settlement system

    JP2000123086A

  • Monitoring method, monitoring device, and monitoring program

    JP2015176227A

  • Information processor and information processing method

    JP2016201105A

  • Feature quantity comparison program, information processor, and feature quantity comparison method

    JP2017204095A

  • Security system, security method, and non-temporary computer-readable medium

    WO2015033576A1