innerop / FrontEnd-EmotionDetection

Emotion detection on browser using TensorFlow.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FrontEnd-EmotionDetection

This is a real-time Emotion detection using TensorFlow.js to load a pretrained model into the browser .

Packagist Packagist Packagist Packagist

Abstract

Detect faces

Dataset

  • We combine two datasets:
    1. Microsoft FERPlus as one of the dataset to train the emotion-detect model.
    2. Real-world Affective Faces Database (RAF-DB) as another dataset.

Convert Model

Requirements

  • For MobileNetImage.html and MobileNetWebcam.html:

    Chrome Shape Detection API : FaceDetector: Chrome on Android, macOS, Windows 10 platfrom. Go to chrome browser chrome://flags/#enable-experimental-web-platform-features and enable the feature

  • For TinyFaceDetectWebcam.html you can run on Chrome, Safari and Firefox.

Demo

Note, that wearing glasses might decrease the accuracy of the prediction results.

All demos are on our LAB server

About

Emotion detection on browser using TensorFlow.js

License:MIT License


Languages

Language:HTML 75.9%Language:JavaScript 21.4%Language:CSS 2.7%