fix nrtr posrprocess lower in chinese (#9103)

This commit is contained in:
topduke
2023-02-20 09:39:15 +08:00
committed by GitHub
parent 2295e9a0dc
commit bfa05707dd
+1 -1
View File
@@ -799,7 +799,7 @@ class NRTRLabelDecode(BaseRecLabelDecode):
else:
conf_list.append(1)
text = ''.join(char_list)
result_list.append((text.lower(), np.mean(conf_list).tolist()))
result_list.append((text, np.mean(conf_list).tolist()))
return result_list