From 73e4d775a359b5490b5ebc1465f1b9d682a3bbe5 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 07 十一月 2019 19:56:09 +0800
Subject: [PATCH] Merge branch 'module' of http://192.168.5.5:10010/r/ruleprocess into module

---
 structure/rule.go |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/structure/rule.go b/structure/rule.go
index e1e3104..60fe306 100644
--- a/structure/rule.go
+++ b/structure/rule.go
@@ -79,7 +79,7 @@
 	DefenceState bool   // 鏄惁甯冮槻
 	AlarmLevel   int32  // 鎶ヨ绛夌骇
 	RuleText     string // 鏂囧瓧鐗堣鍒欑粍
-	Location     []Rect // 鐩爣鐨勫潗鏍�
+	Location     []TargetInfo // 鐩爣鐨勫潗鏍�
 	AlarmPolygon string // 瑙﹀彂鐨勬姤璀︽
 	IsLink       bool   // 鏄惁鏄仈鍔ㄤ换鍔�
 	Others
@@ -90,6 +90,12 @@
 	TimeLabel string
 }
 
+type TargetInfo struct {
+	Rect
+	TargetId    uint64
+	TargetScore float64
+}
+
 // 杩囪鍒欏簱鎵撲笂鐨勬爣绛�
 type FaceResult struct {
 	Result

--
Gitblit v1.8.0