New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image grab not supported in Linux #5
Comments
Hey, I am trying to test this model, I did all progress under the Linux. To work around the clipboard problem. |
@lukas-blecher I have retested that with small resolution like(210*170) and this turns out. However I still got the same result with latex error on xelatex. |
Do I understand you correctly, that you edited the |
@lukas-blecher yeah, just modify the input of the image, it could read local images. I just find another tip that if you just add image.resize() to zoom every image to like x * 60, the output would be stabilized. Just as you mentioned, the model worked better under the low resolution. |
Yesterday I added a somewhat more sophisticated image resize method (not sure if you saw it) where I predict the image size beforehand using a image classification network (c610cca). |
Thanks a lot to let me know! |
Possibly fixed by using an GUI, shown in this fork: https://github.com/katie-lim/LaTeX-OCR Really love it. Thank you @katie-lim. |
No problem! Just wanted a more convenient way to use the model. |
GUI added #14. |
pix2tex.py
uses this method but it is not supported in Linux.Need to find a workaround.
The text was updated successfully, but these errors were encountered: