A gabor filter-based method for recognizing handwritten numerals