From b54a34329aa907f75d68bf86a3f99574e3d85bba Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期五, 16 八月 2019 17:58:38 +0800
Subject: [PATCH] ---

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

diff --git a/util/simpleCV.go b/util/simpleCV.go
index 6ce97a2..21e551f 100644
--- a/util/simpleCV.go
+++ b/util/simpleCV.go
@@ -11,6 +11,7 @@
 	"ruleprocess/cache"
 	"ruleprocess/logger"
 	"ruleprocess/ruleserver"
+	"ruleprocess/structure"
 	"strings"
 )
 
@@ -155,7 +156,7 @@
 	}
 }
 
-func DrawPolygonOnImage(cameraId string, img protomsg.Image, results []ruleserver.Result,url string) (maps map[string]interface{}, err0 error) {
+func DrawPolygonOnImage(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)
 	//rook := gocv.IMRead("/home/user/workspace/ruleprocess/util/105.jpg",gocv.IMReadColor)

--
Gitblit v1.8.0