Handwriting to LaTeX maths
webdemo.visionobjects.com
webdemo.visionobjects.com
A small note on what we don't support yet:
no cube roots, no nth roots either
square root's top line must be a single line (make it wide enough up front)
no matrices
no system of equations
no corrections, no scratch out (use top left undo/redo arrows)
leave enough space between integral/summation symbols and main expression for better accuracy
LaTeX output pleases MathJax as much as possible (thank you guys for your lovely rendering library)
Hope that helps, Thank you for trying it out.
PS: MathML seems to get little attention, why is it so?
--- LIST OF SUPPORTED SYMBOLS (encoded in UTF-8) ---
Letters
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Digits 0 1 2 3 4 5 6 7 8 9
Maths symbols € $ £ ¥ ₩ ¢ ( ) < > [ ] { } ! # % & ? @ / \ | ∥ © ∂∅ ∇ ∞
ℂ ℕ ℚ ℝ ℤ
+ - ± × ÷ * ∘ · = ' , . : ; _
← ↑ → ↓ ↔ ↕ ↖ ↗ ↘ ↙
⇐ ⇑ ⇒ ⇓ ⇔ ⇕
∀ ∃ ∄ ∈ ∉ ∋ ∌ ∩ ∪ ⊂ ⊃ ⊄ ⊅
∼ ≃ ≠ ≡ ≢ ≤ ≥ ≪ ≫ ∝ ∠
∏ ∑ ∫∮∧ √
Greek symbols Γ Δ Ω α β γ δ ε η θ λ ν π ρ σ τ φ χ ψ ω ϕ µ
International convention units (with cursive support) km hm dam dm cm mm µm
ha
hl dal dl cl ml µl
kg hg dag dg cg mg µg
ms µs
GHz MHz kHz Hz
Other mathematical terms (with cursive support) sin cos tan sinh cosh tanh arcsin arccos arctan cot coth
min max arg argmin argmax
inf sup lim liminf limsup
ln log
dx dy dz dtMathML is hard to write and harder to read. The only time I pay any attention to MathML is when sites do not have TeX as an option. Others may feel differently, but this is my reason.
That's what tooling is for.
It looks like a great solution for including Math in html, only the browser support seems to suck. No Chrome or IE support without the use of a plugin.
I disagree. Essentially requiring tools for a supposedly human-readable markup nullifies the whole human-readable aspect. Tools such as equation editors can be a great boon, but those can be had without giving up being able to read and write the markup directly.
I do think it's a shame that browser support for MathML is limited or missing. I'd much rather have direct, native MathML support than nothing. MathJax is a pretty nice way to address this for now, I think. Much better than requiring random site visitors to install a plugin.
Also, it handles \overline wonderfully -- impressively differentiating between an overline and fraction -- but it has trouble with the \underline. \Underbrace isn't working so well, either.
Yet another difficulty - "1 / 2" is turned into "y_2". The horizontal fraction delimiter doesn't seem to be recognized.
Very impressive!
Edit: It's amazing work by the way, but distinguishing those definitely needs more training.
'A ⊂ B' is unkikely going to be recognized as 'A c B' or 'A C B'
we interpret the strokes (1 stroke == 1 sequence of 2D points)
in other words, it doesn't work on images; but we need input from a mouse, stylus, touchscreen, inkling, anoto pen, anything that outputs sequences of x,y coordinates
it would be interesting to see it on a wearable computer, taking input from some gesture input devices: accelerometers or video input with markers
Case in point: http://i.imgur.com/tnuxs.png
Extremely neat in any case.
I guess the problem is that the system drops the space between the expression and the dx, outputting the "xdx". Math text does have space before dx even if the letter is italic.
If you're the creator, should I go through the contact us stuff on your website, or is there a better way of discussing possibilities with you?
(edited: @gpakosz contacted me on twitter)
http://detexify.kirelabs.org/classify.html
EDIT: GitHub sources:
I remember once upon a time it was faster for me to write out an equation than to typeset it. Then I met detexify and Mathematica. Both are brilliant, one is free :-)
I'm an Android developer, so if there's any way I can help out, or if there's any way I can make it happen faster, please let me know! (email in user profile. I'm really really hoping I can help out somehow.)
A couple desired improvements:
-Allow uploading of images
-add an eraser/undo
-some Greek/Hebrew letters (aleph, beth, xi... ) aren't being recognized despite my tries... they've very similar to X's, equivilant, and ='s. Beth really should work, but isn't.
I wish there was a function to upload an image or to capture an image via webcam or something like that. Then I could write it on paper and show it to the webcam and get the markup, or upload scans of notes to have them translated.
There's Detexify for that:
detexify.kirelabs.org/
EDIT: You could even add a business model that made the posts auto-delete after a month where premium users could keep their pastes up forever and embed them. Infinite possibilities.
Is there a plan to offer this as a non-web-browser service? I would love to be able to write math out on paper, or a resistive screen tablet, and then import it into a LaTeX document.
I am faster writing equations by hand than typing LaTeX (and definitely faster compared to using a WYSIWYG equation program).
Edit: By the way, this is the perfect example of a problem I've always wished a start-up would come along and solve for me.
It's still cool, but I struggle to think of a use case for it. It's too unreliable to be of use for scanning maths notes.
I asked about exactly this a while ago here: http://metaoptimize.com/qa/questions/2097/ocr-lib-for-math-f...
The answers at that point were quite limited. The Tesseract OCR engine was just not made to recognize such structure. There are some other closed solutions, though.
http://desmond.imageshack.us/Himg820/scaled.php?server=820...
I'd be more interested in a write-up of how you made it more successful than previous attempts however, technologies used, etc.
Brilliant.
I wonder if it has any contextual smarts (e.g., sees a partial derivative sign in a numerator, knows it should "vote up" interpretations of the denominator that start with another partial derivative sign).
I'm impressed.
Edit: is even more fun on a tablet.
This works amazingly well. Brilliant !
How about image save for the rendered formula? I could copy/paste straight into Word for a nice homework exercise.
Basically education lower down the system could use this, not just University level.
Really impressive and useful, nonetheless.
Where's the code?
Since this is a forum for startup founders, put it this way: such a scanner would be of more use to mathematicians than, say, the sum total of Elsevier's output, and their latest financials show annual operating profit in the ten figures.
FOSS would of course be even cooler (IMHO). But, food for thought... :)
Looking forward to more devices supporting both fingers and stylus, like the Flyer or the Galaxy Note.
But some formulas doesn't work (for example: $\sqrt[3]{2}$) and I can't find a feedback / suggests a better translation button.
as Mathieu mentioned, the backend of this demo is done in Java which talks to our native code through JNI
"Windows 7 Ink Input and Math Handwriting Recognition"
Nice to see a version on the web. Weird to the web cloning naive software on a few years delay.