提交 7f94270d 编写于 作者: _白鹭先生_'s avatar _白鹭先生_

修复解耦

上级 cfca9ce1
......@@ -161,8 +161,8 @@ class YOLO(object):
#---------------------------------------------------------#
# 将归一化的预测结果变为真实的预测框
#---------------------------------------------------------#
top_polys[..., [0, 2, 4, 6]] *= image_shape[0]
top_polys[..., [1, 3, 5, 7]] *= image_shape[1]
top_polys[..., [0, 2, 4, 6]] *= image_shape[1]
top_polys[..., [1, 3, 5, 7]] *= image_shape[0]
#---------------------------------------------------------#
# 设置字体与边框厚度
#---------------------------------------------------------#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册