Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic portrait division method

An automatic portrait and portrait technology, applied in the field of image processing, can solve the problems of slow segmentation, large amount of calculation, affecting segmentation accuracy, etc., and achieve the effect of reducing model size, fast portrait segmentation, and improving segmentation accuracy.

Inactive Publication Date: 2017-11-07
CHENDU PINGUO TECH CO LTD
View PDF7 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The interactive method often requires the user to have a certain understanding of image segmentation, and can draw a better segmentation line. The user experience is slightly worse, and the segmentation speed is relatively slow, usually taking tens of seconds; the segmentation based on crf is also fast Slow; and there are three main problems with the fcn method. One is that the model size is large, usually hundreds of megabytes, which is not conducive to mobile terminals. The other is that the calculation is large and the speed is very slow. Ten seconds; the third is that the calculation process involves pooling layer calculations, which affects the accuracy of segmentation

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
  • Automatic portrait division method
  • Automatic portrait division method
  • Automatic portrait division method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further elaborated below in conjunction with the accompanying drawings.

[0027] In this example, see Figure 1-Figure 4 As shown, the present invention proposes an automatic portrait segmentation method, including steps of model training, preliminary portrait segmentation and precise portrait segmentation.

[0028] 1. The model training includes the steps of: obtaining training data; inputting the training data into the neural network to obtain a network parameter model; after the neural network converges, storing the network parameter model to complete the model training.

[0029] The process of acquiring training data includes the steps of: collecting portrait pictures; manually marking the portrait area to form a mask image corresponding to the portrait picture; scaling the mask image to a predetermined size to form training data.

[0030]...

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

An automatic portrait division method disclosed by the present invention comprises the step model training, the portrait initial division and the portrait accurate division, wherein the model training comprises the steps of obtaining the training data, inputting the training data in a neural network, and learning to obtain a network parameter mode; after the neural network converges, storing the network parameter model to finish the model training; the portrait initial division comprises the steps of loading the network parameter model in a mobile client; utilizing the mobile client to obtain an input image; inputting the input image in the network parameter model to obtain a portrait division initial image; and the portrait accurate division comprises the steps of removing the mistakenly divided isolated areas for the portrait division initial image, and retaining a communicated area; utilizing an image matting algorithm to divide the details of the communicated area, and highlighting the edges to obtain a portrait division final image. The automatic portrait division method of the present invention can divide the portrait automatically and accurately, is short in time consumption and small in occupied space, and is suitable for the mobile client.

Description

technical field [0001] The invention belongs to the technical field of image processing, in particular to an automatic portrait segmentation method. Background technique [0002] In recent years, with the development of science and technology, a large number of digital pictures are produced every day, and various image processing technologies are emerging in an endless stream. Among them, the personalized processing of portraits is a very dynamic research field. From skin beautification, facial features beautification, background replacement, every step provides assistance for portrait beautification. Fast and accurate portrait segmentation is the key step of the aforementioned background replacement module. The accuracy of segmentation directly affects the quality and diversity of background replacement, and also affects the consistency of skin beautification. [0003] At present, there are many portrait segmentation algorithms, such as the early interactive segmentation...

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): G06T7/11G06T7/13G06T7/187G06N3/04
CPCG06T7/11G06T7/13G06T7/187G06T2207/30201G06T2207/20081G06T2207/20084G06N3/045
Inventor 陈丹
Owner CHENDU PINGUO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products