https://github.com/bhandarisachindev/NodeBackend.git -day7-10-MoodPlayer

There are two main parts:

🧠 1. Mood Detection (Frontend)

You can use webcam + AI to detect the mood via facial expressions using libraries like:

✅ Recommended: face-api.js

Steps:

  1. Capture video using webcam (getUserMedia)
  2. Load face-api.js models
  3. Detect face and expression
  4. Based on expression, set mood

🎵 2. Music (Backend)

✅ Backend Setup Overview (Node.js + Express + MongoDB)

You’ll need:

Once mood is detected: