On transition level data based OCR classification