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
- Host: GitHub
- URL: https://github.com/jorbush/emotion-detector
- Owner: jorbush
- Created: 2024-08-01T06:32:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T19:40:16.000Z (almost 2 years ago)
- Last Synced: 2025-04-08T00:41:29.914Z (over 1 year ago)
- Topics: svelte, typescript
- Language: Svelte
- Homepage: https://emotion-detector-jorbush.vercel.app
- Size: 493 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```