Click here to Skip to main content
15,894,312 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i need a c# code which convert image math to latex string.

What I have tried:

nothing. I tried to get some sample in google but nothing got related to it
Posted
Updated 15-Jun-18 1:46am
Comments
Richard MacCutchan 15-Jun-18 7:36am    
Sorry, this site does not provide code to order. If Google cannot find you a sample then (the horror*) you may actually have to write it yourself.

* with apologies to Joseph Conrad.

1 solution

You would need an OCR application that is able to detect mathematical formulas and return them in some format. That format must be then converted to LaTeX.

I don't know of one but see the SO thread OCR lib for math formulas - Stack Overflow[^] from 2015.

The above mentions Im2Latex. Searching for that keyword you will find some projects at GitHub.

As a last resort you can still embed the image file in LaTeX using the graphicx package.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900