From f490b28775ad05e29fb89444fe78316eda67f492 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期四, 10 十月 2019 16:14:37 +0800 Subject: [PATCH] 人脸加目标信息 --- main.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/main.go b/main.go index fa28b33..61e8405 100644 --- a/main.go +++ b/main.go @@ -117,7 +117,7 @@ // 灏嗗閮ㄤ紶杩涙潵鐨剅ect锛坱op,bottom,left,right锛夎浆鍖栦负鑷繁鍐呴儴鐨剅ect(left top width height) func rectFormat(rcobj *protomsg.Rect) structure.Rect { //logger.Info("++++++++++++++++++++++++++++++鏀跺埌鐨剏olo鐨勫尯鍩熷潗鏍囷細",rcobj) - rect := ruleserver.Rect{} + rect := structure.Rect{} rect.X = float64(rcobj.Left) rect.Y = float64(rcobj.Top) rect.Width = float64(rcobj.Right - rcobj.Left) -- Gitblit v1.8.0