Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.17 KB

File metadata and controls

29 lines (15 loc) · 1.17 KB

How works

1)Save face data(face code) in Database(Register)
2)When login face data(face code) pass to the backend(node js) and compare with register face data(face code)
3)If match navigate to Dashboard ,if not show error message

Images

Screenshot 2024-08-11 164710
(can't show face due to security reasons)

Example image

image

IMPORTANT: Bug Fixes

Test in the Firefox browser or google

navigator.getUserMedia

navigator.getUserMedia is now deprecated and is replaced by navigator.mediaDevices.getUserMedia. To fix this bug replace all versions of navigator.getUserMedia with navigator.mediaDevices.getUserMedia

Low-end Devices Bug

The video eventListener for play fires up too early on low-end machines, before the video is fully loaded, which causes errors to pop up from the Face API and terminates the script (tested on Debian [Firefox] and Windows [Chrome, Firefox]). Replaced by playing event, which fires up when the media has enough data to start playing.