panlei
2019-11-13 8310d9b8df875c68f8dfa8ef228df908c2b0ee44
structure/rule.go
@@ -1,10 +1,13 @@
package structure
import "basic.com/pubsub/protomsg.git"
import (
   "basic.com/pubsub/protomsg.git"
)
// 每个目标的参数:相似度,占比,尺寸
type Arg struct {
   Id         uint64
   Uuid      string
   Score      float64 // 区域内的目标的相似度
   Proportion float64 // 区域内的目标的占比
   Size       float64 // 区域内的目标的尺寸