算法输出定义信息配置了算法的输出、算法结构化数据的属性等信息。
算法输出定义参数说明
参数 | 说明 |
objType | 算法支持的视频数据分析能力,取值范围:person: 行人、bicycle: 非机动车、vehicle: 机动车 |
dbTableName | 算法输出结构化数据的数据库表名 |
indexName | 算法输出结构化数据的索引名 |
objTypeEnum | 算法支持的视频数据分析能力枚举值,取值范围:1: 行人、2: 非机动车、3: 机动车 |
indexMode | 算法输出结构化数据的索引分类方式 |
topicName | 算法输出的消息队列TOPIC名 |
fields | 算法输出结构化数据的属性字段集合 |
name | 属性名称 |
type | 属性类型 |
mandatory | 是否必选 |
isDatabaseField | 是否数据库表字段 |
isSearchEngineField | 是否索引字段 |
isMessageQueueField | 是否消息队列字段 |
算法输出定义示例
说明
算法输出定义格式为符合JSON规范的数组。
[
{
"objType": "person",
"dbTableName": "tt_person_result",
"indexName": "tt_person_index",
"objTypeEnum": 1,
"indexMode": "INDEX_PER_DAY",
"topicName": "tt_person",
"fields": [
{
"name": "cameraId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objType",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objLeft",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objTop",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objRight",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objBottom ",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "detObjScore",
"type": "float",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "origImage",
"type": "image",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "cropImage",
"type": "image",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "timestamp",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "entryTime",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "leaveTime",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "feature",
"type": "binary",
"mandatory": true,
"isDatabaseField": false,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_sex",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_sexScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_year",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_yearScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hair",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hairScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_mask",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_maskScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_walk",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_walkScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_toward",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_towardScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_cloth_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_cloth_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_cloth_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_cloth_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_pant_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_pant_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_pant_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_pant_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hair_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hair_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_glasses",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_glassesScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_call",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_callScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_shoes_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_shoes_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_shoes_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_shoes_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_body_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_body_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_bag_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_bag_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_bag_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_bag_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objUUId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
}
]
},
{
"objType": "bicycle",
"dbTableName": "tt_bicycle_result",
"indexName": "tt_bicycle_index",
"objTypeEnum": 2,
"indexMode": "INDEX_PER_DAY",
"topicName": "tt_bicycle",
"fields": [
{
"name": "cameraId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objType",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objLeft",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objTop",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objRight",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objBottom ",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "origImage",
"type": "image",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "cropImage",
"type": "image",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "timestamp",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "entryTime",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "leaveTime",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "feature",
"type": "binary",
"mandatory": true,
"isDatabaseField": false,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_toward",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_towardScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_sex",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_sexScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_year",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_yearScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_mask",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_maskScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_headwear",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_headwearScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_upper_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_upper_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_upper_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_upper_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_nonvehicle_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_nonvehicle_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_nonvehicle_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_nonvehicle_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_carry_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_carry_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_color",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hat_colorScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hair_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_hair_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_mask",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_maskScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_glasses",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_glassesScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_call",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_is_callScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_body_type",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_body_typeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_person_num",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_person_numScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_light_num",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_light_numScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_light_shape",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_light_shapeScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_safty_rack",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_safty_rackScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_trunk",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_trunkScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_rearview_num",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_rearview_numScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_special_pattern",
"type": "string",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "prob_special_patternScore",
"type": "float",
"mandatory": false,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objUUId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
}
]
},
{
"objType": "face",
"dbTableName": "tt_face_result",
"indexName": "tt_face_index",
"objTypeEnum": 4,
"indexMode": "INDEX_PER_DAY",
"topicName": "tt_face",
"fields": [
{
"name": "cameraId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objType",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objLeft",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objTop",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objRight",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objBottom ",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "origImage",
"type": "image",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "cropImage",
"type": "image",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "timestamp",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "entryTime",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "leaveTime",
"type": "long",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "feature",
"type": "binary",
"mandatory": true,
"isDatabaseField": false,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "quality_level",
"type": "integer",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
},
{
"name": "objUUId",
"type": "string",
"mandatory": true,
"isDatabaseField": true,
"isSearchEngineField": true,
"isMessageQueueField": true
}
]
}
]
文档内容是否对您有帮助?