From 2ef24b7363fb0b79236de9ac2fea43d9edb6a312 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期三, 16 十月 2019 10:40:08 +0800 Subject: [PATCH] --- --- main.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/main.go b/main.go index 61e8405..f0e295a 100644 --- a/main.go +++ b/main.go @@ -183,7 +183,7 @@ for _, info := range yoloParam.Infos { if info.Typ == 0 { //logger.Debug("-------------yolo鐨勫潗鏍囨湁鍑犱釜",info.RcObj) - photoMap := structure.PhotoMap{Rects: rectFormat(info.RcObj), Score: float64(info.Prob) * 100, IsYolo: true} + photoMap := structure.PhotoMap{Rects: rectFormat(info.RcObj), Score: float64(info.Prob) * 100, IsYolo: true,Id:info.ObjID} arg.Photo = append(arg.Photo, photoMap) yoloNum++ } -- Gitblit v1.8.0