panlei
2019-11-07 5ae97eebd0dfcaad32e92f9df7b7f73caad922bf
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