From 97c3fd313506a3a2d60c7889d58935dfca458ca0 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 11 七月 2019 17:04:41 +0800
Subject: [PATCH] ---
---
util/simpleCV.go | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/util/simpleCV.go b/util/simpleCV.go
index 7f07bff..7e3b87c 100644
--- a/util/simpleCV.go
+++ b/util/simpleCV.go
@@ -9,6 +9,7 @@
"image/color"
"os"
"ruleprocess/cache"
+ "ruleprocess/logger"
"ruleprocess/ruleserver"
"strings"
)
@@ -168,6 +169,7 @@
polygonIds := strings.Split(result.AlarmPolygon,"")
for i := 0; i < len(polygonIds)-1; i++ {
polygon := getPolygonById(polygonIds[i],cameraId)
+ logger.Info("------------------------鐬呯瀰鏍规嵁id鎹″嚭鏉ュ尯鍩熷��",polygon.Polygon)
if polygon.Polygon != "" {
DrawAPolygon(&rook,polygon.Polygon,red)
}
--
Gitblit v1.8.0