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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com