CPC G06T 11/60 (2013.01) [G06F 16/532 (2019.01); G06F 16/56 (2019.01); G06F 21/6254 (2013.01); G06T 2200/24 (2013.01)] | 20 Claims |
1. A method comprising:
receiving, by a processing device, a target digital image having a target face;
obtaining, by the processing device, a reference digital image including a reference face as a result of a digital image search performed based at least in part on the target face by:
computing a similarity score between the target face and the reference face; and
comparing a pose of the target face to a pose of the reference face;
generating, by the processing device, a target encoding of the target face and a reference encoding of the reference face using a machine-learning model;
generating, by the processing device, a mixed encoding by combining a portion of the target encoding and a portion of the reference encoding that represents features of the target face mixed with features of the reference face;
generating, by the processing device, a mixed face using a machine-learning model from the mixed encoding; and
forming, by the processing device, an edited target digital image by replacing the target face with the mixed face.
|