---
panlei
2019-11-19 d4f2636c1773edd8f16ca34598e2e1f9d603ee5f
structure/rule.go
@@ -12,7 +12,7 @@
   Proportion float64 // 区域内的目标的占比
   Size       float64 // 区域内的目标的尺寸
   AreaJson   string  // 所属区域
   IsYolo     bool    // 是否是yolo数据
   Type       string  // 记载数据类型
   Location   Rect    // 记下每个目标的位置参数,最后给结果装配目标数据的时候用的到
   Car         *protomsg.PlateID // 车辆参数
   Feature    []byte
@@ -46,7 +46,7 @@
   Id      string
   Rects   Rect    // 矩形区域参数
   Score   float64 // 相似度得分(有多大程度像一个目标。人脸,人体或车等等)
   IsYolo  bool    // 是否是yolo数据
   Type     string  // 记载数据类型
   ThftRes protomsg.ThftResult
   Feature []byte
   Car      *protomsg.PlateID
@@ -121,12 +121,13 @@
   TableName    string  `json:"tableName"`
   BwType       string  `json:"bwType"`
   CompareScore float64 `json:"compareScore"`
   PersonId     string  `json:"personId"`
   PersonName   string  `json:"personName"`
   PersonPicUrl string  `json:"personPicUrl"`
   PhoneNum     string  `json:"phoneNum"`
   Sex          string  `json:"sex"`
   IdCard       string  `json:"idCard"`
   TargetId     string  `json:"targetId"`
   TargetName   string  `json:"targetName"`
   TargetPicUrl string  `json:"targetPicUrl"`
   MonitorLevel string  `json:"monitorLevel"`
   Content      string  `json:"content"`
   DbLabel       string    `json:"labels"`
   //PhoneNum     string  `json:"phoneNum"`
   //Sex          string  `json:"sex"`
   //IdCard       string  `json:"idCard"`
}