OpenBMB / MiniCPM-V

MiniCPM-Llama3-V 2.5: A GPT-4V Level Multimodal LLM on Your Phone
Apache License 2.0
7.82k stars 543 forks source link

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

Open weiminw opened 3 days ago

weiminw commented 3 days ago

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

该问题是否在FAQ中有解答? | Is there an existing answer for this in 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 commented 1 day ago

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

weiminw commented 2 hours ago

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

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