panlei
2019-08-01 0a101dc2c24674d32d1a9901a4a65ab23c9f03bc
ruleserver/ruleToformula.go
@@ -14,6 +14,7 @@
// 每个目标的参数:相似度,占比,尺寸
type Arg struct {
   Id         uint64
   Score      float64 // 区域内的目标的相似度
   Proportion float64 // 区域内的目标的占比
   Size       float64 // 区域内的目标的尺寸
@@ -45,6 +46,7 @@
// sdk输出的图片上单个目标的数据
type PhotoMap struct {
   Id      uint64
   Rects   Rect    // 矩形区域参数
   Score   float64 // 相似度得分(有多大程度像一个目标。人脸,人体或车等等)
   IsYolo  bool    // 是否是yolo数据
@@ -95,6 +97,7 @@
   LinkCache []ResultMsg
   TimeLabel string
}
// 过规则库打上的标签
type FaceResult struct {
   Result