📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Fix scores
SWHLef1265c22a8d
diff --git a/.github/ISSUE_TEMPLATE/01-feature_request.md b/.github/ISSUE_TEMPLATE/01-feature_request.mdindex 5924e1b..0a409c6 100644--- a/.github/ISSUE_TEMPLATE/01-feature_request.md+++ b/.github/ISSUE_TEMPLATE/01-feature_request.md@@ -1,11 +1,11 @@-----name: Feature Request-about: requests for new RapidOCR features-title: 'Feature Request'-labels: 'Feature Request'-assignees: ''-------请您详细描述想要添加的新功能或者是新特性-(Please describe in detail the new function or new feature you want to add)+---+name: Feature Request+about: requests for new RapidOCR features+title: 'Feature Request'+labels: 'Feature Request'+assignees: ''++---++请您详细描述想要添加的新功能或者是新特性+(Please describe in detail the new function or new feature you want to add)diff --git a/.github/ISSUE_TEMPLATE/02-bug.md b/.github/ISSUE_TEMPLATE/02-bug.mdindex 4317e55..e3fa03c 100644--- a/.github/ISSUE_TEMPLATE/02-bug.md+++ b/.github/ISSUE_TEMPLATE/02-bug.md@@ -1,18 +1,18 @@-----name: Bug-about: Bug-title: 'Bug'-labels: 'Bug'-assignees: ''-------请提供下述完整信息以便快速定位问题-(Please provide the following information to quickly locate the problem)-- **系统环境/System Environment**:-- **使用的是哪门语言的程序/Which programing language**:-- **所使用语言相关版本信息/Version**:-- **OnnxRuntime版本/OnnxRuntime Version**:-- **可复现问题的demo/Demo of reproducible problems**:-- **完整报错/Complete Error Message**:+---+name: Bug+about: Bug+title: 'Bug'+labels: 'Bug'+assignees: ''++---++请提供下述完整信息以便快速定位问题+(Please provide the following information to quickly locate the problem)+- **系统环境/System Environment**:+- **使用的是哪门语言的程序/Which programing language**:+- **所使用语言相关版本信息/Version**:+- **OnnxRuntime版本/OnnxRuntime Version**:+- **可复现问题的demo/Demo of reproducible problems**:+- **完整报错/Complete Error Message**:- **可能的解决方案/Possible solutions**:\ No newline at end of filediff --git a/.github/ISSUE_TEMPLATE/03-blank.md b/.github/ISSUE_TEMPLATE/03-blank.mdindex 3589e68..07fa868 100644--- a/.github/ISSUE_TEMPLATE/03-blank.md+++ b/.github/ISSUE_TEMPLATE/03-blank.md@@ -1,8 +1,8 @@-----name: Blank Template-about: Blank Template-title: 'Blank Template'-labels: 'Blank Template'-assignees: ''-+---+name: Blank Template+about: Blank Template+title: 'Blank Template'+labels: 'Blank Template'+assignees: ''+---\ No newline at end of filediff --git a/ocrweb/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.py b/ocrweb/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.pyindex 7576fcf..6aecf86 100644--- a/ocrweb/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.py+++ b/ocrweb/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.py@@ -124,5 +124,5 @@ class CTCLabelDecode(object):else:conf_list.append(1)text = ''.join(char_list)- result_list.append((text, np.mean(conf_list + [1e-10] )))+ result_list.append((text, np.mean(conf_list + [1e-50] )))return result_listdiff --git a/python/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.py b/python/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.pyindex 7576fcf..6aecf86 100644--- a/python/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.py+++ b/python/rapidocr_onnxruntime/ch_ppocr_v3_rec/utils.py@@ -124,5 +124,5 @@ class CTCLabelDecode(object):else:conf_list.append(1)text = ''.join(char_list)- result_list.append((text, np.mean(conf_list + [1e-10] )))+ result_list.append((text, np.mean(conf_list + [1e-50] )))return result_listdiff --git a/python/rapidocr_openvino/ch_ppocr_v3_rec/utils.py b/python/rapidocr_openvino/ch_ppocr_v3_rec/utils.pyindex e9f7719..b5cd0eb 100644--- a/python/rapidocr_openvino/ch_ppocr_v3_rec/utils.py+++ b/python/rapidocr_openvino/ch_ppocr_v3_rec/utils.py@@ -83,5 +83,5 @@ class CTCLabelDecode(object):else:conf_list.append(1)text = ''.join(char_list)- result_list.append((text, np.mean(conf_list + [1e-10] )))+ result_list.append((text, np.mean(conf_list + [1e-50] )))return result_list