im2markup icon indicating copy to clipboard operation
im2markup copied to clipboard

Could you upload the code to generate handwriting formulas?

Open ZizhenWang opened this issue 6 years ago • 6 comments

Hi~I want to generate some handwriting image, can you share your code?

ZizhenWang avatar Mar 29 '18 06:03 ZizhenWang

Hmm sorry we have not cleaned up the code yet, but the synthetic handwritten dataset can be found here: http://lstm.seas.harvard.edu/latex/data/ (at the bottom of the page)

da03 avatar Mar 29 '18 07:03 da03

Hi,author I want to know you how to replace individual symbols? Getting character position information through pdflatex or writing program to render by yourself

TyrionChou avatar Aug 07 '19 05:08 TyrionChou

Hi. https://github.com/search?q=CROHME. And https://github.com/ThomasLech/CROHME_extractor in particular will help you create the data you need. (I think, of course I don't know the specifics of what you're looking for)

However, just to thorw it out there... most AI/ML is munging data for your models. I highly recommend you incorporate building your own data sets into your education regimen, it will serve you better than pretty much any other data science skill(imho and from years of doing so)

Cheers!

mikewlange avatar Aug 11 '19 04:08 mikewlange

@da03 I am wondering how you can replace the horizontal fraction line into hand-written style as shown in your paper, any idea?

w32zhong avatar Oct 31 '19 04:10 w32zhong

Hi @t-k- , it's the same for fraction line or other symbols. I was using mathjax to render latex equations to SVG format, and since in SVG we have paths for each symbolid, we can simply replace each path to the corresponding handwritten path which is kindly provided by the detexify author (but we need to figure out the mapping from symbol to id, which can be found in mathjax code).

da03 avatar Oct 31 '19 13:10 da03

@da03 Thank you for your reply, that helps a lot.

w32zhong avatar Oct 31 '19 13:10 w32zhong