developed for Hidalgo festival "Who Are You"
It captures audience's facial emotion and send the realtime data to modify the art song performance.
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
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
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
change httpsOptions.passphrase in /server.js accordingly
face recognition and emotion detection using: https://github.com/justadudewhohacks/face-api.js webpage visuals adapted from: https://github.com/SimHub/avatar-face-expression