https://github.com/webdevsimplified/face-detection-javascript
https://github.com/webdevsimplified/face-detection-javascript
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/webdevsimplified/face-detection-javascript
- Owner: WebDevSimplified
- Created: 2019-05-19T14:05:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-17T15:20:45.000Z (10 months ago)
- Last Synced: 2025-04-10T22:48:49.430Z (3 months ago)
- Language: JavaScript
- Size: 4.74 MB
- Stars: 1,019
- Watchers: 50
- Forks: 1,388
- 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.