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

[BUG] <OCR精度问题> #314

Closed
2 tasks done
weiminw opened this issue Jul 1, 2024 · 2 comments
Closed
2 tasks done

[BUG] <OCR精度问题> #314

weiminw opened this issue Jul 1, 2024 · 2 comments

Comments

@weiminw
Copy link

weiminw commented Jul 1, 2024

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

模型在OCR提取文字过程中, 比如营业执照, 有较大概率识别营业执照号码不正确, 经常是中间少一位. 请问有什么办法能提高OCR精度?

期望行为 | Expected Behavior

模型在OCR提取文字过程中, 比如营业执照, 有较大概率识别营业执照号码不正确, 经常是中间少一位. 请问有什么办法能提高OCR精度?

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?

No response

@austingg
Copy link

austingg commented Jul 3, 2024

可以看看中间错误,具体位置是否在slice 网格边界上。

@weiminw
Copy link
Author

weiminw commented Jul 4, 2024

可以看看中间错误,具体位置是否在slice 网格边界上。

有道理,我把图片大小做了修改后,识别成功了,感谢提醒

@weiminw weiminw closed this as completed Jul 5, 2024
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