From fd059b65583d5686cf1951ec355d7845a85e6bf0 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期五, 08 十一月 2019 10:32:36 +0800
Subject: [PATCH] ---

---
 util/simpleCV.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util/simpleCV.go b/util/simpleCV.go
index b2c2cd7..744aee1 100644
--- a/util/simpleCV.go
+++ b/util/simpleCV.go
@@ -155,7 +155,6 @@
 		}
 	}
 }
-
 func DrawPolygonOnImageForYolo(cameraId string, img protomsg.Image, results []structure.Result,url string) (maps map[string]interface{}, err0 error) {
 
 	rook, _ := gocv.NewMatFromBytes(int(img.Height), int(img.Width), gocv.MatTypeCV8UC3, img.Data)
@@ -169,6 +168,7 @@
 	// 鍒嗗壊鍖哄煙id闆嗗悎骞舵牴鎹甶d鏌ヨ鍖哄煙鐒跺悗鐢绘
 	for _,result := range results  {
 		polygonIds := strings.Split(result.AlarmPolygon,",")
+		logger.Info("鍖哄煙ID锛�",polygonIds)
 		for i := 0; i < len(polygonIds); i++ {
 			polygon := getPolygonById(polygonIds[i],cameraId)
 			if polygon.Polygon != "[]" && polygon.Polygon != ""{

--
Gitblit v1.8.0