Picture generation method and device, storage medium and electronic device

A picture generation and picture technology, applied in the computer field, can solve problems such as failure to ensure that hairstyles match, no solution is proposed, low picture accuracy, etc., to achieve the effect of improving generation efficiency and accuracy, and solving low accuracy

Active Publication Date: 2019-03-08
TENCENT TECH WUHAN
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the picture generation method provided by the above-mentioned related technologies, the user often manually selects the hairstyle to be replaced for the object in the picture according to his own aesthetics, and there is no guarantee that the object in the generated picture matches the hairstyle after replacement. , which leads to the problem of low accuracy of generating pictures
[0004] For the above problems, no effective solution has been proposed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Picture generation method and device, storage medium and electronic device
  • Picture generation method and device, storage medium and electronic device
  • Picture generation method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0029] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a picture generation method and device, a storage medium and an electronic device. The method comprises the following steps of obtaining a source portrait picture displaying atarget object; clipping a source portrait image to obtain a face region image corresponding to a face of a target object; inputting the facial region picture into a picture generation model, wherein the picture generation model is obtained after machine training by using a plurality of sample pictures through an antagonistic neural network model; using the output result of the picture generation model to generate a target portrait picture, wherein a target hairstyle matching the face of the target object is displayed in the target portrait picture. The invention solves the technical problem that the picture generated in the related art is low in accuracy.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and device for generating a picture, a storage medium and an electronic device. Background technique [0002] In many terminal applications for editing pictures, corresponding adjustments are often made to the image elements contained in the pictures, such as adjusting the combination of different image elements to synthesize a new picture. In order to simplify the compositing steps, different image elements are usually simply combined and stitched directly. For example, editing hairstyles in a portrait picture can generate pictures with different hairstyles for that subject by pasting different types of hairstyles directly near the same subject's face. [0003] However, in the picture generation method provided by the above-mentioned related technologies, the user often manually selects the hairstyle to be replaced for the object in the picture according to his own aes...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T3/00G06V10/764G06V10/776
CPCG06T3/0012G06T11/60G06T2210/22G06V40/168G06V10/82G06V10/776G06V10/764G06F18/22G06F18/214
Inventor 巩晓波
Owner TENCENT TECH WUHAN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products