1. A computer-implemented method for recognizing handwriting, comprising: capturing a handwritten character as an image of pixels; partitioning the image into a plurality of segments, each segment having a ratio of the number of pixels in the segment divided by the total number of pixels in the image; and comparing the pixel ratio for each segment to a value range associated with a corresponding segment of a reference character, wherein the handwritten character is recognized as the reference character if more than a predetermined number of the segments in the image have the pixel ratios within the respective value ranges of the reference character.