https://github.com/WebDevSimplified/Face-Detection-JavaScript
https://github.com/WebDevSimplified/Face-Detection-JavaScript
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/WebDevSimplified/Face-Detection-JavaScript
- Owner: WebDevSimplified
- Created: 2019-05-19T14:05:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-17T15:20:45.000Z (over 1 year ago)
- Last Synced: 2025-03-06T14:56:17.886Z (11 months ago)
- Language: JavaScript
- Size: 4.74 MB
- Stars: 1,016
- Watchers: 51
- Forks: 1,389
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.