Skip to content

andersondcribeiro/reconhecimento-expressao-facial-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realtime face expression recognition with JavaScript and face API JS library built on Tensor Flow

Code example( need permission to use the camera via browser)

Face- API-JS Library

50575270-f501d080-0dfb-11e9-9676-8f419efdade4

57297731-b1ccac80-70d0-11e9-9bd7-59d77f180322

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.

About

Realtime face expression recognition with JavaScript and face API JS library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published