WO2014183677A1 - 手写输入设备的原笔迹信息采集和显示方法 - Google Patents

手写输入设备的原笔迹信息采集和显示方法 Download PDF

Info

Publication number
WO2014183677A1
WO2014183677A1 PCT/CN2014/077733 CN2014077733W WO2014183677A1 WO 2014183677 A1 WO2014183677 A1 WO 2014183677A1 CN 2014077733 W CN2014077733 W CN 2014077733W WO 2014183677 A1 WO2014183677 A1 WO 2014183677A1
Authority
WO
WIPO (PCT)
Prior art keywords
stroke
handwriting
display area
input
input display
Prior art date
Application number
PCT/CN2014/077733
Other languages
English (en)
French (fr)
Inventor
朱海威
Original Assignee
Zhu Haiwei
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 Zhu Haiwei filed Critical Zhu Haiwei
Publication of WO2014183677A1 publication Critical patent/WO2014183677A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/32Digital ink

Definitions

  • the invention relates to a method for collecting and displaying original handwriting information of a handwriting input device.
  • the existing handwriting input method basically does not support the writing of more than two words, and the recognition rate of the single word is not high.
  • the fast recording such as the recording of the on-site meeting
  • the operator needs to constantly correct the previous typo, or keep turning the page to select the required Chinese characters, not only the input rate is affected.
  • the ideas will also be frequently disturbed, which is not conducive to the realization of shorthand.
  • the user can only write one word at a time.
  • the front word image is displayed in a small display grid.
  • the previous word cannot be referred to, and the effect of writing the word is as shown in Fig. 1. As shown, it is dull, boring and boring.
  • the current software does not record the relative position and relative size of the input stroke to the boundary of the display area, only the original stroke image is reduced, and then arranged in order, the displayed font is the same size, and cannot be written with real text. Feel compared.
  • the technical problem to be solved by the present invention is how to overcome the above-mentioned drawbacks of the prior art, and provide a method for collecting and displaying original handwriting information of a handwriting input device having a strong calligraphy effect.
  • the original handwriting information collection and display method of the handwriting input device comprises the following steps:
  • N input display areas and M line display areas are divided on the handwriting screen by coordinates, and each line display area is divided into W display cells, wherein M, N, W are positive integers greater than 1;
  • step (2) Determining whether the stroke vector is a valid stroke vector, and if so, saving the stroke vector and its writing time; otherwise deleting the stroke vector and its writing time, and returning to step (2);
  • step (2) If the new stroke is located in the input display area, return to step (2) to judge and process the new stroke;
  • the new stroke is located in another non-sleep input display area, it is determined that the handwriting operation in the input display area is ended, and the set of each stroke vector in the input display area is stored in the memory. At the same time, the input display area is turned to the sleep state, and the step (2) is returned, and the new stroke and the non-sleep input display area with the new stroke are determined and processed;
  • the new stroke is located in another sleep input display area, it is determined that the handwriting operation in the input display area is ended, and the set of each stroke vector in the input display area is stored in the memory.
  • the input display area is turned to the sleep state, and the original stroke image, including the boundary of the display area where the stroke image is located, is scaled down and output to the W of each line display area.
  • delete the original stroke image in the sleep input display area reactivate the hibernated input display area, and then return to step (2). Determining and processing the input area for new strokes and reactivation with new strokes;
  • the scheduled time is exceeded T, if there is no new stroke input in each input display area, it is determined that the stroke is the end of one handwriting input, and the images in each input display area are deleted, and all the images in the input display area are included, including the present display where the stroke image is located.
  • the boundary of the area is reduced in proportion, and the images are sequentially displayed on the handwriting screen by calling the conversion method in sequence according to the set line height, the percentage of the text occupying the entire line height, and the relative position of the text and the line line.
  • the corresponding display grid stores the set of stroke vectors of each input display area to the memory, and reactivates the sleep input display area.
  • the input display area is switched to the sleep state, and the handwriting does not disappear immediately, so that when the user writes a word again, the already written word can provide a reference. Therefore, the words written before and after are consistent in the stroke style and the chapter method, and the displayed handwriting handwriting images are the same as the words written by the user on the paper, which can be different in size, patchwork, more calligraphy, and the handwriting input speed is also large. increased.
  • the N is 4,
  • the four input display areas are distributed in the field on the handwriting screen. So designed, when you are hand-written continuously, you can have up to three words written in advance for reference.
  • each input display area is provided with a reference dotted line, and the above-mentioned reference dotted line is "field"
  • the "meter” grid or grid is only for reference when the user writes. So designed to facilitate writing, the reference dashed line can be visible or invisible.
  • the stroke vector when the first step is judged, if the length of the stroke vector is greater than or equal to a preset length threshold L, the stroke vector is a valid stroke vector, and the stroke vector and its writing time are retained. ; otherwise, delete the stroke vector and its writing time. So designed, simple click on the handwriting screen, no vector, not considered a valid stroke.
  • the predetermined time T It is adjustable and equipped with the corresponding operator interface.
  • Existing handwriting input devices people who write slowly, often fail to write a word, are mistaken for the end of the input, often resulting in the original handwriting written words lacking arms and legs.
  • the scheduled time will be T Set to adjustable parameters, users can adjust the appropriate scheduled time T according to their writing speed and habits.
  • a person who writes quickly can set the predetermined time T to 1 second, while a person who writes slowly can set the predetermined time T to 2 seconds.
  • a stroke spans two or more input display areas
  • the stroke is divided into the respective input display areas, and the stroke portion written first is used as the last stroke of the current word, and is connected thereto. The part is considered as the starting stroke of the next word.
  • This design is suitable for people who are used to writing between the two characters.
  • the original handwriting text is selected for recognition, and the system converts each stroke vector set into a system font, and allows the operator to proofread, and then the operator corrects the converted text and saves it as a system font.
  • each stroke as a small svg format xml string; each stroke of each word Svg format xml
  • the combination of the strings constitutes a set of stroke vectors of the word, and the set of stroke vectors is compared with the set of stroke vectors of each word in the stroke vector font of the original handwriting translation software (such as Hanwang, etc.), and the same vector information is called.
  • Word which translates handwriting into system text.
  • the written strokes and writing strokes are used as the basis for handwritten handwriting, with low repetition rate and low error rate.
  • Some people write the Chinese character "East” to simplify the last two points into one horizontal.
  • the glyph they are similar to the Chinese character "car”.
  • they When they are translated according to the stroke type, they cannot be distinguished.
  • the usual practice is that both words are Display, let the user choose.
  • the present invention adds the order and trend of each stroke, thereby distinguishing the handwriting with similar glyphs, but different strokes, which greatly improves the accuracy of the machine-readable handwriting.
  • the original handwriting information collecting and displaying method of the handwriting input device of the present invention has the advantages of:
  • the present invention divides an input area of a handwriting input device into a plurality of input display areas, so that a user can continuously input handwriting in the same input area.
  • the invention determines the validity of the handwritten information input by the handwriting device, removes the stroke vector whose length is less than the preset length threshold, reduces the information collection error of the user's hand-pointing to some extent, and improves the accuracy of the handwritten information collection. degree ;
  • the present invention sorts the stroke vectors in the handwriting device input area and the input display area according to their writing time, and stores them in the form of a stroke vector group and outputs them in time series with a single input display area as a reference, and has an input display. Area input order independence, convenient data reading and writing, easy for subsequent processing of data ;
  • the present invention retains handwriting in the svg format by converting the svg format into a bitmap method.
  • the handwriting in the svg format is displayed on the terminal device.
  • the operator can arbitrarily enlarge or abbreviate the handwriting without the handwriting being distorted without sacrificing the image quality of the handwriting.
  • the present invention can retain the size ratio and relative position of the handwritten characters with respect to the boundary of the input display area, and the operator can see the change in the size and position of the handwritten characters and see the handwriting with the calligraphy effect.
  • the invention can truly reflect the writing feeling of the person, and the whole piece is more realistic to present the effect of writing on the paper, so that the display effect is closer to the calligraphy.
  • the handwritten text delay disappearing method adopted by the present invention allows the operator to refer to the upper and lower words when handwriting input, and clearly understand the existing input.
  • the present invention allows the operator to directly save the original handwriting in the notebook, or to convert the original handwriting into a system font. Meet a variety of different usage habits.
  • the invention is suitable for use in various terminal devices that support external input, such as personal computers, smart phones, and palmtop computers.
  • Figure 1 is a schematic diagram of the original handwriting input effect of a conventional handwriting input device (only one input display area);
  • Figure 2 is a schematic diagram of the effect of writing four words on a handwriting input device with four input display areas
  • Figure 3 is a schematic diagram of the effect of writing in the sleep input display area
  • Figure 4 is the state diagram of the character display after input is completed (1)
  • Figure 5 is the state diagram of the character display after input is completed (2)
  • FIG. 6 is a flow chart of a method for collecting and displaying original handwriting information of the handwriting input device
  • Embodiment 1 As shown in FIG. 1-6, the original handwriting information collecting and displaying method of the handwriting input device of the present invention comprises the following steps:
  • N input display areas and M line display areas are divided on the handwriting screen by coordinates, and each line display area is divided into W display cells, wherein M, N, and W are positive integers greater than one;
  • step (2) Determining whether the stroke vector is a valid stroke vector, and if so, saving the stroke vector and its writing time; otherwise deleting the stroke vector and its writing time, and returning to step (2);
  • the length threshold L can take 20 pixels.
  • step (2) If the new stroke is located in the input display area, return to step (2) to judge and process the new stroke;
  • the new stroke is located in another non-sleep input display area, it is determined that the handwriting operation in the input display area is ended, and the set of each stroke vector in the input display area is stored in the memory. At the same time, the input display area is turned to the sleep state, and the step (2) is returned, and the new stroke and the non-sleep input display area with the new stroke are determined and processed;
  • the new stroke is located in another sleep input display area, it is determined that the handwriting operation in the input display area is ended, and the set of each stroke vector in the input display area is stored in the memory.
  • the input display area is turned to the sleep state, and the original stroke image, including the boundary of the display area where the stroke image is located, is scaled down and output to the W of each line display area.
  • delete the original stroke image in the sleep input display area reactivate the hibernated input display area, and then return to step (2). Determining and processing the input area for new strokes and reactivation with new strokes;
  • the predetermined time T is an adjustable parameter and is equipped with a corresponding operator interface.
  • a reference dotted line may be added to each input display area, and the above-mentioned reference dotted line is in the form of "field” "meter” or grid, which is only for reference when the user writes, and the figure is omitted.
  • Figure 2-5 shows a mobile phone handwriting screen designed in accordance with the present invention.
  • M, N, W take 4, 6, 8 respectively, and the four input display areas are distributed in the field on the handwriting screen, from top to bottom 8 Line display area, 6 display cells per line.
  • the user can continuously input four words on the same screen, one input display area writes one word, when writing one word, the input display area of the previous word enters the sleep state, and the handwriting image is displayed in gray, as shown in the figure. 2, the user is writing the fourth word, you can refer to the glyphs, sizes and strokes of the three words written before, so as to get the handwriting input effect closer to the calligraphy works.
  • the input display area (such as the upper right corner) that has been hibernated.
  • the input display area is reactivated, and the previous handwriting image disappears, and the first display grid is transferred. Displayed in the figure 3 is shown. This does not affect the input of the new word, but also refers to the words of other input display areas, and when the user continues to write other words, and so on.
  • the system judges that the handwriting input is completed, deletes the images in each input display area, and displays all the images in each input display area in sequence on the handwriting screen. Display the grid, and at the same time store the stroke vector set of each input display area to the memory, and reactivate the sleep input display area, as shown in the figure 4 is shown.
  • hand writing can be arranged from left to right in the display grid, as shown in Figure 5; even changed to vertical distribution, the diagram is omitted.
  • Embodiment 2 If a stroke spans two or more input display areas, the stroke is divided into the respective input display areas, and the stroke portion written first is used as the last stroke of the current word, and the portion connected thereto Think of the stroke of the next word. The remaining steps and methods are as described in Embodiment 1.
  • Embodiment 3 Select the original handwriting text for recognition.
  • the system converts each stroke vector set into a system font, and allows the operator to proofread, and then the operator corrects the converted text and saves it as a system font.
  • the invention provides a method for collecting and displaying original handwriting information of a handwriting input device with strong calligraphy effect, which solves the problem that the existing handwriting input device and technology cannot reach the calligraphy, the layout and the trend of the stroke, and the size of each word. Different, staggered, correspondingly interesting effects, with good industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Character Discrimination (AREA)

Abstract

一种手写输入设备的原笔迹信息采集和显示方法。现有手写原笔迹输入装置达不到书法效果,且识读翻译时,错误率高。为此,包括下述步骤:(1)通过坐标在手写屏上划分出多个输入显示区域;(2)采集子输入区域内的每个笔划的手写输入信息,并判断:①.判定该笔划是否为有效笔划矢量,若不是删除;②.该笔划后是否有新的笔划输入,并按新笔划在本输入显示区域、其他已休眠输入显示区域、其未休眠输入显示区域,三种情况分别处理。适合个人电脑、智能手机、掌上电脑等各种支持外部输入的终端设备使用。

Description

手写输入设备的原笔迹信息采集和显示方法 技术领域
本发明涉及一种手写输入设备的原笔迹信息采集和显示方法。
背景技术
近年来,个人电脑、智能手机、掌上电脑等支持外部输入的终端设备得到了广泛的应用,这些终端设备中通常会设置记事本功能。用户可以利用记事本记录重要的事件,用来提醒用户及时处理或日后查看。现有记事本通常都支持键盘输入法和手写板输入法等。其中,手写板输入方法,大致都采集用户的手写输入,通过手写识别软件等方法完成信息的输入。
就输入速度而言,现有手写输入法的缺点很明显。现有手写输入法基本上不支持两字以上连写,单字的识别率也不高。在快速记录,比如做现场会议的记录时,操作者需要不停的纠正前面的一个错字,或者不停的翻页选择所需要的汉字,不但输入速率受到影响 ,思路也会被频繁扰乱,不利于速记的实现。
现有个人电脑、智能手机、掌上电脑等支持外部输入的终端设备只有一个输入显示屏,若干个显示行,每行分为若干个显示格。用户整个屏幕内写字,每写完一字后,略作停顿一下,系统认为该字已写完,并进行贮存 ;写下一字时,上一字的图形自动消失,并转入相应显示格中显示。
就输入速度而言,上下字之间手写时,必须略作停顿,否则系统会把两个字的笔划叠加,无法识别处理,大大影响了输入速度,而且很容易出错。
就手写效果而言,用户一次只能写一个字,写后字时,前字影像转入很小的显示格中显示,写后字时,无法参照前字,写出字的效果如图 1 所示,排布呆板,生硬无趣。
就显示效果而言,由于当前软件不记录输入笔划对于本显示区域边界的相对位置及相对大小,仅仅将原有笔划影像缩小后,依次排布,显示的字体一样大小,无法与真正的文字书写感觉相比。
书法作品讲究章法、布局和笔划走势,各个字的大小不同,参差交错,相应成趣,现有手写输入设备和技术无法达到这样的效果。
发明内容
本发明要解决的技术问题是如何克服现有技术的上述缺陷,提供一种具有较强书法效果的手写输入设备的原笔迹信息采集和显示方法。
为解决上述技术问题,本手写输入设备的原笔迹信息采集和显示方法,包括下述步骤 :
(1)通过坐标在手写屏上划分出 N 个输入显示区域和 M 行显示区域,每行显示区域分为 W 个显示格,其中 M、N、 W 均为大于 1 的正整数 ;
(2)采集有笔划输入的输入显示区域内的每个笔划的手写输入信息——记录每个笔划划过的各个点的坐标,记录下每个笔画相对于本输入显示区域边界的相对位置,并记录划过各个点的时间顺序,把每一个笔划保存成一个小的 svg 格式 xml 字符串,在输入显示区域显示该笔划,并进行下述判断 ;
①. 判定该笔划矢量是否为有效笔划矢量,若是,则保存该笔划矢量及其书写时间;否则删除该笔划矢量及其书写时间,返回第(2)步;
②. 判断其后是否有新笔划输入,同时判断新笔划是位于本输入显示区域内、位于其他未休眠的输入显示区域内,还是位于其他已休眠的输入显示区域内;
若新笔划位于本输入显示区域内,则返回第(2)步,对新笔划进行判定、处理 ;
若新笔划位于其他未休眠输入显示区域内,则判定为本输入显示区域内的手写操作结束,将本输入显示区域内的各个笔划矢量的集合存贮至存储器 ;同时将本输入显示区域转休眠状态,返回第(2)步,针对新笔划及带有新笔划的未休眠输入显示区域进行判定、处理 ;
若新笔划位于其他已休眠输入显示区域内,则判定为本输入显示区域内的手写操作结束,将本输入显示区域内的各个笔划矢量的集合存贮至存储器 ;同时将本输入显示区域转休眠状态,将原有的笔划影像,包括该笔划影像所在的本显示区域的边界,同比例缩小,输出到每行显示区域的 W 个显示格中的当前格中,删除该休眠输入显示区域内的原有的笔划影像,同时重新激活已休眠的输入显示区域,然后返回第(2)步, 针对新笔划及带有新笔划的重新激活的输入显示区域判定、处理 ;
若超过预定时间 T,各个输入显示区域均没有新笔划输入,则判定该笔划为一次手写输入的结束,删除各个输入显示区域内的影像,将各个输入显示区域内的全部影像,包括该笔划影像所在的本显示区域的边界,同比例缩小,分别按顺序,通过调用转换方法,按照设定的行高、文字占满整个行高的百分比和文字与行线的相对位置,将该影像依次显示在手写屏上的相应显示格里,同时将各个输入显示区域的笔划矢量集合存贮至存储器,将已休眠的输入显示区域重新激活。
在每个输入显示区域记录笔划时,均记录下每个笔划相对于该输入显示区域的边界的位置及大小,并将同比例缩小后的影像显示到每个显示格中,字体真实反映人的书写效果,整篇下来,更为逼真呈现纸上书写的效果。
如此设计,用户在一个输入显示区域写完一字后,该输入显示区域转为休眠状态,其上字迹并不立即消失,这样用户再写下一个字时,已经写好的字,可以提供参照,从而使得前后写的字在笔划风格、章法保持一致,显示出的手写笔迹影像与用户平时在纸张上写的字一样,可以大小不同,错落有致,更具书法效果,而且手写输入速度也大幅提高了。
作为优化,所述 N 为 4, 4个输入显示区域在手写屏上呈“田”字分布。如此设计,连续手写时,最多可以有三个在先书写的字供参考。
作为优化,每个输入显示区域均设有参照虚线,上述参照虚线呈“田” “米”格或格状,仅供用户书写时参照。如此设计,便于书写,该参照虚线可显形,也可隐身。
作为优化,第①步判断时,若笔划矢量的长度大于或等于预先设定的长度阈值 L,则该笔划矢量为有效笔划矢量,且保留该笔划矢量及其书写时间 ;否则,删除该笔划矢量及其书写时间。如此设计,单纯的点击手写屏,没有矢量,不视为有效笔划。
作为优化,所述预定时间 T 为可调参数,并配有相应的操作界面。现有的手写输入装置,写得慢的人,往往一个字还没写完,就被误认为输入结束了,往往造成原笔迹写出的字缺胳膊少腿。而将预定时间 T 设为可调参数,用户可以根据自己的书写速度和习惯,调整合适的预定时间 T。
如:写字快的人,可以将预定时间 T 设定为 1 秒,而写字慢的人,可以将预定时间 T设定为 2 秒。
作为优化,若某一笔划横跨两个或多个输入显示区域,将该笔划分割给其所经过各个输入显示区域,同时将先写的笔划部分作为当前字的末笔笔划,而与之相连的部分视为下一字的起笔笔划。如此设计,适合两字之间习惯连笔的人士使用。
作为优化,选择原笔迹文字进行识别,系统把各个笔划矢量集合一一转换成系统字体,并让操作者校对,然后将操作者校对转换后的文字,并保存成为系统字体。
作为优化,进行系统文字转换时,把每一个笔划保存成一个小的 svg 格式 xml 字符串;每个字的各个笔划的 svg 格式 xml 字符串组合就构成该字的笔划矢量集合,将该笔划矢量集合与原笔迹翻译软件(如汉王等)的笔划矢量字库中各个字的笔划矢量集合进行比对,调出与之矢量信息相同的字,从而将手写笔迹翻译为系统文字。
如此设计,书写的笔划、书写笔顺都作为手写笔迹机读的依据,重码率低、出错率低。例如 :有些人在写汉字“东”字时,将最后两点简化为一横,在字形上与汉字“车”相似,仅依据笔划字形翻译时,无法区分,通常的作法是,两个字都显示,令用户选择。而本发明在字形的基础上,加上各个笔划的顺序及走势,从而将字形相近、但笔顺不同的手写字都区分开,大大提高了机读手写字迹的准确率。
与现有技术相比,本发明手写输入设备的原笔迹信息采集和显示方法的优点在于:
(1)本发明将手写输入设备的输入区域划分多个输入显示区域,使用户能够在同一个输入区域连续的手写输入 ;
(2)本发明对手写设备输入的手写信息进行有效性判定,去除长度小于预先设定长度阈值的笔划矢量,一定程度上减少了用户手误点写的信息采集误差,提高了手写信息采集的准确度 ;
(3)本发明将手写设备输入区域及输入显示区域内的各笔划矢量依照其书写时间排序,并以单个输入显示区域为基准,以笔划矢量组的形式存储并依照时间顺序输出,具有输入显示区域输入次序无关性,数据读写方便,便于数据的后续处理 ;
(4)本发明以 svg 格式保留手写笔迹,通过把 svg 格式转换成 bitmap 的方法把 svg格式的手写笔迹展示在终端设备上。在终端设备上操作者可以任意放大或缩写笔迹而笔迹不会失真,不会牺牲笔迹的图像质量。
(5)本发明可以保留手写文字相对于本输入显示区域边界的大小比例和相对位置,操作者可以看到手写文字大小和位置的变化,看到具有书法效果的手写字迹。
本发明可以真实反映人的书写感觉,整篇下来,更为逼真呈现纸上书写的效果,让显示效果更贴近书法。
(6)本发明采用的手写文字延时消失方法让操作者在手写输入时可以参考上下字,清楚了解已有的输入。
(7)本发明允许操作者在记事本内直接保存原笔迹,也可以选择将原笔迹统一识别转换成系统字体。满足多种不同的使用习惯。
本发明适合个人电脑、智能手机、掌上电脑等各种支持外部输入的终端设备使用。
附图说明
下面结合附图对本发明手写输入设备的原笔迹信息采集和显示方法作进一步说明:
图1 是在传统手写输入设备的原笔迹输入效果示意图(只有一个输入显示区域);
图2 是在含四个输入显示区域的手写输入设备上写满四个字的效果示意图 ;
图3 是在已休眠的输入显示区域写字的效果示意图 ;
图4 是输入完毕后字迹显示状态图(一);
图5 是输入完毕后字迹显示状态图(二);
图6是本手写输入设备的原笔迹信息采集和显示方法的流程图;
具体实施方式
实施方式一 :如图 1-6 所示,本发明手写输入设备的原笔迹信息采集和显示方法,包括下述步骤 :
(1)通过坐标在手写屏上划分出 N 个输入显示区域和 M 行显示区域,每行显示区域分为 W 个显示格,其中 M、N、W 均为大于 1 的正整数 ;
(2)采集有笔划输入的输入显示区域内的每个笔划的手写输入信息——记录每个笔划划过的各个点的坐标,并记录划过各个点的时间顺序,把每一个笔划保存成一个小的svg 格式 xml 字符串,在输入显示区域显示该笔划,并进行下述判断 ;
① . 判定该笔划矢量是否为有效笔划矢量,若是,则保存该笔划矢量及其书写时间;否则删除该笔划矢量及其书写时间,返回第(2)步;
判断时,若笔划矢量的长度大于或等于预先设定的长度阈值 L,则该笔划矢量为有效笔划矢量,且保留该笔划矢量及其书写时间 ;否则,删除该笔划矢量及其书写时间。长度阈值 L 可以取 20 个像素点。
② . 判断其后是否有新笔划输入,同时判断新笔划是位于本输入显示区域内、位于其他未休眠的输入显示区域内,还是位于其他已休眠的输入显示区域内,
若新笔划位于本输入显示区域内,则返回第(2)步, 对新笔划进行判定、处理 ;
若新笔划位于其他未休眠输入显示区域内,则判定为本输入显示区域内的手写操作结束,将本输入显示区域内的各个笔划矢量的集合存贮至存储器 ;同时将本输入显示区域转休眠状态,返回第(2)步, 针对新笔划及带有新笔划的未休眠输入显示区域进行判定、处理 ;
若新笔划位于其他已休眠输入显示区域内,则判定为本输入显示区域内的手写操作结束,将本输入显示区域内的各个笔划矢量的集合存贮至存储器 ;同时将本输入显示区域转休眠状态,将原有的笔划影像,包括该笔划影像所在的本显示区域的边界,同比例缩小,输出到每行显示区域的 W 个显示格中的当前格中,删除该休眠输入显示区域内的原有的笔划影像,同时重新激活已休眠的输入显示区域,然后返回第(2)步, 针对新笔划及带有新笔划的重新激活的输入显示区域判定、处理 ;
若超过预定时间 T,各个输入显示区域均没有新笔划输入,则判定该笔划为一次手写输入的结束,删除各个输入显示区域内的影像,将各个输入显示区域内的全部影像分别按顺序显示在手写屏上的相应显示格里,同时将各个输入显示区域的笔划矢量集合存贮至存储器,将已休眠的输入显示区域重新激活。所述预定时间 T 为可调参数,并配有相应的操作界面。
每个输入显示区域可增设参照虚线,上述参照虚线呈“田” “米”格或格状,仅供用户书写时参照,图略。
如图 2-5 所示为依照本发明设计地一款手机手写屏
(当然对于手机等小屏幕产品, M、W 可以取较小的正整数,如 5-8,对于笔记本电脑等大屏幕产品,M、 N、W 都可以取较大数值)
M、N、 W 分别取 4、 6, 8、 四个输入显示区域在手写屏上呈“田”字分布,自上而下 8 行显示区域,每行 6 个显示格。
用户可以在同一屏幕上连续输入四个字,一个输入显示区域写一个字,写下一个字时,上一字所在输入显示区域进入休眠状态,其字迹图像以灰色显示,如图 2 所示,用户在写第四个字,可以参照之前写的三个字的字形、大小及笔划走势,从而取得更接近书法作品的手写输入效果。
用户再写第五个字时,在之前已经休眠的输入显示区域(如右上角)内写字,此时,该输入显示区域重新激活,其内之前字迹图像消失,并转入第一个显示格中显示,如图 3 所示。这样既不影响新字的输入,又可以参照其他输入显示区域的字,用户继续写其他字时,依次类推。
如用户写完最后一字后,超过预定时间 T——如 2 秒,四个输入显示区域均无新笔划输入,则系统判断本次手写输入完毕,删除各个输入显示区域内的影像,将各个输入显示区域内的全部影像分别按顺序显示在手写屏上的相应显示格里,同时将各个输入显示区域的笔划矢量集合存贮至存储器,将已休眠的输入显示区域重新激活,如图 4 所示。
为追求书法效果,手写字在显示格中可以自左向右排布,如图 5 示 ;甚至改为竖排分布,图略。
实施方式二 :若某一笔划横跨两个或多个输入显示区域,将该笔划分割给其所经过各个输入显示区域,同时将先写的笔划部分作为当前字的末笔笔划,而与之相连的部分视为下一字的起笔笔划。其余步骤和方法如实施方式一所述。
实施方式三 :选择原笔迹文字进行识别,系统把各个笔划矢量集合一一转换成系统字体,并让操作者校对,然后将操作者校对转换后的文字,并保存成为系统字体。
进行系统文字转换时,如果原笔迹翻译软件没有笔划矢量字库,应先建立笔划矢量字库。
把每一个笔划保存成一个小的 svg 格式 xml 字符串 ;每个字的各个笔划的 svg 格式 xml 字符串组合就构成该字的笔划矢量集合,将该笔划矢量集合与原笔迹翻译软件(如汉王等)的笔划矢量字库中各个字的笔划矢量集合进行比对,调出与之矢量信息相同的字,从而将手写笔迹翻译为系统文字,其余步骤和方法如实施方式二所述。
工业实用性
本发明提供一种具有较强书法效果的手写输入设备的原笔迹信息采集和显示方法,该方法解决了现有手写输入设备和技术无法达到书法作品讲究章法、布局和笔划走势,各个字的大小不同,参差交错,相应成趣的效果,具有良好的工业实用性。

Claims (8)

  1. 一种手写输入设备的原笔迹信息采集和显示方法,包括下述步骤 :
    (1)通过坐标在手写屏上划分出 N 个输入显示区域和 M 行显示区域,每行显示区域分为W 个显示格,其中 M、N、 W 均为大于 1 的正整数 ;
    (2)采集有笔划输入的输入显示区域内的每个笔划的手写输入信息——记录每个笔划划过的各个点的坐标,记录下每个笔画相对于本输入显示区域边界的相对位置,并记录划过各个点的时间顺序,把每一个笔划保存成一个小的 svg 格式 xml 字符串,在输入显示区域显示该笔划,并进行下述判断 ;
    ① . 判定该笔划矢量是否为有效笔划矢量,若是,则保存该笔划矢量及其书写时间 ;否则删除该笔划矢量及其书写时间,返回第(2)步;
    ② . 判断其后是否有新笔划输入,同时判断新笔划是位于本输入显示区域内、位于其他未休眠的输入显示区域内,还是位于其他已休眠的输入显示区域内,
    若新笔划位于本输入显示区域内,则返回第(2)步,对新笔划进行判定、处理 ;
    若新笔划位于其他未休眠输入显示区域内,则判定为本输入显示区域内的手写操作结束,将本输入显示区域内的各个笔划矢量的集合存贮至存储器 ;同时将本输入显示区域转休眠状态,返回第(2)步, 针对新笔划及带有新笔划的未休眠输入显示区域进行判定、处理;
    若新笔划位于其他已休眠输入显示区域内,则判定为本输入显示区域内的手写操作结束,将本输入显示区域内的各个笔划矢量的集合存贮至存储器 ;同时将本输入显示区域转休眠状态,将原有的笔划影像,包括该笔划影像所在的本显示区域的边界,同比例缩小,输出到每行显示区域的 W 个显示格中的当前格中,删除该休眠输入显示区域内的原有的笔划影像,同时重新激活已休眠的输入显示区域,然后返回第(2)步, 针对新笔划及带有新笔划的重新激活的输入显示区域判定、处理 ;
    若超过预定时间 T,各个输入显示区域均没有新笔划输入,则判定该笔划为一次手写输入的结束,删除各个输入显示区域内的影像,将各个输入显示区域内的全部影像,包括该笔划影像所在的本显示区域的边界,同比例缩小,分别按顺序,通过调用转换方法,按照设定的行高、文字占满整个行高的百分比和文字与行线的相对位置,将该影像依次显示在手写屏上的相应显示格里,同时将各个输入显示区域的笔划矢量集合存贮至存储器,将已休眠的输入显示区域重新激活。
  2. 根据权利要求 1 所述的手写输入设备的原笔迹信息采集和显示方法,其特征在于 :所述 N 为 4,4个输入显示区域在手写屏上呈 “田”字分布。
  3. 根据权利要求 2 所述的手写输入设备的原笔迹信息采集和显示方法,其特征在于 :每个输入显示区域均设有参照虚线,上述参照虚线呈“田” “米”格或格状,仅供用户书写时参照。
  4. 根据权利要求 3 所述的手写输入设备的原笔迹信息采集和显示方法,其特征在于 :第①步判断时,若笔划矢量的长度大于或等于预先设定的长度阈值 L,则该笔划矢量为有效笔划矢量,且保留该笔划矢量及其书写时间 ;否则,删除该笔划矢量及其书写时间。
  5. 根据权利要求 1 至 4 任一所述的手写输入设备的原笔迹信息采集和显示方法,其特征在于 :所述预定时间 T 为可调参数,并配有相应的操作界面。
  6. 根据权利要求 5 所述的手写输入设备的原笔迹信息采集和显示方法,其特征在于 :若某一笔划横跨两个或多个输入显示区域,将该笔划分割给其所经过各个输入显示区域,同时将先写的笔划部分作为当前字的末笔笔划,而与之相连的部分视为下一字的起笔笔划。
  7. 根据权利要求 6 所述的手写输入设备的原笔迹信息采集和显示方法,其特征在于 :选择原笔迹文字进行识别,系统把各个笔划矢量集合一一转换成系统字体,并让操作者校对,然后将操作者校对转换后的文字,并保存成为系统字体。
  8. 根据权利要求 7 所述的手写输入设备的原笔迹信息采集和显示方法,其特征在于 :进行系统文字转换时,把每一个笔划保存成一个小的 svg 格式 xml 字符串 ;每个字的各个笔划的 svg 格式 xml 字符串组合就构成该字的笔划矢量集合,将该笔划矢量集合与原笔迹翻译软件的笔划矢量字库中各个字的笔划矢量集合进行比对,调出与之矢量信息相同的字,从而将手写笔迹翻译为系统文字。
PCT/CN2014/077733 2013-05-17 2014-05-16 手写输入设备的原笔迹信息采集和显示方法 WO2014183677A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310185599.6 2013-05-17
CN201310185599.6A CN103268166B (zh) 2013-05-17 2013-05-17 手写输入设备的原笔迹信息采集和显示方法

Publications (1)

Publication Number Publication Date
WO2014183677A1 true WO2014183677A1 (zh) 2014-11-20

Family

ID=49011801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077733 WO2014183677A1 (zh) 2013-05-17 2014-05-16 手写输入设备的原笔迹信息采集和显示方法

Country Status (2)

Country Link
CN (1) CN103268166B (zh)
WO (1) WO2014183677A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108564639A (zh) * 2018-04-27 2018-09-21 广州视源电子科技股份有限公司 笔迹保存方法、装置、智能交互设备及可读存储介质
US10169648B2 (en) 2015-01-28 2019-01-01 Motorola Solutions, Inc. Method and device for inputting handwriting character
CN111143541A (zh) * 2020-03-07 2020-05-12 合肥煜极网络科技有限公司 一种基于手写字迹进行深度学习的字体生成系统
CN111433787A (zh) * 2017-12-26 2020-07-17 深圳市柔宇科技有限公司 手写输入装置及其输入提示方法
CN111752337A (zh) * 2019-03-26 2020-10-09 技嘉科技股份有限公司 电子装置
CN112506369A (zh) * 2020-11-20 2021-03-16 广州朗国电子科技有限公司 一种物理笔迹转换电子笔迹的方法、电子设备、存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268166B (zh) * 2013-05-17 2015-12-09 山东明海软件技术有限公司 手写输入设备的原笔迹信息采集和显示方法
CN103488711B (zh) * 2013-09-09 2017-06-27 北京大学 一种快速制作矢量字库的方法及系统
CN103677311A (zh) * 2014-01-02 2014-03-26 朱海威 便于修改的手写输入设备快速输入法
CN105630368A (zh) * 2014-11-03 2016-06-01 夏普株式会社 手写内容划分方法和设备、以及手写内容编辑设备
CN105868590B (zh) 2015-01-19 2019-09-10 阿里巴巴集团控股有限公司 一种笔迹数据处理方法和装置
CN105260751B (zh) * 2015-11-02 2019-02-26 冯清亮 一种文字识别方法及其系统
CN106406731A (zh) * 2016-09-06 2017-02-15 东莞优闪电子科技有限公司 原笔迹书写同屏显示方法及系统
CN107292084B (zh) * 2017-05-09 2020-12-08 浙江大学 一种医疗处方自动转移方法
WO2020054185A1 (ja) * 2018-09-14 2020-03-19 Necソリューションイノベータ株式会社 表示更新装置、表示更新方法、プログラム、および記録媒体
WO2020102937A1 (zh) * 2018-11-19 2020-05-28 深圳市柔宇科技有限公司 手写笔迹处理方法、手写输入设备及计算机可读存储介质
CN112860157B (zh) * 2019-11-12 2022-06-24 广州视源电子科技股份有限公司 显示元素调整方法、装置、设备及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1678977A (zh) * 2003-01-30 2005-10-05 富士通株式会社 手写输入设备及方法
CN101281594A (zh) * 2007-03-29 2008-10-08 株式会社东芝 笔迹确定装置和方法
CN101470549A (zh) * 2007-12-27 2009-07-01 汉王科技股份有限公司 一种用于信息处理终端上的笔迹处理方法及系统
CN101539822A (zh) * 2009-01-21 2009-09-23 宇龙计算机通信科技(深圳)有限公司 一种触摸屏手写区域识别方法、系统及触摸屏设备
US20110316882A1 (en) * 2010-06-25 2011-12-29 Blose Andrew C Use of handwritten notations from photographs
CN102866856A (zh) * 2012-09-05 2013-01-09 鸿富锦精密工业(深圳)有限公司 手写输入笔迹的处理方法及装置
CN103176651A (zh) * 2013-03-05 2013-06-26 济南道能仁晟软件技术有限公司 一种手写信息快速采集方法
CN103268166A (zh) * 2013-05-17 2013-08-28 济南道能仁晟软件技术有限公司 手写输入设备的原笔迹信息采集和显示方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1678977A (zh) * 2003-01-30 2005-10-05 富士通株式会社 手写输入设备及方法
CN101281594A (zh) * 2007-03-29 2008-10-08 株式会社东芝 笔迹确定装置和方法
CN101470549A (zh) * 2007-12-27 2009-07-01 汉王科技股份有限公司 一种用于信息处理终端上的笔迹处理方法及系统
CN101539822A (zh) * 2009-01-21 2009-09-23 宇龙计算机通信科技(深圳)有限公司 一种触摸屏手写区域识别方法、系统及触摸屏设备
US20110316882A1 (en) * 2010-06-25 2011-12-29 Blose Andrew C Use of handwritten notations from photographs
CN102866856A (zh) * 2012-09-05 2013-01-09 鸿富锦精密工业(深圳)有限公司 手写输入笔迹的处理方法及装置
CN103176651A (zh) * 2013-03-05 2013-06-26 济南道能仁晟软件技术有限公司 一种手写信息快速采集方法
CN103268166A (zh) * 2013-05-17 2013-08-28 济南道能仁晟软件技术有限公司 手写输入设备的原笔迹信息采集和显示方法

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10169648B2 (en) 2015-01-28 2019-01-01 Motorola Solutions, Inc. Method and device for inputting handwriting character
CN111433787A (zh) * 2017-12-26 2020-07-17 深圳市柔宇科技有限公司 手写输入装置及其输入提示方法
CN108564639A (zh) * 2018-04-27 2018-09-21 广州视源电子科技股份有限公司 笔迹保存方法、装置、智能交互设备及可读存储介质
CN111752337A (zh) * 2019-03-26 2020-10-09 技嘉科技股份有限公司 电子装置
CN111143541A (zh) * 2020-03-07 2020-05-12 合肥煜极网络科技有限公司 一种基于手写字迹进行深度学习的字体生成系统
CN111143541B (zh) * 2020-03-07 2023-11-03 合肥煜极网络科技有限公司 一种基于手写字迹进行深度学习的字体生成系统
CN112506369A (zh) * 2020-11-20 2021-03-16 广州朗国电子科技有限公司 一种物理笔迹转换电子笔迹的方法、电子设备、存储介质
CN112506369B (zh) * 2020-11-20 2022-08-16 广州朗国电子科技股份有限公司 一种物理笔迹转换电子笔迹的方法、电子设备、存储介质

Also Published As

Publication number Publication date
CN103268166B (zh) 2015-12-09
CN103268166A (zh) 2013-08-28

Similar Documents

Publication Publication Date Title
WO2014183677A1 (zh) 手写输入设备的原笔迹信息采集和显示方法
TWI639957B (zh) 保存原筆跡手寫字的系統及方法
US5260697A (en) Computer with separate display plane and user interface processor
CN106547433B (zh) 书写笔迹确定方法及装置
US9703392B2 (en) Methods and apparatus for receiving, converting into text, and verifying user gesture input from an information input device
CN101262663A (zh) 一种可临摹的移动终端设备及其实现方法
CN106527940B (zh) 书写笔迹确定方法及装置
CN111142770A (zh) 一种生成笔锋的方法及处理装置
CN101339703A (zh) 基于计算机的练习文字书写的方法
CN101281444A (zh) 一种信息记录方法、系统及移动通信终端
CN109189314B (zh) 手写设备的书写引导方法、装置、设备及介质
CN107272881A (zh) 一种信息输入方法及装置,输入法键盘和电子设备
CN104821005A (zh) 可模拟笔势风格的汉字书法作品书写过程动态复现的方法
JP2012053867A (ja) 手書きデータ出力処理装置
US20040100454A1 (en) Pen input method and device for pen computing system
US20190369935A1 (en) Electronic whiteboard, electronic whiteboard system and control method thereof
CN113485570B (zh) 多人书写方法、装置、计算机可读存储介质及终端设备
CN109584129A (zh) 一种书法的临摹方法和装置
CN103489268B (zh) 一种用于pos平台的阿拉伯语显示方法
JP2019067111A (ja) 表示制御装置及びプログラム
CN203630751U (zh) 一种智能手写键盘和触控鼠标的组合板
JP4064364B2 (ja) 編集装置、編集方法、プログラムおよび記録媒体
CN102193647B (zh) 形状码及触摸屏的区位汉字输入法
WO2015100691A1 (zh) 便于修改的手写输入设备快速输入法
CN112181268A (zh) 一种基于智能笔的答题方法、装置、终端和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14798341

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14798341

Country of ref document: EP

Kind code of ref document: A1