人(rén)臉抓拍機

抓拍機對接配置參考頁面

人(rén)臉抓拍實例 - 圖1

抓拍回調數(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

  1. {
  2. "Name": "captureInfoRequest",
  3. "TimeStamp":1619062366,此字段必有(yǒu),
  4. "Data":{
  5. "DeviceInfo":{
  6. "DeviceId": "設備ID,此字段必有(yǒu)",
  7. "DeviceUUID":"設備标識符",
  8. "DeviceMac":"設備Mac地址",
  9. "DeviceIP": "設備IP",
  10. "ChannelNo": "通(tōng)道(dào)号(int)"
  11. },
  12. "CaptureInfo":{
  13. "SendTime": "推送時(shí)間(jiān) yyyy-mm-dd hh:mm:ss字符串",
  14. "CaptureTime": "抓拍時(shí)間(jiān) yyyy-mm-dd hh:mm:ss字符串,此字段必有(yǒu)",
  15. "CaptureCount": "抓拍數(shù)(int)",
  16. "FacePicture": "小(xiǎo)圖base64字符串,此字段必有(yǒu)",
  17. "BackgroundPicture":"大(dà)圖base64字符串,此字段必有(yǒu)"
  18. },
  19. }
  20. }

心跳(tiào)json

  1. {
  2. "Name": "heartbeatRequest,此字段必有(yǒu)",
  3. "TimeStamp": 1619062366,
  4. "Data": {
  5. "DeviceInfo":{
  6. "DeviceId": "設備id,此字段必有(yǒu)",
  7. "DeviceUUID": "設備标識符",
  8. "DeviceMac": "設備Mac地址",
  9. "DeviceIP": "設備IP,此字段必有(yǒu)",
  10. "ChannelNo":"通(tōng)道(dào)号"
  11. },
  12. }
  13. }