Handwriting self-adaptive correction system and method for tablet computer
Through intelligent analysis and real-time adjustment, the handwriting input module and template determination module are used to realize the adaptive handwriting correction on the tablet computer, solving the problem that handwriting correction cannot be adaptive in the existing technology, and providing a personalized and efficient writing experience .
Patent Information
- Application Number
- CN202411105043.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-08-13
AI Technical Summary
In the prior art, the handwriting correction of tablet computers cannot be adaptively corrected according to user needs, resulting in hand slips and handwriting not meeting preset standards and cannot achieve a personalized and efficient writing experience.
A system including handwriting input module, template determination module, handwriting feature acquisition module, handwriting correction module and feedback module was designed. By intelligently analyzing the user's writing actions and pause time, the handwriting is adjusted in real time to match the most similar handwriting template, and Correct and optimize based on user feedback to provide a personalized writing experience.
It realizes adaptive correction of handwriting, improves the personalization and accuracy of writing, ensures that the revised text is both beautiful and natural, supports user feedback and personalized adjustments, and the dynamic learning mechanism makes the system more and more suitable for user preferences as it uses, improving The effect and efficiency of handwriting beautification.
Smart Images

Figure CN119312772A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of writing technology, and in particular to a handwriting adaptive correction system and method for a tablet computer. Background Art
[0002] In daily life, tablet computers have brought rich and colorful life enjoyment to people. People get information and entertainment on tablet computers. They also use tablet computers for daily work, which brings convenience to people's lives. In today's era, tablet computers have become an indispensable electronic product in people's lives, especially in the field of education. Some schools use tablet computers for teaching, and students read materials and record handwriting on tablet computers, which is very convenient and efficient.
[0003] In order to meet people's needs for tablet computers, tablet computers produced by various manufacturers are generally equipped with stylus pens. However, people write on the screen after all, which is not as convenient and skillful as writing on paper. Especially when the tablet computer is covered with a film, the screen surface is slippery, and people often slip when writing, and the handwriting is not what they want to write.
[0004] The patent document with Chinese patent application publication number CN106648418A discloses a handwriting correction method and device. The device sets a predetermined angle threshold through the user's normal writing image, obtains the handwriting input by the user on the touch screen to determine the handwriting tilt angle of the input handwriting, and if the handwriting inclination is greater than the preset angle threshold, the input handwriting is rotated according to the handwriting inclination angle to perform angle correction on the inclination comparison to correct it to an angle that is easy to identify.
[0005] It can be seen that in the actual use of the prior art, handwriting correction is performed based on a preset setting as a standard, but the standard set by the actual user is not optimal. The handwriting can only be corrected to the preset standard and cannot be adaptively corrected according to the user's needs. Summary of the invention
[0006] To this end, the present invention provides a handwriting adaptive correction system and method for a tablet computer, so as to overcome the problem that the optimization standard in the prior art is one-sided and cannot achieve continuous optimization and correction of handwriting.
[0007] To achieve the above object, the present invention provides a handwriting adaptive correction system for a tablet computer, comprising:
[0008] A handwriting input module is used to receive a user's writing action in a writing area, and the writing action forms at least one character;
[0009] A template determination module, connected to the handwriting input module, for comparing the text with a handwriting library with a plurality of handwriting templates preset therein, and determining the handwriting template corresponding to the text with the highest similarity to the text formed by the writing action as the handwriting target template;
[0010] A handwriting feature collection module, connected to the handwriting input module, for collecting the pause time of the writing action;
[0011] A handwriting correction module, connected to the handwriting feature acquisition module, for correcting the text formed by the writing action to the handwriting target template when the pause time is greater than a preset time, so as to form text to be displayed;
[0012] A correction display module, connected to the handwriting correction module, for displaying the text to be displayed in the writing target area, wherein the writing area includes a plurality of the writing target areas;
[0013] A feedback module, connected to the handwriting correction module and the correction display module respectively, for determining a correction angle and a correction smoothness in the process of correcting the text to the handwriting target template;
[0014] The receiving module is used to receive the user's selection of the correction parameters, and when the user selects "no", adjust the handwriting target template based on the correction standard angle and correction standard smoothness selected by the user to form a handwriting template to be verified, and compare the handwriting template to be verified with the handwriting template to determine whether to add the handwriting template to be verified to the handwriting library.
[0015] Furthermore, the handwriting input module determines the handwriting formed by the writing action to determine whether the handwriting forms at least one character. When the handwriting input module determines that at least one character is not formed, the handwriting is not corrected.
[0016] Furthermore, the template determination module includes:
[0017] A character size adjustment unit, which adjusts the character to a character with the same font size as that in the character library;
[0018] A font similarity comparison unit, used for comparing the text with the text in the handwriting library in different ways to obtain different similarities;
[0019] The final similarity calculation unit assigns weights to the stroke length similarity and the pixel similarity to calculate a weighted similarity as the final similarity.
[0020] Furthermore, the font similarity calculation includes:
[0021] A unit stroke length comparison unit, which calculates the stroke length of the character after the character size adjustment unit adjusts the size, and compares it with the length of the character in the font library to obtain a stroke length similarity;
[0022] The image pixel comparison unit converts the text and the text in the font library into binary black and white images, compares the images pixel by pixel, calculates the number of identical pixels at the same position and compares it with the total number of text pixels to obtain pixel similarity.
[0023] Furthermore, the handwriting feature collection module collects the pause time when the writing action forms at least one character, and does not collect the pause time when the writing action does not form at least one character.
[0024] Furthermore, it is characterized in that the handwriting correction module comprises:
[0025] A handwriting inclination correction unit, wherein the characters formed by the writing action are rotated at a corresponding correction angle according to the inclination angle of the handwriting target template;
[0026] The handwriting smoothness correction unit corrects the handwriting smoothness by comparing the curvature of the character strokes formed by the writing action with the curvature of the strokes corresponding to the characters of the handwriting target template, and corrects the character strokes formed by the writing action to the same curvature angle as the handwriting target template.
[0027] Furthermore, the correction display module converts the corrected handwriting into the form required by the user, including setting the color, thickness and transparency attributes of the handwriting and setting the handwriting arrangement according to the needs of the user's usage scenario, including the spacing between characters and the size of the handwriting.
[0028] Furthermore, the feedback module displays the current correction parameters to the user in a numerical manner, including correction angle and correction smoothness, inter-character spacing, font size, and gives the user the correction angle and correction smoothness of the handwriting target template to choose whether to confirm the correction.
[0029] Furthermore, when the user selects yes, the receiving module determines that the correction is accurate, and the correction display module displays the correction. When the user selects no, the user is given the choice of correction angle and correction smoothness, and the font template to be verified that is adjusted after the user selects no is compared with the handwriting library through the template determination module to verify whether it is a template in the handwriting library.
[0030] The present invention also provides a handwriting adaptive correction method for a tablet computer, comprising:
[0031] Step S1, receiving text formed by a user's writing action on a touch screen of a tablet computer;
[0032] Step S2, comparing the text with a handwriting library with a plurality of preset handwriting templates, and determining a handwriting target template with the highest similarity to the text;
[0033] Step S3, collecting the pause duration of the user when pausing during the writing process;
[0034] Step S4, during the pause, determining whether the pause duration is greater than a preset time, and if greater than the preset time, modifying at least one of the characters formed by the user's writing action and converting it into a handwritten target template to form characters to be displayed;
[0035] Step S5, displaying the text to be displayed in the writing target area based on the handwriting form and arrangement selected by the user;
[0036] Step S6, determining a correction angle and a correction smoothness in the process of correcting the text to the handwritten target template and feeding back to the user for selection;
[0037] Step S7, receiving the user's selection of correction parameters, and directly displaying the handwriting target template when the user selects yes; when the user selects no, adjusting the handwriting target template based on the correction standard angle and correction standard smoothness selected by the user to form a handwriting template to be verified and displaying it, and comparing the handwriting template to be verified with the handwriting template to determine whether to add the handwriting template to be verified to the handwriting library.
[0038] Compared with the prior art, the beneficial effect of the present invention is that the system realizes adaptive correction of handwriting through intelligent analysis and real-time adjustment. It can not only correct the user's handwriting input instantly, but also continuously optimize the handwriting library according to the user's writing habits and feedback. This dynamic learning mechanism significantly improves the personalization and accuracy of handwriting correction. The system can capture and analyze the user's writing characteristics in real time, intelligently match the most similar handwriting template, and automatically trigger correction according to the user's writing rhythm and pause time, providing a smooth user experience. Through precise control of angle and smoothness, it ensures that the corrected text is both beautiful and natural. It supports user feedback and personalized adjustment, and continuously optimizes the template library, so that the system conforms to user preferences more and more as it is used, ensuring that the beautified text retains the user's original writing characteristics, which not only improves the effect and efficiency of handwriting beautification, but also provides users with a personalized writing experience.
[0039] Furthermore, the correction mechanism will not be activated when any complete text has not been formed, and the user's original handwriting will be retained. This can avoid unnecessary intervention in unfinished strokes, ensure the continuity and naturalness of writing, and effectively improve writing efficiency.
[0040] Furthermore, the text size adjustment unit achieves standardization of the input text by adjusting the input text to the same font size as that in the handwriting library. This step helps to eliminate the similarity recognition deviation caused by inconsistent writing size. The font similarity comparison unit uses different methods to compare the adjusted text with the text in the handwriting library and finally weights them to obtain the similarity, which helps to improve the accuracy of the target template font selection.
[0041] Furthermore, the stroke length comparison subunit and the image pixel comparison subunit evaluate the similarity of characters at both macroscopic and microscopic levels, thereby reducing the error of a single determination and helping to improve the accuracy of similarity evaluation and font recognition.
[0042] Furthermore, the note feature acquisition unit determines whether the user's pause during the writing process is a temporary pause or the writing is completed by judging the pause time, which helps to improve the correction efficiency. The preset target pause time can be adaptively adjusted according to the user's writing pause habits to avoid premature or late corrections, which is close to the user's actual needs and enhances the user's personalized experience.
[0043] Furthermore, the correction display module can adjust the handwriting color, thickness, and transparency according to user preferences to make the handwriting more personalized. The display arrangement unit can adjust the handwriting arrangement according to different usage scenarios and needs, and automatically change the handwriting spacing and handwriting size. The automated adjustment saves user time and improves the user experience.
[0044] Furthermore, the template adjusted by the user is compared and verified with the standard template in the handwriting library to ensure that the final writing result meets the user's standards. This helps to improve the recognition of text, reduce the error rate, and improve the overall writing quality. By recording the user's correction choices and adjustment process, personal writing habits can be analyzed and summarized, and used as a priority comparison to achieve more intelligent and personalized corrections. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a structural schematic diagram of a handwriting adaptive correction system for a tablet computer according to an embodiment of the present invention;
[0046] Figure 2 A schematic diagram of the structure of a template determination module according to an embodiment of the present invention;
[0047] Figure 3 This is a structural diagram of a handwriting correction module according to an embodiment of the present invention;
[0048] Figure 4 The present invention is a flowchart of a handwriting adaptive correction method for a tablet computer according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0050] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0051] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0052] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0053] See also Figure 1 As shown, the present invention provides a handwriting adaptive correction system for a tablet, comprising:
[0054] A handwriting input module is used to receive a user's writing action in a writing area, and the writing action forms at least one character;
[0055] A template determination module, connected to the handwriting input module, for comparing the text with a handwriting library with a plurality of handwriting templates preset therein, and determining the handwriting template corresponding to the text with the highest similarity to the text formed by the writing action as the handwriting target template;
[0056] A handwriting feature collection module, connected to the handwriting input module, for collecting the pause time of the writing action;
[0057] A handwriting correction module, connected to the handwriting feature acquisition module, for correcting the text formed by the writing action to the handwriting target template when the pause time is greater than a preset time, so as to form text to be displayed;
[0058] A correction display module, connected to the handwriting correction module, for displaying the text to be displayed in the writing target area, wherein the writing area includes a plurality of the writing target areas;
[0059] A feedback module, connected to the handwriting correction module and the correction display module respectively, for determining a correction angle and a correction smoothness in the process of correcting the text to the handwriting target template;
[0060] The receiving module is used to receive the user's selection of the correction parameters, and when the user selects "no", adjust the handwriting target template based on the correction standard angle and correction standard smoothness selected by the user to form a handwriting template to be verified, and compare the handwriting template to be verified with the handwriting template to determine whether to add the handwriting template to be verified to the handwriting library.
[0061] Specifically, the handwriting input module collects the handwriting formed by the user's writing action on the touch screen of the tablet computer. When the handwriting is at least one character, the template determination module calculates the similarity between the character and the character of the handwriting module to determine the handwriting target template. The characters in the writing area are corrected and displayed on the writing target area according to the user's needs. The receiving module can further add handwriting templates after receiving the user's adjustment of the correction parameters.
[0062] Specifically, the system achieves adaptive correction of handwriting through intelligent analysis and real-time adjustment. It can not only correct the user's handwriting input instantly, but also continuously optimize the handwriting library according to the user's writing habits and feedback. This dynamic learning mechanism significantly improves the personalization and accuracy of handwriting correction. The system can capture and analyze the user's writing characteristics in real time, intelligently match the most similar handwriting template, and automatically trigger correction according to the user's writing rhythm and pause time, providing a smooth user experience. Through precise control of angle and smoothness, it ensures that the corrected text is both beautiful and natural. It supports user feedback and personalized adjustment, and continuously optimizes the template library, so that the system conforms to user preferences more and more as it is used, ensuring that the beautified text retains the user's original writing characteristics, which not only improves the effect and efficiency of handwriting beautification, but also provides users with a personalized writing experience.
[0063] Specifically, the handwriting input module determines the handwriting formed by the writing action to determine whether the handwriting forms at least one character. When the handwriting input module determines that at least one character is not formed, the handwriting is not corrected.
[0064] Specifically, the handwriting formed by the writing action is recognized by the text library in the handwriting input module. When no text is recognized, the handwriting is not corrected and the user is allowed to continue writing until at least one text is formed, and then the subsequent correction process is performed.
[0065] Specifically, the correction mechanism will not be activated when any complete text has not been formed, and the user's original handwriting will be retained. This can avoid unnecessary intervention in unfinished strokes, ensure the continuity and naturalness of writing, and effectively improve writing efficiency.
[0066] Specifically, the template determination module includes:
[0067] A character size adjustment unit, which adjusts the character to a character with the same font size as that in the character library;
[0068] A font similarity comparison unit, used for comparing the stroke length and the number of pixels of the character with the characters in the handwriting library to obtain different similarities;
[0069] The final similarity calculation unit assigns 50% weights to different similarities to calculate the weighted similarity as the final similarity.
[0070] Specifically, the final similarity Q is the weighted sum of the stroke length similarity Q1 and the pixel similarity Q2, that is, Q=0.5Q1+0.5Q2.
[0071] Specifically, the text size adjustment unit achieves standardization of the input text by adjusting the input text to the same font size as that in the handwriting library. This step helps to eliminate the similarity recognition deviation caused by inconsistent writing size. The font similarity comparison unit uses different methods to compare the adjusted text with the text in the handwriting library and finally weights them to obtain the similarity, which helps to improve the accuracy of the target template font selection.
[0072] Specifically, the font similarity calculation unit includes:
[0073] A stroke length comparison subunit calculates the stroke length of the character after the character size adjustment unit adjusts the size, and compares it with the length of the character in the font library to obtain a stroke length similarity;
[0074] The image pixel comparison subunit converts the text and the text in the font library into binary black and white images, compares the images pixel by pixel, calculates the number of identical pixels at the same position and compares it with the total number of text pixels to obtain pixel similarity.
[0075] Specifically, the stroke length comparison subunit calculates the total length L of all strokes of the resized character and compares it with the length LN of all strokes of the characters in the handwriting library to obtain the stroke length similarity Q1, where the value of Q1 is the ratio of L to LN, that is, Q1=L / LN; the pixel similarity Q2 is the ratio of the number of identical pixels X at the same position between the character and the characters in the font library to the number of pixels Y of the character, that is, Q2=X / Y.
[0076] Specifically, the stroke length comparison subunit and the image pixel comparison subunit evaluate the similarity of characters at two levels, namely macroscopic and microscopic, reducing the error of single judgment and contributing to improving the accuracy of similarity evaluation and font recognition.
[0077] Specifically, the handwriting feature acquisition module collects the pause time when several at least one character is formed during the writing action, and does not collect the pause time when the writing action does not form at least one character.
[0078] Specifically, the handwriting feature acquisition module compares the pause time T with the preset target pause time T0. The preset target pause time can be adaptively adjusted according to the writing pause habits of different users. The handwriting feature acquisition module determines whether the handwriting is a temporary pause or completed based on the comparison result.
[0079] If T < T0, the handwriting feature acquisition module determines it as a temporary pause;
[0080] If T ≥ T0, the handwriting feature acquisition module determines it as completed.
[0081] In the specific implementation process, the preset target pause time T0 = 500ms. During the user's writing process, when the pause time T = 300ms, the pause time is less than the preset target pause time T0 = 500ms, and the pause determination subunit determines it as a temporary pause, and the handwriting is not corrected, and the user continues to write; when the pause time T = 1000ms, the pause time is greater than the preset target pause time T0 = 500ms, and the pause determination subunit determines it as completed, and the written handwriting is corrected by the handwriting correction module.
[0082] Specifically, the note feature acquisition unit determines whether the pause during the user's writing is a temporary pause or writing completion by judging the pause time, which helps to improve the correction efficiency. The preset target pause time can be adaptively adjusted according to the user's writing pause habits, avoiding premature or late correction, approaching the actual needs of the user, and enhancing the user's personalized experience.
[0083] Specifically, the handwriting correction module includes:
[0084] A handwriting inclination correction unit, and the characters formed by the writing action are rotated by a corresponding correction angle according to the inclination angle of the handwritten target template.
[0085] A handwriting smoothness correction unit, which compares the bending degree of the strokes of the characters formed by the writing action with the bending degree of the corresponding strokes of the characters in the handwritten target template, and corrects the strokes of the characters formed by the writing action to the same bending angle as the handwritten target template.
[0086] Specifically, the handwriting inclination correction unit selects the inclination angle to be corrected through the handwriting target template determined by the template determination module. When the handwriting target template is standard regular script, the standard regular script is parallel to the horizontal baseline, and the inclination angle is 0 degree, and the text received by the handwriting input module is inclined 3 degrees clockwise, the handwriting inclination correction unit corrects the angle by 3 degrees counterclockwise. When the text formed by the writing action has a bending angle of 31 degrees at the bent stroke, and the bending angle of the bent stroke of the handwriting template is 30 degrees, the handwriting inclination correction unit reduces the bending angle of the bent stroke by 1 degree.
[0087] Specifically, the handwriting inclination correction unit and the handwriting tilt correction unit perform standardized corrections on the text, thereby improving the overall quality of the text, making the text look more fluent and natural, and reducing the feeling of stiffness or abruptness.
[0088] Specifically, the correction display module converts the corrected handwriting into the form required by the user, including setting the color, thickness and transparency attributes of the handwriting. The user can set it as needed and set the handwriting arrangement according to the needs of the user's usage scenario, including the spacing between characters and the size of the handwriting.
[0089] Specifically, the correction display module can change the color, thickness and transparency attributes of the corrected handwriting according to user preferences, and set the handwriting layout according to the needs of different usage scenarios. When taking notes on a tablet computer, the display layout unit analyzes the size of the notebook screen and appropriately enlarges or reduces the handwriting to meet the notebook grid size; when the user uses a tablet computer to write on an external display screen, the display layout unit enlarges the spacing between characters and the handwriting.
[0090] Specifically, the correction display module can adjust the color, thickness, and transparency of the handwriting according to the user's preferences to make the handwriting more personalized. The display arrangement unit can adjust the arrangement of the handwriting according to different usage scenarios and needs, and automatically change the spacing between characters and the size of the handwriting. The automated adjustment saves the user's time and improves the user experience.
[0091] Specifically, the feedback module displays the current correction parameters to the user in a numerical manner, including correction angle and correction smoothness, inter-character spacing, font size, and gives the user the choice of whether to confirm the correction by correcting the correction angle and correction smoothness to the handwriting target template.
[0092] Specifically, the handwriting corrected according to the current correction parameters and the handwriting correction parameters are displayed, and the next step is performed based on whether the user selects to confirm the correction.
[0093] Specifically, displaying the correction parameters after correction clearly shows the direction of correction so that users can understand it more easily, and the determination of the correction also helps to improve the accuracy of the correction.
[0094] Specifically, when the user selects yes, the receiving module determines that the correction is accurate, and the correction display module displays the correction. When the user selects no, the user is given the choice of correction angle and correction smoothness, and the font template to be verified that is adjusted after the user selects no is compared with the handwriting library through the template determination module to verify whether it is a template in the handwriting library.
[0095] Specifically, when the user selects "no" in the receiving module, the user adjusts the correction angle and the correction smoothness and transmits them to the handwriting correction module. The corrected font is displayed in real time according to the user adjusting the correction angle and the correction smoothness. After the user completes the adjustment, the template font to be verified after the user's adjustment is compared with the target font in the handwriting library to confirm whether it is the template font. If it is not the template font, the template font to be verified is stored in the handwriting library and used as the priority comparison font next time.
[0096] Specifically, the user's adjusted template is compared and verified with the standard template in the handwriting library to ensure that the final writing result meets the user's standards. This helps to improve the recognition of text, reduce the error rate, and improve the overall writing quality. By recording the user's correction choices and adjustment process, personal writing habits can be analyzed and summarized, and used as a priority comparison to achieve more intelligent and personalized corrections.
[0097] Specifically, this embodiment further provides a handwriting adaptive correction method for a tablet computer, which is characterized by comprising:
[0098] Step S1, receiving text formed by a user's writing action on a touch screen of a tablet computer;
[0099] Step S2, comparing the text with a handwriting library with a plurality of preset handwriting templates, and determining a handwriting target template with the highest similarity to the text;
[0100] Step S3, collecting the pause duration of the user when pausing during the writing process;
[0101] Step S4, during the pause, determining whether the pause duration is greater than a preset time, and if greater than the preset time, modifying at least one of the characters formed by the user's writing action and converting it into a handwritten target template to form characters to be displayed;
[0102] Step S5, displaying the text to be displayed in the writing target area based on the handwriting form and arrangement selected by the user;
[0103] Step S6, determining a correction angle and a correction smoothness in the process of correcting the text to the handwritten target template and feeding back to the user for selection;
[0104] Step S7, receiving the user's selection of correction parameters, and directly displaying the handwriting target template when the user selects yes; when the user selects no, adjusting the handwriting target template based on the correction standard angle and correction standard smoothness selected by the user to form a handwriting template to be verified and displaying it, and comparing the handwriting template to be verified with the handwriting template to determine whether to add the handwriting template to be verified to the handwriting library.
[0105] Specifically, the handwriting adaptive correction system for a tablet computer provided in this embodiment can achieve the same technical effect by executing the above control method, which will not be described in detail here.
[0106] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0107] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A handwriting adaptive correction system for a tablet computer, characterized in that: include: A handwriting input module, used for receiving a user's writing action in a writing area, wherein the writing action forms at least one character; A template determination module, connected to the handwriting input module, for comparing the text with a handwriting library with a plurality of handwriting templates preset therein, and determining the handwriting template corresponding to the text with the highest similarity to the text formed by the writing action as the handwriting target template; A handwriting feature collection module, connected to the handwriting input module, for collecting the pause time of the writing action; A handwriting correction module, connected to the handwriting feature acquisition module, for correcting the text formed by the writing action to the handwriting target template when the pause time is greater than a preset time, so as to form text to be displayed; A correction display module, connected to the handwriting correction module, for displaying the text to be displayed in the writing target area, wherein the writing area includes a plurality of the writing target areas; A feedback module, connected to the handwriting correction module and the correction display module respectively, for determining a correction angle and a correction smoothness in the process of correcting the text to the handwriting target template; The receiving module is used to receive the user's selection of the correction parameters, and when the user selects "no", adjust the handwriting target template based on the correction standard angle and correction standard smoothness selected by the user to form a handwriting template to be verified, and compare the handwriting template to be verified with the handwriting template to determine whether to add the handwriting template to be verified to the handwriting library.
2. The handwriting adaptive correction system for a tablet computer according to claim 1, characterized in that: The handwriting input module determines the handwriting formed by the writing action to determine whether the handwriting forms at least one character. When the handwriting input module determines that at least one character is not formed, the handwriting is not corrected.
3. The handwriting adaptive correction system for a tablet computer according to claim 1, characterized in that: The template determination module comprises: A character size adjustment unit, which adjusts the character to a character with the same font size as that in the character library; A font similarity comparison unit, used for comparing the text with the text in the handwriting library in different ways to obtain different similarities; The final similarity calculation unit assigns weights to the stroke length similarity and the pixel similarity to calculate a weighted similarity as the final similarity.
4. The handwriting adaptive correction system for a tablet computer according to claim 3, characterized in that: The font similarity calculation unit comprises: A stroke length comparison subunit calculates the stroke length of the character after the character size adjustment unit adjusts the size, and compares it with the length of the character in the font library to obtain a stroke length similarity; The image pixel comparison subunit converts the text and the text in the font library into binary black and white images, compares the images pixel by pixel, calculates the number of identical pixels at the same position and compares it with the total number of text pixels to obtain pixel similarity.
5. The handwriting adaptive correction system for a tablet computer according to claim 1, characterized in that: The handwriting feature collection module collects the pause time when the writing action forms at least one character, and does not collect the pause time when the writing action does not form at least one character. The pause time is compared with the preset target pause time to determine whether the writing is completed.
6. The handwriting adaptive correction system for a tablet computer according to claim 1, characterized in that: The handwriting correction module comprises: A handwriting inclination correction unit, wherein the characters formed by the writing action are rotated at a corresponding correction angle according to the inclination angle of the handwriting target template; The handwriting smoothness correction unit corrects the handwriting smoothness by comparing the curvature of the character strokes formed by the writing action with the curvature of the strokes corresponding to the characters of the handwriting target template, and corrects the character strokes formed by the writing action to the same curvature angle as the handwriting target template.
7. The handwriting adaptive correction system for a tablet computer according to claim 1, characterized in that: The correction display module converts the corrected handwriting into the form required by the user, including setting the color, thickness and transparency attributes of the handwriting and setting the handwriting arrangement according to the needs of the user's usage scenario, including the spacing between characters and the size of the handwriting.
8. The handwriting adaptive correction system for a tablet computer according to claim 1, characterized in that: The feedback module displays the current correction parameters to the user in a numerical manner, including correction angle and correction smoothness, inter-character spacing, font size, and gives the user the correction angle and correction smoothness of the handwriting target template to choose whether to confirm the correction.
9. The handwriting adaptive correction system for a tablet computer according to claim 1, characterized in that: When the user selects yes, the receiving module determines that the correction is accurate, and the correction display module displays the correction. When the user selects no, the user is given the choice of correction angle and correction smoothness, and the font template to be verified that is adjusted after the user selects no is compared with the handwriting library through the template determination module to verify whether it is a template in the handwriting library.
10. A handwriting adaptive correction method for a tablet computer according to any one of claims 1 to 9, characterized in that: include: Step S1, receiving text formed by a user's writing action on a touch screen of a tablet computer; Step S2, comparing the text with a handwriting library with a plurality of preset handwriting templates, and determining a handwriting target template with the highest similarity to the text; Step S3, collecting the pause duration of the user when pausing during the writing process; Step S4, during the pause, determining whether the pause duration is greater than a preset time, and if greater than the preset time, modifying at least one of the characters formed by the user's writing action and converting it into a handwritten target template to form characters to be displayed; Step S5, displaying the text to be displayed in the writing target area based on the handwriting form and arrangement selected by the user; Step S6, determining a correction angle and a correction smoothness in the process of correcting the text to the handwritten target template and feeding back to the user for selection; Step S7, receiving the user's selection of the correction parameter, and directly displaying the handwritten target template when the user selects yes; When the user selects "no", the handwriting target template is adjusted based on the correction standard angle and correction standard smoothness selected by the user to form a handwriting template to be verified and displayed, and the handwriting template to be verified is compared with the handwriting template to determine whether to add the handwriting template to be verified to the handwriting library.
Citation Information
Patent Citations
Handwriting verification apparatus and handwriting verification method
CN103824094A
Handwriting correction method and device
CN106648418A
Information correction method and device
CN112257820A