人(rén)臉抓拍機
抓拍機對接配置參考頁面
抓拍回調數(shù)據必要字段
設備id(唯一标識符或序列号),設備IP,抓拍的大(dà)、小(xiǎo)圖(base64),抓拍時(shí)間(jiān)等
心跳(tiào)回調數(shù)據必要字段
設備id(唯一标識符或序列号),設備IP,心跳(tiào)時(shí)間(jiān)等,版本或設置差異可(kě)能有(yǒu)些(xiē)字段不存在。必有(yǒu)字段一定存在
json結構
抓拍json
{
"Name": "captureInfoRequest",
"TimeStamp":1619062366,此字段必有(yǒu),
"Data":{
"DeviceInfo":{
"DeviceId": "設備ID,此字段必有(yǒu)",
"DeviceUUID":"設備标識符",
"DeviceMac":"設備Mac地址",
"DeviceIP": "設備IP",
"ChannelNo": "通(tōng)道(dào)号(int)"
},
"CaptureInfo":{
"SendTime": "推送時(shí)間(jiān) yyyy-mm-dd hh:mm:ss字符串",
"CaptureTime": "抓拍時(shí)間(jiān) yyyy-mm-dd hh:mm:ss字符串,此字段必有(yǒu)",
"CaptureCount": "抓拍數(shù)(int)",
"FacePicture": "小(xiǎo)圖base64字符串,此字段必有(yǒu)",
"BackgroundPicture":"大(dà)圖base64字符串,此字段必有(yǒu)"
},
}
}
心跳(tiào)json
{
"Name": "heartbeatRequest,此字段必有(yǒu)",
"TimeStamp": 1619062366,
"Data": {
"DeviceInfo":{
"DeviceId": "設備id,此字段必有(yǒu)",
"DeviceUUID": "設備标識符",
"DeviceMac": "設備Mac地址",
"DeviceIP": "設備IP,此字段必有(yǒu)",
"ChannelNo":"通(tōng)道(dào)号"
},
}
}