diff --git a/ppocr/postprocess/rec_postprocess.py b/ppocr/postprocess/rec_postprocess.py index 347661b7d2dd5479aa077441da3bf2ecb01e2e13..f64ea1ce7a72641ccf7da8be9355e31968a030f7 100644 --- a/ppocr/postprocess/rec_postprocess.py +++ b/ppocr/postprocess/rec_postprocess.py @@ -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