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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
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