Replies: 1 comment
-
|
这个问题当下算法难以做到。因为识别模型预测结果时,事先不知道有几个字符,因此会直接输出可以识别的字符。对于模型来说,其他不认识字符是无感知的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
请提供下述完整信息以便快速定位问题
(Please provide the following information to quickly locate the problem)
rec v4 模型, Rapidocr 调用paddle方式 如果是字典里没有的字符,会直接没有显示结果,也没有占位符之类。怎样修改代码,将没有的字符改成返回成■?
v4 中文返回的是
我从来没觉得美是个累赘
邪魔 美の。
正确返回结果应该是
我从来没觉得美咲是个累赘
私は 邪魔だなんて 思ったことないから! 美咲のこと。
如果字典没有字符,想返回如下效果,每个■代表个一个识别有问题的字符。
我从来没觉得美■是个累赘
■■■■■■邪魔 美の■■■■。
Beta Was this translation helpful? Give feedback.
All reactions