Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
8062291f
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
338
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
8062291f
编写于
3月 18, 2020
作者:
W
wangqun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[doc]add the yolo example user doc
[doc]add the yolo example user doc
上级
7110db47
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
36 addition
and
1 deletion
+36
-1
web/examples/README.md
web/examples/README.md
+35
-0
web/examples/README_cn.md
web/examples/README_cn.md
+1
-1
未找到文件。
web/examples/README.md
0 → 100644
浏览文件 @
8062291f
# PaddleJS Examples
Baidu paddlejs uses the ready-made JavaScript model or transforms the paddle model to run in the browser.
## Demonstration
At present, tiny Yolo model can run within 30ms for web project, which is enough for general real-time scenarios.
## Browser coverage
*
PC: Chrome
*
Mac: Chrome
*
Android: Baidu App and QQ Browser
## Building deployment
```
bash
cd
web
# Go to root
npm i
# Installation dependency
mkdir
dist
# Create resource directory
cd
dist
# Enter resource directory
git clone https://github.com/DerekYangMing/Paddle-Web-Models.git
# Get models
mv
Paddle-Web-Models/separablemodel
.
# Move the model to the designated location
cd
..
# Root directory
npm run tinyYolo
# run tinyYolo
```
## Preview
1.
Open url: https://localhost:端口号/
2.
Click the upload picture button。
## Result

web/examples/README_cn.md
浏览文件 @
8062291f
...
...
@@ -29,7 +29,7 @@ npm run tinyYolo # 启动 tinyYolo 在线推理服务
## 如何预览 demo
1.
在浏览器中打开url: https://localhost:
8123
/
1.
在浏览器中打开url: https://localhost:
端口号
/
2.
点击【开始检测】按钮。
3.
将人脸对准摄像头,没有问题的话,可以正常检测到人脸。
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录