A method and system for adaptively displaying handwritten input text on an interactive all-in-one machine

By obtaining the screen size parameters of the interactive all-in-one machine and the pressure traces of handwritten input text, combined with the rectangular eight-bit fixed-point method, the size and position of the handwritten input text are adjusted, which solves the problem of uneven display in the existing technology and improves the user's visual experience. and comfort of use.

CN117762547BActive Publication Date: 2024-08-30GUANGZHOU BAOLUN ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311792149.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2024-08-30
Estimated Expiration
2043-12-22

AI Technical Summary

Technical Problem

The existing handwriting input text display technology of interactive all-in-one machines cannot effectively solve the adaptive problem of the size and position of written text, resulting in uneven display and difficult to read quickly.

Method used

By obtaining the screen size parameters of the interactive all-in-one machine and the pressure traces of handwritten input text, combined with the rectangular eight-bit fixed-point method, the size and position of the handwritten input text are adjusted to ensure that the output font size and position are standardized.

Benefits of technology

It achieves a more standardized text display, improves the user's visual experience and comfort, and ensures adaptive adjustment of text size and position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117762547B
    Figure CN117762547B
Patent Text Reader

Abstract

The present invention discloses a method and system for adaptively displaying handwritten input text of an interactive all-in-one machine, comprising: obtaining the screen size parameters and pressure traces of the handwritten input text of the interactive all-in-one machine; obtaining the font size of the interactive all-in-one machine according to the screen size parameters of the interactive all-in-one machine and in combination with the screen-to-character ratio parameter; converting the pressure traces of the handwritten input text into character codes to obtain the handwritten input text, and determining the area corresponding to the handwritten input text; obtaining the standard center point of the area according to the area corresponding to the handwritten input text by using the rectangular eight-bit fixed point method; adjusting the position and size of the handwritten input text according to the standard center point and in combination with the font size of the interactive all-in-one machine. The present invention realizes a more standardized display of the size and position of the handwritten input text of the all-in-one machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of handwriting input text display of an interactive all-in-one machine, and in particular to a method and system for self-adapting handwriting input text display of an interactive all-in-one machine. Background Art

[0002] The intelligent interactive all-in-one machine is a terminal device that integrates multiple functions. It usually uses a touch screen as the main input method for handwriting input. Due to the different writing habits of different users, each word input by handwriting is randomly unequal in size, and the final presentation state will be distorted and tilted.

[0003] However, the prior art only considers that the written text can be displayed normally in the target area, but does not consider the shape, size and position of the displayed text, resulting in the text content in the all-in-one machine being not neat and beautiful and not easy to read quickly. Therefore, a method is needed to adaptively adjust the display of handwritten input text in the all-in-one machine. Summary of the invention

[0004] The present invention provides a method and system for adaptively displaying handwritten input text of an interactive all-in-one machine, which realizes more standardized display of the size and position of handwritten input text of the all-in-one machine.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for adaptively displaying handwritten input text in an interactive all-in-one machine, comprising:

[0006] Get the screen size parameters and handwriting input text pressure traces of the interactive all-in-one machine;

[0007] According to the screen size parameter of the interactive all-in-one machine and the screen-to-character ratio parameter, the font size of the interactive all-in-one machine is obtained;

[0008] Convert the pressure trace of the handwritten input text into a character code to obtain the handwritten input text, and determine the area corresponding to the handwritten input text;

[0009] According to the area corresponding to the handwritten input text, a standard center point of the area is obtained by using a rectangular eight-bit fixed point method;

[0010] According to the standard center point and in combination with the font size of the interactive all-in-one machine, the position and size of the handwritten input text are adjusted respectively.

[0011] It can be understood that, compared with the prior art, the method provided by the present invention realizes the adaptive size presentation of the written font under the normal condition without font parameter adjustment through the screen size parameter and the screen-to-character ratio parameter. According to the pressure traces of the handwritten input text, the input content is identified, and the two-dimensional plane shape formed by the writing points is located through the rectangular eight-bit fixed point method, the center position of the input content is determined, and the position of the handwritten input text is adjusted. The output font size and position are standardized to give users a more comfortable viewing and usage experience.

[0012] Furthermore, the obtaining of the screen size parameters of the interactive all-in-one machine and the pressure trace of the handwriting input text specifically includes:

[0013] Receive a handwriting input prompt signal and obtain the handwriting input text pressure trace of the interactive all-in-one machine;

[0014] Determine the handwriting input text round of the interactive all-in-one machine according to the handwriting input prompt signal, and if the handwriting input text round is the first input, obtain the screen size parameter of the interactive all-in-one machine;

[0015] When the reception interval of the handwriting input prompt signal exceeds the preset time, the acquisition of the handwriting input text pressure trace is terminated.

[0016] It is understandable that the method provided by the present invention obtains the writing traces formed by pressure in real time by receiving the handwriting input prompt signal. In particular, the screen size parameters need to be obtained for the initial input so as to calculate the font size later, and the saved font size can be directly obtained for non-initial input. If the signal reception interval exceeds the preset time, the acquisition of the handwriting input text pressure trace is terminated to ensure that the system can release resources in time and improve processing efficiency.

[0017] Furthermore, the step of converting the pressure trace of the handwritten input text into a character code to obtain the handwritten input text and determining the area corresponding to the handwritten input text specifically includes:

[0018] Converting the pressure trace of the handwritten input text into a character code, and matching the character code with the text font library data to obtain the handwritten input text;

[0019] The area corresponding to the handwritten input text is determined according to the hierarchical node data corresponding to the font strokes in the handwritten input text.

[0020] It can be understood that the method provided by the present invention converts the pressure traces of handwritten input text into character codes and matches the text font library, which helps to further refine and accurately process and analyze the handwritten input text.

[0021] Furthermore, the method of obtaining the standard center point of the area corresponding to the handwritten input text by using a rectangular eight-bit fixed point method specifically includes:

[0022] According to the area corresponding to the handwritten input text, a circumscribed rectangle of the area is obtained;

[0023] The four vertices and the midpoints of the four sides of the circumscribed rectangle are obtained by using the rectangular eight-bit fixed-point method, and the diagonal vertices and the midpoints of the opposite sides of the circumscribed rectangle are connected respectively to obtain the standard center point of the area.

[0024] It is understandable that the method provided by the present invention uses the rectangular eight-bit fixed-point method to more easily obtain the standard center point of the area corresponding to the handwritten input text, so that the position of the handwritten input text can be adjusted according to the standard center point later.

[0025] Furthermore, adjusting the position and size of the handwritten input text according to the standard center point and the font size of the interactive all-in-one machine specifically includes:

[0026] Adjust the size of the handwritten input text according to the font size of the interactive all-in-one machine;

[0027] The standard center point is used as the center of the handwritten input text, and the offset between each character in the handwritten input text and the center of the handwritten input text is calculated respectively, and the position of the handwritten input text is adjusted according to the offset and the preset spacing.

[0028] It can be understood that the method provided by the present invention uses the font size obtained by the screen size parameter to adaptively scale the size of the handwritten input text without adjusting the font parameters. By calculating the offset between each character and the standard center point in the handwritten input text, the position of the handwritten input text is adjusted, which helps to ensure the appropriate spacing between the handwritten input text and the aesthetics of the overall layout, and enhance the user's visual experience of the interactive all-in-one machine.

[0029] Accordingly, an embodiment of the present invention further provides an interactive all-in-one machine handwriting input text adaptive display system, comprising:

[0030] A data acquisition module is used to obtain the screen size parameters of the interactive all-in-one machine and the pressure traces of handwriting input text;

[0031] A font size determination module, used to obtain the font size of the interactive all-in-one machine according to the screen size parameter of the interactive all-in-one machine and the screen-to-character ratio parameter;

[0032] A handwriting area determination module, used to convert the pressure trace of the handwriting input text into a character code, obtain the handwriting input text, and determine the area corresponding to the handwriting input text;

[0033] A center point determination module, used to obtain the standard center point of the area corresponding to the handwritten input text by using a rectangular eight-bit fixed point method;

[0034] The display adjustment module is used to adjust the position and size of the handwritten input text according to the standard center point and the font size of the interactive all-in-one machine.

[0035] It can be understood that, compared with the prior art, the system provided by the present invention obtains the font size of the interactive all-in-one machine by combining the screen size parameter of the interactive all-in-one machine with the screen-to-character ratio parameter, and realizes adaptive adjustment of the size of handwritten input text without font parameters. According to the pressure traces of the handwritten input text, the input content is identified, and the two-dimensional plane shape formed by the writing points is located by the rectangular eight-bit fixed point method, the center position of the input content is determined, and the position of the handwritten input text is adjusted, thereby standardizing the size and position display of the handwritten input text, and further improving the visual experience of the user of the interactive all-in-one machine.

[0036] Furthermore, the data acquisition module specifically includes:

[0037] The pressure trace acquisition submodule is used to receive the handwriting input prompt signal and obtain the pressure trace of the handwriting input text of the interactive all-in-one machine;

[0038] A screen size acquisition submodule, used to determine the handwriting input text round of the interactive all-in-one machine according to the handwriting input prompt signal, and if the handwriting input text round is the first input, obtain the screen size parameters of the interactive all-in-one machine;

[0039] The end judgment submodule is used to end obtaining the pressure trace of the handwriting input text when the reception interval of the handwriting input prompt signal exceeds a preset time.

[0040] It is understandable that the system provided by the present invention obtains the writing traces formed by pressure in real time by receiving the handwriting input prompt signal. In particular, the screen size parameters need to be obtained for the initial input so as to calculate the font size later, and the saved font size can be directly obtained for non-initial input. If the signal reception interval exceeds the preset time, the acquisition of the handwriting input text pressure trace is terminated to ensure that the system can release resources in time and improve processing efficiency.

[0041] Furthermore, the handwriting area determination module specifically includes:

[0042] A font matching submodule, used for converting the pressure trace of the handwritten input text into a character code, and matching the character code with the text font library data to obtain the handwritten input text;

[0043] The region analysis submodule is used to determine the region corresponding to the handwritten input text according to the hierarchical node data corresponding to the font strokes in the handwritten input text.

[0044] It can be understood that the system provided by the present invention converts the pressure traces of handwritten input text into character codes and matches the text font library, which helps to further refine and accurately process and analyze the handwritten input text.

[0045] Furthermore, the center point determination module specifically includes:

[0046] A submodule for determining a bounding rectangle, for obtaining a bounding rectangle of an area according to the area corresponding to the handwritten input text;

[0047] The center point acquisition submodule is used to obtain the four vertices and the midpoints of the four sides of the circumscribed rectangle through the rectangular eight-bit fixed point method, and respectively connect the diagonal vertices and the midpoints of the opposite sides of the circumscribed rectangle to obtain the standard center point of the area.

[0048] It is understandable that the system provided by the present invention uses the rectangular eight-bit fixed-point method to more easily obtain the standard center point of the area corresponding to the handwritten input text, so that the position of the handwritten input text can be adjusted according to the standard center point later.

[0049] Furthermore, the display adjustment module specifically includes:

[0050] A size adjustment submodule, used to adjust the size of handwritten input text according to the font size of the interactive all-in-one machine;

[0051] The position adjustment submodule is used to use the standard center point as the center of the handwritten input text, calculate the offset between each character in the handwritten input text and the center of the handwritten input text, and adjust the position of the handwritten input text according to the offset and the preset spacing.

[0052] It is understandable that the system provided by the present invention obtains the font size through the screen size parameter, and adaptively scales the size of the handwritten input text without adjusting the font parameters. By calculating the offset between each character and the standard center point in the handwritten input text, the position of the handwritten input text is adjusted, which helps to ensure the appropriate spacing between the handwritten input text and the aesthetics of the overall layout, and enhances the user's visual experience of the interactive all-in-one machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 : A flowchart of a method for adaptively displaying handwritten input text on an interactive all-in-one machine provided in an embodiment of the present invention;

[0054] Figure 2: A structural diagram of a handwriting input text adaptive display system for an interactive all-in-one machine provided in an embodiment of the present invention;

[0055] Figure 3 : A schematic diagram of the internal structure of a display adjustment module in a handwriting input text adaptive display system of an interactive all-in-one machine provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] The interactive all-in-one machine has a writing function. On its touch screen, it can obtain the user's writing content in the writing area and present it in the target area. Due to different writing habits of users, the presentation form is also different. In order to improve the user's visual experience of using the interactive all-in-one machine, it is necessary to standardize the size and position of the handwritten input text of the interactive all-in-one machine.

[0058] Embodiment 1

[0059] Please refer to Figure 1 , which is a flow chart of the steps of a method for adaptively displaying handwritten input text in an interactive all-in-one machine provided by an embodiment of the present invention, including S101-S105, and each step is specifically as follows.

[0060] S101: Obtaining screen size parameters of the interactive all-in-one machine and pressure traces of handwriting input text.

[0061] In this embodiment, a handwriting input prompt signal is received to obtain the handwriting input text pressure trace of the interactive all-in-one machine; based on the handwriting input prompt signal, the handwriting input text round of the interactive all-in-one machine is determined, and if the handwriting input text round is the first input, the screen size parameters of the interactive all-in-one machine are obtained; when the reception interval of the handwriting input prompt signal exceeds the preset time, the acquisition of the handwriting input text pressure trace is terminated.

[0062] As a preferred solution, the preset time corresponding to the reception interval of the handwriting input prompt signal is 2 seconds.

[0063] It should be noted that in order to eliminate accidental touch events, a capacitive pen is specified for writing. Normalized writing pauses are greater than or equal to 2 seconds. First, it is subjectively considered that writing is over and writing is paused during this period, which is in line with the process judgment logic; second, the writing pause is caused by human thinking. Generally speaking, the text continuation after the writing pause will be continuously written in the back. This technical point is to pre-process the handwritten text image of the connected area, and output the organized text according to the rectangular eight-bit fixed point in the handwritten area without large regional deviation.

[0064] It should be noted that if the handwriting input text round is not the first input, the font size of the interactive all-in-one machine can be directly obtained, and the process jumps to S103.

[0065] It is understandable that the method provided by the present invention obtains the writing traces formed by pressure in real time by receiving the handwriting input prompt signal. In particular, the screen size parameters need to be obtained for the initial input so as to calculate the font size later, and the saved font size can be directly obtained for non-initial input. If the signal reception interval exceeds the preset time, the acquisition of the handwriting input text pressure trace is terminated to ensure that the system can release resources in time and improve processing efficiency.

[0066] S102: Obtaining the font size of the interactive all-in-one machine according to the screen size parameter of the interactive all-in-one machine and the screen-to-character ratio parameter.

[0067] As a preferred solution, the screen-to-character ratio parameter ξ is (read as “zero point zero three zero seven six nine two, three zero seven six nine two repeating”) ≈ 3.07692%.

[0068] It should be noted that the most common size of a conventional intelligent interactive all-in-one machine is 65 inches, and the font size of handwritten characters on the screen is usually 2 inches. The two most commonly used sizes are taken to obtain the screen-to-character ratio parameter ξ, and then the screen-to-character ratio parameter ξ is used to obtain the unique and permanently reusable font size pt of each intelligent interactive all-in-one machine. The specific formula is: Among them, a is the screen size parameter of the interactive all-in-one machine; ξ is the screen-to-character ratio parameter; pt is the font size, and 1pt is equal to 1 / 72 inch.

[0069] S103: Convert the pressure trace of the handwritten input text into a character code to obtain the handwritten input text, and determine the area corresponding to the handwritten input text.

[0070] In an embodiment, the pressure traces of the handwritten input text are converted into character codes, and the character codes are matched with text font library data to obtain the handwritten input text; and the area corresponding to the handwritten input text is determined based on the hierarchical node data corresponding to the font strokes in the handwritten input text.

[0071] It should be noted that the handwritten input text can be a single word or a sentence, and both are recognized as a single content block in an independent writing area. For a single content block, it is necessary to perform connected area analysis on multiple discrete position pixels therein.

[0072] S104: According to the area corresponding to the handwritten input text, a standard center point of the area is obtained by using a rectangular eight-bit fixed point method.

[0073] In this embodiment, the circumscribed rectangle of the area is obtained based on the area corresponding to the handwritten input text; the four vertices and the midpoints of the four sides of the circumscribed rectangle are obtained by the rectangular eight-bit fixed-point method, and the diagonal vertices and the midpoints of the opposite sides of the circumscribed rectangle are connected respectively to obtain the standard center point of the area.

[0074] It is understandable that the method provided by the present invention uses the rectangular eight-bit fixed-point method to more easily obtain the standard center point of the area corresponding to the handwritten input text, so that the position of the handwritten input text can be adjusted according to the standard center point later.

[0075] S105: adjusting the position and size of the handwritten input text according to the standard center point and the font size of the interactive all-in-one machine.

[0076] In this embodiment, the size of the handwritten input text is adjusted according to the font size of the interactive all-in-one machine; the standard center point is used as the center of the handwritten input text, and the offset between each character in the handwritten input text and the center of the handwritten input text is calculated respectively, and the position of the handwritten input text is adjusted according to the offset and the preset spacing.

[0077] When it is necessary to explain, considering the different writing habits of users, the content blocks whose reception interval of the handwriting input prompt signal exceeds the preset time but the area corresponding to the handwriting input text is within the preset range are arranged at the same level.

[0078] It can be understood that the method provided by the present invention uses the font size obtained by the screen size parameter to adaptively scale the size of the handwritten input text without adjusting the font parameters. By calculating the offset between each character and the standard center point in the handwritten input text, the position of the handwritten input text is adjusted, which helps to ensure the appropriate spacing between the handwritten input text and the aesthetics of the overall layout, and enhance the user's visual experience of the interactive all-in-one machine.

[0079] The method provided by the present invention realizes the adaptive size presentation of the written font under the condition of normalization without font parameter adjustment through the screen size parameter and the screen-to-character ratio parameter. According to the pressure trace of the handwritten input text, the input content is identified, and the two-dimensional plane shape formed by the writing points is located through the rectangular eight-bit fixed point method, the center position of the input content is determined, and the position of the handwritten input text is adjusted. The output font size and position are standardized to give users a more comfortable viewing and use experience.

[0080] Embodiment 2

[0081] Please refer to Figure 2 , which is a structural diagram of a handwriting input text adaptive display system for an interactive all-in-one machine provided in an embodiment of the present invention, wherein the system comprises: a data acquisition module 201, a font size determination module 202, a handwriting area determination module 203, a center point determination module 204 and a display adjustment module 205.

[0082] In this embodiment, the data acquisition module 201 is used to acquire the screen size parameters of the interactive all-in-one machine and the pressure traces of handwriting input text.

[0083] In this embodiment, the font size determination module 202 is used to obtain the font size of the interactive all-in-one machine according to the screen size parameter of the interactive all-in-one machine in combination with the screen-to-font ratio parameter.

[0084] As a preferred solution, the screen-to-character ratio parameter ξ is (read as "zero point zero three zero seven six nine two, three zero seven six nine two cycles") ≈ 3.07692%. It should be noted that the most common size of a conventional intelligent interactive all-in-one machine is 65 inches, and the font size of handwritten characters on the screen is often 2 inches. The two most commonly used sizes are used to obtain the screen-to-character ratio parameter ξ, and then the screen-to-character ratio parameter ξ is used to obtain the unique and permanently reusable font size pt of each intelligent interactive all-in-one machine. The specific formula is: Among them, a is the screen size parameter of the interactive all-in-one machine; ξ is the screen-to-character ratio parameter; pt is the font size, and 1pt is equal to 1 / 72 inch.

[0085] In this embodiment, the handwriting area determination module 203 is used to convert the pressure trace of the handwriting input text into a character code to obtain the handwriting input text, and determine the area corresponding to the handwriting input text.

[0086] In this embodiment, the center point determination module 204 is used to obtain the standard center point of the area corresponding to the handwritten input text through a rectangular eight-bit fixed point method.

[0087] In this embodiment, the display adjustment module 205 is used to adjust the position and size of the handwritten input text according to the standard center point and the font size of the interactive all-in-one machine.

[0088] In this embodiment, the data acquisition module 201 specifically includes: a pressure trace acquisition submodule, a screen size acquisition submodule and an end judgment submodule. The pressure trace acquisition submodule is used to receive a handwriting input prompt signal and acquire the handwriting input text pressure trace of the interactive all-in-one machine; the screen size acquisition submodule is used to determine the handwriting input text round of the interactive all-in-one machine according to the handwriting input prompt signal, and if the handwriting input text round is the first input, then acquire the screen size parameters of the interactive all-in-one machine; the end judgment submodule is used to end the acquisition of the handwriting input text pressure trace when the reception interval of the handwriting input prompt signal exceeds a preset time.

[0089] In this embodiment, the handwriting area determination module 203 specifically includes: a font matching submodule and a region analysis submodule. The font matching submodule is used to convert the pressure trace of the handwriting input text into a character code, and match the character code with the text font library data to obtain the handwriting input text; the region analysis submodule is used to determine the region corresponding to the handwriting input text according to the hierarchical node data corresponding to the font strokes in the handwriting input text.

[0090] In this embodiment, the center point determination module 204 specifically includes: a circumscribed rectangle determination submodule and a center point acquisition submodule. The circumscribed rectangle determination submodule is used to obtain the circumscribed rectangle of the area according to the area corresponding to the handwritten input text; the center point acquisition submodule is used to obtain the four vertices and the four side midpoints of the circumscribed rectangle by using the rectangular eight-bit fixed point method, and respectively connect the diagonal vertices and the midpoints of the opposite sides of the circumscribed rectangle to obtain the standard center point of the area.

[0091] In this embodiment, please refer to Figure 3 , is a schematic diagram of the internal structure of a display adjustment module in a handwriting input text adaptive display system of an interactive all-in-one machine provided by an embodiment of the present invention, wherein the display adjustment module 205 specifically includes: a size adjustment submodule 301 and a position adjustment submodule 302. The size adjustment submodule 301 is used to adjust the size of the handwriting input text according to the font size of the interactive all-in-one machine; the position adjustment submodule 302 is used to use the standard center point as the center of the handwriting input text, calculate the offset of each character in the handwriting input text and the center of the handwriting input text respectively, and adjust the position of the handwriting input text according to the offset and the preset spacing.

[0092] The system provided by the present invention obtains the font size of the interactive all-in-one machine by combining the screen size parameter of the interactive all-in-one machine with the screen-to-character ratio parameter, and realizes adaptive adjustment of the size of handwritten input text without font parameters. According to the pressure traces of the handwritten input text, the input content is identified, and the two-dimensional plane shape formed by the writing points is located by the rectangular eight-bit fixed point method, the center position of the input content is determined, and the position of the handwritten input text is adjusted, thereby standardizing the size and position display of the handwritten input text, and further improving the visual experience of the user of the interactive all-in-one machine.

[0093] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for adaptively displaying handwritten input text in an interactive all-in-one machine, characterized in that: include: Get the screen size parameters and handwriting input text pressure traces of the interactive all-in-one machine; According to the screen size parameter of the interactive all-in-one machine and the screen-to-character ratio parameter, the font size of the interactive all-in-one machine is obtained; Convert the pressure trace of the handwritten input text into a character code to obtain the handwritten input text, and determine the area corresponding to the handwritten input text; According to the area corresponding to the handwritten input text, the standard center point of the area is obtained by using the rectangular eight-bit fixed-point method, specifically including: according to the area corresponding to the handwritten input text, a circumscribed rectangle of the area is obtained; by using the rectangular eight-bit fixed-point method, four vertices and four side midpoints of the circumscribed rectangle are obtained, and the diagonal vertices and the midpoints of the opposite sides of the circumscribed rectangle are respectively connected to obtain the standard center point of the area; According to the standard center point and in combination with the font size of the interactive all-in-one machine, the position and size of the handwritten input text are adjusted respectively, specifically including: adjusting the size of the handwritten input text according to the font size of the interactive all-in-one machine; taking the standard center point as the center of the handwritten input text, calculating the offset of each character in the handwritten input text and the center of the handwritten input text, and adjusting the position of the handwritten input text according to the offset and in combination with the preset spacing.

2. The method for adaptively displaying handwritten input text of an interactive all-in-one machine as claimed in claim 1, characterized in that: The obtaining of the screen size parameters of the interactive all-in-one machine and the pressure trace of the handwriting input text specifically includes: Receive a handwriting input prompt signal and obtain the handwriting input text pressure trace of the interactive all-in-one machine; Determine the handwriting input text round of the interactive all-in-one machine according to the handwriting input prompt signal, and if the handwriting input text round is the first input, obtain the screen size parameter of the interactive all-in-one machine; When the reception interval of the handwriting input prompt signal exceeds the preset time, the acquisition of the handwriting input text pressure trace is terminated.

3. The method for adaptively displaying handwritten input text in an interactive all-in-one machine according to claim 1, characterized in that: The step of converting the pressure trace of the handwritten input text into a character code to obtain the handwritten input text and determining the area corresponding to the handwritten input text specifically includes: Converting the pressure trace of the handwritten input text into a character code, and matching the character code with the text font library data to obtain the handwritten input text; The area corresponding to the handwritten input text is determined according to the hierarchical node data corresponding to the font strokes in the handwritten input text.

4. An interactive all-in-one machine handwriting input text adaptive display system, characterized in that: include: A data acquisition module is used to obtain the screen size parameters of the interactive all-in-one machine and the pressure traces of handwriting input text; A font size determination module, used to obtain the font size of the interactive all-in-one machine according to the screen size parameter of the interactive all-in-one machine and the screen-to-character ratio parameter; A handwriting area determination module, used to convert the pressure trace of the handwriting input text into a character code, obtain the handwriting input text, and determine the area corresponding to the handwriting input text; The center point determination module is used to obtain the standard center point of the area corresponding to the handwritten input text by using the rectangular eight-bit fixed-point method, specifically including: obtaining the circumscribed rectangle of the area according to the area corresponding to the handwritten input text; obtaining the four vertices and the midpoints of the four sides of the circumscribed rectangle by using the rectangular eight-bit fixed-point method, and respectively connecting the diagonal vertices and the midpoints of the opposite sides of the circumscribed rectangle to obtain the standard center point of the area; The display adjustment module is used to adjust the position and size of the handwritten input text according to the standard center point and the font size of the interactive all-in-one machine, specifically including: adjusting the size of the handwritten input text according to the font size of the interactive all-in-one machine; taking the standard center point as the center of the handwritten input text, calculating the offset of each character in the handwritten input text and the center of the handwritten input text, and adjusting the position of the handwritten input text according to the offset and the preset spacing.

5. The interactive all-in-one machine handwriting input text adaptive display system as claimed in claim 4, characterized in that: The data acquisition module specifically includes: The pressure trace acquisition submodule is used to receive the handwriting input prompt signal and obtain the pressure trace of the handwriting input text of the interactive all-in-one machine; A screen size acquisition submodule, used to determine the handwriting input text round of the interactive all-in-one machine according to the handwriting input prompt signal, and if the handwriting input text round is the first input, obtain the screen size parameters of the interactive all-in-one machine; The end judgment submodule is used to end obtaining the pressure trace of the handwriting input text when the reception interval of the handwriting input prompt signal exceeds a preset time.

6. The interactive all-in-one machine handwriting input text adaptive display system as claimed in claim 4, characterized in that: The handwriting area determination module specifically includes: A font matching submodule, used for converting the pressure trace of the handwritten input text into a character code, and matching the character code with the text font library data to obtain the handwritten input text; The region analysis submodule is used to determine the region corresponding to the handwritten input text according to the hierarchical node data corresponding to the font strokes in the handwritten input text.

Citation Information

Patent Citations

  • Handwritten mathematical expression recognition and editing device and method thereof

    CN101996029A

  • Method and device for amending handwritten characters

    CN107003994A