Picture generation method and device, storage medium, and electronic device
AssigneeTencent Technology (Shenzhen) Company Limited
InventorXiaobo Gong
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorXiaobo Gong
Estimating the term…
This disclosure relates to a picture generation method and device, a storage medium, and an electronic device. The method includes: obtaining a source portrait picture displaying a target object; cropping the source portrait picture to obtain a face region picture corresponding to a face of the target object excluding a hair portion; inputting the face region picture to a picture generation model to obtain an output result of the picture generation model, the picture generation model being obtained after machine learning training through an adversarial neural network model by using a plurality of sample pictures; and generating a target portrait picture by using the output result of the picture generation model, the target portrait picture displaying a target hairstyle matching the face of the target object. This disclosure resolves the technical problem that pictures generated in related art cannot achieve an effect expected by a user and other technical problems.
A method for picture generation, applied to user equipment, the method comprising:
An apparatus for picture generation, comprising a memory for storing computer instructions and a processor in communication with the memory, wherein, when the processor executes the computer instructions, the processor is configured to cause the apparatus to:
A non-transitory storage medium for storing computer readable instructions, the computer readable instructions, when executed by a processor, causing the processor to:
Dependencies are inferred from the claim text.