Machine learning for handprinted character perception (character recognition)