Hair style generation method and device, medium and equipment

A hairstyle and network model technology, applied in the field of computer vision, can solve the problems of unreasonable hair structure, unclear images, artificial image stitching, etc., to achieve the effect of hairstyle migration and real hair structure

Pending Publication Date: 2022-08-05
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this method is a breakthrough in the field of hair editing, the images generated by this method are not clear, and the hair structure is often unreasonable
At the same time, due to the use of image restoration technology (inpainting) in this method, the final generated image will have obvious traces of artificial splicing.

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
  • Hair style generation method and device, medium and equipment
  • Hair style generation method and device, medium and equipment
  • Hair style generation method and device, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to better understand and explain the present invention, the present invention will be further described in detail below with reference to the accompanying drawings. The present invention is not limited only to these specific embodiments. On the contrary, the modifications or equivalent replacements made to the present invention should all be included in the scope of the claims of the present invention.

[0056] It should be noted that numerous specific details are given in the following detailed description. It will be understood by those skilled in the art that the present invention may be practiced without these specific details. In the specific embodiments given below, the principles, structures and components well known in the art are not described in detail so as to highlight the gist of the present invention.

[0057] like figure 1 As shown, the present embodiment proposes a method for generating a hairstyle, the method comprising:

[0058] S101, obta...

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 provides a hair style generation method. The method comprises the following steps: acquiring a to-be-processed input image and a target hair style parameter; rendering a hair style area in the input image by strokes based on the target hair style parameter to obtain a stroke pattern corresponding to the input image; and inputting the stroke pattern into a generative adversarial network model to obtain a target image, the target image being an image after the hairstyle area in the input image is adjusted. According to the invention, stroke rendering is carried out on the input image through the target hair style parameter to generate the stroke pattern, and then model training is carried out on the stroke pattern to generate the high-definition image with a more real hair style. Compared with an existing multi-input-condition hair image generation method, the method has the advantages that the hair structure is more real, and the generated image is higher in definition and more real. In addition, the invention further provides a hair style generation device, a computer readable medium and computer equipment.

Description

technical field [0001] The invention belongs to the field of computer vision, and in particular relates to a method, device, medium and device for generating hairstyles. Background technique [0002] Hair editing is an important topic in the fields of computer vision and computer graphics. Hair is a main feature of an image and is very important for a person's portrait. However, due to the freedom, irregularity and variability of hair, the study of hair is more difficult than that of human face and body. [0003] In recent years, generative adversarial networks have achieved very good results in image generation, and they have also been applied to face generation and portrait attribute control. Face image generation can be controlled through attributes. In portrait generation methods, some studies have involved simple hair attribute control, such as color (black, brown, blonde, etc.) and shape (curly, straight, etc.). However, this is not enough for hair editing. [0004...

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): G06T15/02G06T15/20G06N3/04
CPCG06T15/02G06T15/205G06N3/045
Inventor 宋新慧郑彦波袁燚范长杰
Owner NETEASE (HANGZHOU) NETWORK CO LTD
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