3 ms·
I would love to have the opposite, get the code from writing maths as it is printed. Has that been made?
by thyselius 10y ago
I would love to have the opposite, get the code from writing maths as it is printed. Has that been made?
- umanwizard 10y agoDo you mean something like Detexify?
- ygra 10y agoThat only works for individual glyphs. I guess they meant something like the Math Input Panel where you can draw an entire expression and paste it into other applications.
- H4CK3RM4N 10y agoThe best tool I've found for that is grapher.app which is still shipped with Macs. It has an interactive editor and the option to copy out latex.
- AlbertoGP 10y agoIt has been tried several times with different approaches. I mentioned some of them in my bachelor's thesis "Multimodal mathematical formula editing for web services": http://matracas.org/tacto/index.html.en http://matracas.org/tacto/index.html.en As part of that work I implemented part of the DRACULAE formula layout analysis algorithm and improved on it to allow certain disambiguations when parsing the formula: the result encoding is not presentational like LaTeX but semantical like the ones used in Computer Algebra Systems. That makes thing much more complicated and I only implemented simple notations like super/subscripts and fractions. Still, it might give you an idea of how it can be done.You can play with it here: http://matracas.org/tacto/test.html http://matracas.org/tacto/test.html Speech synthesis using the HTML5 audio API (reads aloud the formula you write) worked in several browsers including Chrome at the time, but nowadays it seems to work only in Firefox. You might combine the handwritten symbol recognition of detexify, mentioned in a sibling comment, with this layout analysis to have full handwritten recognition of formulas but it's not straightforward. Some time ago there was a story in HN about someone else's PhD thesis that went much further ahead: "SESHAT: Handwritten math expression parser" https://news.ycombinator.com/item?id=12388407 https://news.ycombinator.com/item?id=12388407 This one is closer to what you want.