Patent ID: 11935167
Assignee: RELING JINGDONG SHANGKE INFORMATION TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 5:
6. An apparatus for visual fitting, comprising:
at least one processor; and
a memory, wherein the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
receiving a fitting request comprising a model picture and a user image;
performing human body positioning analysis and surface coordinate analysis on the model picture and the user image respectively;
performing clothing segmentation on the model picture and the user image respectively;
covering, based on results of the clothing segmentation and results of the surface coordinate analysis, pixels corresponding to a piece of clothing in the model picture to corresponding positions in the user image to obtain a synthesized image and to-be-completed information; and
inputting the synthesized image, a result of the human body positioning analysis on the user image and the to-be-completed information into a pre-trained image completion network to obtain a completed image;
wherein the image completion network is trained through following steps of:
acquiring a sample image set;
for a sample image in the sample image set, erasing a part in the sample image randomly, the part being probably covered by a piece of clothing, to obtain to-be-completed information of the sample image;
for the sample image in the sample image set, performing the human body positioning analysis on the sample image to obtain posture information in the sample image; and
using an image obtained after the erasing, the to-be-completed information of the sample image, and the posture information in the sample image in the sample image set as inputs, and use the sample image before the erasing as an output, to perform a machine learning training to obtain the image completion network.