Clothing trial fitting simulation system and program
The system addresses unnatural composite images by aligning facial orientations and features in user and model images, creating a comfortable and natural-looking clothing simulation.
Patent Information
- Application Number
- JP2023063778
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2043-04-10
AI Technical Summary
Conventional clothing simulation systems generate composite images that cause discomfort due to differences in face orientation, line of sight, and other facial features when combining user and model images, leading to unnatural appearances.
The system extracts feature points from user and model images, adjusts face orientations by correcting roll, pitch, and yaw differences, and adjusts transparency and line of sight to align facial features, ensuring a comfortable composite image.
Generates a composite image that minimizes discomfort by aligning facial orientations and features, resulting in a natural-looking simulation of trying on clothes.
Smart Images

Figure 2024150368000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a system and a program that can easily perform a simulation of a user trying on desired clothing on an online so-called SNS (social networking service), flea market site, auction site, or EC site. [Background technology]
[0002] In recent years, it has become common for people to upload photos of themselves wearing the clothes they have purchased to social networking sites. In addition, there are many sites, such as so-called flea market sites and auction sites, where sellers can sell clothes and accessories (clothing, etc.) that they no longer need, or clothes that they wish to sell. Clothes, etc., are also distributed as a major trading item in electronic commerce, such as EC sites.
[0003] When a user is about to purchase clothes or wants to view clothes as in window shopping, the user often wants to try them on. Patent Document 1 proposes a system that allows a user to obtain images of himself or herself trying on clothes using a smartphone or personal computer, and provides images of the clothes being tried on according to the user's body type. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2015-180987 A [Patent Document 2] JP 2001-134745 A [Patent Document 3] Japanese Patent Application Publication No. 9-106419 Summary of the Invention [Problem to be solved by the invention]
[0005] The system described in Patent Document 1 acquires an image of a user and parameters indicating the user's body type, acquires identification information for the clothes the user wishes to try on, acquires the body type parameters of the clothes corresponding to the size of the clothes from the identification information for the clothes, acquires a model image showing the clothes worn by a model with a body type that matches the body type parameters of the clothes, displays the model image worn by a model with body type parameters close to the user's body parameters on the user's terminal, and displays a composite image combined with the model image.
[0006] In the system described in Patent Document 1, a user image photographed of the user and a model image of the user wearing the clothing on a model with parameters similar to the user's body type are displayed on the user terminal, and by combining the user image and model image, the user can see an image as if they were trying on the clothing.
[0007] On the other hand, in the system described in Patent Document 1, when a user image and a model image are synthesized, a depth map using distance information is acquired for the user image, parameters of the user's body type are estimated, and a model image having body type parameters close to the estimated body type parameters is selected for synthesis. In this way, Patent Document 1 employs a method of reducing the sense of incongruity when a synthesized image is created by selecting images of similar body type parameters for the user image and the model image.
[0008] However, when it comes to combining a user image and a model image, the face is only used to detect the body orientation of the user and model, and no means are disclosed for eliminating the sense of incongruity that appears when the face and torso are combined.
[0009] Patent Document 2 discloses a simulation device that performs on-screen fitting at a hotel or ceremony hall for wedding attire, etc. The device in Patent Document 2 cuts out only a face image from a user image along the contour of the face, moves it to the position of the model's face in a model image, creates a composite image, and adjusts the position, size, hue, brightness, shading, etc. of the face image.
[0010] Patent Document 3 discloses a simulation method for synthesizing an image of a mannequin dressed in clothes with an image of a user, in which a mannequin with feature points representing a body type is photographed, the mannequin is dressed in the clothes and photographed, an image of the user is photographed, and the image of the user is posed in the same way as the mannequin.
[0011] In Patent Document 3, in the embodiment, only the face is synthesized into the mannequin image, but it is also described that exposed skin parts of the person image, such as the nape, hands, and feet, may be cut out from the person image, synthesized into the mannequin image, and smoothed.
[0012] As described above, in conventional systems, various techniques have been used to synthesize a user image and a model image in clothing simulation, but when an actual synthesized image is generated, it often ends up looking unnatural.
[0013] The present invention aims to provide a fitting simulation system and program that can generate a composite image that does not create an awkward look when generating a composite image by combining a user image and a model image. [Means for solving the problem]
[0014] In order to achieve the above-mentioned object, the fitting simulation system of the present invention comprises a user image input means for inputting a user image photographed of a user, a model image input means for inputting a model image of a model wearing clothing, and a display control means for displaying the user image and the model image on a screen of a display device, the display control means comprising a feature point extraction unit for extracting feature points in the face areas of the user image and the model image, an orientation detection unit for detecting the facial orientations of the user and the model from the feature points of the user image and the model image, a correction unit for correcting the difference in distance between the feature points in the user image and the model image and the difference in facial orientation within a predetermined range, and an image synthesis unit for synthesizing the facial portion of the user image corrected by the correction unit with the model image and displaying a synthesized image on the display device.
[0015] The inventors of the present application have studied the cause of the discomfort in conventional systems and found that it occurs when the images of the face regions in the user image and the model image are replaced, due to a subtle difference between the user's face direction and the model's face direction. Therefore, in the fitting simulation system of the present invention, by extracting feature points in the face regions of the user image and the model image, and setting the difference between the face direction of the user image and the face direction of the model image from the feature points within a predetermined range, it is possible to generate a composite image that does not cause discomfort when generating a composite image by combining the user image and the model image.
[0016] In the fitting simulation system of the present invention, the orientation detection unit may detect the difference in the facial orientation between the user and the model by obtaining the respective values of roll, pitch, and yaw from a reference facial posture. In this way, by detecting the facial orientations of the user image and the model image by obtaining the respective values of roll, pitch, and yaw from a reference facial posture, a natural composite image can be generated.
[0017] In the fitting simulation system of the present invention, the correction unit may minimize the sum of squared values of the differences in distance between the feature points in the user image and the model image, thereby making the differences in distance between the feature points in the user image and the model image within a predetermined range. This configuration can improve the accuracy of eliminating the sense of incongruity in the composite image.
[0018] In the fitting simulation system of the present invention, the image synthesis unit may extract an image of a hair portion of the user image, detect the transparency of the image of the hair portion, and synthesize the transparency of the user's hair portion in the synthesized image with the image of the background of the hair portion as the transparency in the user image. With this configuration, it is possible to reduce the sense of incongruity of the hair portion in the synthesized image.
[0019] In addition, in the fitting simulation system of the present invention, the image synthesis unit may detect the direction of gaze in the user image and the model image, and if the gazes in both images are reversed, perform an inversion process to invert the gaze of the user image from left to right. The discomfort that occurs in the synthesized image may be caused by a difference in the gazes of the user image and the model image, but by performing an inversion process of the gaze of the user image, the discomfort caused by the difference in the gazes can be eliminated.
[0020] The fitting simulation program of the present invention is a program for operating a computer as each of the fitting simulation systems. This program may be installed in a device with a built-in computer, such as a smartphone, and used therein, or may be installed in a computer, such as a server, and used on a smartphone or the like. Effect of the Invention
[0021] According to the present invention, with the above configurations, when a composite image is generated by combining a user image and a model image, a composite image that does not create an awkward feeling can be generated. [Brief description of the drawings]
[0022] [Figure 1] FIG. 2 is an explanatory diagram showing the overall structure of the fitting simulation system and the functional configuration of the program according to the embodiment. [Diagram 2] FIG. 2 is an explanatory diagram showing the functional configuration of a display control unit in the system of the present embodiment. [Diagram 3] FIG. 11 is an explanatory diagram showing a state in which a user image is selected on a user terminal. [Figure 4] FIG. 11 is an explanatory diagram showing a state in which a model image is selected on a user terminal. [Diagram 5] 11 is an explanatory diagram showing a state in which the orientation of the face regions of a user image and a model image is detected by an orientation detection unit of the display control means; [Figure 6] FIG. 11 is an explanatory diagram showing a state in which a composite image in which a face region of a user image is composited with a model image is displayed on a user terminal. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] Next, a fitting simulation system and a fitting simulation program as an embodiment of the present invention will be described with reference to Figures 1 to 6. As shown in Figure 1, the fitting simulation system 1 of this embodiment (hereinafter simply referred to as "system 1") is realized by software constituting a program 2 and hardware for installing and executing the program.
[0024] The program 2 is installed in a user terminal 3 owned by a user U, or in a server S, and can be connected to an SNS 4, a flea market site 5, an EC site 6, an auction site, or other sites via a network constructed using the Internet, telephone lines, etc. Also, from a model terminal 7 owned by a model M, an image of the model M can be uploaded to the SNS 4, etc.
[0025] The server S is composed of hardware (computer) consisting of a processing unit such as a CPU, various storage devices such as RAM, ROM, a hard disk, or SSD, various interfaces, etc., and software that is installed and executed on the hardware. The server S may be constructed in one place, or may be constructed in a distributed manner such as a so-called cloud computing system.
[0026] The functional configuration of the program 2 includes a user image input means 9 for inputting a user image 8 photographed of a user U, a model image input means 11 for inputting a model image 10 wearing clothes, a display control means 12 for displaying the user image 8 and the model image 10 on the screen of a display device such as a user terminal 3, and a communication means 13 for communicating with external terminals, databases, etc.
[0027] The system 1 of this embodiment is executed by a program called an app that is executed on a user terminal 3, such as a smartphone owned by a user U. The user terminal 3 includes personal computers, such as tablet terminals and notebook PCs, in addition to smartphones. The program of this embodiment may be stored in a server S, and the program may be executed on the user terminal 3 using a program such as a web browser.
[0028] The user image input means 9 is a functional unit that displays the user image 8 stored in the user terminal 3 or the user image 8 stored in various storage services (online image storage services) on the user terminal 3 as a display device. The user U can use the user image input means 9 to select an image of himself / herself for which he / she wishes to perform a simulation of trying on clothes.
[0029] The model image input means 11 is a functional unit that displays a model image 10 uploaded by a model M to an SNS, blog, or the like on the user terminal 3. A user U can search for an image of a model wearing clothes that the user likes from a large number of images uploaded to an SNS or the like, select a model image 10 that the user would like to try on, and display it on the user terminal 3. Furthermore, the model image input means 11 can not only analyze the tendency of clothes selected by the user U using the program 2, but also search for images recommended for the user U from information such as the user U's profile, and display them on the user terminal 3.
[0030] The display control means 12 is a functional unit that realizes a simulation of trying on clothes worn by the model M by combining an image of the face region (for example, the region combining the face, hair, and neck) of the user image 8 with the model image 10. As shown in Fig. 2, the display control means 12 includes a feature point extraction unit 14 that extracts feature points 8b, 10b in the face region 8a of the user image 8 and the face region 10a of the model image 10, and an orientation detection unit 15 that detects the orientation of each face from the feature points 8b, 10b in the face regions 8a, 10a of the user U and the model M.
[0031] The display control means 12 also includes a correction unit 16 that calculates the distance between feature points 8b in the user image 8, calculates the distance between feature points 10b in the model image 10, and corrects the user image 8 so that the difference in distance between corresponding feature points in the user image 8 and the model image 10 falls within a predetermined range.
[0032] Furthermore, the display control means 12 includes an image synthesis unit 17 that replaces the image of the face region 8a of the user image 8 corrected by the correction unit 16 with the image of the face region 10a of the model image 10 to synthesize the images.
[0033] Next, the operation of the system 1 of this embodiment will be described with reference to Fig. 1 to Fig. 6. As shown in Fig. 1, a user U starts an app provided by the system 1 of this embodiment using a user terminal 3. When the app is started and a login process such as personal authentication of the user U is performed, the user can select a user image 8 for performing a simulation of trying on clothes.
[0034] The user image 8 can be selected from images stored in the user terminal 3 or images uploaded by the user to SNS etc. Fig. 3(A) is a diagram showing a state in which a plurality of images are displayed on the user terminal 3, and when one of the images is selected, the selected user image 8 is displayed as shown in Fig. 3(B).
[0035] The user U taps (or clicks) the registration button 18 displayed on the screen of the user terminal 3 to register the selected user image 8 in the system 1 as the user image 8 to be used in the simulation.
[0036] Next, the user U searches for clothes that he or she would like to try on. The search can be performed on an SNS 4, a flea market site 5, an EC site 6, or the like, as shown in FIG. 1. Specifically, as shown in FIG. 3(A), the user taps on a plurality of images uploaded on the SNS 4 to select one model image 10 that he or she likes. Note that the SNS 4, the flea market site 5, or the EC site 6 may be provided with a service or site that collects only images of users of the system 1 of this embodiment.
[0037] When the model image 10 is selected, the model image 10 is displayed on the screen of the user terminal 3, and a simulation button 19 is displayed in a part of the model image 10. Here, when the user U taps the simulation button 19, processing by the display control means 12 is started.
[0038] In the display control means 12, first, the feature point extraction unit 14 extracts feature points in the face region 10a of the user image 8 and the model image 10. Examples of feature points include the centers of the pupils of both eyes, the midpoint of both eyes, the tip of the nose, the lateral outlines of both eyes, the tip of the chin, both ends of the mouth, the boundary between the face outline and the neck, the top of the head, and a part of the hair outline. These feature points are selected as points necessary for detecting the direction of the face. Figures 5(A) and (B) show the state in which the feature point extraction unit 14 extracts feature points 8b and 10b in the face region 8a of the user image 8 and the face region 10a of the model image 10.
[0039] Next, the orientation detection unit 15 detects the orientation of the face of the user U in the user image 8 and the orientation of the face of the model M in the model image 10. The orientation detection unit 15 performs detection by determining not only the inclination detected from each feature point, but also each value of roll, pitch, and yaw from the reference posture of the face.
[0040] The reference facial posture can be, for example, a state in which the line connecting the center of the forehead, the tip of the nose, and the tip of the chin is vertical, the line connecting both eyes is horizontal, and the gaze is directed straight ahead.
[0041] The orientation detection unit 15 detects the orientation of the face by detecting the amount that the line connecting both eyes is tilted from the horizon (roll), the amount that the gaze is tilted up or down (pitch), and the amount that the gaze is tilted left or right (yaw) relative to this reference posture.
[0042] In the case of the user image 8, the detection of the face direction in the direction detection unit 15 can be performed by performing so-called AI processing using a trained model that has been trained using images of various face directions of the user U as teacher data. Alternatively, in addition to a method of detecting the user U by quantifying the body type or the like using a 3D scanner or the like, a gyro sensor or the like may be attached to the user's head in advance, and photographs in various directions and the detection values of the gyro sensor may be digitized and detected.
[0043] The orientation detection unit 15 also obtains the roll, pitch, and yaw values of the face of the model M from the reference orientation in the model image 10, and detects the orientation of the face area 10a in the model image 10.
[0044] Next, the modification unit 16 modifies the model image 10 so that the difference in distance between each feature point in the user image 8 and the model image 10 falls within a predetermined range. Specifically, the difference in distance between each feature point in the user image 8 and the model image 10 is set so that the sum of the squared differences in distance between a plurality of feature points in the user image 8 and the model image 10 is minimized, thereby making the difference in distance between the feature points in the user image 8 and the model image 10 fall within a predetermined range.
[0045] For example, for the distance between the tip of the nose and the tip of the chin, the distance between the midpoint of both eyes and the tip of the chin, the distance between the lateral contours of both eyes, etc., the distance in the model image 10 is subtracted from the distance in the user image 8, squared, and added together. The scale of the user image 8 or the model image 10 is adjusted so that this sum is minimized.
[0046] Next, the image synthesis unit 17 synthesizes the face part of the user image 8 corrected by the correction unit 16 with the model image 10. At this time, the image synthesis unit 17 extracts the image of the head part of the user image 8 and detects the transparency of the image of the head part. For example, the transparency is low in the part where the hair is dense, and the transparency is high in the part where the hair is not dense.
[0047] When compositing the face portion of the user image 8 with the model image 10, the image composition unit 17 adjusts the transparency of the image when pasting in accordance with the transparency of the hair portion. As a result, where the transparency of the hair portion image is high, the background image becomes visible according to the transparency of the hair portion, eliminating the sense of incongruity of the composite image.
[0048] In addition, the image synthesis unit 17 may detect the direction of the gaze of the user U in the user image 8 and the gaze of the model M in the model image 10, and if the gazes in both images are reversed left to right, perform an inversion process to reverse the gaze of the user image 8 left to right.
[0049] FIG. 5(A) shows user image 8, but the gaze of user U is directed slightly to the left. On the other hand, looking at model image 10 in FIG. 5(B), model M's gaze is directed slightly to the right. In such a case, image synthesis unit 17 performs an inversion process in which the position of the pupil in the white of the eye is inverted left to right in the eye portion of user image 8. By this inversion process, the gaze of user image 8 when synthesized with model image 10 becomes the same as that of model image 10, eliminating the sense of incongruity in the synthesized image.
[0050] At this time, the face and hair of the model M can be cut out from the model image 10, and the face and hair of the user U can be synthesized in the user image 8. At this time, if the cut-out portion is large, a redrawing process may be performed to match the background of the blank portion to the surroundings.
[0051] Furthermore, when combining the face region of user image 8, a gap may occur between the face and neck, in which case a so-called filling process may be performed to extend the neck region to the boundary of the face region. Furthermore, when the hue and saturation of the face region of user image 8 and the surroundings of model image 10 differ, the hue and saturation of the face region of user image 8 may be adjusted to match the surroundings.
[0052] By carrying out the above-mentioned processing, a composite image that does not create an awkward appearance can be generated even when the image of the face region of the user image 8 is composited with the model image 10. The composite image generated by the system of this embodiment is, for example, an image shown in FIG.
[0053] In the composite image 20 shown in FIG. 6, the image of the face region of the user image 8 is adjusted to match the face orientation (roll, pitch, yaw) in the model image 10, the distances between the feature points of the user U are adjusted to approximate the distances between the feature points of the model M, and the gaze is also adjusted, so that the image looks natural and as if the user U is wearing the clothes in the model image 10.
[0054] This allows the user U to use his / her own smartphone as the user terminal 3 to simulate trying on clothes even when the user U is unable to actually try on the clothes.
[0055] Here, when user U taps the simulation button 19 shown in FIG. 6, he / she can obtain information about the clothes and accessories in the model image 10, and if he / she likes them, he / she can connect to SNS 4, flea market site 5, or EC site 6 to purchase those clothes and accessories.
[0056] In the above embodiment, an example was described in which a smartphone was used as the user terminal 3, but as in Patent Document 1, a device may be used that photographs the user U in life-size and acquires the image and numerical values such as height and weight, or an apparatus such as a 3D scanner may be used to acquire an image and dimensional data of the user U.
[0057] Furthermore, in the above embodiment, the facial region is defined as a region including the face, hair, and neck, but the facial region may be defined as only the face and hair. [Explanation of symbols]
[0058] 1. Try-on simulation system 2. Programs (apps) 3. User terminal 4. Social media 5. Flea market sites 6. E-commerce website 7…Model terminal 8...User image 8a…Facial area 8b…Feature points 9...User image input means 10…Model image 10a…Facial area 10b…Feature points 11...Model image input means 12...Display control means 13. Means of communication 14…Feature point extraction section 15…Orientation detection unit 16…Revision section 17...Image synthesis section 18. Registration button 19…Simulation button 20…Composite image U...User M…Model S...Server
Claims
1. a user image input means for inputting a user image obtained by photographing a user; a model image input means for inputting a model image of a model wearing the garment; a display control means for displaying the user image and the model image on a screen of a display device, The display control means a feature point extraction unit that extracts feature points in a face region of the user image and the model image; a direction detection unit that detects the direction of a face of the user and the model from the feature points of the user image and the model image; a correction unit that corrects a difference in distance between the feature points in the user image and the model image and a difference in face orientation within a predetermined range; a face portion of the user image corrected by the correction portion and the model image, and an image synthesis portion is configured to display a synthetic image on the display device;
2. The fitting simulation system according to claim 1, A fitting simulation system, wherein the orientation detection unit detects the difference in facial orientation between the user and the model by obtaining each of roll, pitch, and yaw values from a reference facial posture.
3. The fitting simulation system according to claim 1, a fitting simulation system, characterized in that the correction unit brings the difference in distance between the feature points in the user image and the model image within a predetermined range by minimizing the sum of the squared values of the differences in distance between the feature points in the user image and the model image.
4. The fitting simulation system according to claim 1, The image synthesis unit extracts an image of the hair part of the user image, detects the transparency of the hair part image, and synthesizes the transparency of the user's hair part in the synthesized image with an image of the background of the hair part as the transparency in the user image.
5. The fitting simulation system according to claim 1, The fitting simulation system is characterized in that the image synthesis unit detects the direction of gaze in the user image and the model image, and if the gaze in both images is reversed left to right, performs an inversion process to invert the gaze of the user image left to right.
6. A fitting simulation program for causing a computer to operate as the fitting simulation system according to any one of claims 1 to 5.
Citation Information
Patent Citations
Image-processing program, computer-readable recording medium recording the program, image processor and image processing method
JP2009064086A
Image display method, and image display device
JP2013168969A
Sight line conversion device, sight line conversion method, and program
JP2015149016A
Imaging apparatus, imaging method, and program
JP2015159550A
Face authentication device, face authentication method, and program
JP2018200592A
