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

能否考虑增加支持数字识别? #30

Closed
wnight9527 opened this issue Nov 30, 2020 · 5 comments
Closed

能否考虑增加支持数字识别? #30

wnight9527 opened this issue Nov 30, 2020 · 5 comments

Comments

@wnight9527
Copy link

目前内置的文字识别方法对数字的准确度很低。游戏里很多地方要识别数字。
按键精灵有那种定义10个数字点阵的方式,准确度还挺高的,大大能否考虑下。

@Jinnrry
Copy link
Owner

Jinnrry commented Dec 4, 2020

目前支持的,你可以调文字识别的时候把白名单设置成0123456789

@wnight9527
Copy link
Author

目前支持的,你可以调文字识别的时候把白名单设置成0123456789

试过了,发现识别准确率不行

@wnight9527
Copy link
Author

游戏里一个是数字字体和常规字体不一样,一个是背景花里胡哨。所以导致识别准确率不太行。按键精灵那个是有个专门的算法提供数字识别的,估计费了挺大劲的,不知道怎么实现的。

@Jinnrry
Copy link
Owner

Jinnrry commented Dec 9, 2020

1.你可以改成英语模型,不要用中文模型识别数字
2.你需要去背景后再提交识别
3.模式都是印刷字体,你可以自己训练模型,训练方法搜索“tesseract 训练”

更多调优方法你可以搜搜 “tesseract 验证码识别”

@wnight9527
Copy link
Author

了解,我试试看

@Jinnrry Jinnrry closed this as completed Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants