GitHub - WebDevSimplified/Face-Detection-JavaScript
source link: https://github.com/WebDevSimplified/Face-Detection-JavaScript
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upREADME.md
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK