Extract formula in LaTeX from inkml
inkML file should contain <annotation type="true">$ LaTeX formula $</annotation>
Database from CROHME, in which training data & test data with ground truth(testGT) already contain the thing above
NOTE: data in directory CROHME_test does NOT contain any annotation, but pure coordinates
edit corresponding path in main.py
and run it
or simply
import inkml2ltx as i2l
i2l.inkml2ltx('origin_path', 'dest_path')
edit corresponding path in batch_main.py
and run it
CROHME website(and data download as well): https://www.isical.ac.in/~crohme/