Warping-Based Approach to Offline Handwriting Recognition