| | |
| | | |
| | | // 每个目标的参数:相似度,占比,尺寸 |
| | | type SourceArg struct { |
| | | Id string |
| | | Uuid string |
| | | Score float64 // 区域内的目标的相似度 |
| | | Proportion float64 // 区域内的目标的占比 |
| | | Size float64 // 区域内的目标的尺寸 |
| | | AreaJson string // 所属区域 |
| | | Type string // 记载数据类型 |
| | | Location Rect // 记下每个目标的位置参数,最后给结果装配目标数据的时候用的到 |
| | | Car *protomsg.PlateIDVehicle // 车辆参数 |
| | | Feature []byte |
| | | ThftRes protomsg.ThftResult |
| | | Liker []*BaseInfo |
| | | TimeLable string |
| | | CacheData ResultMsg |
| | | Id string |
| | | Uuid string |
| | | Score float64 // 区域内的目标的相似度 |
| | | Proportion float64 // 区域内的目标的占比 |
| | | Size float64 // 区域内的目标的尺寸 |
| | | AreaJson string // 所属区域 |
| | | Type string // 记载数据类型 |
| | | Location Rect // 记下每个目标的位置参数,最后给结果装配目标数据的时候用的到 |
| | | Car *protomsg.PlateIDVehicle // 车辆参数 |
| | | Feature []byte |
| | | BodyFeature []float32 |
| | | ThftRes protomsg.ThftResult |
| | | Liker []*BaseInfo |
| | | TimeLable string |
| | | CacheData ResultMsg |
| | | } |
| | | |
| | | type Arg struct { |
| | | SourceArg |
| | | AttachArg SourceArg |
| | | } |
| | | |
| | | // 每个区域内的图片数据集合 |
| | | type AreaMap struct { |
| | | CameraId string |
| | |
| | | } |
| | | |
| | | type SourcePhoto struct { |
| | | Id string |
| | | Rects Rect // 矩形区域参数 |
| | | Score float64 // 相似度得分(有多大程度像一个目标。人脸,人体或车等等) |
| | | Type string // 记载数据类型 |
| | | ThftRes protomsg.ThftResult |
| | | Feature []byte |
| | | Car *protomsg.PlateIDVehicle |
| | | Id string |
| | | Rects Rect // 矩形区域参数 |
| | | Score float64 // 相似度得分(有多大程度像一个目标。人脸,人体或车等等) |
| | | Type string // 记载数据类型 |
| | | ThftRes protomsg.ThftResult |
| | | Feature []byte |
| | | BodyFeature []float32 |
| | | Car *protomsg.PlateIDVehicle |
| | | } |
| | | |
| | | // sdk输出的图片上单个目标的数据 |
| | | type PhotoMap struct { |
| | | SourcePhoto |