Method and system for generating handwritten text with different degrees of maturity of the writer
The method generates realistic handwritten text simulating writer maturity by adjusting grid points and lognormal velocity profiles, addressing the lack of maturity simulation in existing methods and enhancing OCR and disorder monitoring.
Patent Information
- Application Number
- CA3028063
- Authority / Receiving Office
- CA · CA
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2016-06-17
- Filing Date
- 2017-06-01
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2037-06-01
AI Technical Summary
Existing methods fail to generate handwritten text that simulates the development of a writer's maturity in terms of stroke number and velocity profile over time, without requiring an original text sample, and do not account for neurological or motor disorders.
A method and system that simulates handwritten text development by selecting points on a common grid, adjusting parameters like lognormal velocity profiles, and varying angles to mimic writer maturity, allowing for neurological or motor parameter simulation.
Generates realistic handwritten text with varying degrees of maturity, improving OCR, writer identification, and monitoring neurological disorders without needing original text, and simulating real development in stroke number and velocity.
Abstract
Description
4 3 33 2.02 200 Acres de la constante de la constante de la constante de la constante de la constante de la constante de la constante de la constante de la constante de la constante de la constante de la constante de la constante de la co ì METHOD AND SYSTEM FOR GENERATING HANDWRITTEN TEXT WITH DIFFERENT DEGREES OF MATURITY OF THE WRITER The present invention relates to the generation of handwritten texts, more particularly to a method and system for generating handwritten text of synthetic writers and the development thereof over time for text online (synthesizing temporal movement) and offline (generating the image of the handwriting). Field of the Invention The invention is comprised in the technical field of handwritten text synthesis. The invention relates to methods for generating handwritten text that is as similar as possible to human text by means of a computing device. The methods of the current state of the art fail to solve the problem of generating handwritten text with different degrees of maturity of the writer, which simulates the development of the writer and allows, by means of the minimum number of parameters, simulating both the positions of the pen or pencil over time and the way of writing depending on the writer's age or learning time. This patent proposes a method and system for generating handwritten text with different degrees of maturity of the writer without needing to have the original text. It allows the simulation of real development in terms of the number of strokes and the velocity profile of the writer according to his or her progress. It enables generating the handwriting of writers with possible neurological and motor disorders. This new method and system allows solving technical problems arising in the OCR of handwritten text, improves writer identification, allows tracking the progress of children who are learning to write, and provides an improvement in terms of neurodegenerative disease and dysgraphia monitoring and screening. Background of the Invention in the control of the control of the property of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the cont The first of the second second second second second second second second second second second second second second second second second second second second second second second second second second second second second se A ... Research on handwriting synthesis is used in different fields. A first reason for the use thereof was to provide a large database of biometric writing to evaluate automatic signature verifiers or automatic writer identifiers and to avoid legal problems concerning privacy [US 7227993 (B2)]. Today, it is understood that the inclusion in a handwriting synthesizer of intra- and interpersonal variability and health variability due to different diseases such as Parkinson's disease or Alzheimer's disease, etc., may help to improve understanding of the underlying processes in human handwriting production. Artistic creations and the generation of CAPTCHAs constitute another reason [Chetan Ramaiah, Réjean Plamondonm, and Venu Govindaraju, A Sigma-Lognormal Model for Handwritten Text CAPTCHA Generation, in: Proceedings of the International Conference on Pattern Recognition, 2014, pp. 250-255.], [O. Thomas, A. Rusu, V. Govindaraju, Synthetic handwritten CAPTCHAs, Pattern Recognition 42 (2009) 3365-3373]. Some patent documents seek to solve the technical problem of generating synthetic handwritten text. For example, patent document US 5327342 (A) relates to a method for producing simulated handwriting, and more particularly to an apparatus and a method for producing handwriting that simulates the user's own handwriting. Patent document WO 2006042307 (A2) relates a method and an apparatus for generating a realistic handwritten communication. Patent document US 7227993 (B2) relates to a learning- based system and a process for synthesizing cursive handwriting. Patent document US 7983478 B2 relates to Markov model- based calligraphy generation. Patent document GB 2394348 relates to a synthesis method which, based on the handwriting data of a user, generates other letters of the same user by means of dividing into glyphs and storing in a memory. the same of the same of 1 3 Patent document US 7227993 B2 describes a method which generates cursive letters similar to those of the user. It is also based on taking an image of the user's letter (glyphs) and adding variations in the image. It does not simulate the velocity profile. These methods are based on processing the image of the handwritten text, so processing time increases. They neither simulate the learning and variability obtained with practice nor provide the positions of the pencil with its temporal reference. Patent document WO 2000078215 (A1) relates to a method for analyzing motor skill based on measuring and monitoring motor control by means of the approximation of a lognormal summation with different parameters of the velocity profile obtained from the writing on a digitizing tablet. Patent document WO 1992014219 (A1) relates to a method for digitizing and segmenting writing movement based on curvilinear movement and angular speed. Based on a previous user movement, it parameterizes the data in order to retrieve it again. Patent document WO 2009018983 (A1) relates to a method to animate writing by means of a virtual pen which writes and draws, synthesizing different types of shapes and texts. In turn, the paper that comes closest to solving the technical problem of generating synthetic signatures with handwritten text, providing the possibility of generating variability in the signatures and text, has been presented in [Ferrer, M.A.; Diaz-Cabrera, M.; Morales, A., "Static Signature Synthesis: A Neuromotor Inspired Approach for Biometrics," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PP, no. 99, pp.1,1 (2015)]. The method is based on fixing in the points of a grid the position and trajectory of the character to be generated, joining all the generated characters to form words, and then applying a method for generating the text, as if it was real text, by fixing the The state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of t L 1 4 values of filters simulating the neuromuscular model. This model generates variability by varying the distances in the grid, the inclination of the grid, and by varying the parameters of the filters to simulate letters written at different speeds. The drawback of this model is that it cannot simulate the variability that occurs naturally in a writer over time and does not allow varying the parameters to simulate writers of different ages. These preceding methods fail to solve the problem of generating, without using real written text, written text that simulates the different ages of the writer and allows, by means of the minimum number of parameters, simulating the positions of the pen or pencil over time and the way of writing depending on the writer's age, degree of maturity, or learning time. Therefore, the technical problems that remain unsolved include: the synthesis of text similar to the real text, simulating real development in terms of the number of strokes • and the velocity profile of the writer according to his or her progress and providing the possibility of varying parameters which may be related to neurological or motor parameters of human learning in a simple manner. Summary of the Invention The present invention relates to a new method and system for generating valid handwritten text for writers with different degrees of maturity. Unlike other solutions proposed on an international level, the method of the present invention allows generating valid handwritten text for writers with different degrees of maturity without needing to have an earlier original text of the writer, simulating real development in terms of the numbers of strokes and the velocity profile of the writer according to his or her progress and providing the possibility of varying parameters which may be related to neurological or motor parameters of human learning in a simple manner. The state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of the state of t 3 5 The invention comprises the following steps: (i) for each letter to be synthesized, selecting its n<com:Sub>sl< / com:Sub> points making up its trajectory such that they allow performing paragraph (ii), said points having been previously stored in a memory such that each point of the trajectory thereof corresponds with a specific point of a common grid for any type of character to be synthesized, (ii) applying the method for generating temporal handwritten text development which is characterized by selecting a percentage E of initial points n<com:Sub>s1< / com:Sub> that the trajectory of each letter has. Percentage E is inversely proportional to the development or maturity of the writing. A rule on the legibility of the synthesized text is set. In the event that the rule on legibility is not complied with, the selection of points is repeated again until the rule on legibility is complied with, (iii) connecting each of the letters forming the word by joining the end point of the preceding letter to the initial point of the next letter, making sure that the upper and lower lines of the grid are joined together, (iv) transforming the positions of the points of the trajectory into a temporal sequence of vectors and calculating the initial time instant corresponding to each vector depending on the preceding one. For every two consecutive points, one vector (<com:Math><semantics>QiQi+1¯<annotation encoding="application / x-tex">\overline{Q_iQ_{i+1}}< / annotation>< / semantics>< / com:Math>) (2) is considered, and for every vector the angle <com:Math><semantics>αi<annotation encoding="application / x-tex">\alpha_i< / annotation>< / semantics>< / com:Math> between the preceding vector <com:Math><semantics>Ql−1,Ql→<annotation encoding="application / x-tex">\overrightarrow{Q_{l-1},Q_l}< / annotation>< / semantics>< / com:Math> and the current vector <com:Math><semantics>Ql,Ql+1→<annotation encoding="application / x-tex">\overrightarrow{Q_l,Q_{l+1}}< / annotation>< / semantics>< / com:Math> is calculated. The delay introduced due to the angle between the vectors <com:Math><semantics>(αi)<annotation encoding="application / x-tex">(\alpha_i)< / annotation>< / semantics>< / com:Math> is determined by a predetermined curve (S). The initial time instant of each vector <com:Math><semantics>t0i<annotation encoding="application / x-tex">t_{0i}< / annotation>< / semantics>< / com:Math> is obtained from S, and constants <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math> are obtained, (v) transforming the modulus of each vector into a constant related to the amplitude of the velocity signal. The e e e The second second second second second second second second second second second second second second second second second second second second second second second second second second second second second second second s the control of the second of the second of * amplitude <com:Math><semantics>Di<annotation encoding="application / x-tex">D_i< / annotation>< / semantics>< / com:Math> of the signal corresponding to vector <com:Math><semantics>j<annotation encoding="application / x-tex">j< / annotation>< / semantics>< / com:Math> is defined proportional to the modulus of each vector, normalized with the minimum distance between the points of the grid, proportional to a constant <com:Math><semantics>KD<annotation encoding="application / x-tex">K_D< / annotation>< / semantics>< / com:Math>, and with a random person variation by means of a constant <com:Math><semantics>εDt<annotation encoding="application / x-tex">\varepsilon_{D_{t}}< / annotation>< / semantics>< / com:Math> (vi) synthesizing the velocity profile for each vector based on a predetermined equation (<com:Math><semantics>|v→j(t;t0j)|<annotation encoding="application / x-tex">|\vec{v}_j(t;t_{0j})|< / annotation>< / semantics>< / com:Math>), starting in initial instant <com:Math><semantics>toi<annotation encoding="application / x-tex">t_{oi}< / annotation>< / semantics>< / com:Math>, with an amplitude proportional to <com:Math><semantics>Di<annotation encoding="application / x-tex">D_i< / annotation>< / semantics>< / com:Math>, and adjusting the parameters <com:Math><semantics>(Kμ,Kσ,Kt,KD,Kα,εD,εt)<annotation encoding="application / x-tex">(K_{\mu}, K_{\sigma}, K_{t}, K_{D}, K_{\alpha}, \varepsilon_{D}, \varepsilon_{t})< / annotation>< / semantics>< / com:Math> for synthesizing an individual with a given maturity and customized characteristics, (vii) generating the final velocity signal by means of adding up the <com:Math><semantics>ns1−1<annotation encoding="application / x-tex">n_{s1}-1< / annotation>< / semantics>< / com:Math> signals <com:Math><semantics>|vi→(t;t0i)|<annotation encoding="application / x-tex">|\vec{v_i}(t;t_{0i})|< / annotation>< / semantics>< / com:Math>. Components <com:Math><semantics>x<annotation encoding="application / x-tex">x< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>y<annotation encoding="application / x-tex">y< / annotation>< / semantics>< / com:Math> of the final velocity signal are calculated from the angle of each vector <com:Math><semantics>(∅i)<annotation encoding="application / x-tex">(\emptyset_i)< / annotation>< / semantics>< / com:Math> with respect to axes x and y, and the sign of the direction of each vector, (viìi) obtaining the Cartesian trajectory used for representing the synthesized text by integrating components x and y of the final velocity signal, respectively, The details of one or more embodiments of what is described in this summary are set forth in the attached drawings and the following description. Other features, aspects, and advantages of the subject-matter will be clearly understood based on the description, drawings, and claims. Brief Description of the Drawings The drawings are presented so as to illustrate but in no way limit the invention. In the drawings: Figure 1 shows a diagram describing the method according to the invention. Figure 2 shows a diagram describing the development method. Figure 3 shows an image with an example of the text generated with the method. . . in the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the contr 19. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 4 3 7 Figure 4 shows an example of letters synthesized by a writer of different ages and the corresponding speed compared with the real text. Figure 5 shows an example of the velocity profile of an adult obtained from drawing an arc (drawing in the middle) with an angle of less than 50°. It is observed in the drawing on the top that the trajectory is formed by two vectors, giving rise to a velocity profile with two independent signals (drawing on the bottom, discontinuous line) modeling the real velocity profile (drawing on the bottom, solid line). Detailed Description of the Invention Although the invention is described in terms of a specific preferred embodiment, it will be obvious for those skilled in the art that various modifications, rearrangements, and replacements can be made. The scope of the invention is defined by the claims attached hereto. The present invention allows providing a solution to the technical problem of synthesizing text similar to real text without needing to have an earlier original text of the writer, simulating real development in terms of the number of strokes and the velocity profile of the writer according to his or her progress and providing the possibility of varying parameters which may be related to neurological or motor parameters of human learning in a simple manner. Detailed Description of a Preferred Embodiment of the Invention The present invention can be implemented in hardware, software, or a combination of both. Figure 1 shows the different steps of the method and how it is possible to solve the technical problem. The first step (101) consists of selecting the trajectory of each letter starting from a previously stored trajectory (103), which process is performed only once when the type of writing or language to learn is programmed. Next, the development method (105), which selects a series of points depending on the the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of the first of t 1 writer's age (Figure 2) and is explained in the following subsection, is applied. The different letters are then joined, making sure that the upper lines (201) and lower lines (204) of the grid are joined to one another. Unlike in [Ferrer, M.A.; Diaz-Cabrera, M.; Morales, A., "Static Signature Synthesis: A Neuromotor Inspired Approach for Biometrics," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PP, no. 99, pp.1,1 (2015)], in the proposed method, it is considered that every two consecutive points of the grid is considered a vector <com:Math><semantics>(Q,Qi+1)<annotation encoding="application / x-tex">(Q,Q_{i+1})< / annotation>< / semantics>< / com:Math> (Figure 2), and furthermore for every vector the angle <com:Math><semantics>αi<annotation encoding="application / x-tex">\alpha_i< / annotation>< / semantics>< / com:Math> between the preceding vector <com:Math><semantics>Ql−1,Ql¯<annotation encoding="application / x-tex">\overline{Q_{l-1},Q_{l}}< / annotation>< / semantics>< / com:Math> and the current vector <com:Math><semantics>Ql,Ql+1¯<annotation encoding="application / x-tex">\overline{Q_{l},Q_{l+1}}< / annotation>< / semantics>< / com:Math> is also calculated, being defined as: [Image disponible dans le document PDF, Image available in the PDF document] (1) With these previous calculations, it is considered that for every vector <com:Math><semantics>(QjQj+1)<annotation encoding="application / x-tex">(Q_jQ_{j+1})< / annotation>< / semantics>< / com:Math>, parameters <com:Math><semantics>Dj,t0j,μj, and σj<annotation encoding="application / x-tex">D_j, t_{0j}, \mu_j, \text{ and } \sigma_j< / annotation>< / semantics>< / com:Math> of a signal are adjusted, said signal modelling the velocity profile and recommended to be a lognormal (or another which, by adjusting the parameters thereof, provides the same adjustment): [Image disponible dans le document PDF, Image available in the PDF document] (2) where <com:Math><semantics>μ<annotation encoding="application / x-tex">\mu< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>σ<annotation encoding="application / x-tex">\sigma< / annotation>< / semantics>< / com:Math> are the location and scale parameters, respectively, <com:Math><semantics>j<annotation encoding="application / x-tex">j< / annotation>< / semantics>< / com:Math> indicates the number of the corresponding vector, and <com:Math><semantics>t0i<annotation encoding="application / x-tex">t_{0i}< / annotation>< / semantics>< / com:Math> is the initial instant where the start of the lognormal is located. The equations and premises that these parameters must have so that handwritten text that looks real and includes the requirements for writer development to be similar to real development can be synthesized, are described below. In this method, the value <com:Math><semantics>σi<annotation encoding="application / x-tex">\sigma_i< / annotation>< / semantics>< / com:Math> which defines the width of each lognormal, is defined for each similar lognormal and determined by the equation: . . The second of the contract of the contract of the contract of the contract of the contract of the contract of the contract of the contract of the contract of the contract of the contract of the contract of the contract of 1 × 1 [Image disponible dans le document PDF, Image available in the PDF document] (3) where <com:Math><semantics>Kσ<annotation encoding="application / x-tex">K_{\sigma}< / annotation>< / semantics>< / com:Math> is a constant defined for each writer and is different for different writers. To generate development, the parameter <com:Math><semantics>Kσ<annotation encoding="application / x-tex">K_{\sigma}< / annotation>< / semantics>< / com:Math> approximates 0.01 so as to simulate children's writing and it gradually varies to a value of 0.05 for adults in order to obtain results like the ones in Figure 3. If it is desired to approximate the value of a particular person, this value would be adjusted with the last lognormal of the velocity profile of the real person (Figure 5), when the person makes a quick curved stroke having an angle of less than 60° of the size of the text to be synthesized. The initial period of each lognormal <com:Math><semantics>t0i<annotation encoding="application / x-tex">t_{0i}< / annotation>< / semantics>< / com:Math> is expressed as: [Image disponible dans le document PDF, Image available in the PDF document] (4) where <com:Math><semantics>nsl<annotation encoding="application / x-tex">n_{sl}< / annotation>< / semantics>< / com:Math> is the number of points forming the trajectory of the letter, <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math> is a constant which can be set for each writer for setting the small scales of the letters and the mean velocity, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math> is the maximum time of delay due to the angle, <com:Math><semantics>N(0,εt)<annotation encoding="application / x-tex">N(0, \varepsilon_t)< / annotation>< / semantics>< / com:Math> is a random variable which emulates dispersion and is inversely proportional to the writer's skill, and finally the delay introduced due to the angle between the vectors <com:Math><semantics>(αi)<annotation encoding="application / x-tex">(\alpha_i)< / annotation>< / semantics>< / com:Math> is determined by a sigmoid curve <com:Math><semantics>(S(α,b,−c))<annotation encoding="application / x-tex">(S(\alpha,b,-c))< / annotation>< / semantics>< / com:Math>, where the value of b approximates 0.06 and c approximates 65 for the initial configuration, where said values can be increased or decreased up to 10% to better adjust the writer to be synthesized, and where: [Image disponible dans le document PDF, Image available in the PDF document] (5) <com:Math><semantics>Kt=0.04<annotation encoding="application / x-tex">K_t = 0.04< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα=0.1<annotation encoding="application / x-tex">K_{\alpha} = 0.1< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>εt=+ / −0.02<annotation encoding="application / x-tex">\varepsilon_t = + / -0.02< / annotation>< / semantics>< / com:Math> is set as the starting adjustment. These values can be adjusted to approximate the real parameters of a writer as explained for the angle. In this case, parameter <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math> would be adjusted with a greater time increment (<com:Math><semantics>Δt<annotation encoding="application / x-tex">\Delta t< / annotation>< / semantics>< / com:Math>) (drawing on the bottom in Figure 5) in the velocity profile of the real person, when the person makes a quick curved stroke having an angle of less than 5° of the and the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the cont الرابع والمحرر المروان فيوقع مؤرجها الجوافحات فيمين الحواجب جياري والجحاجية 1 t size of the text to be synthesized. Amplitude <com:Math><semantics>Di<annotation encoding="application / x-tex">D_i< / annotation>< / semantics>< / com:Math> of the lognormal <com:Math><semantics>j<annotation encoding="application / x-tex">j< / annotation>< / semantics>< / com:Math> is defined proportional to the distance between the points of the trajectory: [Image disponible dans le document PDF, Image available in the PDF document] (6) where <com:Math><semantics>dact,i<annotation encoding="application / x-tex">d_{act,i}< / annotation>< / semantics>< / com:Math> is the distance between the points of the trajectory, <com:Math><semantics>Qj<annotation encoding="application / x-tex">Q_j< / annotation>< / semantics>< / com:Math> to <com:Math><semantics>Qj+1<annotation encoding="application / x-tex">Q_{j+1}< / annotation>< / semantics>< / com:Math> , <com:Math><semantics>dref<annotation encoding="application / x-tex">d_{ref}< / annotation>< / semantics>< / com:Math> is the minimum distance between the points of the grid, <com:Math><semantics>KD<annotation encoding="application / x-tex">K_D< / annotation>< / semantics>< / com:Math> is a constant dependent on each individual and can also be used for massive scaling of the letters in the cases in which <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math> is not sufficient. <com:Math><semantics>N(0,εD)<annotation encoding="application / x-tex">N(0, \varepsilon_D)< / annotation>< / semantics>< / com:Math> is a random value for each lognormal j. <com:Math><semantics>KD=dref,j<annotation encoding="application / x-tex">K_D=d_{ref,j}< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>arepsilonD=0.3<annotation encoding="application / x-tex">arepsilon_D=0.3< / annotation>< / semantics>< / com:Math> is set as the initial adjustment. These values can be adjusted by means of an approximation to adjust them to the real parameters of a writer, when this is the purpose thereof. The variable <com:Math><semantics>μi<annotation encoding="application / x-tex">\mu_i< / annotation>< / semantics>< / com:Math> is equal to a constant <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_\mu< / annotation>< / semantics>< / com:Math> , a constant which depends on the motor characteristics of the subject and is therefore different for each individual. In the experiment performed for obtaining Figure 3, it was set to zero. Once all the parameters for each component of the trajectory <com:Math><semantics>ecvi(t;toj)<annotation encoding="application / x-tex">ec{v}_{i}(t;t_{oj})< / annotation>< / semantics>< / com:Math> have been calculated, it is obtained by substituting parameters <com:Math><semantics>Dj<annotation encoding="application / x-tex">D_j< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>t0j<annotation encoding="application / x-tex">t_{0j}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>μi<annotation encoding="application / x-tex">\mu_i< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>σj<annotation encoding="application / x-tex">\sigma_j< / annotation>< / semantics>< / com:Math> in Equation 2. Finally, the final velocity vector is obtained by means of adding up each of the <com:Math><semantics>v→j(t;toj)<annotation encoding="application / x-tex">\vec{v}_{j}(t;t_{oj})< / annotation>< / semantics>< / com:Math> based on [M. Djioua, R. Plamondon, A new algorithm and system for the characterization of handwriting strokes with delta-lognormal parameters, IEEE Transactions on Pattern Analysis and Machine Intelligence, 31 (2009) 2060- 2072]: [Image disponible dans le document PDF, Image available in the PDF document] (8) Components <com:Math><semantics>x<annotation encoding="application / x-tex">x< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>y<annotation encoding="application / x-tex">y< / annotation>< / semantics>< / com:Math> of vector <com:Math><semantics>v→i(t)<annotation encoding="application / x-tex">\vec{v}_i(t)< / annotation>< / semantics>< / com:Math> are adjusted by calculating the angle of each trajectory <com:Math><semantics>∅i<annotation encoding="application / x-tex">\emptyset_i< / annotation>< / semantics>< / com:Math>, [Image disponible dans le document PDF, Image available in the PDF document] (9) followed by substituting it into the equations to calculate <com:Math><semantics>vx(t;toj)<annotation encoding="application / x-tex">v_x(t;t_{oj})< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>vy(t;toj)<annotation encoding="application / x-tex">v_y(t;t_{oj})< / annotation>< / semantics>< / com:Math> from <com:Math><semantics>v→i(t;toj)<annotation encoding="application / x-tex">\vec{v}_i(t;t_{oj})< / annotation>< / semantics>< / com:Math> by means of (Equation 9) and the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control عن جيهن بن نسيم شي وجويعة بالأراث الجاجات المحكم الوابعة الأناب الأراث الأراث الأكاف الأخفاء 1 1 1 W 11 (Equation 10). [Image disponible dans le document PDF, Image available in the PDF document] (10) [Image disponible dans le document PDF, Image available in the PDF document] (11) Finally, the Cartesian trajectory used for drawing the letter is obtained: [Image disponible dans le document PDF, Image available in the PDF document] (12) [Image disponible dans le document PDF, Image available in the PDF document] (13) To synthesize problems relating to the learning or neurological health of the individual, parameters <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>εt<annotation encoding="application / x-tex">\varepsilon_t< / annotation>< / semantics>< / com:Math> are modified, increasing their value the farther away the ideal individual to be synthesized is from the normal value. To synthesize patients with Parkinson's disease, the time increment between signals representing each vector <com:Math><semantics>(Kt)<annotation encoding="application / x-tex">(K_t)< / annotation>< / semantics>< / com:Math> is increased. In this manner, the more the disease affects the patient, the less the signals modeling each of the vectors will overlap one another. The vectors of the trajectory are designed in pairs, and in each of the pairs the direction of one offsets the direction of the preceding one (simulates agonist and antagonist muscle movement). To synthesize patients with Alzheimer's disease, the value of the parameters related to the starting point stability of the signal representing each vector and the error in the trajectory <com:Math><semantics>(εD,εt)<annotation encoding="application / x-tex">(\varepsilon_D, \varepsilon_t)< / annotation>< / semantics>< / com:Math> is increased. The higher the value of these parameters, the greater the degree of degeneration will be due to the mentioned disease in adults. To synthesize patients with amyotrophic lateral sclerosis, the width of the signal representing each vector of the trajectory is increased by varying <com:Math><semantics>KσoKμ<annotation encoding="application / x-tex">K_{\sigma} \; o \; K_{\mu}< / annotation>< / semantics>< / com:Math> and reducing amplitude (<com:Math><semantics>KD<annotation encoding="application / x-tex">K_D< / annotation>< / semantics>< / com:Math>). The greater the width and the smaller the amplitude, the greater the degree of degeneration will be due The first of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of t Control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of the control of t Control of the Control of the Control A HE to the disease in adults. Alternative method Instead of using Equation 1, a sinusoid can be used, where: [Image disponible dans le document PDF, Image available in the PDF document] (13) The method would be the same as in the preceding method with the exception that in this case the value of <com:Math><semantics>σi<annotation encoding="application / x-tex">\sigma_i< / annotation>< / semantics>< / com:Math> (Equation 3) would be multiplied by <com:Math><semantics>KDs<annotation encoding="application / x-tex">K_{Ds}< / annotation>< / semantics>< / com:Math> as follows: [Image disponible dans le document PDF, Image available in the PDF document] (14) Like <com:Math><semantics>Ks<annotation encoding="application / x-tex">K_s< / annotation>< / semantics>< / com:Math>, the value of <com:Math><semantics>KDs<annotation encoding="application / x-tex">K_{Ds}< / annotation>< / semantics>< / com:Math> depends on the writer. To simulate a real writer, the value is adjusted by comparing the synthesized value with the rest of the parameters and <com:Math><semantics>KD<annotation encoding="application / x-tex">K_D< / annotation>< / semantics>< / com:Math> equal to 1 with the velocity signal obtained from a real sample. The real sample will be obtained from an image captured by means of a digitizing tablet on which the real writer will draw a line of 1 cm. Method for temporal development This section provides a detailed description of block (103) that is shown in detail in Figure 2. This method is based on the premise that, as learning progresses, the number of points used in the writing is smaller, and therefore the length <com:Math><semantics>dact,j<annotation encoding="application / x-tex">d_{act,j}< / annotation>< / semantics>< / com:Math> is greater. To that end, a variable E defining the selected percentage of points for each individual is defined. Therefore, the number of outputs the system will have will be determined by <com:Math><semantics>L<annotation encoding="application / x-tex">L< / annotation>< / semantics>< / com:Math>: [Image disponible dans le document PDF, Image available in the PDF document] (15) This method is described in detail in Figure 2 and consists of: 1. <com:Math><semantics>nsl<annotation encoding="application / x-tex">n_{sl}< / annotation>< / semantics>< / com:Math> -3 of the points of the trajectory are segmented into L clusters. Each cluster is spaced by <com:Math><semantics>(nsl−3) / (L−2)<annotation encoding="application / x-tex">(n_{sl}-3) / (L-2)< / annotation>< / semantics>< / com:Math>. For the first and last point, the maximum size is taken into account to maintain legibility. 2. One of the points of the grid is randomly selected from the control of the control of the Control of the Control of the Control of the Control of the Control of the Control of the Control of the Control of the Control of the Control of the Control of the Control of the Control and the street with the street of the street of the street of the street of the street of the street of the street of the street of the street of the street of the street of the street of the street of the street of the st A SE W each cluster. 3. To assure legibility, there is a need to at least maintain, if there are any, one of the points which coincides with one of the lines fixed for each language (201)(202)(203)(204). If the rule is not complied with, it is necessary to return to point e until the rule on legibility is complied with. Once the points of the grid have been calculated, the parameters are calculated with the preceding method. Examples The invention will be illustrated below by means of tests performed by the inventors, which clearly show the efficacy of the invention. These specific examples that are provided serve to illustrate the nature of the present invention and are included only for illustrative purposes, so they must not be interpreted as limitations of the invention herein claimed. Therefore, the examples described below illustrate the invention without limiting the field of application thereof. Example 1. Text synthesized automatically offline Figure 3 shows an example of the different handwritings generated from a single initial configuration of the grid and trajectory per letter. These results were obtained by varying development parameter <com:Math><semantics>E<annotation encoding="application / x-tex">E< / annotation>< / semantics>< / com:Math> from <com:Math><semantics>E=100<annotation encoding="application / x-tex">E = 100< / annotation>< / semantics>< / com:Math> for synthesizing the writing of a child (text in the first row) to <com:Math><semantics>E=20<annotation encoding="application / x-tex">E = 20< / annotation>< / semantics>< / com:Math> for synthesizing the writing of an adult who writes frequently. Furthermore, to make them more realistic the value of <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_{D}< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>εt<annotation encoding="application / x-tex">\varepsilon_t< / annotation>< / semantics>< / com:Math> was varied linearly from <com:Math><semantics>εD=0.3<annotation encoding="application / x-tex">\varepsilon_D=0.3< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>εt=0.02<annotation encoding="application / x-tex">\varepsilon_t=0.02< / annotation>< / semantics>< / com:Math> when E = 100 to 0 when <com:Math><semantics>E=20<annotation encoding="application / x-tex">E = 20< / annotation>< / semantics>< / com:Math>. It can be observed how in the synthesized text for <com:Math><semantics>E=20<annotation encoding="application / x-tex">E = 20< / annotation>< / semantics>< / com:Math>, the letters have more variability than the letters generated with <com:Math><semantics>E=100<annotation encoding="application / x-tex">E = 100< / annotation>< / semantics>< / com:Math>. That is due to the fact that in the case of <com:Math><semantics>E=20<annotation encoding="application / x-tex">E = 20< / annotation>< / semantics>< / com:Math>, random points of the trajectories are selected, making the number of possible variations much higher than in children. Therefore, when the value of parameter E is lower, it also synthesizes different writers, whereas when <com:Math><semantics>E=100<annotation encoding="application / x-tex">E = 100< / annotation>< / semantics>< / com:Math> a single or individual writer is being synthesized, with his or her own variability. Example 1. Text synthesized automatically online Figure 4 shows an example of a real letter 'a' and a letter 'a' synthetically generated online and offline, and the velocity profiles thereof. To obtain real samples, 20 children (from 5 to 10 years of age) from one and the same school were asked to write the letter 'a' on a Wacom digitizing tablet. The digitizing tablet is a WACOM Intuos 3 tablet with an Intuos 3 Grip Pen, a sampling frequency of 200 Hz, a resolution of 2540 dpi, and a work surface of 304.8 mm x 228.6 mm. The same process was carried out with 10 adults over 18 years of age. The left column of Figure 4 shows the real results obtained from one of the cases for each age, having confirmed that the other cases of the same age showed the same characteristics. It can be seen how there are more peaks in the velocity profile in the case of 5-year old children than in the adult. The right column of Figure 4 shows the results obtained with the letter "a" synthesized by means of the method proposed in this patent. It can be observed how there are also more peaks in the velocity profile when synthesizing the letter written by a child with a value of <com:Math><semantics>E=100<annotation encoding="application / x-tex">E = 100< / annotation>< / semantics>< / com:Math>, in contrast there are only three peaks when synthesizing the letter written by an adult using a value of <com:Math><semantics>E=20<annotation encoding="application / x-tex">E = 20< / annotation>< / semantics>< / com:Math>, which is the same as what occurs for real samples. The following aspects are also disclosed herein: 1. A method for generating valid handwritten text for writers with different degrees of maturity, the method comprising the following steps: (i) for each letter to be synthesized, selecting its n<com:Sub>s1< / com:Sub> points making up its trajectory such that they allow performing paragraph (ii), said points having been previously stored in a memory such that each point of the trajectory thereof corresponds with a specific point of a common grid for any type of character to be synthesized, (ii) applying a method for generating temporal handwritten text development which is characterized by selecting a percentage E of initial points that the trajectory of each letter has, wherein the percentage E is inversely proportional to the development or maturity of the writing; a rule on legibility of synthesized text is set; and in the event that the rule on the legibility is not complied with, the selection of points is repeated again until the rule on legibility is complied with, (iii) connecting each of the letters forming the word by joining an end point of a preceding letter to an initial point of a next letter, making sure that an upper line and a lower line of the grid are joined together, (iv) transforming the positions of the points of the trajectory into a temporal sequence of vectors and calculating an initial time instant corresponding to each vector depending on a preceding one of the vectors; wherein for every two consecutive points, a current vector <com:Math><semantics>(QlQl+1)<annotation encoding="application / x-tex">(Q_{l}Q_{l+1})< / annotation>< / semantics>< / com:Math> is considered, and for every vector an angle <com:Math><semantics>αl<annotation encoding="application / x-tex">\alpha_{l}< / annotation>< / semantics>< / com:Math> between the preceding vector <com:Math><semantics>Ql−1,Ql→<annotation encoding="application / x-tex">\overrightarrow{Q_{l-1},Q_{l}}< / annotation>< / semantics>< / com:Math> and the current vector <com:Math><semantics>Ql,Ql+1→<annotation encoding="application / x-tex">\overrightarrow{Q_{l},Q_{l+1}}< / annotation>< / semantics>< / com:Math> is calculated; a delay introduced due to the angle between the vectors <com:Math><semantics>(αi)<annotation encoding="application / x-tex">(\alpha_i)< / annotation>< / semantics>< / com:Math> is determined by a predetermined curve <com:Math><semantics>(S)<annotation encoding="application / x-tex">(S)< / annotation>< / semantics>< / com:Math>; and the initial time instant of each vector <com:Math><semantics>t0j<annotation encoding="application / x-tex">t_{0j}< / annotation>< / semantics>< / com:Math> is obtained from <com:Math><semantics>S<annotation encoding="application / x-tex">S< / annotation>< / semantics>< / com:Math>, and constants <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math> are obtained, <com:Math><semantics>(∧)<annotation encoding="application / x-tex">(\wedge)< / annotation>< / semantics>< / com:Math> transforming a modulus of each vector into a constant D relating to an amplitude of a velocity signal, wherein the amplitude <com:Math><semantics>Di<annotation encoding="application / x-tex">D_i< / annotation>< / semantics>< / com:Math> of a signal corresponding to vector <com:Math><semantics>j<annotation encoding="application / x-tex">j< / annotation>< / semantics>< / com:Math> is defined proportional to the modulus of each vector, normalized with a minimum distance between the points of the grid, proportional to a constant <com:Math><semantics>KD<annotation encoding="application / x-tex">K_D< / annotation>< / semantics>< / com:Math>, and with a random person variation by means of a constant <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math>, (vi) synthesizing a velocity profile for each vector based on a predetermined equation <com:Math><semantics>(|vl→(t;t0j)|)<annotation encoding="application / x-tex">(|\overrightarrow{v_l}(t;t_{0j})|)< / annotation>< / semantics>< / com:Math>, starting at initial instant <com:Math><semantics>toi<annotation encoding="application / x-tex">t_{oi}< / annotation>< / semantics>< / com:Math>, with an amplitude proportional to <com:Math><semantics>Di<annotation encoding="application / x-tex">D_i< / annotation>< / semantics>< / com:Math>, and adjusting parameters <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_{\mu}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kσ<annotation encoding="application / x-tex">K_{\sigma}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_{t}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>KD<annotation encoding="application / x-tex">K_{D}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_{D}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>εt<annotation encoding="application / x-tex">\varepsilon_{t}< / annotation>< / semantics>< / com:Math> for synthesizing an individual with a given maturity and customized characteristics, unless a writer writing at an abnormally slow speed for his or her age is to be synthesized, wherein: <Formule mathématique disponible dans le document PDF, Math available in the PDF document>$\bullet$ <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_{\mu}< / annotation>< / semantics>< / com:Math> is a constant which depends on motor characteristics of a subject, which is considered to be zero at first; <Formule mathématique disponible dans le document PDF, Math available in the PDF document>$\bullet$ <com:Math><semantics>Kσ<annotation encoding="application / x-tex">K_{\sigma}< / annotation>< / semantics>< / com:Math> is a constant defining the width of each of the signals <com:Math><semantics>|vl→(t;t0j)|<annotation encoding="application / x-tex">|\overrightarrow{v_l}(t;t_{0j})|< / annotation>< / semantics>< / com:Math> modeling each of the vectors, and it is different for each writer; wherein to generate development, this parameter approximates 0.01 for <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_{\mu}< / annotation>< / semantics>< / com:Math> equal to 0, so as to simulate children's writing and gradually increased until simulating an experienced, healthy writer; <com:Math><semantics>•<annotation encoding="application / x-tex">\bullet< / annotation>< / semantics>< / com:Math> <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math> is the time increment between the start of each of the signals <com:Math><semantics>|vl→(t;t0j)|<annotation encoding="application / x-tex">|\overrightarrow{v_l}(t;t_{0j})|< / annotation>< / semantics>< / com:Math> for every vector and is constant for each letter size and writing speed; wherein it must be smaller than the width of signal <com:Math><semantics>(|vl→(t;t0i)|)<annotation encoding="application / x-tex">(\left|\overrightarrow{v_{l}}(t;t_{0\,i})\right|)< / annotation>< / semantics>< / com:Math> when synthesizing normal subjects and continuous writing, unless a writer writing at an abnormally slow speed is to be synthesized; <com:Math><semantics>•<annotation encoding="application / x-tex">\bullet< / annotation>< / semantics>< / com:Math> <com:Math><semantics>KD<annotation encoding="application / x-tex">K_D< / annotation>< / semantics>< / com:Math> is a constant dependent on each individual and can also be used for scaling of the letters in the cases in which the increase in <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math> is not sufficient to obtain the desired letter size; <com:Math><semantics>•<annotation encoding="application / x-tex">\bullet< / annotation>< / semantics>< / com:Math> <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math> is the maximum time of delay due to the angle between the current and preceding trajectories; • <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math> is a random variable for generating each <com:Math><semantics>(|vi¯(t;t0i)|)<annotation encoding="application / x-tex">(|\overline{v_i}(t;t_{0i})|)< / annotation>< / semantics>< / com:Math> which modifies the distance at which the points of the trajectory are located, <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math> being close to 0 for healthy subjects and increased to simulate the poor skill of the writer or a disease; <com:Math><semantics>•<annotation encoding="application / x-tex">\bullet< / annotation>< / semantics>< / com:Math> <com:Math><semantics>εt<annotation encoding="application / x-tex">\varepsilon_t< / annotation>< / semantics>< / com:Math> is a random variable which emulates dispersion over time and is inversely proportional to the skill of the writer, <com:Math><semantics>εt<annotation encoding="application / x-tex">\varepsilon_t< / annotation>< / semantics>< / com:Math> being close to 0 for skilled healthy adult subjects and increased to simulate a poor writing skill or a disease; (vii) generating a final velocity signal by means of adding up the nsl-1 signals <com:Math><semantics>|vi→(t;t0j)|<annotation encoding="application / x-tex">|\overrightarrow{v_i}(t;t_{0j})|< / annotation>< / semantics>< / com:Math>, wherein components <com:Math><semantics>x<annotation encoding="application / x-tex">x< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>y<annotation encoding="application / x-tex">y< / annotation>< / semantics>< / com:Math> of the final velocity signal are calculated from an angle of each vector <com:Math><semantics>(∅i)<annotation encoding="application / x-tex">(\emptyset_i)< / annotation>< / semantics>< / com:Math> with respect to axes x and y, and a sign of a direction of each vector, (viii) obtaining a cartesian trajectory used for representing the synthesized text by integrating components <com:Math><semantics>x<annotation encoding="application / x-tex">x< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>y<annotation encoding="application / x-tex">y< / annotation>< / semantics>< / com:Math> of the final velocity signal, respectively, wherein the method further comprises: capturing an image of a real writing of a real writer to be synthesized; obtaining writing characteristics of the real writer by means of adjusting parameters <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_{\mu}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kσ<annotation encoding="application / x-tex">K_{\sigma}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_{t}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>KD<annotation encoding="application / x-tex">K_{D}< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math> based on a real velocity profile; and obtaining the vectors of the trajectory from the real writing obtained from the image, wherein the trajectory has been previously stored in the memory, and wherein the vectors are used in paragraph (i). 2. The method according to aspect 1, wherein the rule on legibility on the synthesized text is defined in that at least one of the points coinciding with the lines set for each language, if they coincide in the initial character design, must be maintained. 3. The method according to aspect 1, wherein the predetermined equation of paragraph (vi) is determined by: [Image disponible dans le document PDF, Image available in the PDF document] 4. The method according to aspect 1, wherein the predetermined equation of paragraph (vi) is determined by: [Image disponible dans le document PDF, Image available in the PDF document] 5. The method according to aspect 1, wherein the predetermined curve <com:Math><semantics>S<annotation encoding="application / x-tex">S< / annotation>< / semantics>< / com:Math> of paragraph (iv) is approximated by <com:Math><semantics>(S(α,b,−c))<annotation encoding="application / x-tex">(S(\alpha,b,-c))< / annotation>< / semantics>< / com:Math>, where a value of <com:Math><semantics>b<annotation encoding="application / x-tex">b< / annotation>< / semantics>< / com:Math> approximates 0.06 and a value of c approximates 65. 6. The method according to aspect 1, wherein the initial time instant of each vector <com:Math><semantics>t0j<annotation encoding="application / x-tex">t_{0j}< / annotation>< / semantics>< / com:Math> is expressed as: [Image disponible dans le document PDF, Image available in the PDF document] where <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math> are constants. 7. The method according to aspect 1, wherein the method is performed by an online computer device, and wherein the velocity profile is generated after paragraph (vii) taking into account the degree of maturity of the writer. 8. The method according to aspect 1, wherein the method is performed by an offline computer device, wherein an ink model is applied after paragraph (viii), and wherein information about a presence or an absence of ink for representing strokes with or without ink, respectively is added to each vector <com:Math><semantics>(QIQI+1¯)<annotation encoding="application / x-tex">(\overline{Q_IQ_{I+1}})< / annotation>< / semantics>< / com:Math> . 9. The method according to aspect 1, wherein the steps of paragraphs (ii) and (iii) are interchangeable. 10. The method according to aspect 1, wherein defining the value of E from 100 to 20 emulates child-to-adult development. 11. The method according to aspect 1, wherein the parameters <com:Math><semantics>arepsilonD<annotation encoding="application / x-tex">arepsilon_D< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>arepsilont<annotation encoding="application / x-tex">arepsilon_t< / annotation>< / semantics>< / com:Math> are related to learning or neurological health of an individual, wherein the value is increased until synthesizing poor neurological health or poor learning. 12. The method according to aspect 1, further comprising: synthesizing patients with Parkinson's disease by increasing a time increment between signals <com:Math><semantics>|vl→(t;t0j)|<annotation encoding="application / x-tex">|\overrightarrow{v_l}(t;t_{0j})|< / annotation>< / semantics>< / com:Math> by means of increasing <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math> in a manner proportional to an extent of the disease until the value thereof exceeds the width of said signal; wherein the more the disease affects the patient, the less the signals modeling each of the vectors will overlap one another; and wherein the vectors of the trajectory are designed in pairs, and, in each of the pairs, the direction of one offsets the direction of the preceding vector. 13. The method according to aspect 1, further comprising synthesizing patients with Alzheimer's disease by means of increasing the parameters related to a starting point stability of the signal representing each vector and an error in the trajectory <com:Math><semantics>(εD,εt)<annotation encoding="application / x-tex">(\varepsilon_D, \varepsilon_t)< / annotation>< / semantics>< / com:Math>. 14. The method according to aspect 1, further comprising synthesizing patients with amyotrophic lateral sclerosis by means of increasing the width of <com:Math><semantics>|vj→(t;t0j)|<annotation encoding="application / x-tex">|\overrightarrow{v_j}(t;t_{0j})|< / annotation>< / semantics>< / com:Math> by varying <com:Math><semantics>KσoKμ<annotation encoding="application / x-tex">K_\sigma o \, K_\mu< / annotation>< / semantics>< / com:Math> and reducing an amplitude <com:Math><semantics>(KD)<annotation encoding="application / x-tex">(K_D)< / annotation>< / semantics>< / com:Math> thereof. 15. A non-transitory computer readable medium storing instructions thereon, which, when executed by an electronic device, cause said electronic device to carry out the method of any one of aspects 1 to 14.
Claims
CLAIMS 1. A method for generating valid handwritten text for writers with different degrees of maturity, the method comprising the following steps: (i) for each letter to be synthesized, selecting its n<com:Sub>s1< / com:Sub> points making up its trajectory such that they allow performing paragraph (ii), said points having been previously stored in a memory such that each point of the trajectory thereof corresponds with a specific point of a common grid for any type of character to be synthesized, (ii) applying a method for generating temporal handwritten text development which is characterized by selecting a percentage E of initial points that the trajectory of each letter has, wherein the percentage E is inversely proportional to the development or maturity of the writing; a rule on legibility of synthesized text is set; and in the event that the rule on the legibility is not complied with, the selection of points is repeated again until the rule on legibility is complied with, (iii) connecting each of the letters forming the word by joining an end point of a preceding letter to an initial point of a next letter, making sure that an upper line and a lower line of the grid are joined together, (iv) transforming the positions of the points of the trajectory into a temporal sequence of vectors and calculating an initial time instant corresponding to each vector depending on a preceding one of the vectors; wherein for every two consecutive points, a current vector <com:Math><semantics>(QIQI+1¯)<annotation encoding="application / x-tex">(\overline{Q_{I}Q_{I+1}})< / annotation>< / semantics>< / com:Math> is considered, and for every vector an angle <com:Math><semantics>αI<annotation encoding="application / x-tex">\alpha_{I}< / annotation>< / semantics>< / com:Math> between the preceding vector <com:Math><semantics>QJ−1,QJ→<annotation encoding="application / x-tex">\overrightarrow{Q_{J-1},Q_J}< / annotation>< / semantics>< / com:Math> and the current vector <com:Math><semantics>Ql,Ql+1→<annotation encoding="application / x-tex">\overrightarrow{Q_l,Q_{l+1}}< / annotation>< / semantics>< / com:Math> is calculated; a delay introduced due to the angle between the vectors <com:Math><semantics>(αi)<annotation encoding="application / x-tex">(\alpha_i)< / annotation>< / semantics>< / com:Math> is determined by a predetermined curve <com:Math><semantics>(S)<annotation encoding="application / x-tex">(S)< / annotation>< / semantics>< / com:Math>; and the initial time instant of each vector <com:Math><semantics>t0i<annotation encoding="application / x-tex">t_{0\,i}< / annotation>< / semantics>< / com:Math> is obtained from <com:Math><semantics>S<annotation encoding="application / x-tex">S< / annotation>< / semantics>< / com:Math>, and constants <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_D< / annotation>< / semantics>< / com:Math> are obtained, <com:Math><semantics>(∧)<annotation encoding="application / x-tex">(\wedge)< / annotation>< / semantics>< / com:Math> transforming a modulus of each vector into a constant D relating to an amplitude of a velocity signal, wherein the amplitude <com:Math><semantics>Di<annotation encoding="application / x-tex">D_i< / annotation>< / semantics>< / com:Math> of a signal corresponding to vector <com:Math><semantics>j<annotation encoding="application / x-tex">j< / annotation>< / semantics>< / com:Math> is defined proportional to the modulus of each vector, normalized with a minimum distance between the points of the grid, proportional to a constant <com:Math><semantics>KD<annotation encoding="application / x-tex">K_D< / annotation>< / semantics>< / com:Math>, and with a random person variation by means of a constant <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_{D}< / annotation>< / semantics>< / com:Math>, (vi) synthesizing a velocity profile for each vector based on a predetermined equation <com:Math><semantics>(|vi→(t;t0j)|)<annotation encoding="application / x-tex">(|\overrightarrow{v_i}(t;t_{0j})|)< / annotation>< / semantics>< / com:Math>, starting at initial instant <com:Math><semantics>toj<annotation encoding="application / x-tex">t_{oj}< / annotation>< / semantics>< / com:Math>, with an amplitude proportional to <com:Math><semantics>Di<annotation encoding="application / x-tex">D_{i}< / annotation>< / semantics>< / com:Math>, and adjusting parameters <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_{\mu}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kσ<annotation encoding="application / x-tex">K_{\sigma}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_{t}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>KD<annotation encoding="application / x-tex">K_{D}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_{D}< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>εt<annotation encoding="application / x-tex">\varepsilon_{t}< / annotation>< / semantics>< / com:Math> for synthesizing an individual with a given maturity and customized characteristics, unless a writer writing at an abnormally slow speed for his or her age is to be synthesized, wherein: <Formule mathématique disponible dans le document PDF, Math available in the PDF document>$\bullet$ <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_{\mu}< / annotation>< / semantics>< / com:Math> is a constant which depends on motor characteristics of a subject, which is considered to be zero at first; <com:Math><semantics>•<annotation encoding="application / x-tex">\bullet< / annotation>< / semantics>< / com:Math> <com:Math><semantics>Kσ<annotation encoding="application / x-tex">K_{\sigma}< / annotation>< / semantics>< / com:Math> is a constant defining the width of each of the signals <com:Math><semantics>|vl→(t;t0j)|<annotation encoding="application / x-tex">|\overrightarrow{v_l}(t;t_{0j})|< / annotation>< / semantics>< / com:Math> modeling each of the vectors, and it is different for each writer; wherein to generate development, this parameter approximates 0.01 for <com:Math><semantics>Kμ<annotation encoding="application / x-tex">K_{\mu}< / annotation>< / semantics>< / com:Math> equal to 0, so as to simulate children's writing and gradually increased until simulating an experienced, healthy writer; <com:Math><semantics>•<annotation encoding="application / x-tex">\bullet< / annotation>< / semantics>< / com:Math> <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math> is the time increment between the start of each of the signals <com:Math><semantics>|vl→(t;t0j)|<annotation encoding="application / x-tex">|\overrightarrow{v_l}(t;t_{0j})|< / annotation>< / semantics>< / com:Math> for every vector and is constant for each letter size and writing speed; 23 [Image disponible dans le document PDF, Image available in the PDF document] 24 based on a real velocity profile; and obtaining the vectors of the trajectory from the real writing obtained from the image, wherein the trajectory has been previously stored in the memory, and wherein the vectors are used in paragraph (i).
2. The method according to claim 1, wherein the rule on legibility on the synthesized text is defined in that at least one of the points coinciding with the lines set for each language, if they coincide in the initial character design, must be maintained.
3. The method according to claim 1, wherein the predetermined equation of paragraph (vi) is determined by: [Image disponible dans le document PDF, Image available in the PDF document] 4. The method according to claim 1, wherein the predetermined equation of paragraph (vi) is determined by: [Image disponible dans le document PDF, Image available in the PDF document] 5. The method according to claim 1, wherein the predetermined curve <com:Math><semantics>S<annotation encoding="application / x-tex">S< / annotation>< / semantics>< / com:Math> of paragraph (iv) is approximated by <com:Math><semantics>(S(α,b,−c))<annotation encoding="application / x-tex">(S(\alpha,b,-c))< / annotation>< / semantics>< / com:Math>, where a value of b approximates 0.06 and a value of c approximates 65.
6. The method according to claim 1, wherein the initial time instant of each vector <com:Math><semantics>t0j<annotation encoding="application / x-tex">t_{0j}< / annotation>< / semantics>< / com:Math> is expressed as: [Image disponible dans le document PDF, Image available in the PDF document] where <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math>, <com:Math><semantics>Kα<annotation encoding="application / x-tex">K_{\alpha}< / annotation>< / semantics>< / com:Math>, and <com:Math><semantics>εD<annotation encoding="application / x-tex">\varepsilon_{\scriptscriptstyle D}< / annotation>< / semantics>< / com:Math> are constants.
7. The method according to claim 1, wherein the method is performed by an online computer device, and wherein the velocity profile is generated after paragraph (vii) taking into account the degree of maturity of the writer.
8. The method according to claim 1, wherein the method is performed by an offline computer device, wherein an ink model is applied after paragraph (viii), and wherein information about a presence or an absence of ink for representing strokes with or without ink, respectively is added to each vector <com:Math><semantics>(QiQi+1)<annotation encoding="application / x-tex">(Q_{i}Q_{i+1})< / annotation>< / semantics>< / com:Math>.
9. The method according to claim 1, wherein the steps of paragraphs (ii) and (iii) are interchangeable.
10. The method according to claim 1, wherein defining the value of E from 100 to 20 emulates child-to-adult development.
11. The method according to claim 1, wherein the parameters <com:Math><semantics>arepsilonD<annotation encoding="application / x-tex">arepsilon_D< / annotation>< / semantics>< / com:Math> and <com:Math><semantics>arepsilont<annotation encoding="application / x-tex">arepsilon_t< / annotation>< / semantics>< / com:Math> are related to learning or neurological health of an individual, wherein the value is increased until synthesizing poor neurological health or poor learning.
12. The method according to claim 1, further comprising: synthesizing patients with Parkinson's disease by increasing a time increment between signals <com:Math><semantics>|vl→(t;t0i)|<annotation encoding="application / x-tex">\left|\overrightarrow{v_{l}}(t;t_{0\,i})\right|< / annotation>< / semantics>< / com:Math> by means of increasing <com:Math><semantics>Kt<annotation encoding="application / x-tex">K_t< / annotation>< / semantics>< / com:Math> in a manner proportional to an extent of the disease until the value thereof exceeds the width of said signal; wherein the more the disease affects the patient, the less the signals modeling each of the vectors will overlap one another; and wherein the vectors of the trajectory are designed in pairs, and, in each of the pairs, the direction of one offsets the direction of the preceding vector.
13. The method according to claim 1, further comprising synthesizing patients with Alzheimer's disease by means of increasing the parameters related to a starting point stability of the signal representing each vector and an error in the trajectory <com:Math><semantics>(εD,εt)<annotation encoding="application / x-tex">(\varepsilon_D, \varepsilon_t)< / annotation>< / semantics>< / com:Math>.
14. The method according to claim 1, further comprising synthesizing patients with amyotrophic lateral sclerosis by means of increasing the width of <com:Math><semantics>|vj→(t;t0j)|<annotation encoding="application / x-tex">\left|\overrightarrow{v_{j}}(t;t_{0j})\right|< / annotation>< / semantics>< / com:Math> by varying <com:Math><semantics>KσoKμ<annotation encoding="application / x-tex">K_{\sigma}o\ K_{\mu}< / annotation>< / semantics>< / com:Math> and reducing an amplitude <com:Math><semantics>(KD)<annotation encoding="application / x-tex">(K_D)< / annotation>< / semantics>< / com:Math> thereof.
15. A non-transitory computer readable medium storing instructions thereon, which, when executed by an electronic device, cause said electronic device to carry out the method of any one of claims 1 to 14.
Citation Information
Patent Citations
Learning-based system and process for synthesizing cursive handwriting
US7227993B2
