LaTeX-OCR
LaTeX-OCR copied to clipboard
Add integration of raycast and wox
Add integration of raycast and wox, so that we can use any screenshot app to capture latex image and pass it to latexOCR server via pix2tex.api.
BTW:
It seems that current pypi package doesn't include pix2tex.api due to the lack of __init__.py
Example usage of Raycast on macOS:
Hi, thanks for your contribution!
I'll look at it in more detail when I find the time. Right now I'm not sure what the added value is. I'm guessing you are running the API on a remote server? Not sure about supporting multiple solutions for the different operating systems. And what about linux?
There is a cross-platform launcher that supports Linux, i.e., cerebro. We can write a plugin for it, so that we can achieve the same thing for Linux.
The main target users are those who have Raycast or Wox already installed, otherwise they could use the Python GUI directly without installing additional software.
The integration is suitable for those who:
- Fail to install QT dependency to launch Python GUI, like me.
- Don't want to mess up their environment with a lot of torch things.
- Have a powerful accessible GPU machine, but often use a laptop and want LatexOCR run faster.
Install all the dependencies on the use's macOS or Windows machine might be difficult and error-pruning. For my case, I have a GPU server that installed all the torch things, so I don't want to install them on my mac again.
Nevertheless, user can still run the API on their local machine, but they don't need to deal with QT things this time.
Ok, I like the idea. Though, I'd prefer it if the API url is read from some settings file.