Face login

1, face login:

Click face login on the home page to jump to face recognition interface, which calls the front camera of the mobile phone or computer to recognize the user’s face and return the corresponding face information.

2, face registration

Click face registration, it will jump to the form filling page, after filling in the form will jump to the face binding page, binding face registration is successful, the face can be used for login.

3, face modification

Click face modification, will enter the face modification page, fill in the existing user name, and then fill in the password after submission will jump to face modification page, modify successfully, face and the corresponding password will be modified.

Print screen

instructions

This demo calls Baidu AI face recognition interface, uses PHP to write the background, uses TP5 framework, uses native HTML + CSS + JS to use JQ framework in the front end. Face library uses Baidu AI face library.

Demo has been deployed on my cloud server at rlsb.cxlwt.cn/main.html

adapter

It has been adapted to wechat terminal of mobile phone (no problem to open personal mobile phone), and the connection has been copied to wechat to open it and it can run. It is recommended to open it with Google Browser on PC side, and I agree to call the camera permission on PC side.