📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Update README about hugging face demo.
SWHL799c4ccd1229
diff --git a/README.md b/README.mdindex 8926413..6b6859b 100755--- a/README.md+++ b/README.md@@ -27,9 +27,9 @@- [RapidOCR (捷智OCR)](#rapidocr-捷智ocr)- [简介](#简介)- [近期更新(more)](#近期更新more)+ - [🎃2022-11-01 update:](#2022-11-01-update)- [🚩2022-10-01 udpate:](#2022-10-01-udpate)- [🛴2022-09-01 update:](#2022-09-01-update)- - [🧸2022-08-17 update:](#2022-08-17-update)- [垂直相关项目(more)](#垂直相关项目more)- [衍生项目](#衍生项目)- [生态框架](#生态框架)@@ -121,9 +121,14 @@ flowchart LR<img src="./assets/demo.gif" width="100%" height="100%"></div>- [Hugging Face Demo](https://huggingface.co/spaces/SWHL/RapidOCRDemo)- <div align="center">- <img src="./assets/huggingfacedemo.jpg" width="100%" height="100%">- </div>+ - 该demo依托于Hugging Face的Spaces构建,采用Gradio库生成,同时添加三个超参数:+ - `box_thresh`: 检测到的框是文本的概率,值越大,框中是文本的概率就越大+ - `unclip_ratio`: 控制检测到文本框的大小,值越大,检测框整体越大+ - `text_score`: 文本识别结果是正确的置信度,值越大,显示出的识别结果更准确+ - 示例图:+ <div align="center">+ <img src="./assets/huggingfacedemo.jpg" width="100%" height="100%">+ </div>## 项目结构diff --git a/docs/README_en.md b/docs/README_en.mdindex 5c10a75..6983b6a 100644--- a/docs/README_en.md+++ b/docs/README_en.md@@ -26,15 +26,15 @@- [RapidOCR](#rapidocr)- [Introduction](#introduction)- [Recently updates(more)](#recently-updatesmore)+ - [🎃2022-11-01 update:](#2022-11-01-update)- [🚩2022-10-01 udpate:](#2022-10-01-udpate)- [🛴2022-09-01 update:](#2022-09-01-update)- - [🧸2022-08-17 update:](#2022-08-17-update)- [Related projects (more)](#related-projects-more)- [Derivatives](#derivatives)- [Overall Framework](#overall-framework)- [FAQ](#faq)- [SDK compilation status](#sdk-compilation-status)- - [Online demo](#online-demo)+ - [Demo](#demo)- [Directory structure](#directory-structure)- [Current Progress](#current-progress)- [Model related](#model-related)@@ -48,7 +48,7 @@- [Sponsor](#sponsor)- [Authorization](#authorization)- [Contact us](#contact-us)- - [Demo](#demo)+ - [Demo](#demo-1)- [Demonstration with C++/JVM](#demonstration-with-cjvm)- [Demonstration with .Net](#demonstration-with-net)- [Demonstratioin with multi_language](#demonstratioin-with-multi_language)@@ -121,9 +121,14 @@ Since ubuntu users are all commercial users and have the ability to compile, pre<img src="../assets/demo.gif" width="100%" height="100%"></div>- [Hugging Face Demo](https://huggingface.co/spaces/SWHL/RapidOCRDemo)- <div align="center">- <img src="../assets/huggingfacedemo.jpg" width="100%" height="100%">- </div>+ - The demo is built on Hugging Face's Spaces, generated by the Gradio library, and adds three hyperparameters:+ - `box_thresh`: The probability that the detected box is text, the larger the value, the higher the probability that the box is text.+ - `unclip_ratio`: Controls the size of the detected text box, the larger the value, the larger the detection box as a whole.+ - `text_score`: The confidence that the text recognition result is correct, the larger the value, the more accurate the displayed recognition result.+ - Demo:+ <div align="center">+ <img src="../assets/huggingfacedemo.jpg" width="100%" height="100%">+ </div>## Directory structure<details>