提交 ccb87b9c 编写于 作者: C channingss

update README

上级 00d38a95
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#### 加载预训练模型 #### 加载预训练模型
```python ```python
import paddlehub as hub import paddlehub as hub
module = hub.Module(name="pyramidbox_lite_mobile_mask") #口罩检测模型 module = hub.Module(name="pyramidbox_lite_server_mask", version='1.1.0') #口罩检测模型
``` ```
>以上语句paddlehub会自动下载口罩检测模型 "pyramidbox_lite_mobile_mask" 不需要提前下载模型 >以上语句paddlehub会自动下载口罩检测模型 "pyramidbox_lite_mobile_mask" 不需要提前下载模型
......
<?php <?php
$json_string = file_get_contents(".\\video\\result\\2-mask_detection.json"); $json_string = file_get_contents("./video/result/2-mask_detection.json");
// 用参数true把JSON字符串强制转成PHP数组 // 用参数true把JSON字符串强制转成PHP数组
$data_o = json_decode($json_string, true); $data_o = json_decode($json_string, true);
?> ?>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册