提交 d1b5a169 编写于 作者: DataBall's avatar DataBall 🚴🏻

update samples

上级 4f3c266d
...@@ -37,9 +37,10 @@ ...@@ -37,9 +37,10 @@
### 模型推理 ### 模型推理
* 根目录下运行命令: python inference.py (注意脚本内相关参数配置 ) * 根目录下运行命令: python inference.py (注意脚本内相关参数配置 )
*------------------------------------------------------------------------- * -------------------------------------------------------------------------
··· *建议
*建议 ```
检测手bbox后,crop手图片size预处理方式: 检测手bbox后,crop手图片size预处理方式:
# img 为原图 ,np为numpy # img 为原图 ,np为numpy
x_min,y_min,x_max,y_max,score = bbox x_min,y_min,x_max,y_max,score = bbox
...@@ -57,4 +58,4 @@ ...@@ -57,4 +58,4 @@
y1 = np.clip(y1,0,img.shape[0]-1) y1 = np.clip(y1,0,img.shape[0]-1)
y2 = np.clip(y2,0,img.shape[0]-1) y2 = np.clip(y2,0,img.shape[0]-1)
··· ```
文件已添加
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册