-
1.
公开(公告)号:US12299963B2
公开(公告)日:2025-05-13
申请号:US18051323
申请日:2022-10-31
Inventor: Keke He , Junwei Zhu , Hui Ni , Yun Cao , Xu Chen , Ying Tai , Chengjie Wang , Jilin Li , Feiyue Huang
IPC: G06V10/00 , G06V10/75 , G06V10/774 , G06V10/776 , G06V10/82 , G06V40/16
Abstract: An image processing method includes performing additional image feature extraction on a training source face image to obtain a source additional image feature, performing identity feature extraction on the training source face image to obtain a source identity feature, inputting a training template face image into an encoder in a to-be-trained face swapping model to obtain a face attribute feature, inputting the source additional image feature, the source identity feature, and the face attribute feature into a decoder in the face swapping model for decoding to obtain a decoded face image, obtaining a target model loss value based on an additional image difference between the decoded face image and a comparative face image, and adjusting the model parameters of the encoder and the decoder based on the target model loss value to obtain the trained face swapping model.
-
公开(公告)号:US20230087489A1
公开(公告)日:2023-03-23
申请号:US17989109
申请日:2022-11-17
Inventor: Yunlong FENG , Xu Chen , Ying Tai , Chengjie Wang , Jilin Li
Abstract: An image processing method and apparatus are provided. During image matting on an original image, a plurality of segmented images including different regions are first obtained through semantic segmentation. Further, according to the segmented images, lines of different widths are drawn on a contour line of a foreground region to obtain a target trimap. Finally, a target image is generated based on the target trimap. For the target trimap, because lines of different widths are drawn on the contour line of the foreground region, pertinent image matting may be implemented for different regions, so that image matting precision may be improved for a region requiring fine image matting, and image matting precision of another region can also be ensured. In this way, a final image obtained through image matting is fine and natural.
-