Skip to content

xiaoxionglin/face_emotion

Repository files navigation

emotion recognition website

developed for Hidalgo festival "Who Are You"

It captures audience's facial emotion and send the realtime data to modify the art song performance.

important parameters before serving the website

server IP

put the server IPs in ./public/config.js

The client connects to them one by one until success.

now the IP is automatically detected, no need to be manually put in

should you want relay the data to some client

after successful connection to the receiving client (i.e., your touchdesigner), the server should log its ID. Copy this client ID and put it in the "receiver" constant in ./server.js

generate your own key

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

change httpsOptions.passphrase in /server.js accordingly

references

face recognition and emotion detection using: https://github.com/justadudewhohacks/face-api.js webpage visuals adapted from: https://github.com/SimHub/avatar-face-expression

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published