Unlock instant, AI-driven research and patent intelligence for your innovation.

Model generation method and device, image generation method and device, electronic equipment and readable storage medium

A model generation and image technology, which is applied in the field of image processing, can solve problems such as blurring and unclear edges of sketch images, and achieve the effect of improving accuracy

Pending Publication Date: 2022-08-05
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, threshold segmentation is to divide the image pixels into several categories by setting different feature thresholds. The edges of the sketch image generated based on threshold segmentation are not clear enough and relatively blurred.
Therefore, there is currently a lack of a method that can efficiently and accurately generate sketch images

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
  • Model generation method and device, image generation method and device, electronic equipment and readable storage medium
  • Model generation method and device, image generation method and device, electronic equipment and readable storage medium
  • Model generation method and device, image generation method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.

[0056] The image generation method provided by the embodiment of the present invention can be applied to at least the following application scenarios, which will be described below.

[0057] At present, users usually generate sketch images from face images through applications on electronic devices. The current sketch image generation generally adopts the traditional image method (ie threshold segmentation), or the image generation method based on the generative adversarial network. There will be a problem of unstable results.

[0058] Based on the above application scenario, the image generation method provided by the embodiment of the present invention is described in detail below.

[0059] The following first provides an overall description of the image processing model structure provi...

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 model generation method and device, an image generation method and device, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining a plurality of training data, each training data comprises a sample image and a face mask image of the sample image, and the face mask image is used for marking a face region of the sample image; inputting the sample image into a preset processing model to obtain a predicted popularity image; based on the weight image, performing weighted fusion processing on a loss value of each pixel point in the predicted heat image relative to the face mask image to obtain a weighted loss value; the weight image is used for representing a weight value corresponding to a pixel point in the sample image; and training a preset processing model according to the weighted loss value until the weighted loss value satisfies a training stop condition, thereby obtaining an image processing model. According to the embodiment of the invention, the accuracy of the image processing model obtained by training can be improved.

Description

technical field [0001] The present invention relates to the technical field of image processing, and in particular, to a model generation method, an image generation method, an apparatus, an electronic device and a readable storage medium. Background technique [0002] With the continuous development of electronic devices, many users like to perform various processing on photos through applications on electronic devices, such as generating sketch images from face images. [0003] At present, sketch images can generally be generated by threshold segmentation. Among them, the threshold segmentation is to divide the image pixels into several categories by setting different feature thresholds. The edge of the sketch image generated based on the threshold segmentation is not clear enough and relatively blurred. Therefore, there is currently a lack of an efficient and accurate method for generating sketch images. SUMMARY OF THE INVENTION [0004] The purpose of the embodiments...

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): G06V40/16G06V10/44G06V10/774G06V10/80
CPCG06V40/161G06V10/44G06V10/80G06V10/774
Inventor 丁苗高
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD