Face Mood Music Player

Project Overview

This project is a smart music player powered by a Raspberry Pi 4B 8GB that detects a user's facial expression and plays music that matches their mood. It combines computer vision, machine learning, and Python to create an interactive, personalized music experience.

Features

How It Works

Course Corrections

The first design leaned on a single music source, and real use exposed the flaw: playback APIs restrict, throttle, or drop streams depending on platform and session state, so the player would pass a demo and fail in a living room. The architecture changed direction: playback was re-routed behind a backend abstraction that resolves the best available stream at runtime: browser-resolved streams, yt-dlp, and local libraries, with cross-platform audio fallbacks and session telemetry to surface silent failures. The lesson stuck: the fallback path is a first-class feature, not an afterthought.

Technologies Used