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

Portrait photo-based stick figure generation method and system and storage medium

A stick figure and portrait technology, applied in the field of image processing, can solve problems such as difficult to balance lighting and posture

Active Publication Date: 2020-06-05
HANGZHOU WEIMING XINKE TECH CO LTD +1
View PDF18 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention proposes a method, system and storage medium for generating stick figures based on portrait photos, aiming to solve the problem that it is difficult to take into account the different lighting and postures in a photo due to the global synthesis strategy used in the stick figure generating method in the prior art

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 photo-based stick figure generation method and system and storage medium
  • Portrait photo-based stick figure generation method and system and storage medium
  • Portrait photo-based stick figure generation method and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] figure 1 shows a flow chart of the steps of a method for generating stick figures based on portrait photos according to an embodiment of the present application.

[0057] like figure 1 As shown, the method for generating stick figures based on portrait photos in this embodiment specifically includes the following steps:

[0058] S101: Perform image preprocessing according to the portrait photo to obtain a preprocessed portrait image;

[0059] S102: Perform illumination attribute detection and processing according to the preprocessed portrait image to obtain an illumination processed image;

[0060] S103: Perform stick figure fusion according to the light processing image and the stick figure style photo to obtain a stick figure image.

[0061] In S101, image preprocessing is performed according to the portrait photo to obtain a preprocessed portrait image, and the image preprocessing specifically includes:

[0062] 1) Perform facial frame diagram and facial facial f...

Embodiment 2

[0125] In this embodiment 2, in S103 of embodiment 1, the following steps are added after the stick figure is fused according to the light processing image and the stick figure style photo to obtain the stick figure image:

[0126] S104: Perform image refinement using a refined image model according to the stick figure image and the stick figure image drawn by an expert to obtain a refined stick figure image.

[0127] S105: Perform post-processing of the stick figure according to the stick figure image or the refined stick figure image to obtain a final stick figure image, and the post processing includes Gaussian blur processing and adaptive binarization processing.

[0128] Specifically, in S104, the generative confrontation network is used as the refined image model, specifically including;

[0129] First, find the expert-drawn stick figure image drawn by the expert based on the portrait photo, and use the stick figure image obtained in S103 and the expert-drawn stick figur...

Embodiment 3

[0140] Image 6 A schematic structural diagram of a system for generating stick figures based on portrait photos according to an embodiment of the present application is shown.

[0141] like Image 6 As shown, a stick figure generation system based on portrait photos, including:

[0142] Portrait photo preprocessing module 10: used to perform image preprocessing according to the portrait photo to obtain a preprocessed portrait image;

[0143] Illumination attribute detection and processing module 20: for performing illumination attribute detection and processing according to the pre-processed portrait image to obtain an illumination processed image;

[0144] Stick figure fusion module 30 : used for performing stick figure fusion according to light processing images and style photos to obtain stick figure images.

[0145] Specifically, the portrait photo preprocessing module 10 includes:

[0146] Face key point detection model: used to detect face frame and facial features ...

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 embodiment of the invention provides a portrait photo-based stick figure generation method and system, and a storage medium. The portrait photo-based stick figure generation method comprises the steps of performing image preprocessing according to a portrait photo to obtain a preprocessed portrait image; performing illumination attribute detection and processing according to the preprocessed portrait image to obtain an illumination processing image; and finally, performing stick figure fusion according to the illumination processing image and the stick figure style photo to obtain a stickfigure image. The problem that different illumination and postures in one photo are difficult to consider due to the fact that an existing stick figure generation method adopts a global synthesis strategy is solved.

Description

technical field [0001] The present application belongs to the technical field of image processing, and in particular relates to a method, system and storage medium for generating stick figures based on portrait photos. Background technique [0002] With the continuous development of machine vision-related technologies, portrait drawing is widely used in multimedia, personalized entertainment, and the Internet, such as virtual reality, augmented reality, and robot portrait drawing systems. With the development of artificial intelligence, more and more people are beginning to study the combination of artificial intelligence and art, that is, computational art. Through mathematics and statistics, we can quantify the laws contained in art into mathematical relationships. For example, the golden section has strict proportion, artistry and harmony, and has rich aesthetic value. At the same time, these mathematical relationships become part of the theoretical foundation of computa...

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): G06T11/00G06K9/00G06N3/04G06N3/08
CPCG06T11/001G06N3/08G06V40/172G06N3/045
Inventor 朱静洁高飞李鹏俞泽远王韬
Owner HANGZHOU WEIMING XINKE 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