My colleague Pascal Romon attracted my attention to InftyReader, a program able to read scanned texts containing mathematical formulas and output LaTeX code. Take a look at their demos. It seems to work with certain typed texts. I ignore if it works for hand written texts.
Wow! Thank for that link.
about character recognition, here are some interesting statistics,
http://twitpic.com/4uqlcf