Method for detecting and reminding handwriting of dot matrix pen

By decoding the dot-coded paper test paper images of the dot-matrix pen, the ratio of abnormal dot-codes in the strokes is judged, and the user is reminded to adjust the pen-holding posture, which solves the problem of handwriting recognition failure caused by incorrect posture in the existing technology, and improves the restoration of handwriting Effects and writing experience.

CN119007213AInactive Publication Date: 2024-11-22QINGDAO ROBOTPEN DIGITAL TECH CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411489767.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the process of using dot matrix pens, the user's incorrect pen holding posture leads to the failure of dot code recognition, lack of an effective user feedback mechanism, which affects the restoration effect and writing experience of the handwriting.

Method used

By obtaining the dot-coded paper test paper images taken by the dot-matrix pen camera, decode each stroke, judge the abnormality of the dot-code analysis in a stroke, and issue a reminder, such as vibration, indicator light changes or beeping. The sound of the instrument.

Benefits of technology

Timely feedback on the user's handwriting recognition, reminding and adjusting the writing posture, solving the problem of poor handwriting restoration caused by poor user posture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007213A_ABST
    Figure CN119007213A_ABST
Patent Text Reader

Abstract

The invention relates to a dot-matrix pen handwriting detection and reminding method. The method comprises the following steps: acquiring a dot-code paper test paper image shot by a camera on a dot-matrix pen; the point code test paper is used for recording the handwriting of the user; decoding each stroke of the test paper image of the dot code paper; when N% of point codes in one stroke are analyzed abnormally, determining that the pen holding posture of the user is abnormal; and reminding the user with the abnormal pen holding posture. The proportion of the abnormal number is analyzed based on the point codes in the writing strokes, the handwriting recognition condition of the user can be fed back in time, the user is reminded to pay attention to the writing posture, and the problem that due to the poor writing posture of the user, handwriting restoration of a dot matrix pen is poor is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of dot matrix pen handwriting detection, and in particular to a dot matrix pen handwriting detection and reminder method. Background Art

[0002] In modern education and office environments, dot matrix pens, as a new type of writing tool, have gradually attracted widespread attention. The dot matrix pen uses its built-in camera to quickly capture the dot code on the test paper, and after decoding, it can obtain the coordinate information of the pen on the test paper in real time. The core of this technology is to connect these coordinates into lines, thereby restoring the movement trajectory of the pen tip and finally forming clear handwriting.

[0003] However, in actual use, the angle between the dot matrix pen and the paper changes due to the different pen holding postures and positions of the user. This change in angle may affect the performance of the dot matrix pen, especially when the angle exceeds a certain threshold, the dot code image taken quickly may be distorted, resulting in dot code recognition failure. This problem directly affects the handwriting restoration effect and brings inconvenience to users.

[0004] In order to solve this problem, the existing technology generally lacks an effective user feedback mechanism. When the user's pen holding posture is incorrect, the dot matrix pen cannot remind the user in time, resulting in abnormal handwriting and affecting the writing experience. Summary of the invention

[0005] In order to solve the above problems, an object of the embodiments of the present invention is to provide a method for detecting and reminding dot matrix pen handwriting.

[0006] A dot matrix pen handwriting detection and reminder method, comprising: Step 1: Obtaining a dot code paper test paper image captured by a camera on a dot matrix pen; the dot code paper test paper is used to record the user's handwriting; Step 2: Decode each stroke of the dot code paper test paper image; Step 3: When N% of the dot codes in a stroke are parsed abnormally, it is determined that the user's pen-holding posture is abnormal; Step 4: Issue a reminder to the user who has an abnormal pen-holding posture.

[0007] Preferably, in step 3, when 30% of the point code analysis in a stroke is abnormal, it is determined that the writing posture of the current stroke is incorrect, which is recorded and uploaded to the host computer.

[0008] Preferably, in step 3, when greater than or equal to 50% of the dot code analysis in a stroke is abnormal, it is determined that the user's pen-holding posture is abnormal.

[0009] Preferably, in step 3, when greater than or equal to 30% and less than 50% of the dot code analysis abnormalities in two consecutive strokes are present, it is determined that the user's pen-holding posture is abnormal.

[0010] Preferably, in step 4, any one or more of the dot matrix pen vibration, indicator light change or buzzer sound is used to remind the user of the abnormal pen holding posture.

[0011] The present invention also provides an electronic device, comprising a bus, a transceiver, a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory and the processor are connected via the bus, and wherein the computer program, when executed by the processor, implements the steps in the above-mentioned method for detecting and reminding handwriting of a dot matrix pen.

[0012] The present invention also provides a computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps in the above-mentioned dot matrix pen handwriting detection and reminder method are implemented.

[0013] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: The present invention relates to a method for detecting and reminding handwriting of a dot matrix pen. Compared with the prior art, the present invention can timely feedback the user's handwriting recognition status based on the proportion of abnormal numbers of dot code analysis in the writing strokes, remind the user to pay attention to the writing posture, and solve the problem of poor handwriting restoration caused by the user's bad writing posture due to the dot matrix pen.

[0014] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 A flow chart of a dot pen handwriting detection and reminder method provided by the present invention; Figure 2 A structural diagram of the dot matrix pen provided by the present invention; Figure 3 The image of the code paper test paper taken by the camera provided by the present invention; Figure 4A schematic diagram of a bit code unit provided by the present invention; Figure 5 This is a schematic diagram of the dot code recognition principle provided by the present invention; the left side is the original dot code image, and the right side is the binarized dot code image. DETAILED DESCRIPTION

[0017] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0018] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0019] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like 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 an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0020] See also Figure 1 , a dot matrix pen handwriting detection and reminder method, comprising: Step 1: Obtaining a dot code paper test paper image captured by a camera on a dot matrix pen; the dot code paper test paper is used to record the user's handwriting; like Figure 2As shown, the dot matrix pen uses the camera at the pen tip to shoot the dot code paper test paper, and decodes the picture to obtain the dot code coordinates. The number of coordinate points reported per second is called the pen's reporting rate. The higher the dot matrix pen's reporting rate, the better the handwriting restoration effect, and the higher the corresponding pen cost. A reporting rate greater than 60 can restore better handwriting. Generally, the dot matrix pen's reporting rate is between 60 and 180. The dot code paper test paper is a test paper that first lays a layer of dot code on the paper, and then prints the test paper information. When students answer, the dot matrix pen recognizes the dot code information and restores the handwriting.

[0021] Step 2: Decode each stroke of the dot code paper test paper image; Step 3: When N% of the dot codes in a stroke are parsed abnormally, it is determined that the user's pen-holding posture is abnormal; In step 3, when 30% of the dot code analysis in a stroke is abnormal, it is determined that the writing posture of the current stroke is incorrect, and it is recorded and uploaded to the host computer; when greater than or equal to 50% of the dot code analysis in a stroke is abnormal, it is determined that the user's pen-holding posture is abnormal; when greater than or equal to 30% and less than 50% of the dot code analysis in two consecutive strokes is abnormal, it is determined that the user's pen-holding posture is abnormal.

[0022] Furthermore, in an embodiment of the present invention, the present invention uses strokes as a basic unit to determine whether the writing posture is correct based on people's writing habits. If N% of the point code analysis in a stroke is abnormal, the pen-holding posture is considered abnormal, and a reminder is given to correct the pen-holding posture. The determination of the value N is related to handwriting restoration, which can not only restore good handwriting, but also be compatible with the pen-holding habits of most people. Therefore, N is set to 30, that is, if 30% of the points in a stroke cannot be recognized, it is considered that the writing posture of this stroke is incorrect. When the value is greater than or equal to 50%, the reminder function is triggered; if it is greater than or equal to 30% and less than 50%, and when the above situation occurs in 2 consecutive strokes, the reminder function is triggered.

[0023] like Figure 3 As shown in the figure, the bit code unit is captured by the camera, and the camera field of view is 2*2=4 bit code units. The position code is read by analyzing the shape of the code point and the center position of the point, and then converted into XY coordinates. Due to factors such as camera fill light and distortion, the actual decoding requires image preprocessing (distortion correction, affine transformation, and binarization, etc.).

[0024] The embodiment of the present invention takes the OID4 16*16 encoding scheme as an example; the size of a bit code unit of the OID4 16x16 dot matrix code is 2.032 mm, the resolution of the printer printing is required to be 600 dpi or above, and 36 dots represent a bit code unit; calculated at 600 dpi, a bit code unit occupies 2.032*600 / 25.4=48 pixels, each code point is distributed in an 8*8 pixel unit, and each bit code unit occupies 36*8*8=2304 pixels, such as Figure 4 As shown, brown is the positioning block, which is fixed in position. Blue is the Y coordinate information block, totaling 11 blocks. Dark blue is the Y coordinate check block. Green is the X coordinate information block, totaling 11 blocks. Light yellow is the X coordinate check block. The 36 code points of the bit code unit include 11 flag bits (fixed), 1 x coordinate XOR check bit, and 1 y coordinate XOR check bit. The remaining 23 points represent the x-coordinate and y-coordinate. Each bit can represent four numbers: 00, 01, 10, and 11. The total x and y coordinate representation ranges are 2 to the power of 23 [0, 8388607], respectively. A total of 70,368,744,177,664 points can be expressed. Calculated based on A4 paper, 4,679,395,144 pages can be laid. If Figure 5 As shown in the figure, different printers print different bit code units. Even if the same printer is used for a long time, the dot codes printed will be different, and the shape and color of the dot codes will be inconsistent. Figure 5 The dot code at the red circle position in the figure is too large, the boundary is not clear enough, and it is easy to form adhesion. Especially when the pen is tilted to a certain angle (the user's writing posture is wrong), the two large dot codes are easily connected into an ink mark, and the dot matrix recognition algorithm cannot recognize the adhered dot codes. At this time, the point at the red circle cannot be recognized, which leads to the failure of the dot code unit parsing.

[0025] Step 4: Issue a reminder to the user who has an abnormal pen-holding posture.

[0026] In actual applications, the reminder function can be the vibration of the pen for 1 to 2 seconds to remind students to pay attention to their pen holding posture. It can also be a buzzer that makes a "beep" sound to remind users to pay attention to their pen holding posture. At the same time, the pen indicator light can change to remind students, or the indicator light can be combined with vibration or buzzer to remind students to hold the pen in the right position.

[0027] The present invention can provide timely feedback on the user's handwriting recognition status based on the proportion of abnormalities in the dot code analysis in the written strokes, remind the user to pay attention to the writing posture, and solve the problem of poor handwriting restoration caused by the user's bad writing posture due to the dot matrix pen.

[0028] The present invention also provides an electronic device, comprising a bus, a transceiver, a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory and the processor are connected via the bus, and is characterized in that when the computer program is executed by the processor, the steps in the above-mentioned method for detecting and reminding a dot matrix pen handwriting are implemented. Compared with the prior art, the beneficial effects of the electronic device provided by the present invention are the same as the beneficial effects of the method for detecting and reminding a dot matrix pen handwriting described in the above-mentioned technical solution, and are not elaborated herein.

[0029] The present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps in the above-mentioned method for detecting and reminding a dot matrix pen handwriting are implemented. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present invention are the same as the beneficial effects of the method for detecting and reminding a dot matrix pen handwriting described in the above-mentioned technical solution, which will not be elaborated here.

[0030] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technical solution that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for detecting and reminding handwriting of a dot matrix pen, characterized in that: include: Step 1: Obtain the image of the dot code paper taken by the camera on the dot matrix pen; The dot code paper test paper is used to record the user's handwriting; Step 2: Decode each stroke of the dot code paper test paper image; Step 3: When N% of the dot codes in a stroke are parsed abnormally, it is determined that the user's pen-holding posture is abnormal; Step 4: Issue a reminder to the user who has an abnormal pen-holding posture.

2. A method for detecting and reminding dot-matrix pen handwriting according to claim 1, characterized in that: In step 3, when 30% of the dot code analysis in a stroke is abnormal, it is determined that the writing posture of the current stroke is incorrect, and it is recorded and uploaded to the host computer.

3. A method for detecting and reminding dot-matrix pen handwriting according to claim 2, characterized in that: In step 3, when greater than or equal to 50% of the dot code analysis in a stroke is abnormal, it is determined that the user's pen-holding posture is abnormal.

4. A method for detecting and reminding dot-matrix pen handwriting according to claim 3, characterized in that: In step 3, when greater than or equal to 30% and less than 50% of the dot code analysis abnormalities in two consecutive strokes, it is determined that the user's pen-holding posture is abnormal.

5. The method for detecting and reminding handwriting of a dot matrix pen according to claim 1, characterized in that: In step 4, any one or more of the methods of vibration of the dot matrix pen, change of the indicator light or sound of the buzzer are used to remind the user that the pen holding posture is abnormal.

6. An electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, wherein: When the computer program is executed by the processor, the steps of the dot matrix pen handwriting detection and reminder method as described in any one of claims 1 to 5 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method for detecting and reminding dot matrix pen handwriting as described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Hand-writing smart pen

    CN107358229A

  • Dot matrix image processing method

    CN108549879A

  • Method for judging pen holding posture during writing of dot matrix pen

    CN113723571A

  • Job data processing method, electronic equipment and computer storage medium

    CN117974019A

  • Intelligent pen writing interaction control method and system

    CN118394230A