# Dancify Backend

Python FastAPI backend for pose comparison using MediaPipe.

## Setup

1. Create a virtual environment:

```bash
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
```

2. Install dependencies:

```bash
pip install -r requirements.txt
```

3. Run the server:

```bash
python main.py
```

The server will start on `http://localhost:8000`

## API Endpoints

- `POST /api/set-reference` - Upload a reference pose image
- `POST /api/compare-pose` - Compare current frame to reference pose
- `GET /` - Health check
