We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我用tools/infer/predict_rec.py调用ch_PP-OCRv4_rec_infer模型识别下面两张图时发现识别结果分别是“冏下點”和“冏干文”,请问这是什么原因?谢谢
The text was updated successfully, but these errors were encountered:
python3 tools/infer/predict_rec.py --image_dir="./doc/imgs_words_en/word_336.png" --rec_model_dir="./your inference model" --rec_image_shape="3, 48, 320" --rec_char_dict_path="your text dict path" 检查一下是不是模型和字典不匹配
Sorry, something went wrong.
我觉得应该没问题,跑其他图片都是可以的; 你要不帮我测试一下这两张 看看是不是和我的识别结果相同?
我复现一下
我这边复现第一张图也出现你所说的问题,怀疑是文字两边的空白太大,我单独截出文字部分识别是正常的
zhangyubo0722
No branches or pull requests
我用tools/infer/predict_rec.py调用ch_PP-OCRv4_rec_infer模型识别下面两张图时发现识别结果分别是“冏下點”和“冏干文”,请问这是什么原因?谢谢
The text was updated successfully, but these errors were encountered: