emotion-detector

Emotion Detector

a web app that detects your emotional state and reacts accordingly

Emotion Detector

A web application that detects your emotional state and reacts accordingly. This app uses face-api.js to analyze facial expressions and displays an ASCII robot face that matches the detected emotion.

Features

  • Real-time emotion detection using face-api.js.
  • ASCII robot face that mimics the user's emotional state.
  • Uses a voice synthesizer to tell the detected emotion (can be muted).
  • Dark/light theme.

Technologies Used

Requirements

  • Node.js (v14 or later)
  • A modern web browser with camera access

Installation

Install dependencies:

npm install

Usage

To run the development server:

npm run dev

Linting

To check for linting errors:

npm run check

Format

To format the code:

npm run format

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes