From 073fad37ba1e0237b2d56bcfe54e32e7850b34c3 Mon Sep 17 00:00:00 2001 From: andyjpaddle Date: Thu, 2 Sep 2021 07:38:08 +0000 Subject: [PATCH] update sar postprocess --- ppocr/postprocess/rec_postprocess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppocr/postprocess/rec_postprocess.py b/ppocr/postprocess/rec_postprocess.py index f2c3f289..2bc60648 100644 --- a/ppocr/postprocess/rec_postprocess.py +++ b/ppocr/postprocess/rec_postprocess.py @@ -529,6 +529,7 @@ class SARLabelDecode(BaseRecLabelDecode): **kwargs): super(SARLabelDecode, self).__init__(character_dict_path, character_type, use_space_char) + self.rm_symbol = kwargs.get('rm_symbol', True) def add_special_char(self, dict_character): -- GitLab