CN112818145B - Intelligent font style rendering system - Google Patents
Intelligent font style rendering system Download PDFInfo
- Publication number
- CN112818145B CN112818145B CN202110071096.0A CN202110071096A CN112818145B CN 112818145 B CN112818145 B CN 112818145B CN 202110071096 A CN202110071096 A CN 202110071096A CN 112818145 B CN112818145 B CN 112818145B
- Authority
- CN
- China
- Prior art keywords
- font
- rendering
- data
- style
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Computational Biology (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Controls And Circuits For Display Device (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention relates to the field of intelligent systems and the integration of intelligent rendering and Chinese character writing, in particular to an intelligent font style rendering system, which comprises: the system comprises a data entry base, a font style database, a font rendering module and a font display module. The intelligent font style rendering system provided by the invention can record personal writing habits and writing font styles, generate rendering styles with personal writing characteristics and store the rendering styles in the font style database, so that the fonts can be conveniently called during rendering, meanwhile, the stroke style matched with input font data can be obtained through rendering, a user can conveniently compare the input handwritten fonts with the rendered fonts, the fonts can be better improved, and the fonts with incomplete font strokes can be supplemented by using the font correction module so as to obtain correct fonts.
Description
Technical Field
The invention relates to the field of intelligent systems and integration of intelligent rendering and Chinese character writing, in particular to an intelligent font style rendering system.
Background
With the rapid development of electronic technology, the traditional paper pen writing is gradually replaced by keyboard input, and in daily life, people are used to the keyboard typing mode, so that the handwriting times become less and less. The method not only makes people lose the inheritance of traditional book culture, but also influences the appearance of a person when information is exchanged. However, in a fast-paced lifestyle, people cannot develop a long-term calligraphy practice habit, and therefore, a system applied to style rendering of handwritten fonts is urgently needed to be provided, the handwritten fonts of writers are used as a framework, and styles of strokes of different styles are rendered on the basis, or the input handwritten fonts are rendered to be closer to the style of a calligraphy writer in the past generation, so that the writers can compare the handwritten fonts with the rendered fonts, and the fonts can be better improved.
Disclosure of Invention
To solve some problems in the prior art, the present invention provides an intelligent font style rendering system, comprising:
the data entry and storage device is used for inputting font data and transmitting the font data to the font rendering module;
the font style database stores the font style in the word and can transmit the font style selected by the user to the font rendering module;
the font rendering module renders the input font data according to the font style selected by the user to obtain a rendered font, and displays the rendered font in the font display module;
and the font display module is used for displaying the fonts in three different stages, namely a data recording and storing stage, a font style database and a font rendering module.
As a preferable aspect of the present invention, the input font data includes a handwriting font and a recognition picture font.
As a preferred scheme of the present invention, the font rendering module comprises a personalized font rendering module, and generates a rendering style having personal writing characteristics by recording personal writing habits and writing fonts; the font adjusting module is used for adjusting the size, thickness, italics and rotation direction of input font data; the conventional rendering module is used for rendering the input font data; and the stroke edge rendering module is used for correcting the structure of the input font data and simultaneously performing stroke edge rendering on the input font data.
As a preferred scheme of the present invention, the personalized font rendering module classifies input handwritten fonts according to stroke characteristics by recording personal writing habits and writing fonts, obtains the classified stroke characteristics for data matching training, and performs personalized rendering style fitting on the trained data to obtain a complete font structure and generate a font structure having personal writing characteristics.
As a preferable scheme of the invention, the stroke characteristics comprise a point, a horizontal stroke, a vertical stroke, a left falling stroke, a right falling stroke, a left falling stroke, a vertical stroke, a horizontal bending stroke, a hook, a vertical hook, an oblique hook and a horizontal hook.
As a preferred scheme of the present invention, the font structure having the personal writing feature may be stored in a font style database, which facilitates the invocation during font rendering.
As a preferred solution of the present invention, the stroke edge rendering module includes a font modification module, configured to modify a font structure of input font data; and the stroke edge optimization module is used for performing stroke edge rendering on the input font data.
As a preferred scheme of the present invention, the font style correction module splits the font structure of the input font data according to the stroke characteristics, and performs interpolation correction on the stroke characteristics of each part of the split font by using cubic spline interpolation.
As a preferred scheme of the present invention, the stroke edge optimization module splits a font structure of input font data into different categories according to stroke characteristics, introduces the stroke characteristics of the different categories into the font rendering module, and obtains a stroke edge style matched with a font style selected by a user through data classification training.
As a preferred scheme of the present invention, when inputting font data, the data entry library reserves the characters of the fonts in the font file by sequencing and de-duplicating, so as to reduce the input data volume during batch input.
Compared with the prior art, the invention has the following beneficial effects:
(1) the personalized font rendering module can record personal writing habits and writing font types, and stores the generated rendering style with the personal writing characteristics in the font style database, so that the font rendering can be conveniently called, re-rendering is not needed when a user needs to use, and the time for rendering the font by the user is saved.
(2) The font correction module splits the font structure according to the stroke characteristics, and interpolates and corrects the stroke characteristics of each part of the split font by cubic spline interpolation, so that fonts with incomplete structures can be completed, and correct fonts can be obtained.
(3) The stroke style optimization module takes input handwritten fonts or identification picture fonts as a framework, and obtains the stroke style matched with input font data through rendering. The user can compare the input handwritten font with the rendered font conveniently, and the font of the user can be improved better.
(4) When the data is input in the data recording and warehousing, the characters of the fonts in the font file are reserved by sequencing and de-duplication, so that the data volume input in batch input is reduced, and the efficiency of batch font input is improved.
Description of the drawings:
FIG. 1 is a schematic flow diagram of an intelligent font style rendering system according to the present invention;
FIG. 2 is a schematic diagram of a font rendering module according to the present invention;
fig. 3 is a schematic diagram of a personalized font rendering module according to the present invention.
FIG. 4 is a schematic diagram of the database entry module of the present invention.
Detailed Description
The invention provides an intelligent font style rendering system, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
As shown in fig. 1, the smart font style rendering system includes:
the data entry and storage device is used for inputting font data and transmitting the font data to the font rendering module;
the font style database stores the font style in the word and can transmit the font style selected by the user to the font rendering module;
the font rendering module renders the input font data according to the font style selected by the user to obtain a rendered font and displays the rendered font in the font display module;
and the font display module is used for displaying the fonts in three different stages, namely a data entry and storage stage, a font style database and a font rendering module.
The input font data of the invention comprises a handwritten font and an identification picture font.
The font rendering module comprises an individualized font rendering module, and a rendering style with the characteristic of personal writing is generated by recording the personal writing habit and the writing font; the font adjusting module is used for adjusting the size, thickness, italics and rotation direction of the input font data; a conventional rendering module for rendering the input font data; and the stroke edge rendering module is used for correcting the structure of the input font data and simultaneously performing stroke edge rendering on the input font data.
In one embodiment, the conventional rendering module includes several rendering modes, such as horizontal gradient, shadow, linear gradient, projection, outline character, radial gradient, dither, metal, and Moshajin. Meanwhile, the traditional Chinese medicine comprises Fuxi Wang, Yanzhenqing, Huanyuan, Sudongpo, Huang court Jiang, rice lung, dynabell, willow public right, and the styles of the modern sand bang, Liu \22665659, Wang dynasty, Qigong and Liu Hupu calligraphy people.
The personalized font rendering module classifies input handwritten fonts according to stroke characteristics by recording personal writing habits and writing fonts to obtain classified stroke characteristics for data matching training, and performs personalized rendering style fitting on the trained data to obtain a complete font structure and generate a font structure with personal writing characteristics.
The stroke features of the present invention include point, horizontal, vertical, left falling, right falling, lifting, left falling, vertical lifting, horizontal bending, hook, vertical hook, inclined hook and horizontal hook.
The font structure with the personal writing characteristic can be stored in a font style database, and is convenient to call during font rendering.
The stroke edge rendering module comprises a font correction module, a font processing module and a stroke edge rendering module, wherein the font correction module is used for correcting a font structure of input font data; and the stroke edge optimization module is used for performing stroke edge rendering on the input font data.
The font correction module splits the font structure of the input font data according to the stroke characteristics, and interpolates and corrects the stroke characteristics of each part of the split font by cubic spline interpolation.
In an embodiment, the cubic spline interpolation is specifically implemented by splitting a font structure according to stroke characteristics, taking two endpoints of each split stroke, dividing the two endpoints into n intervals, constructing a curve in each small interval into a cubic spline function, and solving the cubic spline function to find interpolation points missing in each stroke characteristic to obtain complete stroke line segments, and completing fonts with incomplete stroke characteristics of the font so as to obtain correct fonts.
The stroke edge optimization module divides the font structure of the input font data into different categories according to stroke characteristics, introduces the stroke characteristics of the different categories after division into the font rendering module, and obtains the stroke edge style matched with the input font data through data classification training.
In one embodiment, the stroke edge optimization module splits the font structure of the input font data into different categories according to the stroke features, introduces the stroke features of the different categories after splitting into the font rendering module, and obtains the stroke edge style matched with the font style selected by the user through data classification training.
When the data is input in the data entry and storage, the data volume input in batch input is reduced by sequencing, removing duplication and reserving characters of fonts in the font file.
In summary, the present invention provides an intelligent font style rendering system, which inputs a handwritten font or an identification picture font as input font data through a data entry library, transmits the input font data to a font rendering module, and transmits a selected font style to the font rendering module through a font style database, and renders the input font data through the font rendering module, wherein a personalized font rendering module is used to generate a rendering style having a personal writing characteristic and store the rendering style in the font style database, and a stroke edge optimization module and a stroke edge correction module are used to implement stroke edge rendering of different styles of input font data and implement correction of an incomplete font structure, and at the same time, the font is displayed in a font display module.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may be made by those skilled in the art, and all such equivalents and modifications should fall within the scope of the appended claims.
Claims (8)
1. An intelligent font style rendering system, comprising:
the data entry and storage device is used for inputting font data and transmitting the font data to the font rendering module;
the font style database stores the font style in the word and can transmit the font style selected by the user to the font rendering module;
the font rendering module renders the input font data according to the font style selected by the user to obtain a rendered font and displays the rendered font in the font display module;
the font display module is used for displaying the fonts in three different stages, namely a data entry bank, a font style database and a font rendering module;
the font rendering module comprises an individualized font rendering module and generates a rendering style with individual writing characteristics by recording individual writing habits and writing font shapes; the font adjusting module is used for adjusting the size, thickness, italics and rotation direction of input font data; the conventional rendering module is used for rendering the input font data; the stroke edge rendering module is used for correcting the structure of the input font data and simultaneously performing stroke edge rendering on the input font data;
when the font data is input in the data entry and storage, the data volume input in batch input is reduced by sequencing, de-duplicating and reserving characters of the fonts in the font file.
2. The intelligent font style rendering system of claim 1 wherein the input font data includes handwriting fonts and recognition picture fonts.
3. The system of claim 1, wherein the personalized font rendering module classifies input handwritten fonts according to stroke characteristics by recording individual writing habits and writing fonts, obtains the classified stroke characteristics for data matching training, and performs personalized rendering style fitting on the trained data to obtain a complete font structure and generate a font structure with individual writing characteristics.
4. The system of claim 3, wherein the stroke characteristics include point, horizontal, vertical, left-falling, right-falling, left-falling, vertical, horizontal, hook, vertical hook, diagonal hook, and horizontal hook.
5. The system for intelligent font style rendering according to claim 4, wherein the font structure with personal writing features is storable in a font style database and facilitates the font rendering invocation.
6. The intelligent font style rendering system of claim 1, wherein the stroke edge rendering module comprises a font style modification module for modifying a font structure of the input font data; and the stroke edge optimization module is used for performing stroke edge rendering on the input font data.
7. The intelligent font style rendering system of claim 6, wherein the font style correction module splits the font structure of the input font data according to the stroke characteristics and interpolates and corrects the stroke characteristics of each part of the split font using cubic spline interpolation.
8. The system of claim 6, wherein the stroke edge optimization module splits a font structure of input font data into different categories according to stroke characteristics, guides the split stroke characteristics of the different categories into the font rendering module, and obtains a stroke edge style matched with a font style selected by a user through data classification training.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110071096.0A CN112818145B (en) | 2021-01-19 | 2021-01-19 | Intelligent font style rendering system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110071096.0A CN112818145B (en) | 2021-01-19 | 2021-01-19 | Intelligent font style rendering system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112818145A CN112818145A (en) | 2021-05-18 |
CN112818145B true CN112818145B (en) | 2022-09-09 |
Family
ID=75870133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110071096.0A Active CN112818145B (en) | 2021-01-19 | 2021-01-19 | Intelligent font style rendering system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112818145B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699518B (en) * | 2009-10-30 | 2012-06-20 | 华南理工大学 | Method for beautifying handwritten Chinese character based on trajectory analysis |
CN101699516B (en) * | 2009-10-30 | 2012-09-05 | 华南理工大学 | Stroke rendering method for beautifying hand-written Chinese characters |
CN103176955A (en) * | 2013-01-03 | 2013-06-26 | 陈灿华 | System and method for displaying Chinese character webpage scripts |
CN103488339B (en) * | 2013-09-09 | 2016-09-07 | 北京大学 | A kind of generation method of personalized Chinese-character digital ink |
CN105677646B (en) * | 2014-11-17 | 2019-03-01 | 北京大学 | Character library generation method, character library generate system and server |
CN106384094B (en) * | 2016-09-18 | 2019-07-19 | 北京大学 | A kind of Chinese word library automatic generation method based on writing style modeling |
CN108197084A (en) * | 2017-04-27 | 2018-06-22 | 中南出版传媒集团股份有限公司湖南教育出版社分公司 | A kind of web-based digital publication cuts the method and system of font |
CN108304357B (en) * | 2018-01-31 | 2020-09-08 | 北京大学 | Chinese character library automatic generation method based on font manifold |
CN112765935B (en) * | 2021-01-18 | 2024-04-26 | 上海锐线创意设计有限公司 | Character appearance personalized processing method and system |
-
2021
- 2021-01-19 CN CN202110071096.0A patent/CN112818145B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112818145A (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5687254A (en) | Searching and Matching unrecognized handwriting | |
US20130136377A1 (en) | Method and apparatus for beautifying handwritten input | |
US9715623B2 (en) | Reduced document stroke storage | |
CN103778250A (en) | Implement method for Chinese wubi cursive script dictionary query system | |
CN109472234B (en) | Intelligent recognition method for handwriting input | |
JP2004518198A (en) | Method, device and computer program for recognizing handwritten characters | |
US11257267B2 (en) | Method for generating a handwriting vector | |
WO2015163675A1 (en) | Method of processing content and electronic device using the same | |
US7702145B2 (en) | Adapting a neural network for individual style | |
KR20040053116A (en) | Component-based, adaptive stroke-order system | |
Clausner et al. | Icfhr 2018 competition on recognition of historical arabic scientific manuscripts–rasm2018 | |
CN112711362B (en) | Method and device for generating hand-drawn flow chart icon in standardized manner | |
US20050175242A1 (en) | Online handwritten character input device and method | |
CN113673432A (en) | Handwriting recognition method, touch display device, computer device and storage medium | |
US20230008529A1 (en) | Gesture stroke recognition in touch-based user interface input | |
CN103914503A (en) | System and method for generating personalized handwriting font | |
CN114120333A (en) | Natural scene ancient Chinese character recognition method and system based on deep learning | |
US11514696B2 (en) | Display device, display method, and computer-readable recording medium | |
CN112818145B (en) | Intelligent font style rendering system | |
CN101893960B (en) | Direction vector-based character recognition method and device | |
US20050276480A1 (en) | Handwritten input for Asian languages | |
CN106250035B (en) | System and method for dynamically generating personalized handwritten fonts | |
TW200811727A (en) | Method and system for font creating by handwriting | |
JP6094400B2 (en) | Information processing apparatus, information processing method, and information processing program | |
Liu et al. | Advances in chinese document and text processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |