文档
测试

Identification data creation

POST
/qgy/discern/save

接口描述

Add identification data

Request parameters

参数名
类型
描述
必填
deviceKey
String
Equipment serial number
必填
personGuid
String
A person guid
必填
img
String
Field image coded as base64 string
必填
showTime
String
Identification time yyyy-MM-dd HH:mm:SS
必填
name
String
Name
必填
hat
Integer
hat specified value :0: no hat 1: no hat
必填
glasses
Integer
Glasses specified value 0: no glasses 1: with glasses
必填
faceConfidence
String
Face Quality
必填
liveConfidence
Double
In vivo quality
必填
sex
Double
Gender
必填
temperature
Double
Temperature
可选
tempAbnormal
Integer
Abnormal body temperature specified value :0: normal 1: abnormal
可选

Return sample

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data":{ "guid": "1DE2C0E055434505BE36A1B494FEE1D9", "deviceKey": "84E0F420883802FAA37", "personGuid": "STRANGERBABY", "name":"Testing001", "photoUrl": "http://uniubi-device-test.oss-cn-hangzhou.aliyuncs.com/device/spot/photo/84E0F420013300B4/2017-11-16/STRANGERBABY_20171116153434.jpg", "showTime": "2019-08-24 10:00:00", "hat":1, "glasses":1, "faceConfidence":"CS", "liveConfidence":"CS", "sex":"Male", "temperature":null, "tempAbnormal":null // 0: normal 1: abnormal } } ```