文档
测试

判断是否为同一个人

POST
localhost:9999/face/ks/getCompare

接口描述

判断是否为同一个人

请求参数

参数名
类型
描述
必填
img
base64
图片1
必填
img1
base64
图片2
必填

响应参数

参数名
类型
描述
必填
success
boolean
示例:true
必填
message
string
示例:操作成功!
必填
code
int
示例:200
必填
result
object
数据字典
必填
time_used
int
示例:679
必填
request_id
string
示例:1617205684,8cd7580c-bc6a-467c-99ed-c82a321fe85c
必填
confidence
float
示例:97.389
必填
thresholds
object
数据字典
必填
1e-5
float
示例:73.975
必填
1e-4
float
示例:69.101
必填
1e-3
float
示例:62.327
必填
image_id1
string
示例:pHiiC3E5WZc9zl7dmag7bQ==
必填
image_id2
string
示例:pHiiC3E5WZc9zl7dmag7bQ==
必填
faces1
array
数据列表
必填
face_token
string
示例:528619a184bf5e2cbdab502809b7d197
必填
face_rectangle
object
数据字典
必填
top
int
示例:169
必填
left
int
示例:257
必填
width
int
示例:143
必填
height
int
示例:143
必填
faces2
array
数据列表
必填
face_token
string
示例:0869e0c7d6f88c8b06134221aad9e5ea
必填
face_rectangle
object
数据字典
必填
top
int
示例:169
必填
left
int
示例:257
必填
width
int
示例:143
必填
height
int
示例:143
必填
timestamp
int
示例:1617205690562
必填