Timeline for Can I OCR Mathematica code on an image?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 1, 2016 at 12:21 | review | Suggested edits | |||
Sep 1, 2016 at 13:31 | |||||
Sep 22, 2015 at 18:53 | comment | added | Felix Kasza |
True. But I see that Murta has already figured out the important part, how to set tesseract options when run through TextRecognize[] : mathematica.stackexchange.com/a/31851/12120
|
|
Sep 22, 2015 at 14:20 | comment | added | Davidmh | @FelixKasza given that the font is fixed and line orientation is not a problem, it would be very easy to train Tesseract or Ocropy to recognise Mathematica's font. One could get fancy and, if the quality is not great, do some guesswork and take the maximum likelihood version that the parser doesn't complain. | |
Sep 22, 2015 at 12:47 | history | tweeted | twitter.com/#!/StackMma/status/646304758047875072 | ||
Sep 22, 2015 at 11:15 | answer | added | mgamer | timeline score: 22 | |
Sep 22, 2015 at 10:54 | comment | added | Kuba | closely related: Open an html saved notebook | |
Sep 22, 2015 at 10:34 | history | edited | xzczd♦ | CC BY-SA 3.0 |
deleted 5 characters in body
|
Sep 22, 2015 at 10:21 | comment | added | Stephen Luttrell | You might be able to solve your problem by extending the method that I gave in my answer to Applying TextRecognize on alpha-numerical table. | |
Sep 22, 2015 at 9:52 | comment | added | Felix Kasza | Mathematica uses Tesseract; its main advantage is the price, IMO. The line above suffers from not being in any language that Tesseract would recognize, because it applies a lot of heuristics (a/k/a guesswork). Obliqued fonts won't help, either. The killer is the presence of special characters; in your example, there is one for a delayed-evaluation replacement, and there might be two double square brackets for the Part[] extraction. | |
Sep 22, 2015 at 8:33 | history | asked | xzczd♦ | CC BY-SA 3.0 |