System and Method for Detecting Handwriting Problems
20210345913 · 2021-11-11
Inventors
- Eric Humbert (Boulogne Billancourt, FR)
- Amélie Caudron (Paris, FR)
- Arthur Belhomme (Paris, FR)
- Fabrice Devige (Vanves, FR)
Cpc classification
G06F18/214
PHYSICS
G16H50/20
PHYSICS
A61B5/7264
HUMAN NECESSITIES
A61B5/6887
HUMAN NECESSITIES
G06F3/0346
PHYSICS
A61B5/002
HUMAN NECESSITIES
A61B5/0015
HUMAN NECESSITIES
A61B2562/0219
HUMAN NECESSITIES
G06V30/228
PHYSICS
International classification
A61B5/11
HUMAN NECESSITIES
A61B5/00
HUMAN NECESSITIES
Abstract
A method for detecting handwriting problem, comprising: acquiring, by a handwriting instrument comprising one motion sensor, motion data while a user is using the handwriting instrument, analyzing the motion data by an artificial intelligence trained to detect a handwriting problem.
Claims
1. A method for detecting handwriting problem, comprising: acquiring, by means of a handwriting instrument comprising at least one motion sensor, motion data while a user is using said handwriting instrument, analyzing said motion data by an artificial intelligence trained to detect a handwriting problem.
2. The method according to claim 1, wherein the artificial intelligence is a neural network.
3. The method according to claim 2, the method further comprising a prior learning step comprising: acquiring a plurality of motion data from a plurality of persons using said handwriting instrument, labelizing said acquired data, using end-to-end supervised learning to train the neural network until it converges, storing said neural network.
4. The method according to claim 3, wherein the acquired data are classified in at least one of the following classes: type of grip on the handwriting instrument, pressure applied on the handwriting instrument, use of the handwriting instrument among writing, drawing or coloring, fluidity of writing, dyslexia, dysgraphia, wrong ductus.
5. The method according to claim 8, further comprising acquiring vibration data by a stroke sensor, the method further comprising a prior learning step comprising: acquiring a plurality of motion data and vibration data from a plurality of persons using said handwriting instrument, processing the vibration data to obtain stroke timestamps labels, using supervised learning to train said neural network until it converges, storing said neural network.
6. The method according to claim 5, wherein the features extracted from the strokes timestamps comprise: total strokes duration, total in air stroke duration, strokes mean duration, strokes mean and peak velocity, number of pauses during use of the handwriting instrument, ballistic index, which corresponds to an indicator of handwriting fluency which measures smoothness of the movement defined by the ratio between the number of zero crossings in the acceleration and the number of zero crossings in the velocity, number of zero-crossing in the acceleration during strokes, number of zero-crossing in the velocity during strokes.
7. The method according to claim 5, wherein the extracted features of the stroke timestamps are classified in at least one of the following classes: type of grip on the handwriting instrument, pressure applied on the handwriting instrument, use of the handwriting instrument among writing, drawing or coloring, fluidity of writing, dyslexia, dysgraphia, wrong ductus.
8. The method according to claim 2, wherein the neural network is further trained with a data base of letters and numbers correctly formed, a sequence of strokes and a direction of said strokes of the sequence of strokes being associated to each letter and number of the data base, and wherein, based on the motion and vibration data acquired during the use of the handwriting instrument, the neural network determines if the user is forming letters and numbers correctly.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0076] Other features, details and advantages will be shown in the following detailed description and on the figures, on which:
[0077]
[0078]
[0079]
[0080]
[0081]
[0082]
[0083]
[0084]
[0085]
[0086]
DESCRIPTION OF EMBODIMENTS
[0087] Figures and the following detailed description contain, essentially, some exact elements. They can be used to enhance understanding the disclosure and, also, to define the invention if necessary.
[0088] It is now referred to
[0089] In an embodiment, a handwriting problem which can be detected according to the present disclosure can be dyslexia, dysgraphia or a difficulty to reproduce characters.
[0090]
[0091] The handwriting instrument 2 comprises a body 3 extending longitudinally between a first end 4 and a second end 5. The first end 4 comprises a writing tip 6 which is able to write on a support. Typically, the tip 6 can deliver ink or color.
[0092] The handwriting instrument 2 further includes at least one motion sensor 7, In one embodiment, the motion sensor 7 can be a three-axis accelerometer or a three-axis gyroscope.
[0093] In the illustrated embodiments on
[0094] The at least one motion sensor 7 is able to acquire data on the handwriting of the user when the user is using the handwriting instrument 2. These data are communicated to a calculating unit 8 which is configured to analyze the data and detect an eventual handwriting problem of the user. The calculating unit 8 can comprise a volatile memory to store the data acquired by the motion sensor 7 and a non-volatile memory to store a model enabling the detection of handwriting problem.
[0095] The handwriting instrument 2 can also comprise a short-range radio communication interface 9 allowing the communication of data between the motion sensor 7 and the calculating unit 8. In one embodiment, the short-range radio communication interface is using a Wi-Fi, Bluetooth®, LORA®, SigFox® or NBIoT network. In another embodiment, it can also communicate using a 2G, 3G, 4G or 5G network.
[0096] The handwriting instrument 2 further includes a battery 10 providing power to at least the motion sensor 7 when the user is using the handwriting instrument. The battery 9 can also provide power to the calculating unit 8 when the calculating unit is included in the writing instrument 2.
[0097] More specifically, in the embodiment of
[0098] In this embodiment, the calculating device 8 of the mobile device receives raw data acquired by the motion sensor 7 and analyzed them to detect an eventual handwriting problem.
[0099] In another embodiment illustrated
[0100] In this embodiment, the detection device 13 comprises a body 14 to be mounted on the second end 5 of the handwriting instrument 2 and a protuberant tip 15 able to be inserted in the body 3 of the handwriting instrument 2. Preferably, one motion sensor 7 can be provided on the protuberant tip 15 and another motion sensor 7 can be provided in the body 14 of the detection device 13. By this means, the two motions sensors 7 are able to acquire different data during the handwriting of the user.
[0101] In another embodiment, the motions sensors 7 are provided in the body 14 of the detection device 13. By this means, the detection device 13 can be mounted on any type of handwriting instrument 2, without necessitating a hollow body 3 of the handwriting instrument 2.
[0102] In another embodiment illustrated on
[0103] In this embodiment, one motion sensor 7 can be provided close to the first end 4 of the handwriting instrument 2, while another motion sensor 7 can be provided on the second end 5 of the handwriting instrument 2.
[0104] In an embodiment, the handwriting instrument 2 can also comprise a pressure sensor able to acquire data. These data can be transmitted to the calculation unit that analyze these data and the data acquired by the at least one motion sensor 7.
[0105] The pressure sensor can be embedded in the handwriting instrument 2 or in the detection device 13.
[0106] In all the embodiments described above, the calculating unit 8 receives data acquired from at least on motion sensor 7 and from the pressure sensor 15, if applicable, to analyze them and detect a handwriting problem.
[0107] More specifically, the calculating unit 8 can store an artificial intelligence model able to analyze the data acquired by the motion sensor 7. The artificial intelligence can comprise a trained neural network.
[0108] In one embodiment illustrated on
[0109] More particularly, at step S1, the motion sensor 7 acquires data during the use of the handwriting instrument 2.
[0110] At step S2, the neural network receives the raw signals of the data acquired at step S1. The neural network also receives the sample labels at step S3. These labels correspond to whether or not the signal corresponds to a stroke.
[0111] More precisely, the neural network is able to determine if the signal correspond to a stroke on a support. The neural network is then able to determine stroke timestamps.
[0112] More particularly, this means that the neural network is able to determine for each stroke timestamps if a stroke has actually been made on the support by the user during the use of the handwriting instrument 2.
[0113] At step S4, the calculating unit 8 performs a stroke features extraction to obtain intermediate features at step S5.
[0114] These intermediate features comprise, but are not limited to: [0115] total strokes duration, [0116] total in air stroke duration, [0117] strokes mean duration, [0118] strokes mean and peak velocity, [0119] number of pauses during use of the handwriting instrument, [0120] ballistic index, which corresponds to an indicator of handwriting fluency which measures smoothness of the movement defined by the ratio between the number of zero crossings in the acceleration and the number of zero crossings in the velocity, [0121] number of zero-crossing in the acceleration during strokes, [0122] number of zero-crossing in the velocity during strokes.
[0123] From these intermediate features, the neural network is able to derive indications about handwriting problems.
[0124] At step S6, an algorithm is able to derive indications about handwriting problems.
[0125] This algorithm can be a learned model such as a second neural network, or a handcrafted algorithm.
[0126] In the embodiment where a learned model such as a neural network is used, the model is trained on a supervised classification task, where the inputs are stroke features with labels, and the outputs are handwriting problems.
[0127] In the embodiment where a hand-crafted algorithm is used, the hand-crafted algorithm can compute statistics on the stroke features and compare them to thresholds found in the scientific literatures, in order to detect handwriting problems.
[0128] Finally, at step S7, the system is able to detect handwriting problems. These handwriting problems include but are not limited to: [0129] dyslexia, [0130] dysgraphia, [0131] wrong grip of the handwriting instrument, [0132] bad character writing.
[0133] In another embodiment illustrated on
[0134] According to this embodiment, at step S10, the data are acquired by the motion sensor 7.
[0135] The classification is made in step S11. To do learn the classification task, the neural network receives the raw signal of the data acquired by the motion sensor 7 and global labels (step S12). The global labels corresponds to the handwriting problems to be detected by the neural network which can be, but are not limited to: [0136] dyslexia, [0137] dysgraphia, [0138] wrong grip of the handwriting instrument, [0139] bad character writing.
[0140] In step S13, the neural network delivers the result.
[0141] The trained neural network described in reference with
[0142] The neural network can be stored in the calculating unit 8.
[0143]
[0144] In order of segment the strokes (step S2 of
[0145] This information can be detected by a stroke sensor 16. The stroke sensor 16 is advantageously embedded in the handwriting instrument or in the detection device 13 mounted on the handwriting instrument.
[0146] In an embodiment, the stroke sensor 16 may be a pressure sensor, a contact sensor or a vibration sensor. Then, the neural network receives the data collected by the stroke sensor 16 at step S3.
[0147] In a preferred embodiment illustrated
[0148]
[0149] To use the motion sensor 7 as the stroke sensor 16, the accelerometer first need to be set such that its sample rate is at least twice superior to the maximum frequency of the vibrations to be detected.
[0150] Preferably, the accelerometer is highly sensitive. To allow detection of the vibrations by the accelerometer, the accelerometer may be bound to the writing tip 6 of the handwriting instrument 2 by rigid contacts with little damping.
[0151] In an embodiment, it is possible to enhance the precision of the vibration detection by using a support presenting a rough surface with known spatial frequency.
[0152] In
[0153] In an embodiment, during the collect phase, if the handwriting instrument 2 also comprises a three-axis gyroscope as another motion sensor 7, the three-axis gyroscope can also acquire data that are sent to the recording device at step S21.
[0154]
[0155] At step S22, the data sent to the recording device are provided. The data are analyzed at step S23A to determine the labels (step S238). For example, the labels comprise the strokes timestamps, detected when vibration is detected in the data, and the stroke velocity. The stroke velocity is advantageously determined using the acceleration data and the high frequencies contained in the vibration.
[0156] Step S24 comprises the undersampling of the data. Particularly, during the preceding steps, the frequency of the accelerometer was set to be higher than the one set for the inference phase. Moreover, the vibration analysis was made on the basis of the three-axis accelerometer and the three-axis gyroscope. However, the constant use of the gyroscope leads to high energy consumption.
[0157] The undersampling step S24 comprises the degradation of the parameters. Frequency F2 of the accelerometer is reduced to a frequency F1, smaller than F2, and the training is made only according to three-axis detection.
[0158] At step S25, the neural network is trained to be able to perform strokes segmentation, as described with reference to
[0159]
[0160] At step S26, a user is using the handwriting instrument 2 in view of detecting an eventual handwriting problem.
[0161] The accelerometer in the handwriting instrument is set to the frequency F1 and advantageously, the data are acquired according to three-axis.
[0162] At step S27, the trained neural network is feed with the acquired data, At step S28, the neural network is able to deliver the strokes timestamps and the velocity.
[0163] Finally, the neural network is able to perform the intermediate stroke feature extraction and the classification at step S29. Step S29 actually corresponds to steps S4 to S7, already described with reference to
[0164] In an embodiment, the neural network can be trained continuously with the data acquired by the user of the handwriting pen 2 after the storage of the neural network.
[0165] In an embodiment, the neural network can also be trained to detect a wrong ductus of the user. The ductus corresponds to the formation of letter and number.
[0166] More specifically, the neural network is able to determine if a sequence of strokes correspond to a letter or a number.
[0167] To this end, the neural network can also be fed with a large data base of letters and numbers, Each letters and numbers can be associated with a sequence of strokes. The sequence of strokes can advantageously corresponds to acceleration signals acquired by the accelerometer during the collect phase when forming the letters and numbers.
[0168] The labels to be determined by the neural network may be the direction and an order of the sequence of strokes for each letter and number.
[0169] In step S5 of
[0170] In step S7, the neural network is able to determine if the user is forming correctly letters and numbers.