Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

An ancient font classification method based on a convolutional neural network

A technology of convolutional neural network and classification method, which is applied in the field of ancient font calligraphy classification based on convolutional neural network, and can solve problems such as font style classification

Active Publication Date: 2019-05-24
HANGZHOU DIANZI UNIV
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention solves the font style classification problem by applying the convolutional neural network based on deep learning to the classification of traditional Chinese calligraphy fonts

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
  • An ancient font classification method based on a convolutional neural network
  • An ancient font classification method based on a convolutional neural network
  • An ancient font classification method based on a convolutional neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be further described below in conjunction with drawings and embodiments.

[0044] As shown in the figure, the ancient font classification method based on the convolutional neural network specifically includes the following steps:

[0045] Step 1. Data set acquisition, by using BeautifulSoup in the crawler technology to crawl a single calligraphy character pre-segmented in the CADAL digital library, first parse the HTML of the webpage, obtain the source code, and then put the read information into BeautifulSoup, It is parsed as an object for processing, and the method of searching the document tree is used to obtain the image link in the img tag, and the image is downloaded to the specified file address through the link, and finally five types of standard ancient font style images are obtained to form the required experiment of the present invention A dataset of ancient font images.

[0046] Step 2. Data expansion, expand the number of data sa...

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 an ancient font classification method based on a convolutional neural network. According to the method, firstly, an ancient font category image data set is crawled by using a crawler technology; through data expansion, training set samples tend to be balanced; graying processing is carried out on the balanced training set sample and setting an image size to a target image size; histogram equalization processing is performed on the sample set, isolated noise points are removed in the image through an N8 connected noise reduction algorithm, and finally binarization processing is performed on the image based on a fuzzy set theory and by using a Shannon entropy function, so that detail features of the image are well reserved; based on the objective function of the classification task. The center loss function and the traditional cross entropy loss function are matched for use. The inter-class distance is increased. The intra-class distance is reduced. The distinguishing capability of features is improved to a certain extent, preprocessed images are trained through a pre-defined network model, and the accuracy of a classification result is evaluated through a confusion matrix. According to the method. The preprocessing effect on the degraded ancient font image is remarkable, and a more accurate ancient font classification effect is achieved by optimizing parameter setting and utilizing appropriate training skills to train the convolutional neural network model.

Description

technical field [0001] The invention relates to the field of image processing of traditional Chinese characters, in particular to a method for classifying ancient font calligraphy based on a convolutional neural network. Background technique [0002] Chinese characters, as traditional Chinese characters, have a history of thousands of years. At the same time, Chinese characters are also an important part of Chinese traditional art and culture. However, time has caused weathering and damage to old calligraphic works, so it is necessary to utilize advanced technology to protect these works. We will provide a preprocessing (denoising) algorithm for ancient Chinese calligraphy works, and on this basis, use a convolutional neural network to classify the data set to achieve a better classification accuracy. Most ancient fonts (traditional Chinese calligraphy) are written with traditional Chinese brushes. The handwriting in these traditional brushes is much thicker than that of ha...

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
IPC IPC(8): G06K9/32G06K9/62
Inventor 吴以凡赵月张桦戴国骏史建凯
Owner HANGZHOU DIANZI UNIV
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
Eureka Blog
Learn More
PatSnap group products