No description
  • JavaScript 65.1%
  • HTML 34.9%
Find a file
2020-01-08 16:38:24 -06:00
models Finish Video 2019-05-19 09:05:00 -05:00
face-api.min.js Finish Video 2019-05-19 09:05:00 -05:00
index.html Finish Video 2019-05-19 09:05:00 -05:00
README.md Update README.md 2020-01-08 16:38:24 -06:00
script.js Finish Video 2019-05-19 09:05:00 -05:00

IMPORTANT: Bug Fixes

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.