Text this: Off-line Thai handwriting recognition in legal amount /