Portrait stick figure generation method, portrait stick figure generation system and drawing robot

A stick figure and portrait technology, applied in the field of image processing, can solve the problem that the stick figure generation method cannot be applied well

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

AI Technical Summary

Problems solved by technology

[0007] The present invention proposes a portrait stick figure generation method, system and drawing robot, aiming to solve the problem that the stick figure generation method in the prior art cannot be well applied to the drawing robot to draw vivid portrait stick figures

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 stick figure generation method, portrait stick figure generation system and drawing robot
  • Portrait stick figure generation method, portrait stick figure generation system and drawing robot
  • Portrait stick figure generation method, portrait stick figure generation system and drawing robot

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] figure 1 A flow chart of steps of a method for generating a portrait stick figure according to an embodiment of the present application is shown in .

[0055] Such as figure 1 As shown, the portrait stick figure generation method of the present embodiment specifically includes the following steps:

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

[0057] S102: Obtain a stick figure image through a convolutional neural network model according to the preprocessed portrait image and stick figure style photo.

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

[0059] 1) Perform facial frame diagram and facial facial features key point detection according to the portrait photo, and obtain facial bounding box information and position coordinates of facial facial features key points. ...

Embodiment 2

[0113] In this embodiment 2, after obtaining the stick figure image through the convolutional neural network model according to the preprocessing portrait image and the stick figure style photo in S102 of the embodiment 1, the following steps are added:

[0114] S103: Perform stick figure post-processing according to the stick figure image to obtain a final stick figure image suitable for the drawing robot.

[0115] Specifically, in S103, the stick figure post-processing includes Gaussian blur processing, adaptive binarization processing, and line dilation processing.

[0116] Among them, the stick figure post-processing specifically includes:

[0117] Input the stick figure image to a low-pass filter to perform Gaussian blur processing to obtain a Gaussian blurred image;

[0118] According to the Gaussian blurred image, the binary image is obtained by using the adaptive binarization method of histogram equalization;

[0119] The final stick figure image is obtained by perfo...

Embodiment 3

[0135] Figure 4 A schematic structural diagram of a system for generating a stick figure of a portrait according to an embodiment of the present application is shown.

[0136] Such as Figure 4 As shown, a stick figure generation system based on portrait photos, including:

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

[0138] Stick figure generating module 20: used to obtain stick figure images through convolutional neural network model according to preprocessed portrait images and stick figure style photos.

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

[0140] Face key point detection model: used to detect face frame and facial features key points based on portrait photos, and obtain facial boundary frame information and position coordinates of facial features key points;

[0141] Face alignment unit: used to obtain face alignmen...

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 stick figure generation method and system and a drawing robot. According to the portrait stick figure generation method provided by the embodiment of the invention, image preprocessing is carried out according to the portrait photo to obtain the preprocessed portrait image; and then according to the preprocessed portrait image and the stick figure style photo, a stick figure image is obtained through a convolutional neural network model, so that high-quality stick figures can be quickly generated from the portrait photo, the method is suitable for a drawing robot, and the portrait stick figures can be drawn in a short time. The problem that a stick figure generation method in the prior art cannot be well applied to a drawing robot to drawvivid portrait stick figures is solved.

Description

technical field [0001] The present application belongs to the technical field of image processing, and in particular relates to a method and system for generating stick figures of portraits and a drawing robot. Background technique [0002] 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. On the other hand, artificial intelligence technology is more and more closely related to life, and the field of family companion robots is also booming. Family companion robots have not only entered our lives, but also illuminated our spiritual world. At present, family companion robots can carry out artistic creations such as comics and sketches. Stick figures use simple elements such as points and lines to fully express human characteristics, and are more in line with the requirements for robots to draw vivid portraits in a short period of time. [0003] At present...

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