Skip to content

获取注册的人脸数量

方法名

getFaceCount

用法

示例

js
module.getFaceCount(res => {
  this.writeLog(JSON.stringify(res))
});

参数说明

回调

示例

json
{
  "data": {
    "count": 35
  },
  "message": "",
  "code": 0
}

回调说明

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
data.countInteger人脸数量
codeInteger返回类型,0.成功,其他:失败