cordova-plugin-facedetection

1.0.3 • Public • Published

1)人脸注册 cordova.plugins.facerecognition.reg(uid, user_info, function (result) { //注册成功 result.success = true; }, function (error) { if (error instanceof string) { error 错误信息 } else { error_code: ..., error_msg: ... ==================== error_msg 错误信息(可选) } }, { groupId: xxx } ); uid 用户id(由数字、字母、下划线组成),长度限制128B user_info 用户资料,长度限制256B 2)人脸识别 cordova.plugins.facerecognition.identify( function (result) { //识别成功 result.user_info 注册时的用户信息 result.uid 匹配到的用户id result.score 得分(double) }, function (error) { if (error instanceof string) { error 错误信息 } else { error_code: ..., error_msg: ... ==================== error_msg 错误信息(可选) } }, { groupId: xxx } );

Package Sidebar

Install

npm i cordova-plugin-facedetection

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

2.74 MB

Total Files

57

Last publish

Collaborators

  • rxnh8255