获取精准客流应用明细
更新时间:2023-02-02
接口描述
本接口用于查询精准客流应用的明细
请求结构
GET /v1/app/{appId}/customer/aiAnalysisByMarker?deviceId=1039922&begin=2023-01-10T14:00:05.902Z&end=2023-01-10T14:00:05.902Z&dup=true&marker=&maxSize=30
HTTP/1.1
x-bce-date: 2020-03-25T09:28:13Z
host: evs.bj.baidubce.com
content-type: application/json
authorization: bce-auth-v1/e8e4a9ced6794355a9a1b8a20b58d37b/2020-03-25T09:28:13Z/1800/content-type;host;x-date/4a1692dc4bab84f5801f79ea0c1fece3601cf73ecd94409d2a94b3942b971715
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必选 | 参数位置 | 描述 |
---|---|---|---|---|
appId | String | 是 | URL参数 | 应用ID |
deviceId | Long | 是 | URL参数 | 设备ID/通道ID |
begin | String | 是 | URL参数 | 开始时间,UTC格式 |
end | String | 是 | URL参数 | 结束时间,UTC格式 |
dup | Boolean | 是 | URL参数 | 人次:true,人数:false |
marker | String | 是 | URL参数 | 分页起始,第一页 '',下一页取返回的nextMarker |
maxSize | String | 是 | URL参数 | 每页大小,最大50 |
响应头域
除公共头域外,无其它特殊头域。
响应参数
参数名称 | 类型 | 描述 |
---|---|---|
nextMarker | String | 下一页起始 |
truncated | Boolean | 是否有下一页 |
data | Object[] | 数据明细列表 |
+title | String | 标题 |
+thumbnailUrl | String | 大图 |
+cropThumbnailUrl | String | 人体图 |
+clerkCompareThumbnailUrl | String | 店员对比图 |
+clerkCompareConfidence | Double | 店员对比置信度 |
+customerCompareThumbnailUrl | String | 顾客对比图 |
+customerCompareConfidence | Double | 顾客对比置信度 |
+analysisResult | Object | 分析数据 |
++personId | String | 人员ID |
++captureTime | String | 截图时间 |
++appId | String | 应用ID |
++deviceId | Integer | 设备ID/通道ID |
++result | Object | 分析结果 |
+++isClerk | Boolean | 是否是店员 |
+++action | String | 进店IN 出店OUT |
+++origin_image | Object | 图片分辨率 |
+++location | Object | 人体图location |
+++attributes | Object | 人体属性 |
+++dup | Boolean | 是否重复 |
请求示例
GET /v1/app/{appId}/customer/aiAnalysisByMarker?deviceId=1039922&begin=2023-01-10T14:00:05.902Z&end=2023-01-10T14:00:05.902Z&dup=true&marker=&maxSize=30 HTTP/1.1
x-bce-date: 2020-03-25T09:28:13Z
host: evs.bj.baidubce.com
content-type: application/json
authorization: bce-auth-v1/e8e4a9ced6794355a9a1b8a20b58d37b/2020-03-25T09:28:13Z/1800/content-type;host;x-date/4a1692dc4bab84f5801f79ea0c1fece3601cf73ecd94409d2a94b3942b971715
响应示例
{
"nextMarker": "1673355859507",
"truncated": true, // truncated=true 表示有下一页
"data": [
{
"title": "2023.01.10 22:00:05",
"thumbnailUrl": "xxx",
"cropThumbnailUrl": "xxx",
"clerkCompareThumbnailUrl": "xxx", // 店员置信度
"clerkCompareConfidence": 0.70943147,
"customerCompareThumbnailUrl": "xxx", // 顾客置信度
"customerCompareConfidence": 0.70943147,
"analysisResult": {
"personId": "xxx", // 人员id
"captureTime": "2023-01-10T14:00:05.902Z",
"appId": "app-cjbkewm43m2ifdjh",
"deviceId": 1039922,
"result": {
"isClerk": false,
"action": "IN", // 进店IN 出店OUT
"origin_image": {"width": 1920, "height": 1080},
"location": {"top": 130,"left": 1074,"width": 144,"height": 336},
"attributes":{"gender":{"name":"男性","score":0.937},"lower_wear":{"name":"长裤","score":0.925},"upper_wear":{"name":"短袖","score":0.774}},
"dup": false
}
}
}
]
}