Offline Cursive Handwriting Recognition System based on