WO2023134709A1 - 虚拟试衣方法及装置 - Google Patents

虚拟试衣方法及装置 Download PDF

Info

Publication number
WO2023134709A1
WO2023134709A1 PCT/CN2023/071807 CN2023071807W WO2023134709A1 WO 2023134709 A1 WO2023134709 A1 WO 2023134709A1 CN 2023071807 W CN2023071807 W CN 2023071807W WO 2023134709 A1 WO2023134709 A1 WO 2023134709A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
model
clothing
user
human body
Prior art date
Application number
PCT/CN2023/071807
Other languages
English (en)
French (fr)
Inventor
庄亦村
王改革
Original Assignee
阿里巴巴(中国)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴(中国)有限公司 filed Critical 阿里巴巴(中国)有限公司
Publication of WO2023134709A1 publication Critical patent/WO2023134709A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • G06T3/02

Definitions

  • the present application relates to the technical field of image processing, in particular to a virtual fitting method and device.
  • the present application provides a virtual fitting method and device.
  • the specific technical scheme is as follows:
  • a virtual fitting method including:
  • the human body contour part obtained after the affine transformation is synthesized with the image background obtained from the cutout image of the model to obtain the fitting image of the user.
  • the method further includes:
  • the body index key point detection is performed on the model image to obtain the model body index key points of the model in the model image and the size information of each body index in the model image.
  • the method further includes:
  • the image frames of the detected human body are respectively used as model images to perform the conversion, radial transformation and synthesis processing to obtain fitting images corresponding to each image frame;
  • the fitting image is replaced with the corresponding image frame in the video material to obtain a fitting video of the user.
  • the method further includes:
  • Human body detection is performed on the image data, and the image of the detected human body is used as the image material of the clothing;
  • the image of the model is obtained from the image material of the clothing.
  • the steps of the matting process and the key point detection of the figure index are performed in advance for the model images of the clothing with the fitting function in the clothing database, and the corresponding characters of the model images are stored
  • the size information of the outline and each figure index in the model image is stored in the preset storage space;
  • the storage space is queried to obtain the figure information corresponding to the model image for which the user requests to try on the clothing, the image background, and the size information of each figure index in the model image.
  • using the target size information to perform affine transformation on the human body contour obtained from the cutout image of the model includes:
  • Affine transformation is performed on the outline of the human body by using a Bezier curve, so that each figure index reaches a corresponding target size in the model image.
  • the process of synthesizing the human body contour part obtained after affine transformation with the image background obtained from the cutout image of the model to obtain the fitting image of the user includes:
  • the method further includes:
  • At least one of the user's body index data, clothing size information recommended to the user, and components that trigger trying on other clothing is further displayed on the interface displaying the fitting image.
  • a virtual fitting device comprising:
  • a request receiving unit configured to receive a user's clothing try-on request
  • the data acquisition unit is configured to acquire the user's body index data, and determine the model image of the user requesting to try on the clothing, and the model image includes the model wearing the clothing;
  • the size conversion unit is configured to calculate the ratio between the user's body index data and the model's body index data; use the calculated ratio information to calculate the size information of each body index of the model in the model image Perform conversion to obtain the target size information of each body index;
  • an affine transformation unit configured to perform affine transformation on the human body outline part obtained from the cutout image of the model according to the target size information
  • the image synthesis unit is configured to synthesize the human body contour part obtained after the affine transformation and the image background obtained from the cut-out image of the model to obtain the fitting image of the user.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in any one of the above-mentioned first aspects are implemented.
  • an electronic device characterized in that it includes:
  • a memory associated with the one or more processors the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, perform any one of the above-mentioned first aspects The steps of the method.
  • this application can have the following advantages:
  • the application transforms the model image of the original model wearing clothing into a fitting image that fits the user's figure, and helps the user realize virtual fitting.
  • This application enables users to obtain a fitting look and feel that fits their own body size, and reduces the probability of returns when the clothes purchased by users are inconsistent with expectations after they are actually worn. Both the seller and the buyer can reduce the resulting time and effort. economic loss.
  • a large amount of video data or image data in the clothing database can be used to obtain video materials and image materials of clothing, and virtual fittings can be provided for users based on these rich materials. Users can obtain fitting effects through multimedia methods such as video or images, and the user experience is better.
  • This application can pre-execute cutout processing and body index key point detection processing for the model images of clothing with fitting function in the clothing database, and store the corresponding character outline, image background, and various body indexes in the model image.
  • the size information in the image to the preset storage space.
  • the storage space is queried to obtain the figure information corresponding to the model image for which the user requests to try on the clothing and the size information of each figure index in the model image.
  • the pre-processed results can be used directly, which reduces the impact on device performance and improves efficiency.
  • the virtual fitting method is provided to merchants as a tool. Merchants do not need additional production costs, and only need to provide clothing materials to cover virtual fittings of their clothing products, which can achieve wide coverage at low cost.
  • Figure 1 shows an exemplary system architecture to which the embodiment of the present application can be applied
  • Fig. 2 is the main flowchart of the virtual fitting method provided by the embodiment of the present application.
  • Fig. 3 is the flow chart that the clothing database is preprocessed provided by the embodiment of the present application.
  • Fig. 4 is a schematic diagram of the key points of the buttocks provided by the embodiment of the present application.
  • Fig. 5 is a schematic diagram of the model image and the transformed fitting image provided by the embodiment of the present application.
  • Fig. 6 is a schematic diagram of an interface showing a fitting image provided by the embodiment of the present application.
  • Fig. 7 shows a schematic block diagram of a virtual fitting device according to an embodiment
  • Fig. 8 exemplarily shows the architecture of the electronic device.
  • the word “if” as used herein may be interpreted as “at” or “when” or “in response to determining” or “in response to detecting”.
  • the phrases “if determined” or “if detected (the stated condition or event)” could be interpreted as “when determined” or “in response to the determination” or “when detected (the stated condition or event) )” or “in response to detection of (a stated condition or event)”.
  • Fig. 1 shows an exemplary system architecture to which the embodiments of the present application can be applied.
  • the system architecture may include terminal devices 101 and 102 , a network 103 and a server 104 .
  • the network 103 is used as a medium for providing communication links between the terminal devices 101 , 102 and the server 104 .
  • Network 103 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
  • terminal devices 101 and 102 Users can use terminal devices 101 and 102 to interact with server 104 via network 103 .
  • Various applications may be installed on the terminal devices 101 and 102, such as e-commerce applications, web browser applications, communication applications, and the like.
  • the terminal devices 101 and 102 may be various user devices with screens, including but not limited to smartphones, tablet computers, smart TVs, PCs (personal computers), wearable devices, PDAs (personal digital assistants) and the like.
  • Wearable devices may include devices such as smart watches, smart glasses, virtual reality devices, augmented reality devices, mixed reality devices (that is, devices that can support virtual reality and augmented reality), and the like.
  • the server 104 can be a single server, a server group composed of multiple servers, or a cloud server.
  • Cloud server also known as cloud computing server or cloud host, is a host product in the cloud computing service system to solve the difficulties in management and service expansion in traditional physical host and virtual private server (VPs, VIirtual Private Server) services. Defects of weakness.
  • the virtual fitting device provided in this application can be set and run on the above-mentioned server 104 . It can be implemented as multiple software or software modules (for example, to provide distributed services), or can be implemented as a single software or software module, which is not specifically limited here.
  • the user can send a clothing try-on request to the server 104 through the terminal device 101 or 102, and the server 104 returns the user's fitting image to the terminal device 101 or 102 by using the method provided by the embodiment of the present application.
  • terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
  • Fig. 2 is a main flow chart of the virtual fitting method provided by the embodiment of the present application, which can be executed by the server in the system architecture shown in Fig. 1 . As shown in Figure 2, the method may include the following steps:
  • Step 201 Receive a clothing try-on request.
  • Step 202 Obtain the user's figure index data, and determine the image of the model that the user requests to try on the clothing, and the model image includes the model wearing the clothing.
  • Step 203 Calculate the ratio between the user's body index data and the model's body index data, use the calculated ratio information to convert the size information of each body index of the model in the model image, and obtain the target size information of each body index.
  • Step 204 Perform affine transformation on the human body outline part obtained from the cutout image of the model according to the target size information.
  • Step 205 Synthesize the human body outline obtained after the affine transformation and the image background obtained from the model image, to obtain the user's fitting image.
  • the application transforms the original model image of the model wearing clothing into a fitting image that fits the user's body, so that the user can obtain a fitting look and feel that fits his own body size. Reducing the probability of returning the clothing purchased by the user after the actual wearing is inconsistent with the expectation will reduce the time and economic losses caused by both the seller and the buyer.
  • step 201 that is, "receiving a clothing try-on request" will be described in detail in conjunction with an embodiment.
  • models wearing clothing When users use terminal devices to browse clothing products on e-commerce websites, they usually see images or videos of models wearing clothing, and the videos also include images of models wearing clothing.
  • An image of a model wearing clothing is referred to as a model image in this application.
  • models usually have a better figure, but for the general public, the figure is different, and the model wears good-looking clothes that do not necessarily look good on themselves. Therefore, users often want to see clothes that are consistent with their own figures. effect on humans. This situation just can carry out fitting by the mode of the present application.
  • the user can send a clothing try-on request to the server side by triggering a preset try-on component on a page of an e-commerce website or an application. It is also possible to send a service try-on request to the server side through a specific page preset in a special try-on applet, a try-on application, or a preset try-on component on a page.
  • the pages involved in this application can also be referred to as Web pages, and can be web pages (Web Pages) written based on HyperText Markup Language (HTML), i.e. HTML pages, or can also be written based on HTML and Java language.
  • HTML HyperText Markup Language
  • the webpage that is, the Java Server Page (Java Server Page, JSP), or a webpage written in other languages, which is not particularly limited in this embodiment.
  • the clothing try-on request carries at least the user's information and the information that the user requests to try on the clothing.
  • the user's information may be the user's identification information, and may also be the user's body index data.
  • the clothing information may be identification information of the clothing, or image information of a model that the user requests to try on the clothing.
  • step 202 is described in conjunction with the embodiment, that is, "acquire the user's figure index data, and determine the image of the model that the user requests to try on the clothing, and the model image includes the model wearing the clothing".
  • users can preset user attribute information on e-commerce websites, e-commerce applications, try-on applets, try-on applications, etc.
  • the user attribute information can include user body index data.
  • the identification information of the user needs to be carried in the clothing try-on request, and the body index data of the user can be obtained according to the identification information of the user.
  • the user when sending a clothing try-on request, the user can fill in the user's figure index data on the browsed page or a special page, and the clothing try-on request carries the figure index data.
  • the server can obtain the user's figure index data from the clothing try-on request.
  • the body index data involved in the embodiment of the present application is commonly referred to as "size information", which may include but not limited to data such as chest circumference, waist circumference, hip circumference, shoulder width, sleeve length, trouser length, etc., and may also be Includes data such as sizing information.
  • the user can select a model image on the e-commerce website, e-commerce application, try-on applet, try-on application and other pages to try on.
  • the clothing try-on request sent can be Carries the selected model image information.
  • the server obtains the corresponding model image according to the model image information carried in the clothing try-on request.
  • the user selects the clothing to be tried on the e-commerce website, e-commerce application, try-on applet, try-on application, etc., and the clothing try-on request sent at this time can carry Identification information of the selected garment.
  • the server obtains the corresponding model image from the clothing image database according to the clothing identification information carried in the clothing try-on request. If the identification information of the clothing corresponds to multiple model images, the processing in the embodiment of the present application may be performed on all the multiple model images, and the corresponding fitting images are returned respectively. It is also possible to select at least one of the multiple model images and perform the processing in the embodiment of the present application, and then return the corresponding fitting image.
  • the information of multiple model images can also be provided to the user, and the user selects at least one of them, and the server returns the corresponding fitting image after performing the processing in the embodiment of the application on the model image selected by the user.
  • step 203 that is, "calculate the ratio between the user's body index data and the model's body index data, and use the calculated ratio information to calculate the size information of each body index of the model in the model image.” Conversion to obtain the target size information of each body index" for a detailed description.
  • the proportion calculation is first performed on the body index data of the user and the model, and the proportion of each body index of the user and the model can be obtained. For example, suppose the user's hip circumference is 120cm and the model's hip circumference is 100cm, then the hip ratio of the user to the model is 1.2.
  • the calculated proportion information to convert the size information of each figure index of the model in the model image is to use the calculated proportion information as a scale to transform the user's figure index data into the image.
  • the unit of each body index data of the user is, for example, cm (centimeter), and the unit of the corresponding target size information in the image after conversion is the distance of pixels, and the unit is pixel (pixel).
  • Step 301 Get the model image of the clothing from the clothing database.
  • the image data of the clothing can be obtained from the clothing database.
  • These image data can be provided by merchants and stored in the clothing database in advance. Human body detection is performed on these image data, and the image of the detected human body is used as the image material of the clothing.
  • the model image can be obtained from the image material of the clothing according to certain rules, for example, the default model image is selected from the image material according to the logo of the clothing, or the model image with the highest quality is selected, or randomly selected, etc. wait.
  • the image material may also be provided to the user, allowing the user to select a model image from the image material for fitting. In this case, the user needs to carry the identification information of the image when requesting a virtual fitting.
  • the clothing database not only stores images, but also stores a large number of video data of clothing, or only includes video data
  • these video data include videos of models wearing clothing for display, but in addition
  • the video data may also contain video content of pure clothing (excluding models).
  • the video data of the clothing can be obtained from the clothing database, and the video material of the clothing can be obtained from the video data according to a preset rule or a user's choice. Human body detection is performed on each image frame in the video material, and the image frame in which the human body is detected is used as a model image.
  • the preset rule may be that the quality meets the preset requirement, preset a default video material or randomly select it, and the like.
  • the user's choice means that the video data of the clothing can be provided to the user, and the user can select a video as the video material of the clothing.
  • the user's fitting video can be finally obtained, which will be specifically mentioned in the subsequent embodiments.
  • the human body detection on the image can be realized by using any human body detection model.
  • the target detection based on deep learning has developed rapidly.
  • the embodiment of the present application such as based on Faster-RCNN (Faster-Region Convolutional Neural Networks, fast regional convolutional neural network), Mask-RCNN (mask region convolutional neural network) can be used.
  • FPN feature pyramid networks, feature pyramid network
  • YOLO You Only Look Once, you only need to look once
  • SAPD Soft Anchor-Point Detector, soft anchor point detection
  • the present application does not limit the specific human detection model used.
  • Step 302 Cutting out the image of the model to obtain the outline of the human body and the background of the image.
  • the image of the model is matted to separate the foreground and background information in the image, where the foreground is the part included in the outline of the human body, that is, the human body part.
  • the implementation of this part can use such as Deep Image Matting (depth image matting), Background Matting (background matting), Semantic Human Matting (human semantic matting), Modnet (Motion and Apperance Based Moving Object Detection Network, based on motion and appearance The moving object detection network) and other matting algorithms.
  • This application does not limit the specific image matting algorithm, and the existing image matting algorithm can be used for processing.
  • Step 303 Perform body index key point detection on the model image to obtain the model's body index key points in the model image and the size information of each body index in the model image.
  • the key point detection technology of the human body is applied.
  • the key point detection technology of the human body is mostly used in the estimation of the human body pose.
  • This application applies the key point detection technology of the human body to the scene of virtual fitting. More specifically, based on the key point detection technology of the human body, the key points of each figure index of the human body in the model image are determined, such as chest key points, waist key points, hip key points, shoulder key points, arm key points, leg key points, etc. wait.
  • hip keypoints can be represented as keypoints on the edge of the hip area, as shown in Figure 4.
  • the shape of the key points of other body indicators is similar.
  • the size information of each body index in the model image can be determined based on the key points of each body index. For example, after determining the key points of the buttocks, the hip area can be determined, and the maximum distance between the key points of the hip area in the lateral direction of the human body can be used as the size information of the hip circumference in the model image, which can be reflected in the image
  • the number of pixels for example 200pixel for hips.
  • step 302 and step 303 may be executed in parallel, or may be executed sequentially in any order, and FIG. 3 only schematically shows one of the available orders.
  • steps 301 to 303 may be executed in real time after receiving the clothing try-on request from the user. That is, after receiving the user's clothing try-on request, obtain the model image of the requested clothing from the clothing database, and then perform cutout and key point detection processing to obtain the body contour part and the key points of the model's body index in the model image and the size information of each figure index in the model image.
  • this implementation method performs real-time calculations each time a clothing try-on request is received, which has a great impact on device performance and low efficiency.
  • the above-mentioned matting process and body index key point detection process can be performed in advance for the model images of the clothes with the fitting function in the clothing database, and the corresponding figure outline and each body index of the model image can be stored.
  • the size information in the model image to the preset storage space.
  • the storage space is queried to obtain the figure information corresponding to the model image for which the user requests to try on the clothing and the size information of each figure index in the model image. That is to say, in this implementation, it is only necessary to perform a cutout process and a body index key point detection process on the model image of the clothing with the fitting function in the clothing database, and store the processing results in the storage space.
  • the pre-processed results can be used directly, which reduces the impact on device performance and improves efficiency.
  • the above-mentioned implementation method performs batch "preprocessing" on the model images in the clothing database (that is, performs cutout processing and body index key point detection processing, and obtains the outline part of the person, the image background, and the body index key points of the model in the model image. Points and the size information of each body index in the model image), this virtual fitting method is provided to merchants as a tool, without the need for clothing merchants to spend additional production costs for modeling, and only needs to provide clothing materials to cover their clothing products Virtual fitting, wider coverage and lower production costs.
  • step 204 that is, "perform affine transformation on the human body outline obtained from the model image cutout according to the target size information" will be described in detail below in conjunction with an embodiment.
  • This step actually transforms the outline of the human body to a size consistent with the user's figure. Since the target size information of each figure index has been obtained in step 203, the target size information reflects the user's various figure indexes in the model image. Therefore, the goal of this affine transformation is to transform each body index of the human body contour to the target size of each body index.
  • the key points of various body indicators have been detected, such as chest key points, waist key points, hip key points, shoulder key points, arm key points, leg key points, etc.
  • the affine transformation in this step can use the key points of each body index to perform affine transformation on the human body area corresponding to each body index. For example, using the key points of the hips, the hip area in the contour of the human body is affine transformed so that the target size of the hips can be achieved after transformation.
  • the affine transformation in this step is a spatial geometric transformation performed on the image pixels without changing the image content, mainly to perform scaling processing on the human body contour part obtained by matting based on the center point.
  • This application does not limit the algorithm of affine transformation, but in the process of affine transformation of the human body area corresponding to each body index, it is necessary to consider the smooth connection between each key point and each human body area to avoid Distortion occurs, so Bezier curves can be used for affine transformation.
  • control points of the Bezier curve can be selected from the key points of each body index; the Bezier curve is used to perform affine transformation on the human body contour, so that each body index can reach the corresponding target size in the model image. That is to say, the edge of the human body is used as a Bezier curve, and the corresponding Bezier curve is calculated after performing affine transformation on each human body area (that is, affine transformation is performed on the control points of the Bezier curve), so that after the transformation The human body edge corresponding to the human body area still conforms to the Bezier curve.
  • the specific implementation of this part can adopt the current existing technology, which will not be described in detail here.
  • the size of the limbs that is, the sleeve length
  • the corresponding target size information such as pants length can independently transform the limb area.
  • affine transformation is performed using Bezier curves.
  • step 205 that is, "combining the human body outline obtained after the affine transformation with the image background obtained from the cutout image of the model to obtain the user's fitting image" will be described in detail below in conjunction with an embodiment.
  • the synthesis processing in this step can be regarded as superimposing the affine-transformed human body outline on the image background.
  • the human body contour part obtained after the affine transformation can be superimposed on the image background according to the center position of the human body contour part before transformation.
  • the pixels of the human body outline are used for the overlapping pixels of the human body outline and the image background. It may also be due to the small size of the user that the affine transformed human body contour is smaller than the original human body contour, so that there will be missing pixels during superposition (that is, the image background and the human body contour are not covered), then the synthesized The missing pixels are filled in the image background to obtain the user's fitting image.
  • the server can send the fitting image to the terminal device for display. If the model image is originally in the form of image material, the obtained fitting image is displayed to the user. If the model image is from an image frame in the video material, the obtained fitting image is used to replace the original corresponding image frame to obtain a fitting video.
  • the fitting video shows the content of the model wearing clothes according to the user's figure, while the image frames of the non-model images in the video are not changed.
  • FIG 5 shows the original model image of the model wearing clothing
  • FIG. 5 shows the model image after performing the processing in the process shown in Figure 2 according to the user's body indicators, It can be seen that the background of the image has not changed, and the outline of the human body has undergone affine transformation according to the figure of the user. In this way, the user can intuitively see the status of the clothing displayed according to the user's figure, reducing the probability that the user's actual clothing does not meet expectations due to the image of the model wearing the clothing.
  • the user's body index data can be further displayed.
  • the user can modify the body index data through specific components on the interface, and re-execute the process shown in Figure 2 to generate a new Fitting image.
  • the clothing size information recommended to the user according to the user's body index data can also be displayed.
  • “Recommendation: XL size” is displayed on the interface so that users can not only see the fitting images, but also know the clothing size that suits them, so that users can quickly place an order.
  • components that trigger trying on other clothes can also be displayed. After the user clicks on this component, he can choose to try on other clothing, or try on the next clothing in order, or try on the next clothing randomly, and so on.
  • Fig. 6 schematically shows the components for displaying the user's body index data, clothing size information recommended to the user, and triggering trying on other clothing on the interface displaying the fitting image.
  • the model image is the user's fitting image. Therefore, in the above step 203, that is, "to the user's Before calculating the proportion between the body index data and the model's body index data", it can be judged whether the user's body index data and the model's body index data are the same, if yes, the model image is used as the user's fitting image. Otherwise, continue to execute Step 203 above.
  • a virtual fitting device is provided.
  • Fig. 7 shows a schematic block diagram of a virtual fitting device according to an embodiment.
  • the device is set on the server side in the architecture shown in Fig. 1, and may be an application located on the server side, or may also be a plug-in in an application located on the server side Or a functional unit such as a software development kit (Software Development Kit, SDK).
  • the device 700 includes: a request receiving unit 701, a data acquisition unit 702, a size conversion unit 703, an affine transformation unit 704, and an image synthesis unit 705, and may further include: a matting processing unit 706, a key point A detection unit 707 and a human body detection unit 708 .
  • the main functions of each component unit are as follows:
  • the request receiving unit 701 is configured to receive a clothing try-on request.
  • the clothing try-on request carries at least the user's information and the information that the user requests to try on the clothing.
  • the user's information may be the user's identification information, and may also be the user's body index data.
  • the clothing information may be identification information of the clothing, or image information of a model that the user requests to try on the clothing.
  • the data obtaining unit 702 is configured to obtain the user's figure index data, and determine the image of the model that the user requests to try on the clothing, and the model image includes the model wearing the clothing.
  • the size conversion unit 703 is configured to calculate the proportion of the user's body index data and the model's body index data; use the calculated ratio information to convert the size information of each body index of the model in the model image to obtain each body index The target size information for .
  • the affine transformation unit 704 is configured to perform affine transformation on the human body contour part cut out from the model image according to the target size information.
  • the image synthesis unit 705 is configured to synthesize the human body contour part obtained after the affine transformation and the image background obtained from the cutout image of the model to obtain the user's fitting image.
  • the image synthesis unit 705 can superimpose the human body contour part obtained after affine transformation on the image background according to the center position of the human body contour part before transformation, where the human body contour part overlaps with the image background
  • the pixels are the pixels of the outline of the human body, and the missing pixels after synthesis are filled in the image background to obtain the user's fitting image.
  • the matting processing unit 706 is configured to perform matting processing on the model image to obtain the outline of the human body.
  • the key point detection unit 707 is configured to detect the key points of the body index of the model image, and obtain the key points of the body index of the model in the model image and the size information of each body index in the model image.
  • the human body detection unit 708 is configured to obtain the video data of the clothing from the clothing database, perform human body detection on each image frame in the video data, and obtain the model image from the image frame in which the human body is detected; or, obtain the clothing from the clothing database
  • the image data of the image data, the human body detection is performed on the image data, and the model image is obtained from the detected image of the human body.
  • the above-mentioned matting processing unit 706 and the key point detection unit 707 can pre-execute the matting processing and the body index key point detection processing for the model image of the clothing with the fitting function in the clothing database, and Store the profile of the person corresponding to the model image and the size information of each figure index in the model image to a preset storage space.
  • the affine transformation unit 704 and the size conversion unit 703 query the storage space to obtain the silhouette of the person corresponding to the model image that the user requests to try on the clothing and the size information of each figure index in the model image.
  • the affine transformation unit 704 can select the control points of the Bezier curve from the key points of each body index; use the Bezier curve to carry out affine transformation on the human body contour, so that each body index is in the model The corresponding target size is reached in the image.
  • the device may also include a judging unit (not shown in FIG. 7 ), configured to judge whether the user's body index data and the model's body index data are the same, and if so, use the model image as the user's fitting image. Otherwise, the size conversion unit 703 is triggered to execute a process of calculating the ratio between the user's figure index data and the model's figure index data.
  • a judging unit (not shown in FIG. 7 ), configured to judge whether the user's body index data and the model's body index data are the same, and if so, use the model image as the user's fitting image. Otherwise, the size conversion unit 703 is triggered to execute a process of calculating the ratio between the user's figure index data and the model's figure index data.
  • the embodiment of this application may involve the use of user data.
  • it can be in compliance with the applicable laws and regulations of the country where it is located (for example, the user expressly agrees, the user is actually notified, etc.), use user-specific personal data in the scenarios described herein to the extent permitted by applicable laws and regulations.
  • embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in any one of the foregoing method embodiments are implemented.
  • an electronic device comprising:
  • a memory associated with the one or more processors the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, perform any one of the foregoing method embodiments The steps of the method.
  • FIG. 8 exemplarily shows the architecture of the electronic device, which may specifically include a processor 810 , a video display adapter 811 , a disk drive 812 , an input/output interface 813 , a network interface 814 , and a memory 820 .
  • the processor 810 , video display adapter 811 , disk drive 812 , input/output interface 813 , network interface 814 , and the memory 820 can be connected by communication bus 830 .
  • the processor 810 can be implemented by a general-purpose CPU, a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related programs, so as to realize the technical solutions provided.
  • a general-purpose CPU a microprocessor
  • ASIC Application Specific Integrated Circuit
  • the memory 820 may be implemented in the form of ROM (Read Only Memory, read only memory), RAM (Random Access Memory, random access memory), static storage device, dynamic storage device, and the like.
  • the memory 820 can store an operating system 821 for controlling the operation of the electronic device 800, and an operating system 821 for controlling the low-level operation of the electronic device 800.
  • BIOS Basic Input Output System
  • a web browser 823, a data storage management system 824, and a virtual fitting device 825 can also be stored.
  • the above-mentioned virtual fitting device 825 can be an application program in the embodiment of the present application that specifically implements the operations of the aforementioned steps.
  • related program codes are stored in the memory 820 and invoked by the processor 810 for execution.
  • the input/output interface 813 is used to connect the input/output module to realize information input and output.
  • the input/output/module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions.
  • the input device may include a keyboard, mouse, touch screen, microphone, various sensors, etc.
  • the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
  • the network interface 814 is used to connect the communication module (not shown in the figure), so as to realize the communication interaction between the device and other devices.
  • the communication module can realize communication through wired means (such as USB, network cable, etc.), and can also realize communication through wireless means (such as mobile network, WIFI, Bluetooth, etc.).
  • Bus 830 includes a path for carrying information between the various components of the device (eg, processor 810, video display adapter 811, disk drive 812, input/output interface 813, network interface 814, and memory 820).
  • processor 810 the various components of the device (eg, processor 810, video display adapter 811, disk drive 812, input/output interface 813, network interface 814, and memory 820).
  • the above-mentioned devices only show the processor 810, the video display adapter 811, the disk drive 812, the input/output interface 813, the network interface 814, the memory 820, the bus 830, etc., in the specific implementation process, the A device may also include other components necessary for proper operation.
  • the above-mentioned device may only include components necessary to realize the solution of the present application, and does not necessarily include all the components shown in the figure.
  • each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments.
  • the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
  • the systems and system embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is It can be located in one place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本申请实施例公开了一种虚拟试衣方法及装置。具体技术方案包括:接收服装试穿请求;获取用户的身材指标数据,以及,确定用户请求试穿服装的模特图像,所述模特图像中包含身着所述服装的模特;对所述用户的身材指标数据和所述模特的身材指标数据进行比例计算,利用计算得到的比例信息对所述模特的各身材指标在所述模特图像中的尺寸信息进行换算,得到各身材指标的目标尺寸信息;按照所述目标尺寸信息对从所述模特图像中抠图得到的人体轮廓部分进行仿射变换;将仿射变换后得到的人体轮廓部分与从所述模特图像中抠图得到的图像背景进行合成处理,得到所述用户的试衣图像。

Description

虚拟试衣方法及装置
本申请要求于2022年01月17日提交中国专利局、申请号为202210051817.6、申请名称为“虚拟试衣方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及图像处理技术领域,特别是涉及一种虚拟试衣方法及装置。
背景技术
随着互联网和电子商务的不断普及和发展,网上购买服装已经成为人们很常见的消费方式之一。然而网上购买服装时仅仅依靠服装的平面展示或者模特身着服装的平面或视频展示,无法给予用户充分的参考。用户常常因为购买的服装实际穿着后与预期不一致而发生退货,这无论对于卖家还是买家都会带来时间和经济上的损失,因此亟需一种帮助用户实现虚拟试衣的方式。
发明内容
有鉴于此,本申请提供了一种虚拟试衣方法及装置。具体技术方案如下:
根据第一方面,提供了一种虚拟试衣方法,包括:
接收用户的服装试穿请求;
获取所述用户的身材指标数据,以及,确定所述用户请求试穿服装的模特图像,所述模特图像中包含身着所述服装的模特;
对所述用户的身材指标数据和所述模特的身材指标数据进行比例计算,利用计算得到的比例信息对所述模特的各身材指标在所述模特图像中的尺寸信息进行换算,得到各身材指标的目标尺寸信息;
按照所述目标尺寸信息对从所述模特图像中抠图得到的人体轮廓部分进行仿射变换;
将仿射变换后得到的人体轮廓部分与从所述模特图像中抠图得到的图像背景进行合成处理,得到所述用户的试衣图像。
根据本申请实施例一可实现的方式,该方法还包括:
对所述模特图像进行抠图处理,得到人体轮廓部分和图像背景;以及,
对所述模特图像进行身材指标关键点检测,得到所述模特图像中模特的身材指标关键点和各身材指标在所述模特图像中的尺寸信息。
根据本申请实施例一可实现的方式,该方法还包括:
从服装数据库中获取服装的视频数据;
依据预设的规则或者用户的选择,从所述视频数据中获取服装的视频素材;
对所述服装的视频素材中的各图像帧进行人体检测;
将检测到人体的图像帧分别作为模特图像执行所述换算、放射变换和合成处理,得到各图像帧对应的试衣图像;
将所述试衣图像替换所述视频素材中对应的图像帧,得到所述用户的试衣视频。
根据本申请实施例一可实现的方式,该方法还包括:
从服装数据库中获取服装的图像数据;
对所述图像数据进行人体检测,将检测到人体的图像作为所述服装的图像素材;
依据预设的规则或者用户的选择,从所述服装的图像素材中获取模特图像。
根据本申请实施例一可实现的方式,针对服装数据库中具备试衣功能的服装的模特图像均预先执行所述抠图处理和所述身材指标关键点检测的步骤,并存储模特图像对应的人物轮廓、各身材指标在模特图像中的尺寸信息至预设的存储空间;
响应于所述服装试穿请求,查询所述存储空间以得到用户请求试穿服装的模特图像所对应的人物轮廓、图像背景以及各身材指标在模特图像中的尺寸信息。
根据本申请实施例一可实现的方式,利用所述目标尺寸信息对从所述模特图像中抠图得到的人体轮廓进行仿射变换包括:
从各身材指标关键点中选取贝塞尔曲线的控制点;
利用贝塞尔曲线对所述人体轮廓进行仿射变换,使得各身材指标在所述模特图像中达到对应的目标尺寸。
根据本申请实施例一可实现的方式,所述将仿射变换后得到的人体轮廓部分与从所述模特图像中抠图得到的图像背景进行合成处理,得到所述用户的试衣图像包括:
将仿射变换后得到的人体轮廓部分按照变换前人体轮廓部分的中心位置叠加至所述图像背景之上,其中对于人体轮廓部分与所述图像背景重叠的像素采用人体轮廓部分的像素,对合成后缺失的像素进行图像背景填充,得到所述用户的试衣图像。
根据本申请实施例一可实现的方式,在对所述用户的身材指标数据和所述模特的身材指标数据进行比例计算之前,还包括:
判断所述用户的身材指标数据和所述模特的身材指标数据是否相同,如果是,将所述模特图像作为所述用户的试衣图像;否则,继续执行对所述用户的身材指标数据和所述模特的身材指标数据进行比例计算的步骤。
根据本申请实施例一可实现的方式,该方法还包括:
在展示所述试衣图像的界面上进一步展示所述用户的各身材指标数据、向用户推荐的服装尺码信息和触发试穿其他服装的组件中的至少一种。
根据第二方面,提供了一种虚拟试衣装置,包括:
请求接收单元,被配置为接收用户的服装试穿请求;
数据获取单元,被配置为获取所述用户的身材指标数据,以及,确定所述用户请求试穿服装的模特图像,所述模特图像中包含身着所述服装的模特;
尺寸换算单元,被配置为对所述用户的身材指标数据和所述模特的身材指标数据进行比例计算;利用计算得到的比例信息对所述模特的各身材指标在所述模特图像中的尺寸信息进行换算,得到各身材指标的目标尺寸信息;
仿射变换单元,被配置为按照所述目标尺寸信息对从所述模特图像中抠图得到的人体轮廓部分进行仿射变换;
图像合成单元,被配置为将仿射变换后得到的人体轮廓部分与从所述模特图像中抠图得到的图像背景进行合成处理,得到所述用户的试衣图像。
根据第三方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述第一方面中任一项所述的方法的步骤。
根据第四方面,提供了一种电子设备,其特征在于,包括:
一个或多个处理器;以及
与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行上述第一方面中任一项所述的方法的步骤。
根据本申请提供的具体实施例,本申请可以具备以下优点:
1)本申请依据用户的身材指标数据将原本模特身着服装的模特图像进行个性化变换,变换为符合用户身材的试衣图像,帮助用户实现了虚拟试衣。
2)本申请能够使得用户获取到符合自身身材尺码的试衣观感,降低用户购买的服装实际穿着后与预期不一致而发生退货的概率,无论对于卖家还是买家都能够减少因此带来的时间和经济上的损失。
3)本申请中能够利用服装数据库中大量的视频数据或图像数据来获取服装的视频素材和图像素材,基于这些丰富的素材为用户提供虚拟试衣。用户能够通过视频或图像等多媒体方式获取试衣效果,用户体验更好。
4)本申请可以针对服装数据库中具备试衣功能的服装的模特图像均预先执行抠图处理和身材指标关键点检测的处理,并存储模特图像对应的人物轮廓、图像背景、各身材指标在模特图像中的尺寸信息至预设的存储空间。响应于来自用户的服装试穿请求时,查询存储空间以得到用户请求试穿服装的模特图像所对应的人物轮廓以及各身材指标在模特图像中的尺寸信息。这种实现方式中仅需要针对服装数据库中具备试衣功能的服装的模特图像执行一次抠图处理和身材指标关键点检测的处理,将处理结果存储到存储空间。在接收到服装试穿请求后直接利用预先处理的结果即可,降低了对设备性能的影响,提高了效率。
5)基于服装丰富的视频素材和图像素材,实现了服装素材的智能批量预加工。该虚拟试衣方式作为一种工具提供给商家,商家无需额外的生产成本,只需要提供服装素材即可覆盖其服装商品的虚拟试衣,能够实现在低成本情况下的广覆盖。
当然,实施本申请的任一产品并不一定需要同时达到以上所述的所有优点。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了可以应用本申请实施例的示例性系统架构;
图2为本申请实施例提供的虚拟试衣方法的主要流程图;
图3为本申请实施例提供的对服装数据库进行预处理的流程图;
图4是本申请实施例提供的臀部关键点的示意图;
图5是本申请实施例提供的模特图像与变换后的试衣图像的示意图;
图6是本申请实施例提供的一展示试衣图像的界面示意图;
图7示出根据一个实施例的虚拟试衣装置的示意性框图;
图8示例性的展示出了电子设备的架构。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
图1示出了可以应用本申请实施例的示例性系统架构。如图1所示,该系统架构可以包括终端设备101和102,网络103和服务器104。网络103用以在终端设备101、102和服务器104之间提供通信链路的介质。网络103可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
用户可以使用终端设备101和102通过网络103与服务器104交互。终端设备101和102上可以安装有各种应用,例如电子商务类应用、网页浏览器应用、通信类应用等。
终端设备101和102可以是各种有屏设备的用户设备,包括但不限于智能手机、平板电脑、智能电视、PC(个人计算机)、可穿戴式设备、PDA(个人数字助理)等等。其中, 可穿戴式设备可以包括诸如智能手表、智能眼镜、虚拟现实设备、增强现实设备、混合现实设备(即可以支持虚拟现实和增强现实的设备)等等。
服务器104可以是单一服务器,也可以是多个服务器构成的服务器群组,还可以是云服务器。云服务器又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决传统物理主机与虚拟专用服务器(VPs,Ⅵirtual Private Server)服务中存在的管理难度大,服务扩展性弱的缺陷。
本申请所提供的虚拟试衣装置可以设置并运行于上述服务器104。其可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块,在此不做具体限定。
用户可以通过终端设备101或102向服务器104发送服装试穿请求,由服务器104采用本申请实施例提供的方法将该用户的试衣图像返回给终端设备101或102。
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
图2为本申请实施例提供的虚拟试衣方法的主要流程图,该方法可以由图1所示系统架构中的服务器端执行。如图2中所示,该方法可以包括以下步骤:
步骤201:接收服装试穿请求。
步骤202:获取用户的身材指标数据,以及,确定用户请求试穿服装的模特图像,模特图像中包含身着服装的模特。
步骤203:对用户的身材指标数据和模特的身材指标数据进行比例计算,利用计算得到的比例信息对模特的各身材指标在模特图像中的尺寸信息进行换算,得到各身材指标的目标尺寸信息。
步骤204:按照目标尺寸信息对从模特图像中抠图得到的人体轮廓部分进行仿射变换。
步骤205:将仿射变换后得到的人体轮廓部分与从模特图像中抠图得到的图像背景进行合成处理,得到用户的试衣图像。
可以看出,本申请依据用户的身材指标数据将原本模特身着服装的模特图像进行个性化变换,变换为符合用户身材的试衣图像,使得用户能够获取到符合自身身材尺码的试衣观感,降低用户购买的服装实际穿着后与预期不一致而发生退货的概率,无论对于卖家还是买家都能够减少因此带来的时间和经济上的损失。
下面对上述各步骤进行详细描述。首先结合实施例对上述步骤201即“接收服装试穿请求”进行详细描述。
用户使用终端设备在电子商务网站上浏览服装类商品时,通常看到的都是模特身着服装的图像或视频,视频中也包含模特身着服装的图像。在本申请中将模特身着服装的图像称为模特图像。但模特通常是身材比较好的,但对于普通大众而言身材是各异的,模特穿上好看的服装穿在自己身上不一定好看,因此,用户往往希望看到服装穿在与自己身材一致的人身上时的效果。这种情况就可以通过本申请的方式进行试衣。
用户可以通过触发电子商务网站或应用的页面上预设的试穿组件,向服务器端发送服装试穿请求。也可以通过专门的试穿类小程序、试穿类应用等中预设的特定页面或页面上预设的试穿组件,向服务器端发送服务试穿请求。本申请所涉及的页面,也可以称为Web页面,可以是基于超文本标记语言(HyperText Markup Language,HTML)编写的网页(Web Page),即HTML页面,或者还可以是基于HTML和Java语言编写的网页,即Java服务器页面(Java Server Page,JSP),或者还可以为其他语言编写的网页,本实施例对此不进行特别限定。
服装试穿请求至少携带用户的信息以及用户请求试穿服装的信息。其中,用户的信息可以是用户的标识信息,也可以是用户的身材指标数据。服装的信息可以是服装的标识信息,也可以是用户请求试穿服装的模特图像信息。
下面结合实施例对上述步骤202即“获取用户的身材指标数据,以及,确定用户请求试穿服装的模特图像,模特图像中包含身着服装的模特”。
作为其中一种可实现的方式,用户可以在电子商务网站、电子商务应用、试穿类小程序、试穿类应用等预先设置用户属性信息,该用户属性信息中可以包括用户的身材指标数据。这种情况下,服装试穿请求中仅需要携带用户的标识信息,依据该用户的标识信息就能够获取到该用户的身材指标数据。
作为另一种可实现的方式,用户可以在发送服装试穿请求时,可以在所浏览的页面或者专门的页面上填写用户的身材指标数据,服装试穿请求携带该身材指标数据。这种情况下,服务器可以从服装试穿请求中获取用户的身材指标数据。
其中,本申请实施例中涉及的身材指标数据就是通常所说的“尺寸信息”,可以包括但不限于诸如胸围、腰围、臀围、肩宽、袖长、裤长等指标的数据,还可以包括诸如尺码信息等数据。
作为其中一种可实现的方式,用户可以在电子商务网站、电子商务应用、试穿类小程序、试穿类应用等页面上选择模特图像进行试穿,此时发送的服装试穿请求中可以携带该选择的模特图像信息。服务器根据服装试穿请求携带的模特图像信息获取对应的模特图像。
作为另一种可实现的方式,用户在电子商务网站、电子商务应用、试穿类小程序、试穿类应用等页面上选择要试穿的服装,此时发送的服装试穿请求中可以携带该选择的服装的标识信息。服务器根据服装试穿请求携带的服装的标识信息,从服装图像数据库中获取对应的模特图像。若该服装的标识信息对应多张模特图像,则可以对该多张模特图像均进行本申请实施例中的处理后,分别返回对应的试衣图像。也可以从多张模特图像中选择至少一张进行本申请实施例中的处理后,返回对应的试衣图像。还可以将多张模特图像的信息提供给用户,由用户选择其中至少一张,服务器对用户选择的模特图像进行本申请实施例中的处理后,返回对应的试衣图像。
下面结合实施例对上述步骤203即“对用户的身材指标数据和模特的身材指标数据进行比例计算,利用计算得到的比例信息对模特的各身材指标在模特图像中的尺寸信息进行 换算,得到各身材指标的目标尺寸信息”进行详细描述。
本步骤中首先对用户和模特的身材指标数据进行比例计算,能够得到用户和模特的各身材指标的比例。举个例子,假设用户臀围为120cm,模特臀围为100cm,那么用户与模特的臀围比例为1.2。
利用计算得到的比例信息对模特的各身材指标在模特图像中的尺寸信息进行换算就是将计算得到的比例信息作为比例尺,将用户的各身材指标数据变换到图像中。其中,用户的各身材指标数据的单位例如采用cm(厘米),变换后在图像中对应的目标尺寸信息的单位是像素点的距离,单位采用pixel(像素)。
接续上面的例子,假设用户臀围为120cm,模特臀围为100cm,那么用户与模特的臀围比例为1.2,如果模特图像中模特身着服装的臀部边缘的关键点之间的最大距离(例如体现为臀部最左边到最右边)为200个像素,那么根据比例信息进行变换后,模特图像中臀部边缘的关键点之间的最大距离应为200*1.2=240个像素。对于其他各身材指标进行类似变换,最终可以得到各身材指标在模特图像中的目标尺寸信息。
在执行本步骤之前,需要预先获取模特的各身材指标在模特图像中的尺寸信息。这种情况下,可以如图3中所示,预先对服装数据库执行以下预处理的步骤:
步骤301:从服装数据库中获取服装的模特图像。
作为一种可实现的方式,可以从服装数据库中获取服装的图像数据。这些图像数据可以是商家提供并预先存储于服装数据库中的。对这些图像数据进行人体检测,将检测到人体的图像作为服装的图像素材。
用户请求虚拟试衣时,可以依据一定的规则从服装的图像素材中获取模特图像,例如,依据服装的标识从图像素材中选择默认的模特图像,或者选择质量最高的模特图像,或者随机选择等等。
用户请求虚拟试衣时,也可以将图像素材提供给用户,让用户从图像素材中选择模特图像来进行试衣。这种情况下,用户请求虚拟试衣时需要携带图像的标识信息。
作为另一种可实现的方式,若服装数据库中不仅存储有图像,还存储有大量服装的视频数据,或者仅包括视频数据,这些视频数据包含模特身着服装进行展示的视频,但除此之外,视频数据中还可能包含单纯服装(不包含模特)的视频内容。这种情况下,可以从服装数据库中获取服装的视频数据,依据预设的规则或者用户的选择,从视频数据中获取服装的视频素材。对视频素材中的各图像帧进行人体检测,将检测到人体的图像帧作为模特图像。
其中预设的规则可以是质量符合预设要求、预先设置默认的视频素材或者随机从中选择等等。用户的选择指的是可以将服装的视频数据提供给用户,用户从中选择一段视频作为服装的视频素材。
在视频素材场景下,最终可以得到用户的试衣视频,具体将在后续实施例中涉及。
可以看出,能够利用服装数据库中大量的视频数据或图像数据来获取服装的视频素材 和图像素材,基于这些丰富的素材为用户提供虚拟试衣。用户能够通过视频或图像等多媒体方式获取试衣效果,用户体验更好。
其中,对图像进行人体检测可以采用任意的人体检测模型来实现。近年来基于深度学习的目标检测迅速发展,本申请实施例中可以采用诸如基于Faster-RCNN(Faster-Region Convolutional Neural Networks,快速区域卷积神经网络)、Mask-RCNN(掩码区域卷积神经网络)、FPN(feature pyramid networks,特征金字塔网络)、YOLO(You Only Look Once,你只需看一次)、SAPD(Soft Anchor-Point Detector,软锚点检测)等模型。本申请对于采用的具体人体检测模型并不加以限制。
步骤302:对模特图像进行抠图处理,得到人体轮廓部分和图像背景。
本步骤中对模特图像进行抠图处理,目的是为了分离图像中的前景和背景信息,其中前景就是人体轮廓所包含的部分,即人体部分。这部分的实现可以采用诸如Deep Image Matting(深度图像抠图)、Background Matting(背景抠图)、Semantic Human Matting(人体语义抠图)、Modnet(Motion and Apperance Based Moving Object Detection Network,基于运动和外观的运动目标检测网络)等抠图算法。本申请并不对具体的抠图算法进行限制,可以采用已有的抠图算法进行处理。
本步骤对模特图像进行抠图处理后,得到人体轮廓部分和图像背景两部分。
步骤303:对模特图像进行身材指标关键点检测,得到模特图像中模特的身材指标关键点和各身材指标在模特图像中的尺寸信息。
本步骤中应用了人体关键点检测技术,人体关键点检测技术目前大多应用于人体姿态估计,本申请则将人体关键点检测技术应用于虚拟试衣这一场景。更具体地,基于人体关键点检测技术确定模特图像中人体的各身材指标关键点,例如,胸部关键点、腰部关键点、臀部关键点、肩部关键点、胳膊关键点、腿部关键点等等。
举个例子,臀部关键点可以体现为臀部区域边缘的关键点,如图4中所示。其他身材指标关键点的形态类似。
确定出模特图像中模特的身材指标关键点后,就可以基于各身材指标关键点确定出各身材指标在模特图像中的尺寸信息。例如,确定出臀部关键点后可以确定出臀部区域,将臀部区域关键点之间在人体横向方向上的距离最大值作为臀围在模特图像中的尺寸信息,该尺寸信息可以体现为占图像中像素的数量,例如臀围为200pixel。
上述步骤302和步骤303可以并行执行,也可以采用任意的顺序先后执行,图3中仅示意性示出了其中一种可用的顺序。
需要说明的是,上述步骤301~303可以在接收到来自用户的服装试穿请求后,实时执行。即接收到用户的服装试穿请求后,从服装数据库中获取所请求试穿服装的模特图像,然后进行抠图和关键点检测处理,分别得到人体轮廓部分、模特图像中模特的身材指标关键点和各身材指标在所述模特图像中的尺寸信息。但这种实现方式在每次接收到服装试穿请求时都进行实时计算,对设备性能的影响较大,效率较低。
作为一种优选的实施方式,可以针对服装数据库中具备试衣功能的服装的模特图像均预先执行上述抠图处理和身材指标关键点检测的处理,并存储模特图像对应的人物轮廓、各身材指标在模特图像中的尺寸信息至预设的存储空间。响应于来自用户的服装试穿请求时,查询存储空间以得到用户请求试穿服装的模特图像所对应的人物轮廓以及各身材指标在模特图像中的尺寸信息。也就是说,这种实现方式中仅需要针对服装数据库中具备试衣功能的服装的模特图像执行一次抠图处理和身材指标关键点检测的处理,将处理结果存储到存储空间。在接收到服装试穿请求后直接利用预先处理的结果即可,降低了对设备性能的影响,提高了效率。
可以看出,上述实现方式针对服装数据库中的模特图像进行批量“预加工”(即进行抠图处理和身材指标关键点检测处理,得到人物轮廓部分、图像背景、模特图像中模特的身材指标关键点和各身材指标在模特图像中的尺寸信息),该虚拟试衣方式作为一种工具提供给商家,无需服装商家额外花费生产成本进行建模,只需要提供服装素材即可覆盖其服装商品的虚拟试衣,覆盖面更广且生产成本更低。
下面结合实施例对上述步骤204即“按照目标尺寸信息对从模特图像中抠图得到的人体轮廓部分进行仿射变换”进行详细描述。
本步骤实际上是将人体轮廓部分变换到与用户身材相符合的大小,由于步骤203中已经得到了各身材指标的目标尺寸信息,该目标尺寸信息体现的就是用户的各身材指标在模特图像中的大小,因此,本次仿射变换的目标就是将人体轮廓部分的各身材指标变换到各身材指标的目标尺寸。
在之前的人体关键点检测过程中,已经检测出各身材指标的关键点,例如胸部关键点、腰部关键点、臀部关键点、肩部关键点、胳膊关键点、腿部关键点等等。本步骤中的仿射变换可以分别利用各身材指标的关键点对各身材指标对应的人体区域进行仿射变换。例如,利用臀部关键点,将人体轮廓部分中臀部区域进行仿射变换,使得变换后达到臀围的目标尺寸。
本步骤中的仿射变换是在不改变图像内容的前提下对图像像素进行的空间几何变换,主要是对抠图得到的人体轮廓部分基于中心点进行缩放处理。本申请对于仿射变换的算法并不加以限制,但在对各身材指标对应的人体区域进行仿射变换的过程中,需要考虑到各关键点之间以及各人体区域之间的光滑连接,避免发生畸变现象,因此,可以利用贝塞尔曲线进行仿射变换。
具体地,可以从各身材指标关键点中选取贝塞尔曲线的控制点;利用贝塞尔曲线对人体轮廓进行仿射变换,使得各身材指标在模特图像中达到对应的目标尺寸。也就是说,将人体边缘作为贝塞尔曲线,在对各人体区域进行仿射变换(即对贝塞尔曲线的控制点进行仿射变换)后再计算对应的贝塞尔曲线,使得变换后人体区域对应的人体边缘仍符合贝赛尔曲线。该部分的具体实现可以采用目前已有技术,在此不做详述。
另外,由于四肢的区域对于仿射变换整体性影响不大,因此对于四肢的尺寸,即袖长、 裤长等对应的目标尺寸信息,可以对四肢区域独立进行变换。对于身体的各区域例如胸部区域、腰部区域、臀部区域、肩部区域等利用贝塞尔曲线进行仿射变换。
下面结合实施例对上述步骤205即“将仿射变换后得到的人体轮廓部分与从模特图像中抠图得到的图像背景进行合成处理,得到用户的试衣图像”进行详细描述。
本步骤的合成处理可以看做是将仿射变换后的人体轮廓部分叠加在图像背景上。作为其中一种可实现的方式,可以将仿射变换后得到的人体轮廓部分按照变换前人体轮廓部分的中心位置叠加至图像背景之上。
其中在上述合成过程中,可能存在人体轮廓部分与图像背景发生像素重叠,那么对于人体轮廓部分与图像背景重叠的像素采用人体轮廓部分的像素。也可能因为用户尺寸较小导致仿射变换后的人体轮廓部分小于原本的人体轮廓,这样在叠加时会出现缺失的像素(即图像背景和人体轮廓部分均未覆盖到),则可以对合成后缺失的像素进行图像背景填充,得到用户的试衣图像。
得到用户的试衣图像之后,服务器可以将该试衣图像发送给终端设备进行展示。如果模特图像本来就是图像素材的形式,则向用户展示得到的试衣图像。如果模特图像是来自于视频素材中的图像帧,则利用得到的试衣图像替换原本对应的图像帧,得到试衣视频。该试衣视频是按照用户的身材展示的模特身着服装的内容,而视频中非模特图像的图像帧则未发生变更。
如图5中所示,(a)示出的是模特身着服装的原始的模特图像,(b)示出了按照用户的各身材指标执行图2所示流程中的处理后的模特图像,可以看出,图像背景未发生变化,人体轮廓部分依据用户的身材进行了仿射变换。这样用户就能够直观地看到按照用户身材展示的服装状况,降低了仅凭模特身着服装的图像而造成用户实际着装后不符合预期的概率。
除此之外,在展示试衣图像的界面上,还可以进一步展示用户的各身材指标数据,用户可以通过界面上的特定组件修改身材指标数据,修改后重新执行图2所示流程生成新的试衣图像。
作为另一种可实现的方式,在展示试衣图像的界面上,还可以展现依据用户的各身材指标数据向用户推荐的服装尺码信息。例如,在界面上展示“推荐:XL码”,以供用户在看到试衣图像之余,还能够获知适合自己的服装尺码,以方便用户快速地下单。
作为另一种可实现的方式,在展示试衣图像的界面上,还可以展现触发试穿其他服装的组件。用户点击该组件后,可以选择试穿其他服装,或者按顺序试穿下一件服装,或者随机试穿下一件服装,等等。
图6示意性示出了在展示试衣图像的界面上展示用户的各身材指标数据、向用户推荐的服装尺码信息和触发试穿其他服装的组件。
在实际应用中还可能存在用户的身材指标数据恰好和模特的身材指标数据相同的情况,对于这种情况则模特图像就是用户的试衣图像。因此,在上述步骤203即“对用户的 身材指标数据和模特的身材指标数据进行比例计算”之前,可以首先判断用户的身材指标数据和模特的身材指标数据是否相同,如果是,则将模特图像作为用户的试衣图像。否则,继续执行上述步骤203。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
根据另一方面的实施例,提供了一种虚拟试衣装置。图7示出根据一个实施例的虚拟试衣装置的示意性框图,该装置设置于图1所示架构中的服务器端,可以为位于服务器端的应用,或者还可以为位于服务器端的应用中的插件或软件开发工具包(Software Development Kit,SDK)等功能单元。如图7所示,该装置700包括:请求接收单元701、数据获取单元702、尺寸换算单元703、仿射变换单元704和图像合成单元705,还可以进一步包括:抠图处理单元706、关键点检测单元707和人体检测单元708。其中各组成单元的主要功能如下:
请求接收单元701,被配置为接收服装试穿请求。
服装试穿请求至少携带用户的信息以及用户请求试穿服装的信息。其中,用户的信息可以是用户的标识信息,也可以是用户的身材指标数据。服装的信息可以是服装的标识信息,也可以是用户请求试穿服装的模特图像信息。
数据获取单元702,被配置为获取用户的身材指标数据,以及,确定用户请求试穿服装的模特图像,模特图像中包含身着服装的模特。
尺寸换算单元703,被配置为对用户的身材指标数据和模特的身材指标数据进行比例计算;利用计算得到的比例信息对模特的各身材指标在模特图像中的尺寸信息进行换算,得到各身材指标的目标尺寸信息。
仿射变换单元704,被配置为按照目标尺寸信息对从模特图像中抠图得到的人体轮廓部分进行仿射变换。
图像合成单元705,被配置为将仿射变换后得到的人体轮廓部分与从模特图像中抠图得到的图像背景进行合成处理,得到用户的试衣图像。
作为其中一种可实现的方式,图像合成单元705可以将仿射变换后得到的人体轮廓部分按照变换前人体轮廓部分的中心位置叠加至图像背景之上,其中对于人体轮廓部分与图像背景重叠的像素采用人体轮廓部分的像素,对合成后缺失的像素进行图像背景填充,得到用户的试衣图像。
抠图处理单元706,被配置为对模特图像进行抠图处理,得到人体轮廓部分。
关键点检测单元707,被配置为对模特图像进行身材指标关键点检测,得到模特图像中模特的身材指标关键点和各身材指标在模特图像中的尺寸信息。
人体检测单元708,被配置为从服装数据库中获取服装的视频数据,对视频数据中的各图像帧进行人体检测,从检测到人体的图像帧中获取模特图像;或者,从服装数据库中获取服装的图像数据,对图像数据进行人体检测,从检测到人体的图像中获取模特图像。
作为一种优选的实施方式,上述抠图处理单元706和关键点检测单元707可以针对服装数据库中具备试衣功能的服装的模特图像均预先执行抠图处理和身材指标关键点检测的处理,并存储模特图像对应的人物轮廓、各身材指标在模特图像中的尺寸信息至预设的存储空间。
响应于服装试穿请求,仿射变换单元704和尺寸换算单元703查询存储空间以得到用户请求试穿服装的模特图像所对应的人物轮廓以及各身材指标在模特图像中的尺寸信息。
作为其中一种可实现的方式,仿射变换单元704可以从各身材指标关键点中选取贝塞尔曲线的控制点;利用贝塞尔曲线对人体轮廓进行仿射变换,使得各身材指标在模特图像中达到对应的目标尺寸。
更进一步地,该装置还可以包括判断单元(图7中未示出),被配置为判断用户的身材指标数据和模特的身材指标数据是否相同,如果是,则将模特图像作为用户的试衣图像。否则,触发尺寸换算单元703执行对用户的身材指标数据和模特的身材指标数据进行比例计算的处理。
需要说明的是,本申请实施例中可能会涉及到对用户数据的使用,在实际应用中,可以在符合所在国的适用法律法规要求的情况下(例如,用户明确同意,对用户切实通知,等),在适用法律法规允许的范围内在本文描述的方案中使用用户特定的个人数据。
另外,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述方法实施例中任一项所述的方法的步骤。
以及一种电子设备,包括:
一个或多个处理器;以及
与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行前述方法实施例中任一项所述的方法的步骤。
其中,图8示例性的展示出了电子设备的架构,具体可以包括处理器810,视频显示适配器811,磁盘驱动器812,输入/输出接口813,网络接口814,以及存储器820。上述处理器810、视频显示适配器811、磁盘驱动器812、输入/输出接口813、网络接口814,与存储器820之间可以通过通信总线830进行通信连接。
其中,处理器810可以采用通用的CPU、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本申请所提供的技术方案。
存储器820可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器820可以存储用于控制电子设备800运行的操作系统821,用于控制电子设备800的低级别操作的 基本输入输出系统(BIOS)822。另外,还可以存储网页浏览器823,数据存储管理系统824,以及虚拟试衣装置825等等。上述虚拟试衣装置825就可以是本申请实施例中具体实现前述各步骤操作的应用程序。总之,在通过软件或者固件来实现本申请所提供的技术方案时,相关的程序代码保存在存储器820中,并由处理器810来调用执行。
输入/输出接口813用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。
网络接口814用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。
总线830包括一通路,在设备的各个组件(例如处理器810、视频显示适配器811、磁盘驱动器812、输入/输出接口813、网络接口814,与存储器820)之间传输信息。
需要说明的是,尽管上述设备仅示出了处理器810、视频显示适配器811、磁盘驱动器812、输入/输出接口813、网络接口814,存储器820,总线830等,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本申请方案所必需的组件,而不必包含图中所示的全部组件。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上对本申请所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用 范围上均会有改变之处。综上所述,本说明书内容不应理解为对本申请的限制。

Claims (10)

  1. 虚拟试衣方法,包括:
    接收用户的服装试穿请求;
    获取所述用户的身材指标数据,以及,确定所述用户请求试穿服装的模特图像,所述模特图像中包含身着所述服装的模特;
    对所述用户的身材指标数据和所述模特的身材指标数据进行比例计算,利用计算得到的比例信息对所述模特的各身材指标在所述模特图像中的尺寸信息进行换算,得到各身材指标的目标尺寸信息;
    按照所述目标尺寸信息对从所述模特图像中抠图得到的人体轮廓部分进行仿射变换;
    将仿射变换后得到的人体轮廓部分与从所述模特图像中抠图得到的图像背景进行合成处理,得到所述用户的试衣图像。
  2. 根据权利要求1所述的方法,该方法还包括:
    对所述模特图像进行抠图处理,得到人体轮廓部分和图像背景;以及,
    对所述模特图像进行身材指标关键点检测,得到所述模特图像中模特的身材指标关键点和各身材指标在所述模特图像中的尺寸信息。
  3. 根据权利要求1所述的方法,该方法还包括:
    从服装数据库中获取服装的视频数据;
    依据预设的规则或者用户的选择,从所述视频数据中获取服装的视频素材;
    对所述服装的视频素材中的各图像帧进行人体检测;
    将检测到人体的图像帧分别作为模特图像执行所述换算、放射变换和合成处理,得到各图像帧对应的试衣图像;
    将所述试衣图像替换所述视频素材中对应的图像帧,得到所述用户的试衣视频。
  4. 根据权利要求1所述的方法,该方法还包括:
    从服装数据库中获取服装的图像数据;
    对所述图像数据进行人体检测,将检测到人体的图像作为所述服装的图像素材;
    依据预设的规则或者用户的选择,从所述服装的图像素材中获取模特图像。
  5. 根据权利要求2所述的方法,其中,针对服装数据库中具备试衣功能的服装的模特图像均预先执行所述抠图处理和所述身材指标关键点检测的步骤,并存储模特图像对应的人物轮廓、各身材指标在模特图像中的尺寸信息至预设的存储空间;
    响应于所述服装试穿请求,查询所述存储空间以得到用户请求试穿服装的模特图像所对应的人物轮廓、图像背景以及各身材指标在模特图像中的尺寸信息。
  6. 根据权利要求1所述的方法,其中,利用所述目标尺寸信息对从所述模特图像中抠图得到的人体轮廓进行仿射变换包括:
    从各身材指标关键点中选取贝塞尔曲线的控制点;
    利用贝塞尔曲线对所述人体轮廓进行仿射变换,使得各身材指标在所述模特图像中达 到对应的目标尺寸。
  7. 根据权利要求1所述的方法,其中,所述将仿射变换后得到的人体轮廓部分与从所述模特图像中抠图得到的图像背景进行合成处理,得到所述用户的试衣图像包括:
    将仿射变换后得到的人体轮廓部分按照变换前人体轮廓部分的中心位置叠加至所述图像背景之上,其中对于人体轮廓部分与所述图像背景重叠的像素采用人体轮廓部分的像素,对合成后缺失的像素进行图像背景填充,得到所述用户的试衣图像。
  8. 根据权利要求1至7中任一项所述的方法,该方法还包括:
    在展示所述试衣图像的界面上展示所述用户的各身材指标数据、向用户推荐的服装尺码信息和触发试穿其他服装的组件中的至少一种。
  9. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至8中任一项所述的方法的步骤。
  10. 一种电子设备,其特征在于,包括:
    一个或多个处理器;以及
    与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行权利要求1至8中任一项所述的方法的步骤。
PCT/CN2023/071807 2022-01-17 2023-01-11 虚拟试衣方法及装置 WO2023134709A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210051817.6A CN114511377A (zh) 2022-01-17 2022-01-17 虚拟试衣方法及装置
CN202210051817.6 2022-01-17

Publications (1)

Publication Number Publication Date
WO2023134709A1 true WO2023134709A1 (zh) 2023-07-20

Family

ID=81550089

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/071807 WO2023134709A1 (zh) 2022-01-17 2023-01-11 虚拟试衣方法及装置

Country Status (2)

Country Link
CN (1) CN114511377A (zh)
WO (1) WO2023134709A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114511377A (zh) * 2022-01-17 2022-05-17 阿里巴巴(中国)有限公司 虚拟试衣方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455919A (zh) * 2012-05-30 2013-12-18 盛乐信息技术(上海)有限公司 试衣模型生成方法及系统
US20140168217A1 (en) * 2012-12-14 2014-06-19 Electronics And Telecommunications Research Institute Method of fitting virtual item using human body model and system for providing fitting service of virtual item
CN103971251A (zh) * 2014-05-25 2014-08-06 吴正畦 一种基于模特真实试衣效果影像库的试衣系统
CN107590708A (zh) * 2016-07-07 2018-01-16 梁如愿 一种生成用户特定体形模型的方法和装置
CN112990997A (zh) * 2019-12-17 2021-06-18 青岛海尔洗衣机有限公司 虚拟试衣方法
CN113191843A (zh) * 2021-04-28 2021-07-30 北京市商汤科技开发有限公司 模拟服饰试穿方法、装置、电子设备及存储介质
CN114511377A (zh) * 2022-01-17 2022-05-17 阿里巴巴(中国)有限公司 虚拟试衣方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455919A (zh) * 2012-05-30 2013-12-18 盛乐信息技术(上海)有限公司 试衣模型生成方法及系统
US20140168217A1 (en) * 2012-12-14 2014-06-19 Electronics And Telecommunications Research Institute Method of fitting virtual item using human body model and system for providing fitting service of virtual item
CN103971251A (zh) * 2014-05-25 2014-08-06 吴正畦 一种基于模特真实试衣效果影像库的试衣系统
CN107590708A (zh) * 2016-07-07 2018-01-16 梁如愿 一种生成用户特定体形模型的方法和装置
CN112990997A (zh) * 2019-12-17 2021-06-18 青岛海尔洗衣机有限公司 虚拟试衣方法
CN113191843A (zh) * 2021-04-28 2021-07-30 北京市商汤科技开发有限公司 模拟服饰试穿方法、装置、电子设备及存储介质
CN114511377A (zh) * 2022-01-17 2022-05-17 阿里巴巴(中国)有限公司 虚拟试衣方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHOU, QIANMING; ZHU, XINJUAN; HU, XIMIN: "Apparel Reasoning Deformation and Simulation Method for 2D Virtual try-on", COMPUTER ENGINEERING AND APPLICATIONS, HUABEI JISUAN JISHU YANJIUSUO, CN, vol. 52, no. 8, 15 April 2016 (2016-04-15), CN , pages 158 - 162, 190, XP009548029, ISSN: 1002-8331, DOI: 10.3778/j.issn.1002-8331.1510-0035 *

Also Published As

Publication number Publication date
CN114511377A (zh) 2022-05-17

Similar Documents

Publication Publication Date Title
JP7277064B2 (ja) 空間的3d環境に対するコンテンツのマッチング
EP3972239A1 (en) Method and apparatus for virtual fitting
CN107784029B (zh) 生成提示关键词、建立索引关系的方法、服务器和客户端
KR20190000907A (ko) 고속 3d 모델 피팅 및 인체 측정법
CN109643212A (zh) 3d文档编辑系统
CN110109535A (zh) 增强现实生成方法及装置
WO2023134709A1 (zh) 虚拟试衣方法及装置
CN113129450A (zh) 虚拟试衣方法、装置、电子设备和介质
CN114782661B (zh) 下半身姿态预测模型的训练方法及装置
JP2023549240A (ja) 画像生成方法、画像生成装置、コンピュータ機器、及びコンピュータプログラム
CN111597466A (zh) 展示方法、装置和电子设备
US7483953B2 (en) Efficient downloading of content data via network
CN116524088B (zh) 珠宝虚拟试戴方法、装置、计算机设备和存储介质
CN108629824B (zh) 图像生成方法、装置、电子设备及计算机可读介质
WO2019134501A1 (zh) 模拟用户试装的方法、装置、存储介质及移动终端
KR101415778B1 (ko) 온라인 쇼핑몰에서의 착장 이미지 제공 방법 및 시스템
Chu et al. A cloud service framework for virtual try-on of footwear in augmented reality
KR20230043346A (ko) 가상 패션 아이템 기반 3차원 콘텐츠 서비스 플랫폼 시스템
KR102203373B1 (ko) 상품의 구입을 수행하기 위한 전자 장치 및 방법
CN114596412B (zh) 一种生成虚拟试穿3d图像的方法
CN110377764B (zh) 信息显示方法
CN112927031B (zh) 商品代购处理方法及装置
JP2023152511A (ja) 試着画面表示システム及び試着画面表示方法
US11599903B2 (en) Advertisement tracking integration system
KR20230043349A (ko) 사용자의 특성을 반영한 가상 캐릭터 피팅 시뮬레이션 서비스 제공 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23740051

Country of ref document: EP

Kind code of ref document: A1