Image processing device, data structure, image generation device, recognition device, image processing method, and program

The image processing device calculates transparency and color data for objects on different backgrounds to generate composite images with high accuracy, addressing the challenge of capturing background colors through transparent objects and enhancing object recognition precision.

WO2024176816A1PCT designated stage expired Publication Date: 2024-08-29KYOCERA CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/003938
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2024-02-06
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Current image processing technologies face challenges in generating composite images with high precision, particularly when dealing with transparent or translucent objects, as they struggle to accurately capture the background color through the object image.

Method used

An image processing device and method that acquire data from images of an object on different backgrounds, calculate the transparency and color of the object based on the object image and background colors, and generate a composite image by combining the object and background using the calculated transparency and color data, allowing the background color to be visible through the object.

Benefits of technology

This approach enables the generation of composite images with high accuracy, improving the precision of object recognition and estimation, and reducing the learning time for recognition models by generating high-quality learning images efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024003938_29082024_PF_FP_ABST
    Figure JP2024003938_29082024_PF_FP_ABST
Patent Text Reader

Abstract

This image processing device comprises a control unit that acquires: data of a first image which is an image of an object using a first background as the background; and data of a second image which is an image of the object using as the background a second background that is different from the first background. The control unit acquires data about the transparency of the object and the color of the object on the basis of: object images, i.e. the images of the object in the first image and the second image; and the colors of the first background and the second background.
Need to check novelty before this filing date? Find Prior Art

Description

Image processing device, data structure, image generation device, recognition device, image processing method and program Cross-reference to related applications

[0001] This application claims priority to Japanese Patent Application No. 2023-027781, filed on February 24, 2023, the entire disclosure of which is incorporated herein by reference.

[0002] The present disclosure relates to an image processing device, a data structure, an image generation device, a recognition device, an image processing method, and a program.

[0003] A technique is known for generating a composite image by combining an image from which a background of a specific color has been removed with a background image (see Patent Document 1).

[0004] Japanese Patent Application Laid-Open No. 2020-119283

[0005] An image processing device according to one embodiment of the present disclosure includes a control unit that acquires data of a first image, which is an image of an object against a first background, and data of a second image, which is an image of the object against a second background different from the first background, and the control unit acquires data on the transparency and color of the object based on object images, which are images of the object included in each of the first image and the second image, and the colors of the first background and the second background.

[0006] A data structure according to one embodiment of the present disclosure includes, in a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color, object images corresponding to the object included in the first image and the second image, respectively, and data on the transparency and color of the object obtained based on the colors of the first and second backgrounds.

[0007] An image generating device according to an embodiment of the present disclosure includes: an image generating device including: a control unit that generates a composite image based on the transparency and color of the object included in the data structure and a background image;

[0008] A recognition device according to one embodiment of the present disclosure includes a learning model that is trained using training images, wherein the training images are generated based on the transparency and color of an object and a background image, and the transparency and color of the object are obtained based on the object images corresponding to the object included in a first image and a second image, respectively, generated by overlaying the same object on a first background and a second background, each of which has a different color, and the colors of the first background and the second background.

[0009] An image processing method according to one embodiment of the present disclosure includes acquiring data of a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color, and acquiring data on the transparency and color of the object based on an object image corresponding to the object included in each of the first image and the second image and the color of the first background and the second background.

[0010] A program according to one embodiment of the present disclosure causes a computer to perform operations including: acquiring data of a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color; and acquiring data on the transparency and color of the object based on an object image corresponding to the object included in each of the first image and the second image and the color of the first background and the second background.

[0011] 1 is a diagram showing a schematic configuration of a settlement system according to an embodiment of the present disclosure; FIG. 2 is a diagram showing a schematic configuration of the information processing system shown in FIG. 1; FIG. 3 is a block diagram of the information processing device shown in FIG. 2; FIG. 4 is a diagram showing an example of an image; FIG. 5 is a diagram for explaining a method of generating an image; FIG. 6 is a diagram showing an example of a composite image; and FIG. 7 is a flowchart showing the steps of an image processing method executed by the information processing device shown in FIG.

[0012] There is a demand for a technology for generating a composite image with high accuracy. For example, there exists a transparent or translucent object. When an image of such an object is to be composited with a background image, it is desirable that the color of the background image be visible through the image of the object. According to one embodiment of the present disclosure, a composite image can be generated with high accuracy.

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

[0014] The settlement system 1 shown in Figure 1 is configured as a POS (Point Of Sales) system. The settlement system 1 includes at least one information processing system 3 and a server 4. In this embodiment, the settlement system 1 includes multiple information processing systems 3.

[0015] The information processing system 3 and the server 4 can communicate with each other via a network 2. The network 2 may be any network including the Internet.

[0016] The information processing system 3 may be installed in any store, such as a convenience store, a supermarket, a cafeteria, or a restaurant.

[0017] The information processing system 3 is configured as a cash register terminal of a POS system. The information processing system 3 captures an image of a commodity placed on the cash register terminal by a customer and generates an image. The information processing system 3 estimates which commodity in the store an object contained in the image corresponds to using the generated image and a learning model. In this disclosure, "object contained in the image" refers to an object depicted in the image. By using the information processing system 3 to estimate which commodity in the store the object corresponds to, it is possible to calculate the amount to be charged to the customer. The information processing system 3 transmits the estimation result, indicating which commodity in the store the object corresponds to, to the server 4 via the network 2.

[0018] The server 4 receives the above-mentioned estimation results from the information processing system 3 via the network 2. Based on the received estimation results, the server 4 manages the inventory status and the like of the store in which the information processing system 3 is installed.

[0019] As shown in FIG. 2 , the information processing system 3 includes a mounting table 10 , a support column 11 , an imaging unit 12 , a display device 13 , and an information processing device 20 .

[0020] The table 10 includes an upper surface 10s. A customer places an item they wish to purchase on the upper surface 10s. In this embodiment, the upper surface 10s has a rectangular shape. However, the upper surface 10s may have any shape.

[0021] The support pillar 11 supports the imaging unit 12. The support pillar 11 extends from the side of the mounting table 10 toward above the top surface 10s.

[0022] The imaging unit 12 is capable of generating an image by capturing an image. In this embodiment, the image generated by the imaging unit 12 is a color image. However, as will be described later, the image generated by the imaging unit 12 may also be a monochrome image. The imaging unit 12 is fixed so as to be able to capture an image of at least a portion of the upper surface 10s of the mounting table 10. The imaging unit 12 may be fixed so that its optical axis is perpendicular to the upper surface 10s. The imaging unit 12 may be fixed to the tip of the support column 11. The imaging unit 12 may continuously capture images at any frame rate.

[0023] The display device 13 may be any display. The display device 13 displays an image transmitted from the information processing device 20. The display device 13 may function as a touch screen.

[0024] The information processing device 20 executes a settlement process to settle the price of the product. Furthermore, in this embodiment, the information processing device 20 serves as an image processing device and acquires data on the transparency T and color of an object, which will be described later. Furthermore, in this embodiment, the information processing device 20 serves as an image generating device and generates a composite image based on the transparency T and color of an object, which will be described later, and a background image. When the information processing device 20 is equipped with a learning model, it is also referred to as a "recognition device."

[0025] 3, the information processing device 20 includes a communication unit 21, an input unit 22, a storage unit 23, and a control unit 24. However, some of the communication unit 21, the input unit 22, the storage unit 23, and the control unit 24 do not have to be included in the information processing device 20, and may be included in a cloud server or the like.

[0026] The communication unit 21 includes at least one communication module connectable to the network 2. The communication module is, for example, a communication module compatible with standards such as a wired LAN (Local Area Network) or a wireless LAN. The communication unit 21 is connected to the network 2 via the wired LAN or wireless LAN by this communication module.

[0027] The communication unit 21 includes a communication module that can communicate with the image capture unit 12 and the display device 13 via a communication line. The communication module is a communication module that complies with the standard of the communication line. The communication line is configured to include at least one of a wired and a wireless communication line.

[0028] The input unit 22 can receive input from a user. The input unit 22 includes at least one input interface that can receive input from a user. The input interface is, for example, a physical key, a capacitance key, a pointing device, a touch screen that is integrated with the display of the display device 13, a microphone, or the like.

[0029] The storage unit 23 includes at least one semiconductor memory, at least one magnetic memory, at least one optical memory, or a combination of at least two of these. The semiconductor memory is, for example, a random access memory (RAM) or a read-only memory (ROM). The RAM is, for example, a static random access memory (SRAM) or a dynamic random access memory (DRAM). The ROM is, for example, an electrically erasable programmable read-only memory (EEPROM). The storage unit 23 may function as a main storage device, an auxiliary storage device, or a cache memory. The storage unit 23 stores data used in the operation of the information processing device 20 and data obtained by the operation of the information processing device 20.

[0030] The storage unit 23 stores, for example, data on the transparency T and color of an object, which will be described later. The storage unit 23 may store the data on the transparency T and color of an object in association with an identifier of the object. The identifier of the object is information that can uniquely identify the object in the settlement system 1.

[0031] The control unit 24 is configured to include at least one processor, at least one dedicated circuit, or a combination of these. The processor is a general-purpose processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), or a dedicated processor specialized for specific processing. The dedicated circuit is, for example, an FPGA (Field-Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit). The control unit 24 controls each unit of the information processing device 20 and executes processing related to the operation of the information processing device 20.

[0032] <Payment Process> The control unit 24 receives image data from the imaging unit 12 via the communication unit 21. This image includes, as objects, products placed by the customer on the mounting table 10. The control unit 24 obtains a result indicating which product in the store the object included in the image corresponds to through object recognition using a learning model. The learning model is generated by machine learning such as deep learning so that, when image data is input, it outputs a result indicating which product in the store the object included in the image corresponds to. The control unit 24 calculates the amount to be charged to the customer based on the obtained result. The control unit 24 transmits information about the calculated amount to the display device 13 via the communication unit 21 and causes the display device 13 to display the information about the calculated amount.

[0033] <Process for generating a composite image> The control unit 24 can generate a composite image. The control unit 24 can also generate a composite image as a training image. The training image is used for training a learning model. This process will be described below.

[0034] The control unit 24 acquires data for a plurality of images 50Y. The plurality of images 50Y are images generated by superimposing the same object on backgrounds of different colors. The background colors may be any colors as long as they are different. The image portions of the images 50Y corresponding to the objects are referred to as "object images." For example, the control unit 24 acquires data for images 51Y, 52Y, and 53Y as shown in FIG. 4 as the plurality of images 50Y. In FIG. 4, different background colors are shown with different gradations. The images 51Y, 52Y, and 53Y include object images 41H, 42H, and 43H, respectively. The object images 41H, 42H, and 43H each correspond to the same object 40. The object 40 is a product. The object 40 is a donut in a transparent package. The object images 41H, 42H, and 43H each have different background colors, and therefore include different colors in the package portion.

[0035] The control unit 24 acquires data of a plurality of images 60W. Each of the plurality of images 60W has the same color as the background color of each of the plurality of images 50Y. For example, the control unit 24 acquires data of images 61W, 62W, and 63W as shown in FIG. 4 as the plurality of images 60W. The color of image 61W is the same as the background color of image 51Y. The color of image 62W is the same as the background color of image 52Y. The color of image 63W is the same as the background color of image 53Y.

[0036] A method for generating such images 50Y and 60W will be described. For example, first, as shown in FIG. 5 , a display 30 is placed on the upper surface 10s of the mounting table 10. Next, the image capturing unit 12 captures images of the screen of the display 30 while changing the color of the screen of the display 30, thereby generating multiple images 60W. Thereafter, an object 40 is placed on the display 30. With the object 40 placed on the display 30, the image capturing unit 12 captures images of the screen of the display 30 while changing the color of the screen of the display 30, similar to the generation of the multiple images 60W. In this way, multiple images 50Y are generated. However, the method for generating the images 50Y and 60W is not limited to this. As another example, paper, a board, or the like may be used instead of the display 30.

[0037] Hereinafter, image 50Y generated by superimposing an object on a first background will also be referred to as a "first image." Image 50Y generated by superimposing the same object as the first image on a second background will also be referred to as a "second image." The colors of the first background and the second background are different from each other. Image 60W having the same color as the first background will also be referred to as a "third image." Image 60W having the same color as the second background will also be referred to as a "fourth image."

[0038] The control unit 24 can acquire data on the transparency T and color of an object based on the object image included in each of the first and second images and the colors of the first and second backgrounds. In this embodiment, the control unit 24 uses the third image as the color of the first background and the fourth image as the color of the second background. The transparency T of an object is the degree to which the object image transmits the color of the background behind the object. The color of an object is the color of the object itself that is independent of the color of the background. In this embodiment, the color of an object is represented by pixel values. However, the color of an object may be represented in any manner. As other examples, the color of an object may be represented by wavelength, color code, CMYK value, or the like. A method for acquiring data on the transparency and color of an object will be described below. In the following, the control unit 24 acquires pixel value data of the pixels of the object image as the color of the object.

[0039] Hereinafter, pixel value Y i is the pixel value of the pixel of the image 50Y. i is the pixel value of the pixel of the image 60W. i is the pixel value of a pixel in the object image. Here, the same image coordinate system is used for the image 50Y, the image 60W, and the object image. In this image coordinate system, the pixel value H i , pixel value W i and pixel value Y i corresponds to the pixel with the same coordinate. i (i is an integer equal to or greater than 2) specifies the color of the background.

[0040] Pixel value Y i and the pixel value W i and the pixel value H i The relationship between Y and the transparency T is expressed by equation (1). i = T x Wi +(1-T)H i +ε i In equation (1), the error ε i is the observation error.

[0041] error ε i and pixel value Y i The relationship between the pixel value Y i and pixel value Y i The pixel value Y is expressed as the difference between the predicted value of i The predicted value of "T × W i +(1-T)H i " The error ε i The sum of squares of the residuals, that is, the sum of squares of the residuals, is expressed by equation (2).

[0042] Here, it is assumed that N (N is an integer equal to or greater than 2) background colors are used. In this case, the objective function L(T, H) is expressed by equation (3). In equation (3), the minimum value of N may be 2. That is, only the first, second, third, and fourth images may be used. In this case, the first background color and the second background color may be colors that are located opposite each other on the color wheel.

[0043] The control unit 24 calculates the transparency T and pixel value H when the objective function L(T, H) is minimized. The control unit 24 acquires the transparency T and pixel value H when the objective function L(T, H) is minimized as data on the transparency T and pixel value H of the object. Hereinafter, the process of minimizing the objective function L(T, H) is also referred to as an "optimization process."

[0044] In the optimization process of the objective function L(T, H), the control unit 24 acquires an initial value. The control unit 24 may calculate an approximate solution using any approximate solution method and set the calculated approximate solution as the initial value. The control unit 24 may calculate the transparency T and pixel value H when the objective function L(T, H) is minimized using the acquired initial value and the gradient descent method.

[0045] It will be understood from equations (1) to (3) that the transparency T of an object is the transparency of a pixel in the object image having a pixel value H. Furthermore, from equation (1), in this embodiment, the greater the transparency T of the object, the greater the degree to which the pixel in the object image transmits the background color behind the object. The control unit 24 performs the processing according to equations (1) to (3) on each pixel in image 50Y and each pixel in image 60W that are located at the same coordinates, thereby obtaining the transparency T and pixel value H of the object for each pixel in the object image.

[0046] The control unit 24 can generate a composite image by combining the object and the background image using the transparency T and pixel value H of the object and the background image. Any image may be used as the background image. For example, the control unit 24 can generate a composite image 70 as shown in FIG. 6. In the composite image 70, a grid pattern image is used as the background image.

[0047] The control unit 24 may generate a composite image as a training image for a learning model. When generating a training image, the background image may be an image of the upper surface 10s of the platform 10, or may be an image of a product placed on the upper surface 10s. By using an image of a product placed on the upper surface 10s as the background image, an image of an object 40 superimposed on the product can be generated as a training image. The background image may include an image of a hand. By including an image of a hand in the background image, a training image in which a customer's hand is captured can be generated. If it is expected that a customer will place a shopping basket on the upper surface 10s in a store, the background image may be an image of a shopping basket. If the information processing system 3 is used in a restaurant, the background image may be an image of a tray. If the information processing system 3 is used in a restaurant, the object may be food such as a dish.

[0048] FIG. 7 is a flowchart showing the procedure of an image processing method executed by the information processing device 20 shown in FIG.

[0049] The control unit 24 acquires data of a plurality of images 50Y and a plurality of images 60W (step S1). The control unit 24 executes an optimization process for the objective function L(T, H) (step S2) and acquires data on the transparency T and pixel value H of the object (step S3).

[0050] By executing the processes of steps S1 to S3, a data structure including data on the transparency T and pixel values ​​H of an object can be generated. The data structure may further include at least one of object temperature information, an object depth map, and an object normal map. The object temperature information may be the average temperature of the object's surface or a map showing the temperature distribution of the object. The object depth map includes multiple pixels. Each pixel of the object depth map has a pixel value corresponding to the distance from the imaging unit 12 to the object. The object normal map is a map showing three-dimensional normal vectors at each of multiple predetermined points on the object's surface. The data structure may include a three-dimensional polygon model of the object instead of the object normal map. A three-dimensional polygon model is a model that represents a solid object using a collection of polygons. A polygon is a polygon such as a triangle or a rectangle. The object temperature information, object depth map, object normal map, or three-dimensional polygon model of the object may be generated or acquired by the information processing device 20 or by another device.

[0051] The control unit 24 generates a learning image using the transparency T, the pixel value H, and the background image (step S4).

[0052] In this manner, in the information processing device 20 according to this embodiment, the control unit 24 acquires data on the transparency T of the object and the color of the object based on the object image included in each of the first image and the second image and the colors of the first background and the second background. By acquiring the data on the transparency T of the object and the color of the object, a composite image can be generated in which the color of the background is visible through the object. Therefore, according to this embodiment, a composite image can be generated with high accuracy.

[0053] Furthermore, in the information processing device 20 according to this embodiment, the control unit 24 may generate a composite image as a training image for a training model. In this embodiment, as described above, composite images, i.e., training images, can be generated with high accuracy. By generating training images with high accuracy, the training time of the training model can be shortened. Furthermore, by generating training images with high accuracy, the accuracy of the estimation results of the training model can be improved. Furthermore, by using the transparency and color of the object, the control unit 24 can generate more training images more efficiently than when performing transparency processing on each object image.

[0054] Furthermore, in the information processing device 20 according to this embodiment, the control unit 24 may acquire data on the transparency and color of an object by using three or more images 50 and three or more images 60. By using three or more images 50 and three or more images 60, respectively, the control unit 24 can acquire data on the transparency T and color of an object more accurately than when using two images 50 and two images 60, respectively.

[0055] While the present disclosure has been described based on various drawings and examples, it should be noted that those skilled in the art would easily be able to make various modifications and alterations based on the present disclosure. Therefore, it should be noted that these modifications and alterations are within the scope of the present disclosure. For example, the functions included in each functional unit can be rearranged so as not to cause logical inconsistencies. Multiple functional units may be combined into one or divided. The above-described embodiments of the present disclosure are not limited to faithful implementation of each of the described embodiments, but may be implemented by combining features or omitting some features as appropriate. In other words, those skilled in the art can make various modifications and alterations to the contents of the present disclosure based on the present disclosure. Therefore, these modifications and alterations are within the scope of the present disclosure. For example, in each embodiment, each functional unit, each means, or each step can be added to other embodiments so as not to cause logical inconsistencies, or can be replaced with each functional unit, each means, or each step of other embodiments. Furthermore, in each embodiment, multiple functional units, each means, or each step can be combined into one or divided. Furthermore, each of the above-described embodiments of the present disclosure is not limited to being implemented faithfully according to each of the described embodiments, but can also be implemented by combining each feature or omitting some of them as appropriate.

[0056] For example, in the above-described embodiment, the control unit 24 is described as acquiring data on the transparency and color of an object from the plurality of images 50Y and the plurality of images 60W. However, the control unit 24 may acquire data on the transparency T and color of an object based on the object image contained in each of the first image and the second image and the color of the first background and the second background. In other words, the control unit 24 does not need to use the plurality of images 60. When the control unit 24 does not use the plurality of images 60, the pixel value W in equation (1) iInstead of the pixel values ​​of the pixels in the part of image 50Y that does not include an object image, i.e., the background pixels, may be used. When an image is generated by a camera, the image may become darker the further away from the center of the image due to phenomena such as vignetting. Therefore, when using pixel values ​​of the part of image 50Y that does not include an object image, the camera may be calibrated in advance.

[0057] For example, in the above-described embodiment, the image 60W has been described as a monochromatic image. That is, the image 60W has been described as an image including one background color. However, the image 60W may be an image including multiple colors. That is, the image 60W may be an image including multiple background colors.

[0058] In the above-described embodiment, the image generated by the imaging unit 12 is described as a color image. However, the image generated by the imaging unit 12 may be a monochrome image. In other words, even if the first image and the second image are monochrome images, the control unit 24 can obtain data on the transparency and color of the object based on the object image contained in the first image and the second image, respectively, and the colors of the first background and the second background. In this case, the control unit 24 does not need to take the sum of R, G, and B in equation (2), i.e., j∈{R, G, B}.

[0059] For example, in the above-described embodiment, the information processing device 20 is described as an image processing device that acquires data on object transparency and object color. However, the image processing device that acquires data on object transparency and object color is not limited to the information processing device 20. As another example, the server 4 may acquire data on object transparency and object color as an image processing device. As yet another example, a general-purpose or dedicated computer may acquire data on object transparency and object color as an image processing device.

[0060] For example, in the above-described embodiment, the information processing device 20 is described as an image generating device that generates a composite image using the transparency and color of an object and a background image. However, the image generating device that generates a composite image is not limited to the information processing device 20. As another example, the server 4 may serve as an image generating device and generate a composite image using the transparency and color of an object and a background image. As yet another example, a general-purpose or dedicated computer may serve as an image generating device and generate a composite image using the transparency and color of an object and a background image.

[0061] For example, in the above-described embodiment, the information processing device 20 has been described as generating a training image of a learning model used in a cash register terminal as a composite image. However, the information processing device 20 may generate a training image of any learning model as a composite image. As an example, the information processing device 20 may generate a training image of a learning model used in equipment in a manufacturing factory. In this case, the object may be an industrial product. The background image may include an image of a conveyor belt.

[0062] For example, in the above-described embodiment, the information processing device 20 has been described as a recognition device equipped with a learning model. However, the recognition device equipped with the learning model does not need to be configured integrally with the information processing device 20. In other words, the recognition device equipped with the learning model may be a device separate from the information processing device 20. For example, the recognition device may be equipped with a learning model trained by the information processing device 20 based on a training image generated using the transparency and color of an object and a background image.

[0063] For example, an embodiment is also possible in which a general-purpose computer functions as the information processing device 20 according to the above-described embodiment. Specifically, a program describing the processing content for realizing each function of the information processing device 20 according to the above-described embodiment is stored in the memory of the general-purpose computer, and the program is read and executed by a processor. Therefore, the present disclosure can also be realized as a program executable by a processor, or a non-transitory computer-readable medium storing the program.

[0064] In this disclosure, descriptions such as "first" and "second" are identifiers for distinguishing the configuration. In this disclosure, the configurations distinguished by descriptions such as "first" and "second" can have their numbers swapped. For example, the first image can have its identifiers "first" and "second" swapped with the second image. The identifier swapping is performed simultaneously. The configurations remain distinguished even after the identifier swapping. The identifiers may be deleted. A configuration from which the identifiers have been deleted is distinguished by a symbol. The identifiers "first" and "second" in this disclosure should not be used solely to interpret the order of the configurations or to justify the existence of an identifier with a smaller number.

[0065] In one embodiment, (1) an image processing device includes a control unit that acquires data of a first image, which is an image of an object against a first background, and data of a second image, which is an image of the object against a second background different from the first background, and the control unit acquires data of the transparency and color of the object based on object images, which are images of the object included in each of the first image and the second image, and the colors of the first background and the second background.

[0066] (2) In the image processing device of (1) above, the control unit may acquire data of a third image having the same color as the first background and data of a fourth image having the same color as the second background, and may acquire data on the transparency and color of the object based on the colors of the pixels of each of the first image and the third image and the colors of the pixels of each of the second image and the fourth image.

[0067] (3) In the image processing device of (1) or (2) above, the colors of the pixels in the first image, the second image, the third image, and the fourth image and the color of the object may be represented by pixel values.

[0068] (4) In any one of the image processing devices (1) to (3) above, the control unit may acquire transparency data of the object and acquire color data of the object as pixel values ​​based on the relationship between pixel values ​​of each pixel of the first image, the second image, the third image, the fourth image, and the object image.

[0069] (5) In the image processing device of any one of (1) to (4) above, the control unit may generate a composite image based on the transparency and color of the object and a background image.

[0070] (6) In any one of the image processing devices (1) to (5) above, the object may be a product, and the background image may include at least one of the top surface of a stand, a hand, the product, and a shopping cart.

[0071] In one embodiment, (7) the data structure includes data on the transparency and color of an object in a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color, obtained based on an object image corresponding to the object included in each of the first image and the second image, and the color of the first background and the second background.

[0072] In one embodiment, (8) an image generating device includes: a control unit that generates a composite image based on the data structure described in (7), the transparency of the object, the color of the object, and a background image.

[0073] In one embodiment, (9) the recognition device includes a learning model that is trained using training images, and the training images are generated based on the transparency and color of an object and a background image, and the transparency and color of the object are obtained based on the object images corresponding to the object included in a first image and a second image, respectively, generated by overlaying the same object on a first background and a second background, each of which has a different color, and the colors of the first background and the second background.

[0074] In one embodiment, (10) an image processing method includes: acquiring data of a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color; and acquiring data of the transparency and color of the object based on an object image corresponding to the object included in each of the first image and the second image and the color of the first background and the second background.

[0075] In one embodiment, (11) a program causes a computer to perform operations including: acquiring data of a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color; and acquiring data on the transparency and color of the object based on an object image corresponding to the object included in each of the first image and the second image and the color of the first background and the second background.

[0076] REFERENCE SIGNS LIST 1 Payment system 2 Network 3 Information processing system 4 Server 10 Placement platform 10s Top surface 11 Support column 12 Imaging unit 13 Display device 20 Information processing device 21 Communication unit 22 Input unit 23 Storage unit 24 Control unit 30 Display 40 Object 41H Object image 50Y, 51Y, 52Y, 53Y Images 60W, 61W, 62W, 63W Images 70 Composite image

Claims

1. An image processing device comprising a control unit that acquires data of a first image, which is an image of an object against a first background, and data of a second image, which is an image of the object against a second background different from the first background, wherein the control unit acquires data on the transparency of the object and the color of the object based on object images, which are images of the object contained in each of the first image and the second image, and the colors of the first background and the second background.

2. The image processing device described in claim 1, wherein the control unit acquires data of a third image having the same color as the first background and data of a fourth image having the same color as the second background, and acquires data on the transparency and color of the object based on the colors of the pixels of the first image and the third image and the colors of the pixels of the second image and the fourth image.

3. The image processing device according to claim 2, wherein the colors of the pixels in the first image, the second image, the third image and the fourth image and the color of the object are represented by pixel values.

4. The image processing device according to claim 3, wherein the control unit acquires transparency data of the object and acquires color data of the object as pixel values ​​based on the relationship between pixel values ​​of each of the pixels in the first image, the second image, the third image, the fourth image and the object image.

5. An image processing device according to any one of claims 1 to 4, wherein the control unit generates a composite image based on the transparency and color of the object and a background image.

6. The image processing device according to claim 5, wherein the object is a product, and the background image includes at least one of the top surface of a stand, a hand, the product, and a shopping basket.

7. A data structure including data on the transparency and color of an object in a first image and a second image generated by overlaying the same object on a first background and a second background, the first background and the second background being different in color, the data including an object image corresponding to the object contained in each of the first image and the second image, and data on the transparency and color of the object obtained based on the colors of the first background and the second background.

8. An image generating device comprising a control unit that generates a composite image based on the transparency and color of the object contained in the data structure according to claim 7 and a background image.

9. A recognition device comprising a learning model that is trained using training images, the training images being generated based on the transparency and color of an object and a background image, and the transparency and color of the object are obtained based on an object image corresponding to the object contained in each of the first and second images, which are generated by overlaying the same object on a first background and a second background, each of which has a different color, and the colors of the first and second backgrounds.

10. An image processing method comprising: acquiring data of a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color; and acquiring data on the transparency and color of the object based on an object image corresponding to the object contained in each of the first image and the second image and the colors of the first background and the second background.

11. A program that causes a computer to perform operations including: acquiring data of a first image and a second image generated by overlaying the same object on a first background and a second background, each of which has a different color; and acquiring data on the transparency and color of the object based on an object image corresponding to the object contained in each of the first and second images and the colors of the first and second backgrounds.

Citation Information

Patent Citations

  • Method, device for processing image and image processing system

    JP2001143085A

  • Image creation device, image creation method and image creation program

    JP2005251162A