I found a web application that recognizes handwritten math equations:
http://webdemo.visionobjects.com/equation.html?locale=default
I would like to know if someone knows an app or a tutorial or an open source project that implements this mechanism, because getting it from this webapp is really complex.
Note: I just need the equation drawn in the canvas to be translated in an input text box that's all.
There are several emscripten.js ports of well known OCR libraries such as OCRAD.js and GOCR.
Google Cloud Vision is a very accurate OCR service, and it's free for up to 1000 requests per month. It's also easy to use via its REST API. In the snippet below, the hard part is getting an image from the user and encoding it in Base64.
Tesseract OCR has been ported to JavaScript.