Font generation method and device based on multi-task discriminator generative adversarial network

A discriminator and font technology, which is applied to biological neural network models, instruments, electrical digital data processing, etc., can solve the problems of deviation from font style, and the font style of generated fonts is not strong enough, so as to reduce the error rate.

Pending Publication Date: 2021-07-09
杭州王道控股有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 2. The font style of the generated font is not strong enough and deviates from the font style created by the creator

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
  • Font generation method and device based on multi-task discriminator generative adversarial network
  • Font generation method and device based on multi-task discriminator generative adversarial network
  • Font generation method and device based on multi-task discriminator generative adversarial network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0065] Such as Figure 1a As shown, it is a schematic diagram of a font generation method based on a multi-task discriminator generation confrontation network provided by the embodiment of the present application, including the following steps:

[0066] S101: Pre-acquire a plurality of sample font libraries of different font styles.

[0067] Wherein, the sample fonts include, but are not limited to, Chinese character fonts such as KaiTi fonts, SongTi fonts, and imitation SongTi font...

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 invention discloses a font generation method and device based on a multi-task discriminator generative adversarial network, and the method comprises the steps: taking a font image created by a user as a style image, inputting the style image into a generative adversarial network obtained through pre-training, and obtaining a font library, wherein the training process of the generative adversarial network comprises the following steps: taking a training sample and a sample style image as input of a generator, and obtaining a target image output by the generator; inputting the target image and the sample font image into a first discriminator, and adjusting a loss function of the first discriminator by taking the difference between the font content of the target image and the font content of the sample font image as a training target; and inputting the target image and the sample style image into a second discriminator, and adjusting a loss function of the second discriminator by taking a difference between a font style of the target image and a font style of the sample style image as a training target. By means of the scheme, the error rate of font generation can be reduced under the condition that it is guaranteed that the fonts do not deviate from the font styles.

Description

technical field [0001] The present application relates to the field of font creation, and in particular to a font generation method and device based on a multi-task discriminator generation confrontation network. Background technique [0002] Text is the main carrier of information dissemination. Now, with the continuous improvement of my country's informatization, the majority of Internet users have further expanded their demand for information processing. Based on the writing work of Chinese characters, pleasing fonts can often promote the author's creativity. However, the creation of fonts is a very complicated process. First, the creator needs to design several Chinese characters, and then expand to all Chinese characters, and it is necessary to keep all Chinese characters in the same style. Because the quantity of Chinese characters is very huge, so making a font library of complete Chinese characters will bring very huge workload to the creator. [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): G06F40/109G06N3/04
CPCG06F40/109G06N3/045
Inventor 郭铭涛唐勇王铮熊伟
Owner 杭州王道控股有限公司
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