Comments (19)
[Auto response] Looks like this is your first issue. I will look into it as soon as possible.
from img2latex-mathpix.
Content not found 的报错是 mathpix 返回的,截取的图片确认不是空白的吗?或者分辨率太低?
from img2latex-mathpix.
图片确认不是空白的,以前一直是这样用都是可以的,我用mathpix官方的软件,同样的截图没有问题,可以识别。
from img2latex-mathpix.
电脑中装有 Python 3 吗?麻烦先截图,然后运行以下代码,然后测试截图是否可以使用 app 进行 OCR。如果不行,麻烦上传以下 Python 代码运行之后生成的 debug.data 文件。代码运行需要安装 Pillow ,python3 -m pip install Pillow
。
from PIL import ImageGrab
im = ImageGrab.grabclipboard()
with open("debug.data", "wb") as f:
f.write(im.tobytes())
from img2latex-mathpix.
from img2latex-mathpix.
麻烦这次运行以下代码,并同样把 debug.data 上传上来。
from PIL import ImageGrab
im = ImageGrab.grabclipboard()
with open("debug.data", "wb") as f:
f.write(im.tobytes())
print(im.size, im.mode)
from img2latex-mathpix.
debug.zip
运行代码返回信息:
175974
(422, 139) RGB
from img2latex-mathpix.
试下这个版本,还会不会出现同样的问题 https://github.com/blaisewang/img2latex-mathpix/releases/download/v0.7.8-alpha/Image2LaTeX-0.7.8-windows.zip
from img2latex-mathpix.
还是同样的错误
还有一个问题,就是我将图像复制到粘贴板的时候,Image2Latex软件Clipboard Image显示也是空白的,使用空格键提交不起作用,都要用submit提交。前段时间是好用,最近就不行了,不知道啥引起的。
from img2latex-mathpix.
试了另外一些文档,有的是成功的。 可能原因是,有的文档截图后clipboard image区域里并没有显示,发送了空的数据到服务器?不过同样的文档,用mathipx就没问题,因为mathipx是有自己的截图工具。
from img2latex-mathpix.
我最近也遇到了相同的问题 之前用还正常
from img2latex-mathpix.
今天剛開始使用,也遇到了類似的問題,個人發現和截圖程式有關,我用 Snipaste2.3.0 會出錯,但 Tim 自帶的截圖 ok
from img2latex-mathpix.
我尝试了数周,还是没办法复现这个问题,但是上面给出的 debug data 确实报相同的错误,目前没有进展
from img2latex-mathpix.
from img2latex-mathpix.
我也遇到了同样的问题,使用snipaste的截图无法识别,但是qq截图可以,我最后使用Lightshot,它的截图也能识别,感觉是snipaste 的问题。
from img2latex-mathpix.
感觉应该是snipaste的问题,换个截图软件就任何问题都没有了,希望开发者可以做一下与snipaste截图的适配,感谢感谢!
from img2latex-mathpix.
在Snipaste的issue中,Snipaste的开发者分析认为是img2latex-mathpix 使用 JavaFX 读取剪贴板图像导致的问题。
参考 https://stackoverflow.com/questions/48932575/getting-image-from-clipboard-awt-vs-fx
@blaisewang 希望开发者能进一步解决该问题
from img2latex-mathpix.
在Snipaste的issue中,Snipaste的开发者分析认为是img2latex-mathpix 使用 JavaFX 读取剪贴板图像导致的问题。
参考 https://stackoverflow.com/questions/48932575/getting-image-from-clipboard-awt-vs-fx
@blaisewang 希望开发者能进一步解决该问题
确实 JavaFX 有很多问题,而且也不是一个主流的图形库,至少从目前看来并不能满足这个 App 非常简单的需求。我已经考虑在用其他语言重写这个 App 了,来实现一些呼声较高但是由于 Java 语言本身限制做不到的 feature,比如 #94 ,可惜目前工作比较忙,还没时间
from img2latex-mathpix.
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 10 days
from img2latex-mathpix.
Related Issues (20)
- 能不能给一个(或者记住我上一次选择复制的公式)选择默认复制公式样式的选项 HOT 2
- [Feature Request] The result without math mode symbols HOT 2
- [Bug] HOT 2
- unrendered equation HOT 3
- [Bug] Incorrect MathML export for multiple entries at once HOT 4
- [Bug] Application allows executing multiple instances at the same time HOT 1
- 关于公式格式 HOT 2
- [Bug] Mathpix OCR API now costs? HOT 3
- [Enhanecement] Whitespace character between $ signs HOT 3
- How does it work? HOT 2
- Can't access settings after first configuration HOT 1
- Qt: Session management error: Could not open network socket HOT 2
- Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found HOT 7
- [Bug] 停止一段时间不用后,再粘贴公式就无法识别,必须要重启后才可以正常使用。人在国外,识别速度偏慢 HOT 2
- 建议改一下Readme HOT 4
- [Bug]Connection reset HOT 1
- [Feature Request] ubuntu20 版,能不能提供一个快捷键就可以关闭应用界面的功能 HOT 4
- Where is the Image2LaTeX.exe ? HOT 1
- [Bug]To prevent automated abuse we charge a one-time non-refundable setup fee of $19.99. HOT 2
- 能否添加队列模式 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from img2latex-mathpix.