MohrJonas / obsidian-ocr

Obsidian OCR allows you to search for text in your images and pdfs
GNU General Public License v3.0
278 stars 5 forks source link

Support for recognising latex #23

Open Zabooby opened 1 year ago

Zabooby commented 1 year ago

Are there any plans to add latex recognition to the plugin? It would basically be adding mathpix to obsidian which would be super useful to users that work with maths formulas regularly (there's a lot of us)!

There are a bunch of projects on GitHub that do this, would be possible to add this functionality to your plugin?

MohrJonas commented 1 year ago

Currently, there is no plan to implements this feature since at the moment I'm doing a lot of behind-the-scenes stuff (How transcripts are stores, ...), That however doesn't mean that it won't be added in the future. Therefore, (or if another contributor might want to add it), I'm keeping this issue open.

Zabooby commented 1 year ago

No rush, I'm just glad that your willing to add it in the future!

MohrJonas commented 1 year ago

Could you please elaborate a bit more on what you mean by LaTeX recognition? I assume you have a PDF / image file and would like to convert the text to LaTeX code? But what happens then?

Zabooby commented 1 year ago

So I'd have an image with some math equations in it, I'd input it into obsidian-ocr which would process the image/PDF and output it in LaTeX, which I can then copy into Obsidian for my notes.

image The render would be displayed in my notes.