2022-04-21 13:24:31 +08:00
|
|
|
|
[English](README.md) | 简体中文
|
|
|
|
|
|
|
|
|
|
# Paddle.js 网页前端部署
|
|
|
|
|
|
|
|
|
|
[Paddle.js](https://github.com/PaddlePaddle/Paddle.js) 是百度 PaddlePaddle 的 web 方向子项目,是一个运行在浏览器中的开源深度学习框架。Paddle.js 可以加载提前训练好的 paddle 模型,通过 Paddle.js 的模型转换工具 paddlejs-converter 变成浏览器友好的模型进行在线推理预测使用。目前,Paddle.js 可以在支持 WebGL/WebGPU/WebAssembly 的浏览器中运行,也可以在百度小程序和微信小程序环境下运行。
|
|
|
|
|
|
|
|
|
|
|
2022-10-26 10:29:46 +08:00
|
|
|
|
## Web Demo使用
|
|
|
|
|
|
2023-01-13 15:32:39 +08:00
|
|
|
|
在浏览器中直接运行官方OCR demo参考[教程](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/web_demo)
|
2022-10-26 10:29:46 +08:00
|
|
|
|
|
|
|
|
|
|demo名称|web demo目录|可视化|
|
|
|
|
|
|-|-|-|
|
|
|
|
|
|PP-OCRv3|[TextDetection、TextRecognition](https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/application/js/web_demo/src/pages/cv/ocr/)|<img src="https://user-images.githubusercontent.com/26592129/196874354-1b5eecb0-f273-403c-aa6c-4463bf6d78db.png" height="200px">|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 微信小程序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/) |
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 13:24:31 +08:00
|
|
|
|
- 效果:
|
|
|
|
|
|
|
|
|
|
<div align="center">
|
2022-10-26 10:29:46 +08:00
|
|
|
|
<img src="https://user-images.githubusercontent.com/26592129/197918203-c7d46f8a-75d4-47f9-9687-405ee0d6727e.gif" width="800">
|
|
|
|
|
</div>
|
2022-11-28 16:53:53 +08:00
|
|
|
|
|
|
|
|
|
<a href="https://trackgit.com">
|
|
|
|
|
<img src="https://us-central1-trackgit-analytics.cloudfunctions.net/token/ping/lb0jzfbyyttdxne1imal" alt="trackgit-views" />
|
|
|
|
|
</a>
|