An open API service indexing awesome lists of open source software.

https://github.com/jorbush/emotion-detector

a web app that detects your emotional state and reacts accordingly
https://github.com/jorbush/emotion-detector

svelte typescript

Last synced: 6 months ago
JSON representation

a web app that detects your emotional state and reacts accordingly

Awesome Lists containing this project

README

          

# 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

- [Vite](https://vitejs.dev/)
- [Svelte](https://svelte.dev/)
- [TypeScript](https://www.typescriptlang.org/)
- [TailwindCSS](https://tailwindcss.com/)
- [face-api.js](https://github.com/justadudewhohacks/face-api.js/)

## Requirements

- [Node.js](https://nodejs.org/en/) (v14 or later)
- A modern web browser with camera access

## Installation

Install dependencies:

```bash
npm install
```

## Usage

To run the development server:

```bash
npm run dev
```

## Linting

To check for linting errors:

```bash
npm run check
```

## Format

To format the code:

```bash
npm run format
```