Portrait style transfer method based on semantic segmentation and deep convolutional neural network

A technology of semantic segmentation and deep convolution, applied in the field of deep learning, can solve problems such as unsatisfactory effect, large randomness of images, unsatisfactory transfer effect, etc.

Active Publication Date: 2018-11-13
HENGYANG NORMAL UNIV
View PDF5 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The problems existing in the existing style transfer methods mainly include: the style transfer of images is very random, which leads to unsatisfactory results in many cases.
Especially for the style transfer of portraits,

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
  • Portrait style transfer method based on semantic segmentation and deep convolutional neural network
  • Portrait style transfer method based on semantic segmentation and deep convolutional neural network
  • Portrait style transfer method based on semantic segmentation and deep convolutional neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] see figure 1 and figure 2 , are respectively the system flowchart and the model architecture diagram of the present invention, see Figure 4 , this embodiment selects an artistic image as the style portrait Choose another image as content portrait Such as image 3 shown. where w c , h c are the length and width of the content portrait image respectively, w s , h s are the length and width of the content portrait image respectively; then use the semantic-based image segmentation algorithm to semantically segment the style portrait and content portrait:

[0057] Step 1. Select the CRF as RNN model developed by Oxford University as the model for the semantic segmentation of the image portrait area, perform semantic segmentation on the content image and style image respectively, and segment the portrait area and background area,

[0058] Step 2. Use the OpenFace face area segmentation algorithm, and then calibrate the face, nose, eyes, mouth, and body areas in t...

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 portrait style transfer method based on semantic segmentation and a deep convolutional neural network. The method comprises the steps of firstly, selecting a portrait image needed to be converted and a target style portrait image; secondly, carrying out semantic segmentation on the two images to obtain a portrait area and a background area; thirdly, segmenting out the specific five sense organs from the portrait area; fourthly, defining a portrait style transfer loss function; fifthly, adopting the deep convolutional neural network VGG-19 as an image advanced style extraction basic model; sixthly, after a content constraint layer and a style constraint layer is set, defining the content constraint layer and the style constraint layer in the VGG-19 model; and finally, establishing a new model structure. The segmented semantic image and the original image are input to the new VGG-19 model; the advanced style features and content features of the image are extracted; the portrait style transfer loss function is used; by adopting a gradient descent method, the loss function is minimized through multiple iterations; and finally a style transfer result image is generated.

Description

technical field [0001] The invention relates to the field of deep learning, in particular to a portrait style transfer method based on semantic segmentation and deep convolutional neural network. Background technique [0002] With the rapid development of technology, in the field of deep learning research, the process of using CNN to fuse the semantic content of a picture with different styles is called neural style transfer (Neural Style Transfer). Gatys et al. The report article "image Style Transfer Using Convolutional NeuralNetworks" confirmed the amazing ability of convolutional neural network (CNN) in image style transfer: by separating and recombining image content and style, CNN can create works with artistic charm . Since then, there has been great interest in neural style transfer in academic research and industrial applications. Transferring artistic styles from artworks to everyday photos has become a very important computer vision task in both academia and indu...

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
IPC IPC(8): G06T3/00G06T7/11G06T7/194
CPCG06T3/0012G06T7/11G06T7/194G06T2207/10004G06T2207/20076G06T2207/20084G06T2207/30196G06T2207/30201
Inventor 赵辉煌郑金华孙雅琪
Owner HENGYANG NORMAL UNIV
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