From 0d5aa709503ad0cb03c0c71a5fc23b5174f4fb50 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期二, 19 十一月 2019 11:51:53 +0800
Subject: [PATCH] ---

---
 insertdata/insertDataToEs.go      |    1 +
 algorithm/middleware/readyData.go |    2 +-
 cache/cache.go                    |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/algorithm/middleware/readyData.go b/algorithm/middleware/readyData.go
index 9f146d8..339f9d8 100644
--- a/algorithm/middleware/readyData.go
+++ b/algorithm/middleware/readyData.go
@@ -21,7 +21,7 @@
 func CountAreaObjs(a *structure.AreaMap,arg *structure.SdkData) {
 
 	a.TargetNum = 0
-	threshold := 60.0       // 鐩镐技搴�
+	threshold := 70.0       // 鐩镐技搴�
 	intersectionper := 20.0 // 鍗犳瘮
 	size := 0.0            // 灏哄
 
diff --git a/cache/cache.go b/cache/cache.go
index 754e1fe..608b9f4 100644
--- a/cache/cache.go
+++ b/cache/cache.go
@@ -147,6 +147,7 @@
 		if err := json.Unmarshal(b, &dicss) ; err == nil {
 			for key, dics1 := range dicss {
 				for _,dic := range dics1 {
+					logger.Debug("瀛楀吀缂撳瓨鍒濆鍖�",PREFIX_DIC+key+dic.value, dic)
 					cMap.Set(PREFIX_DIC+key+dic.value, dic)
 				}
 			}
diff --git a/insertdata/insertDataToEs.go b/insertdata/insertDataToEs.go
index 34a5a61..caf7e07 100644
--- a/insertdata/insertDataToEs.go
+++ b/insertdata/insertDataToEs.go
@@ -749,6 +749,7 @@
 
 	case "plate":
 		// 杞︾墝杩愬姩鏂瑰悜锛�0 unknown, 1 left, 2 right, 3 up, 4 down
+		logger.Info("杞﹁締杞︾墝淇℃伅锛�",obj.Car.NColor,obj.Car.NCarColor,obj.Car.NCarLogo,obj.Car.NCarType,obj.Car.NDirection)
 		lable = obj.Car.License + "/" + cache.GetDic("nColor"+strconv.Itoa(int(obj.Car.NColor))) + "杞︾墝" + "/" +
 			cache.GetDic("nCarColor"+strconv.Itoa(int(obj.Car.NCarColor))) + "杞﹁締" + "/" + cache.GetDic("nCarLogo"+strconv.Itoa(int(obj.Car.NCarLogo))) + "/" + cache.GetDic("nCarType"+strconv.Itoa(int(obj.Car.NCarType)))
 		lableAttach = cache.GetDic("nDirection"+strconv.Itoa(int(obj.Car.NDirection))) + "/" + "杞︾墝缃俊搴︼細" + strconv.Itoa(int(obj.Car.NConfidence)) + "/" +

--
Gitblit v1.8.0