mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-21 13:23:18 +08:00
fix nrtr posrprocess lower in chinese (#9103)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user