Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Convolutional Neural Network Based Ancient Font Classification Method

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

Active Publication Date: 2020-11-06
HANGZHOU DIANZI UNIV
View PDF6 Cites 0 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
  • A Convolutional Neural Network Based Ancient Font Classification Method
  • A Convolutional Neural Network Based Ancient Font Classification Method
  • A Convolutional Neural Network Based Ancient Font Classification Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be further described below with reference to the accompanying drawings and embodiments.

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

[0045] Step 1. Data set acquisition, use BeautifulSoup in crawler technology to crawl a single calligraphic character pre-segmented in 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 into an object for processing, and the method of searching the document tree is used to obtain the image link in the img tag, download the image to the specified file address through the link, and finally obtain five types of standard ancient font style images to form the required experiments of the present invention. ancient font image dataset.

[0046] Step 2. Data expansion, expand the number of data samples on the ancie...

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 traditional Chinese character image processing, in particular to a method for classifying ancient fonts and 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 traditional Chinese art and culture. However, time has resulted in weathering and damage to old calligraphy works, so it is necessary to utilize advanced techniques to protect these works. We will provide a preprocessing (denoising) algorithm for ancient Chinese calligraphy works, and on this basis, use the convolutional neural network to classify the dataset to achieve a better classification accuracy. Most ancient fonts (traditional Chinese calligraphy) are written with traditional Chinese brushes, and the handwriting in these traditional brushes is much thicker than ...

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 Patents(China)
IPC IPC(8): G06K9/32G06K9/62
Inventor 吴以凡赵月张桦戴国骏史建凯
Owner HANGZHOU DIANZI UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products