| | |
| | | IsEffective bool // 规则中是否用到了此区域 |
| | | } |
| | | |
| | | // sdk输出的图片上单个目标的数据 |
| | | type PhotoMap struct { |
| | | type SourcePhoto struct { |
| | | Id string |
| | | Rects Rect // 矩形区域参数 |
| | | Score float64 // 相似度得分(有多大程度像一个目标。人脸,人体或车等等) |
| | |
| | | ThftRes protomsg.ThftResult |
| | | Feature []byte |
| | | Car *protomsg.PlateIDVehicle |
| | | } |
| | | // sdk输出的图片上单个目标的数据 |
| | | type PhotoMap struct { |
| | | SourcePhoto |
| | | AttachObj SourcePhoto |
| | | } |
| | | |
| | | // 每个算法对于当前帧画面自己提取的数据 |
| | |
| | | // 过规则库打上的标签 |
| | | type Result struct { |
| | | TaskId string // 任务id |
| | | SdkName string |
| | | SdkName string // 算法名称 |
| | | RuleGroupId string // 规则组id |
| | | DefenceState bool // 是否布防 |
| | | AlarmLevel int32 // 报警等级 |
| | | RuleText string // 文字版规则组 |
| | | //Location []TargetInfo // 目标的坐标 |
| | | AlarmObj []*Arg // 报警的目标数据 打算废掉上面的Location |
| | | AlarmObj []*Arg // 报警的目标数据 |
| | | AlarmPolygon string // 触发的报警框 |
| | | IsLink bool // 是否是联动任务 |
| | | Others |