US 11,678,734 B2
Method for processing images and electronic device
Shanshan Wu, Beijing (CN); Paliwan Pahaerding, Beijing (CN); and Ni Ai, Beijing (CN)
Assigned to BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed by BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed on Jun. 1, 2022, as Appl. No. 17/829,743.
Application 17/829,743 is a continuation of application No. 17/105,186, filed on Nov. 25, 2020, granted, now 11,367,307.
Claims priority of application No. 201911168483.5 (CN), filed on Nov. 25, 2019.
Prior Publication US 2022/0301341 A1, Sep. 22, 2022
Int. Cl. G06T 5/00 (2006.01); A45D 44/00 (2006.01); G06T 7/11 (2017.01); G06V 40/16 (2022.01); G06V 10/764 (2022.01); G06V 10/82 (2022.01)
CPC A45D 44/005 (2013.01) [G06T 7/11 (2017.01); G06V 10/764 (2022.01); G06V 10/82 (2022.01); G06V 40/165 (2022.01); G06V 40/168 (2022.01); G06V 40/171 (2022.01); G06T 2207/20081 (2013.01); G06T 2207/20221 (2013.01); G06T 2207/30201 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for processing images, comprising:
acquiring a target face image, and performing face key point detection on the target face image to acquire a face key point detection result;
determining a face visible area which is not subject to an occluder and a face invisible area which is subject to the occluder in the target face image; and
acquiring a target fusion image by fusing a virtual special effect and a face part matched in the target face image based on the face key point detection result, the face visible area and the face invisible area; and
wherein said acquiring the target fusion image by fusing the virtual special effect and the face part matched in the target face image based on the face key point detection result, the face visible area and the face invisible area comprises:
acquiring a first fusion image by fusing the virtual special effect and the face part matched in the target face image based on the face key point detection result; and
generating the target fusion image base on the face visible area, the face invisible area and the first fusion image; and
wherein said generating the target fusion image base on the face visible area, the face invisible area and the first fusion image comprises:
retaining the virtual special effect in the face visible area of the first fusion image; and
acquiring the target fusion image by drawing the occluder on the face invisible area of the first fusion image in a fashion of being placed on a top layer.