The invention discloses a face
image synthesis method and device, an electronic device and a storage medium. The method comprises the steps of obtaining a face portrait image and a face
photo image; obtaining a face portrait training image block set and a face photo training image block set according to the face portrait image and the face
photo image; training a deep neural
network model according to the face portrait training image block set and the face photo training image block set, and obtaining a deep feature representation model according to the deep neural
network model; and obtaininga first combination weight set according to the face photo test image, the probability
graph model and the depth feature representation model, and obtaining a
face synthesis image of the face photo test image according to the first combination weight set. According to the method, the depth feature representation and the probability
graph model are adopted for modeling, and compared with an existing method, uncontrollable situations such as complex backgrounds, illumination and shielding can be better coped with, so that the
image quality and the detail structure quality of the synthesized image are improved.