CN104572683A - Word stroke animation processing method and device - Google Patents

Word stroke animation processing method and device Download PDF

Info

Publication number
CN104572683A
CN104572683A CN201310488073.5A CN201310488073A CN104572683A CN 104572683 A CN104572683 A CN 104572683A CN 201310488073 A CN201310488073 A CN 201310488073A CN 104572683 A CN104572683 A CN 104572683A
Authority
CN
China
Prior art keywords
stroke
word
information
pending word
descriptor
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.)
Pending
Application number
CN201310488073.5A
Other languages
Chinese (zh)
Inventor
谢国超
赵志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201310488073.5A priority Critical patent/CN104572683A/en
Publication of CN104572683A publication Critical patent/CN104572683A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B19/00Teaching not covered by other main groups of this subclass
    • G09B19/06Foreign languages
    • G09B19/08Printed or written appliances, e.g. text books, bilingual letter assemblies, charts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2213/00Indexing scheme for animation
    • G06T2213/12Rule based animation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The invention provides a character stroke animation processing method and device. The method includes: receiving a word processing request sent by a user and including words to be processed; extracting stroke description information which describes forms of the strokes of the words to be processed and which correspond to the words to be processed, from a word library file; according to the stroke description information, presenting the words to be processed. The stroke description information corresponding to the words to be processed is acquired from the word library file, and the strokes of the words to be processed are dynamically demonstrated according to the word description information; thus, automatic processing of word stroke animation is achieved, the requirement on the skill of users is greatly lowered, and making efficiency is improved.

Description

Strokes of characters animation processing method and device
Technical field
The invention belongs to typesetting system field, especially relate to a kind of strokes of characters animation processing method and device.
Background technology
Along with the development of multimedia technology, there is huge change in the mode of giving lessons of teacher.Depart from the form of traditional blackboard writing on the blackboard, the substitute is and give lessons in the mode of the electronic courseware such as such as lantern slide.For example, when the correct Writing method of the words such as professor's student Chinese character, English that are a teacher, generally can by correct writing process, the contents such as the stroke of such as Chinese character is formed, the sequential write of stroke are demonstrated to student in the mode of animation, know the correct ways of writing understanding Chinese character intuitively to make student.
For Chinese character, at present, a kind of cartoon making mode of comparatively general Chinese-character stroke adopts the animation softs such as such as flash, gif to make.When adopting this animation soft to make, need artificially that a Chinese character is carried out stroke fractionation with the form of picture, and then according to predetermined sequential write, each stroke picture is carried out animation effect and present.
This animation soft that uses manually carries out the mode of strokes of characters cartoon making, both user had been needed to grasp correct Writing method, need again user to grasp the using method of animation soft, very high requirement is proposed to the ability of user, and make efficiency is lower.
Summary of the invention
For above-mentioned Problems existing, the invention provides a kind of strokes of characters animation processing method and device, in order to overcome the defect high to user capability requirement in existing strokes of characters animation process, make efficiency is low.
The invention provides a kind of strokes of characters animation processing method, comprising:
Receive the word processing request that user sends, described process request comprises pending word;
From font file, obtain the stroke descriptor corresponding with described pending word, described stroke descriptor describes the form of expression of each stroke of described pending word;
According to described stroke descriptor, described pending word is presented.
The invention provides a kind of strokes of characters video processing apparatus, comprising:
Receiver module, for receiving the word processing request that user sends, described process request comprises pending word;
Acquisition module, for obtaining the stroke descriptor corresponding with described pending word from font file, described stroke descriptor describes the form of expression of each stroke of described pending word;
Processing module, for presenting described pending word according to described stroke descriptor.
Strokes of characters animation processing method provided by the invention and device, by expanding existing font file, the stroke descriptor corresponding with each word is added in font file, make when carrying out the stroke animated show of word, by obtaining the stroke descriptor corresponding with pending word from font file, and then according to this stroke descriptor, pending word is carried out to the dynamic demonstration of stroke, achieve the automatic processing procedure of strokes of characters animation, greatly reduce the Capability Requirement to user, and improve making treatment effeciency.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of strokes of characters animation processing method embodiment one of the present invention;
Fig. 2 is the process flow diagram of strokes of characters animation processing method embodiment two of the present invention;
Fig. 3 is the schematic diagram of strokes of characters video processing apparatus embodiment one of the present invention;
Fig. 4 is the schematic diagram of strokes of characters video processing apparatus embodiment two of the present invention.
Embodiment
Fig. 1 is the process flow diagram of strokes of characters animation processing method embodiment one of the present invention, as shown in Figure 1, the strokes of characters animation processing method that the present embodiment provides is applicable to the situation needing the correct Writing method of word to be carried out to animated show, and this word can be such as Chinese character, English, Japanese etc.Particularly, the strokes of characters animation processing method that the present embodiment provides comprises:
The word processing request that step 101, reception user send, described process request comprises pending word;
Step 102, the stroke descriptor that acquisition is corresponding with described pending word from font file, described stroke descriptor describes the form of expression of each stroke of described pending word;
Step 103, according to described stroke descriptor, described pending word to be presented.
In the present embodiment, the main body performing described strokes of characters animation processing method can be the treating apparatus of an independence or integrated setting, this treating apparatus such as can integratedly be arranged in a kind of subscriber equipment, and this subscriber equipment can be such as PC, smart mobile phone, panel computer etc.
In the present embodiment, when user needs to use certain application program to carry out the animated show of the correct Writing method of word, such as, when teacher needs to show the correct Writing method of Chinese character " forever " in a lantern slide, word processing request can be sent to described treating apparatus by this application triggers, automatically ways of writing to this " forever " word is completed to make this treating apparatus, the i.e. cartoon making process of stroke formation, stroke sequential write etc., and result is presented in this application program.
Particularly, when treating apparatus receives the word processing request of user's transmission, get the stroke descriptor corresponding with pending word by accessing the local font file stored.The information such as the such as literal code in existing font file are not only included in font file in the present embodiment, also insert the stroke descriptor corresponding respectively with each word in character library in advance, this stroke descriptor describes the form of expression of each stroke of corresponding word, and this form of expression is such as the fractionation mode, sequential write etc. of each stroke.Treating apparatus shows pending word according to this stroke descriptor, thus to achieve pending word according to sequential write by pen by carrying out the object of showing with drawing.
Further, can also comprise the display parameter information of pending word in the described word processing request in step 101, this display parameter information is that user is arranged as required voluntarily.Particularly, this display parameter information comprises at least one information in following information: color, font size, font, font.Such as user need by Chinese character " forever " with red, No. four, regular script, overstriking form show.Correspondingly, treating apparatus is after getting the stroke descriptor of pending word, and need present pending word according to this stroke descriptor and display parameter information, namely each stroke of pending word all has this display parameter information.
In the present embodiment, by expanding existing font file, the stroke descriptor corresponding with each word is added in font file, make when carrying out the stroke animated show of word, by obtaining the stroke descriptor corresponding with pending word from font file, and then according to this stroke descriptor, pending word being carried out to the dynamic demonstration of stroke, achieving the automatic processing procedure of strokes of characters animation, greatly reduce the Capability Requirement to user, and improve making treatment effeciency.
Fig. 2 is the process flow diagram of strokes of characters animation processing method embodiment two of the present invention, and as shown in Figure 2, the method comprises:
The word processing request that step 201, reception user send, described process request comprises pending word;
Step 202, the stroke descriptor that acquisition is corresponding with described pending word from font file, described stroke descriptor describes the form of expression of each stroke of described pending word, and described stroke descriptor comprises the dot array data information of each stroke in described pending word, running orbit information and sequential write information;
Step 203, according to the dot array data information of described each stroke, stroke fractionation is carried out to described pending word;
Step 204, present each stroke after fractionation successively according to the running orbit information of described each stroke and sequential write information.
In the present embodiment, after treating apparatus obtains the stroke descriptor corresponding with pending word from font file, the information according to comprising in this stroke descriptor carries out animated show process to pending word.
Particularly, described stroke descriptor comprises the dot array data information of each stroke in described pending word, running orbit information and sequential write information.Wherein, the dot array data information of stroke describes the position of this stroke in the word of correspondence and region, the running orbit information of stroke describes handwriting trace when writing this stroke, and the sequential write information of stroke describes when writing corresponding word, this stroke write order.First treating apparatus splits pending word according to the dot array data information of stroke each in stroke descriptor, obtain the stroke split result to pending word, and then according to splitting the running orbit information of each stroke that obtains and sequential write information presents each stroke successively, thus final obtain present effect be according to the sequential write of pending word by pen by show this word writing process with drawing.
In the present embodiment, after treating apparatus obtains the stroke descriptor corresponding with pending word in font file, first according to the dot array data information of each stroke in stroke descriptor, pending word is split by stroke, and then present each stroke successively according to the running orbit information of each stroke and sequential write information, achieve stroke in character calligraph process to form, the automatic making of stroke sequential write presents, manually make without the need to user, substantially increase treatment effeciency, and, font file is used to complete the process of strokes of characters animation, due to the unified standard of font file, ensure that strokes of characters splits, the correctness of sequential write, be conducive to avoiding user manually to split the inaccurate problem of the result caused.
Fig. 3 is the schematic diagram of strokes of characters video processing apparatus embodiment one of the present invention, and as shown in Figure 3, this device comprises:
Receiver module 11, for receiving the word processing request that user sends, described process request comprises pending word;
Acquisition module 12, for obtaining the stroke descriptor corresponding with described pending word from font file, described stroke descriptor describes the form of expression of each stroke of described pending word;
Processing module 13, for presenting described pending word according to described stroke descriptor.
Further, also display parameter information is comprised in described process request;
Described processing module 13, specifically for:
According to described stroke descriptor and described display parameter information, described pending word is presented.
Particularly, described display parameter information comprises at least one information in following information:
Color, font size, font, font.
The device of the present embodiment may be used for the technical scheme performing embodiment of the method shown in Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 is the schematic diagram of strokes of characters video processing apparatus embodiment two of the present invention, as shown in Figure 2, the device that the present embodiment provides is on basis embodiment illustrated in fig. 3, and described stroke descriptor comprises the dot array data information of each stroke in described pending word, running orbit information and sequential write information;
Described processing module 13, comprising:
Split cells 131, carries out stroke fractionation for the dot array data information according to described each stroke to described pending word;
Processing unit 132, for presenting each stroke after fractionation successively according to the running orbit information of described each stroke and sequential write information.
The device of the present embodiment may be used for the technical scheme performing embodiment of the method shown in Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a strokes of characters animation processing method, is characterized in that, comprising:
Receive the word processing request that user sends, described process request comprises pending word;
From font file, obtain the stroke descriptor corresponding with described pending word, described stroke descriptor describes the form of expression of each stroke of described pending word;
According to described stroke descriptor, described pending word is presented.
2. method according to claim 1, is characterized in that, described stroke descriptor comprises the dot array data information of each stroke in described pending word, running orbit information and sequential write information;
Describedly according to described stroke descriptor, described pending word to be presented, comprising:
Dot array data information according to described each stroke carries out stroke fractionation to described pending word;
The each stroke after fractionation is presented successively according to the running orbit information of described each stroke and sequential write information.
3. method according to claim 1 and 2, is characterized in that, also comprises display parameter information in described process request;
Describedly according to described stroke descriptor, described pending word to be presented, comprising:
According to described stroke descriptor and described display parameter information, described pending word is presented.
4. method according to claim 3, is characterized in that, described display parameter information comprises at least one information in following information:
Color, font size, font, font.
5. a strokes of characters video processing apparatus, is characterized in that, comprising:
Receiver module, for receiving the word processing request that user sends, described process request comprises pending word;
Acquisition module, for obtaining the stroke descriptor corresponding with described pending word from font file, described stroke descriptor describes the form of expression of each stroke of described pending word;
Processing module, for presenting described pending word according to described stroke descriptor.
6. device according to claim 5, is characterized in that, described stroke descriptor comprises the dot array data information of each stroke in described pending word, running orbit information and sequential write information;
Described processing module, comprising:
Split cells, carries out stroke fractionation for the dot array data information according to described each stroke to described pending word;
Processing unit, for presenting each stroke after fractionation successively according to the running orbit information of described each stroke and sequential write information.
7. the device according to claim 5 or 6, is characterized in that, also comprises display parameter information in described process request;
Described processing module, specifically for:
According to described stroke descriptor and described display parameter information, described pending word is presented.
8. device according to claim 7, is characterized in that, described display parameter information comprises at least one information in following information:
Color, font size, font, font.
CN201310488073.5A 2013-10-17 2013-10-17 Word stroke animation processing method and device Pending CN104572683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310488073.5A CN104572683A (en) 2013-10-17 2013-10-17 Word stroke animation processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310488073.5A CN104572683A (en) 2013-10-17 2013-10-17 Word stroke animation processing method and device

Publications (1)

Publication Number Publication Date
CN104572683A true CN104572683A (en) 2015-04-29

Family

ID=53088776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310488073.5A Pending CN104572683A (en) 2013-10-17 2013-10-17 Word stroke animation processing method and device

Country Status (1)

Country Link
CN (1) CN104572683A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992579A (en) * 2015-07-31 2015-10-21 康泰 Internet based Chinese character teaching system
CN105070119A (en) * 2015-07-31 2015-11-18 康泰 Internet based Chinese character teaching system and teaching method thereof
CN105425979A (en) * 2015-10-30 2016-03-23 河南理工大学 Implementation method for robot simulating human handwriting
CN105869465A (en) * 2016-04-08 2016-08-17 赵丽霞 Character guessing type character game device
CN106981086A (en) * 2016-01-18 2017-07-25 北大方正集团有限公司 Information broadcasting method and information play apparatus
CN107193467A (en) * 2017-04-11 2017-09-22 网易(杭州)网络有限公司 Method and apparatus for showing smart pen written contents
CN108140251A (en) * 2015-10-23 2018-06-08 微软技术许可有限责任公司 Video cycle generation
CN110489724A (en) * 2019-03-13 2019-11-22 北京壹人壹本信息科技有限公司 Synthetic method, mobile terminal and the storage medium of hand-written script
CN111241808A (en) * 2020-01-07 2020-06-05 北大方正集团有限公司 Character stroke splitting method and device
CN113610948A (en) * 2021-08-06 2021-11-05 天津洪恩完美未来教育科技有限公司 Writing interaction method, system, device, equipment and storage medium
CN117132998A (en) * 2023-08-29 2023-11-28 安徽以观文化科技有限公司 Method and system for identifying single fonts of calligraphic works

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050062740A1 (en) * 2003-06-12 2005-03-24 Sony Corporation User interface method and apparatus, and computer program
CN101630311A (en) * 2008-07-18 2010-01-20 常州华文印刷新技术有限公司 Method and device for displaying characters
CN101877183A (en) * 2009-04-29 2010-11-03 英华达(上海)电子有限公司 Character presentation method, character presentation device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050062740A1 (en) * 2003-06-12 2005-03-24 Sony Corporation User interface method and apparatus, and computer program
CN101630311A (en) * 2008-07-18 2010-01-20 常州华文印刷新技术有限公司 Method and device for displaying characters
CN101877183A (en) * 2009-04-29 2010-11-03 英华达(上海)电子有限公司 Character presentation method, character presentation device and electronic equipment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105070119A (en) * 2015-07-31 2015-11-18 康泰 Internet based Chinese character teaching system and teaching method thereof
CN104992579A (en) * 2015-07-31 2015-10-21 康泰 Internet based Chinese character teaching system
CN108140251A (en) * 2015-10-23 2018-06-08 微软技术许可有限责任公司 Video cycle generation
CN105425979A (en) * 2015-10-30 2016-03-23 河南理工大学 Implementation method for robot simulating human handwriting
CN106981086A (en) * 2016-01-18 2017-07-25 北大方正集团有限公司 Information broadcasting method and information play apparatus
CN105869465A (en) * 2016-04-08 2016-08-17 赵丽霞 Character guessing type character game device
CN105869465B (en) * 2016-04-08 2018-07-17 赵丽霞 One kind guessing font play with words device
CN107193467A (en) * 2017-04-11 2017-09-22 网易(杭州)网络有限公司 Method and apparatus for showing smart pen written contents
CN110489724A (en) * 2019-03-13 2019-11-22 北京壹人壹本信息科技有限公司 Synthetic method, mobile terminal and the storage medium of hand-written script
CN111241808A (en) * 2020-01-07 2020-06-05 北大方正集团有限公司 Character stroke splitting method and device
CN111241808B (en) * 2020-01-07 2021-12-03 北大方正集团有限公司 Character stroke splitting method and device
CN113610948A (en) * 2021-08-06 2021-11-05 天津洪恩完美未来教育科技有限公司 Writing interaction method, system, device, equipment and storage medium
CN117132998A (en) * 2023-08-29 2023-11-28 安徽以观文化科技有限公司 Method and system for identifying single fonts of calligraphic works
CN117132998B (en) * 2023-08-29 2024-05-03 安徽以观文化科技有限公司 Method and system for identifying single fonts of calligraphic works

Similar Documents

Publication Publication Date Title
CN104572683A (en) Word stroke animation processing method and device
CN108052577B (en) Universal text content mining method, device, server and storage medium
CN110458918B (en) Method and device for outputting information
CN111368562B (en) Method and device for translating characters in picture, electronic equipment and storage medium
CN109343696B (en) Electronic book commenting method and device and computer readable storage medium
CN109753968A (en) Generation method, device, equipment and the medium of character recognition model
CN111445902A (en) Data collection method and device, storage medium and electronic equipment
JP7170773B2 (en) Structured document information marking method, structured document information marking device, electronic device, computer-readable storage medium, and computer program
CN112580339B (en) Model training method and device, electronic equipment and storage medium
CN103854019A (en) Method and device for extracting fields in image
CN108961361B (en) Method and system for generating special effect text image and computer equipment
KR20190120847A (en) Ar-based writing practice method and program
CN109858005B (en) Method, device, equipment and storage medium for updating document based on voice recognition
CN108182249A (en) Text query method, apparatus and computer readable storage medium
CN105808514A (en) Information processing method and electronic device
CN105095285A (en) Navigation directory processing method and apparatus for digital publication
CN105678239A (en) Text identification method based on lattice
CN104536947A (en) Layout document processing method and device
Geng et al. Development and Design of a Compound Verb AR Learning System Employing Image Schemas.
CN102723067B (en) A kind of character display method and device
CN113038184B (en) Data processing method, device, equipment and storage medium
CN107516334B (en) Display method, device and equipment of handwriting track and storage medium
CN111399788B (en) Media file playing method and media file playing device
CN113535017B (en) Method and device for processing and synchronously displaying drawing files and storage medium
CN103491414A (en) Method and device for processing character and set top box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429