From 4b74474a5280f7834cbd11bb91b8ae114517d860 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 26 Oct 2022 10:23:05 +0800 Subject: [PATCH] refine doc for paddle.js --- deploy/paddlejs/README.md | 26 +++++++++++++++++++------- deploy/paddlejs/README_ch.md | 25 +++++++++++++++++++++---- 2 files changed, 40 insertions(+), 11 deletions(-) diff --git a/deploy/paddlejs/README.md b/deploy/paddlejs/README.md index e80b7cce..eef39b6c 100644 --- a/deploy/paddlejs/README.md +++ b/deploy/paddlejs/README.md @@ -1,14 +1,26 @@ -English| [简体中文](README_ch.md) +English| [简体中文](README_ch.md) -# Paddle.js +# Paddle.js Introduction -[Paddle.js](https://github.com/PaddlePaddle/Paddle.js) is a web project for Baidu PaddlePaddle, which is an open source deep learning framework running in the browser. Paddle.js can either load a pre-trained model, or transforming a model from paddle-hub with model transforming tools provided by Paddle.js. It could run in every browser with WebGL/WebGPU/WebAssembly supported. It could also run in Baidu Smartprogram and WX miniprogram. +[Paddle.js](https://github.com/PaddlePaddle/Paddle.js) is a web project for Baidu PaddlePaddle, which is an open source deep learning framework running in the browser. Paddle.js can either load a pre-trained model, or transforming a model from paddle-hub with model transforming tools provided by Paddle.js. It could run in every browser with WebGL/WebGPU/WebAssembly supported. It could also run in Baidu Smartprogram and wechat miniprogram. +## Web Demo +Run OCR demo in browser refer to [tutorial](https://github.com/PaddlePaddle/FastDeploy/blob/develop/examples/application/js/WebDemo.md). -- [Online experience](https://paddlejs.baidu.com/ocr) -- [Tutorial](https://github.com/PaddlePaddle/Paddle.js/blob/release/v2.2.3/packages/paddlejs-models/ocr/README_cn.md) -- Visualization: +|demo|web demo dicrctory|visualization| +|-|-|-| +|PP-OCRv3|[TextDetection、TextRecognition](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/web_demo/src/pages/cv/ocr/)|| + + +## Mini Program Demo +The Mini Program demo running tutorial eference +Run OCR demo in wechat miniprogram refer to [tutorial](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/mini_program). + +|demo|directory| +|-|-| +|Text Detection| [ocrdetecXcx](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/mini_program/ocrdetectXcx/) | +|Text Recognition| [ocrXcx](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/mini_program/ocrXcx/) |
-
\ No newline at end of file + diff --git a/deploy/paddlejs/README_ch.md b/deploy/paddlejs/README_ch.md index 9e514df0..46666130 100644 --- a/deploy/paddlejs/README_ch.md +++ b/deploy/paddlejs/README_ch.md @@ -5,10 +5,27 @@ [Paddle.js](https://github.com/PaddlePaddle/Paddle.js) 是百度 PaddlePaddle 的 web 方向子项目,是一个运行在浏览器中的开源深度学习框架。Paddle.js 可以加载提前训练好的 paddle 模型,通过 Paddle.js 的模型转换工具 paddlejs-converter 变成浏览器友好的模型进行在线推理预测使用。目前,Paddle.js 可以在支持 WebGL/WebGPU/WebAssembly 的浏览器中运行,也可以在百度小程序和微信小程序环境下运行。 -- [在线体验](https://paddlejs.baidu.com/ocr) -- [直达教程](https://github.com/PaddlePaddle/Paddle.js/blob/release/v2.2.3/packages/paddlejs-models/ocr/README_cn.md) +## Web Demo使用 + +在浏览器中直接运行官方OCR demo参考[教程](https://github.com/PaddlePaddle/FastDeploy/blob/develop/examples/application/js/WebDemo.md) + +|demo名称|web demo目录|可视化| +|-|-|-| +|PP-OCRv3|[TextDetection、TextRecognition](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/web_demo/src/pages/cv/ocr/)|| + + +## 微信小程序Demo使用 + +在微信小程序运行官方demo参考[教程](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/mini_program) + +|名称|目录| +|-|-| +|OCR文本检测| [ocrdetecXcx](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/mini_program/ocrdetectXcx/) | +|OCR文本识别| [ocrXcx](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/mini_program/ocrXcx/) | + + - 效果:
- -
\ No newline at end of file + + -- GitLab