Calligraphy word stock automatic restoration method and system based on style migration

An automatic repair and style technology, applied in the field of text repair, can solve the problems of low efficiency and single processing method of calligraphy font repair technology, achieve stable training process, and improve the effect of large deformation

Pending Publication Date: 2019-12-13
CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to provide an automatic calligraphy font repair method and system based on style migration to solve the above technical defects

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
  • Calligraphy word stock automatic restoration method and system based on style migration
  • Calligraphy word stock automatic restoration method and system based on style migration
  • Calligraphy word stock automatic restoration method and system based on style migration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation manners of the present invention will now be described in detail with reference to the accompanying drawings.

[0028] An automatic repair method for calligraphy fonts based on style transfer, such as figure 1 As shown, including generator, discriminator and optimizer, the generator also includes encoding module, decoding module and conversion module; the specific steps include:

[0029] S1. Set KaiTi as the input font. The calligraphy font of the famous ancient Chinese calligrapher Yan Zhenqing (hereinafter referred to as Yanti) is used as the standard style font. KaiTi has a complete font library, but YanTi has not yet established a complete font library.

[0030] S2, such as figure 2 As shown, the italic Chinese character image is used as the input of the generator coding module, and after a series of Convolution-BatchNorm-L...

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 provides a calligraphy font library automatic restoration method and system based on style migration. The calligraphy font library automatic restoration method comprises the steps that input fonts and standard style fonts are set; the input font image is input into a coding module, and potential feature information is obtained by the coding module; the conversion module converts thefeature information into feature information of standard style fonts; the decoding module performs processing to obtain a generated font image; the input font image and the generated font image are input into a discriminator, and the probability that the generated font image is a real standard style font is output; similarly, the input font image and the standard style font image are input into adiscriminator to obtain the probability that the standard style font image is a real standard style font; and finally loss functions of the generator and the discriminator are obtained according to the two probabilities. The optimizer adjusts the generator and the discriminator according to the loss functions until the loss functions of the generator and the discriminator converge to obtain a trained generator; a complete font library of standard style fonts can be obtained by adopting the trained generator.

Description

technical field [0001] The invention relates to the technical field of text restoration, in particular to a method and system for automatic restoration of calligraphy fonts based on style transfer. Background technique [0002] Calligraphy is the main form of expression of Chinese character culture, not only regarded as an artistic expression of language, but also as a means of self-expression and cultivation. Calligraphy can also bring people a pleasant visual experience and improve user work efficiency. However, most of the calligraphy fonts that have been handed down to the present world contain very few Chinese characters, and cannot form a complete set of commercial calligraphy fonts. For example, Liu Gongquan's regular script "Xuanmi Pagoda Stele" has 1512 characters, Yan Zhenqing's regular script "Duobao Pagoda Stele" has 2244 characters, and "The Best Running Script in the World" "Lanting Collection Preface" has only 324 characters. Among them, "Duobao Pagoda Stele...

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/00G06N3/04G06N3/08
CPCG06T11/001G06N3/08G06N3/045
Inventor 陈鑫秦梦溪张孜颖周小雪
Owner CHINA UNIV OF GEOSCIENCES (WUHAN)
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