Skip to content
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

🐞 反馈问题:macOS 15 截图识别不准的问题 #653

Open
5 of 6 tasks
JackeyLov5 opened this issue Aug 19, 2024 · 10 comments
Open
5 of 6 tasks

🐞 反馈问题:macOS 15 截图识别不准的问题 #653

JackeyLov5 opened this issue Aug 19, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@JackeyLov5
Copy link

请先确认以下事项:

  • 请务必查看 常见问题
  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

最新版本存在识别不准的问题,我完全截图很大概率出现识别错误的情况,没以前精准了 ,我觉得之前会 忽略残缺并保持联想 就比如有时候多了一小块汉字的线条会忽略 但是单词不完全截全也能正常翻译

该问题是否可以稳定重现?

可重现

重现步骤

正常截图识别

截图

Screen-2024-08-19-171556.mp4

运行日志(zip 文件)

com.izual.Easydict 2024-08-19--03-39-11-255.log

期望结果

识别精准 忽略残缺。保留联想

解决方案(可选)

No response

设备型号 && 系统版本

macos 15.0

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR 来解决该问题
@JackeyLov5 JackeyLov5 added the bug Something isn't working label Aug 19, 2024
@JackeyLov5
Copy link
Author

该问题出现在2.8.0

@tisfeng
Copy link
Owner

tisfeng commented Aug 19, 2024

这没道理,最近版本我们没改 OCR 相关的代码,应该不会出现识别不准的问题 😑

苹果系统的 OCR 相当准确,我直接用你视频的截图,每次都能识别成功的。

@tisfeng
Copy link
Owner

tisfeng commented Aug 19, 2024

我注意到你是 macos 15.0,我还没测试过这个系统,不确定苹果有没有修改 OCR 的 API。

按理说不会有这种功能性破坏,反而导致识别不准确。


注意格式,需要上传的是运行日志(zip 文件),你直接导致日志 zip 上传就可以,里面还有其他信息,例如截图文件,这个我调试有用的。

@Jerry23011
Copy link
Collaborator

Jerry23011 commented Aug 20, 2024

我也在 15 beta 中发现了这个问题,视频中的 support 识别为 “4Joddns“,14.6.1 是没有问题的

@tisfeng
Copy link
Owner

tisfeng commented Aug 22, 2024

有点奇怪,我还没升级新系统,不方便调试,也不知道苹果是否修改了什么 API 😓

如果你们升级了 macos 15.0,有空可以看看这个问题。

@tisfeng
Copy link
Owner

tisfeng commented Sep 25, 2024

最近升级了 macOS 15,试了一下 OCR,这个还真有问题,苹果有大病。。

晚上我查一下。

@tisfeng tisfeng changed the title 🐞 反馈问题:截图识别不准的问题 🐞 反馈问题:macOS 15 截图识别不准的问题 Sep 25, 2024
@tisfeng
Copy link
Owner

tisfeng commented Sep 25, 2024

调试发现,代码运行结果就是这样,有时候不准确。

没找到 macOS 15 Vision API 的变动记录 https://developer.apple.com/documentation/vision/vnrecognizetextrequest ,我们的识别代码也没改过,怀疑是苹果新版本奇怪 bug 😥

@tisfeng
Copy link
Owner

tisfeng commented Sep 25, 2024

我弄了一个 OCR 快捷指令测试,它这个也会识别错误 🫠

测试图片
snip_image

74216

@Jerry23011
Copy link
Collaborator

我在 macOS 15.1 beta 上测试也存在,但是我只能用 support 复现?目前还没测出其他词

@tisfeng
Copy link
Owner

tisfeng commented Sep 26, 2024

确实,我也测试了很多英语单词,好像只有 support 异常。可能苹果更新了 OCR 识别的模型数据,出现了一些奇怪问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants