Method and system for modeling handwriting using polynomials as a function of time
First Claim
1. A method for recognizing handwriting in a computer system, the handwriting being written on an electronic tablet using an electronic pen, the handwriting comprising at least one character, each character comprising at least one stroke, the method comprising the computer-implemented steps of:
- for each character in the handwriting,for each stroke in the character,obtaining a plurality of coordinates representing the location of a pen tip on a tablet from pen down until pen up at periodic intervals as the stroke is written,normalizing the (x, y) coordinates;
generating coefficients of a Chebyshev polynomial to approximate the normalized (x,y) coordinates;
comparing the generated coefficients for all strokes in the character to a plurality of stored prototypes, each prototype comprising coefficients generated from an allowable character;
determining whether the generated coefficients match any of the stored prototypes; and
when there is a match, outputting the character corresponding to the stored prototype that matches the generated coefficients.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for modeling handwriting using polynomials as a function of time. In a preferred embodiment, a user inputs handwriting by writing with an electronic pen on an electronic tablet. The tablet samples the location of the tip of the pen on the tablet from pen down until pen up at periodic intervals as each stroke in a character is written and inputs the (x,y) coordinates for each stroke in the character to a normalizer. The normalizer normalizes the (x,y) coordinates and inputs the normalized (x,y) coordinates to a featurizer. The featurizer generates a set of features that represent each stroke in the character. In the preferred embodiment, the features are coefficients of a Chebyshev. After the Chebyshev coefficients have been generated for each stroke in the character, the featurizer normalizes the set of Chebyshev coefficients. During training, the normalized Chebyshev coefficients are input to a prototype generator. After receiving all of the input samples for a given character and the corresponding set of Chebyshev coefficients for each sample, the prototype generator generates one or more prototypes of the given character and stores the prototype(s) in a database. During recognition, the normalized Chebyshev coefficients are input to a classifier. After receiving the set of Chebyshev coefficients for a character to be recognized, the classifier compares the set of Chebyshev coefficients to the prototypes stored in the database to find an acceptable match. If an acceptable match is found, the character corresponding to the matching prototype is output.
-
Citations
15 Claims
-
1. A method for recognizing handwriting in a computer system, the handwriting being written on an electronic tablet using an electronic pen, the handwriting comprising at least one character, each character comprising at least one stroke, the method comprising the computer-implemented steps of:
for each character in the handwriting, for each stroke in the character, obtaining a plurality of coordinates representing the location of a pen tip on a tablet from pen down until pen up at periodic intervals as the stroke is written, normalizing the (x, y) coordinates; generating coefficients of a Chebyshev polynomial to approximate the normalized (x,y) coordinates; comparing the generated coefficients for all strokes in the character to a plurality of stored prototypes, each prototype comprising coefficients generated from an allowable character; determining whether the generated coefficients match any of the stored prototypes; and when there is a match, outputting the character corresponding to the stored prototype that matches the generated coefficients. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A computer system for recognizing handwriting, the handwriting being written on an electronic tablet using an electronic pen, the handwriting comprising at least one character, each character comprising at least one stroke, the system comprising;
-
a tablet for obtaining a plurality of (x,y) coordinates representing the location of a pen tip on a tablet from pen down until pen tip at periodic intervals as a stroke in a character is written; a normalizer for normalizing the (x,y) coordinates; a featurizer for generating coefficients of a Chebyshev polynomial to approximate the handwriting from the normalized (x y) coordinates; a prototype generator for generating prototypes of allowable characters, each prototype comprising coefficients generated from an allowable character; a database for storing the prototypes of the allowable characters; a classifier for comparing the coefficients representing a character to be recognized to the stored prototypes and determining whether the coefficients match any of the stored prototypes; and a display device for outputting the character corresponding to the stored prototype that matches the coefficients.
-
-
10. A computer-readable medium containing instructions for causing a computer system to recognize handwriting, the handwriting being written on an electronic tablet using an electronic pen, the handwriting comprising at least one character, each character comprising at least one stroke, by:
for each character in the handwriting, for each stroke in the character, obtaining a plurality of coordinates representing the location of a pen tip on a tablet from pen down until pen up at periodic intervals as the stroke is written; normalizing the (x, y) coordinates; generating coefficients of a Chebyshev polynomial to approximate the normalized (x, y) coordinates as a function of time; comparing the generated coefficients for all strokes in the character to a plurality of stored prototypes, each prototype comprising coefficients generated from an allowable character; determining whether the generated coefficients match any of the stored prototypes; and when there is a match, outputting the character corresponding to the stored prototype that matches the generated coefficients. - View Dependent Claims (11, 12, 13, 14, 15)
Specification