I have a new project that invloves on-line character recognition (recognizing characters as they are written). My idea is that each character is defined by a number of strokes that fit a mathmatical model. For instance, 'A' could be defined by three linear strokes; 'O' could be defined as a single circular stroke. The reason for using linear regression would be because not every stroke would be a perfect line or curve every time.Linear regression could be used to form an 'acceptable range' for the strokes.
My questions are:
Are there better/easier ways to do this?
Does Java have some built in functions or modules that perform linear regression?
Are there any languages that could do this easier than Java?