From 28c1f2497f52c02fac5cfe3bc989c1d134fbd5ca Mon Sep 17 00:00:00 2001 From: tink2123 Date: Mon, 15 Mar 2021 20:18:30 +0800 Subject: [PATCH] add multi-lang --- ppocr/postprocess/rec_postprocess.py | 2 +- ppocr/utils/dict/ic15_dict.txt | 37 ---------------------------- 2 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 ppocr/utils/dict/ic15_dict.txt diff --git a/ppocr/postprocess/rec_postprocess.py b/ppocr/postprocess/rec_postprocess.py index 2988e123..6a8004e5 100644 --- a/ppocr/postprocess/rec_postprocess.py +++ b/ppocr/postprocess/rec_postprocess.py @@ -26,7 +26,7 @@ class BaseRecLabelDecode(object): use_space_char=False): support_character_type = [ 'ch', 'en', 'EN_symbol', 'french', 'german', 'japan', 'korean', - 'it', 'xi', 'pu', 'ru', 'ar', 'ta', 'ug', 'fa', 'ur', 'rs_latin', + 'it', 'es', 'pt', 'ru', 'ar', 'ta', 'ug', 'fa', 'ur', 'rs_latin', 'oc', 'rs_cyrillic', 'bg', 'uk', 'be', 'te', 'ka', 'ch_tra', 'hi', 'mr', 'ne', 'EN' ] diff --git a/ppocr/utils/dict/ic15_dict.txt b/ppocr/utils/dict/ic15_dict.txt deleted file mode 100644 index 01f4c698..00000000 --- a/ppocr/utils/dict/ic15_dict.txt +++ /dev/null @@ -1,37 +0,0 @@ -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z -: \ No newline at end of file -- GitLab