Files
face-lock/README.md

20 lines
363 B
Markdown

# face-lock
FastAPI microservice that finds the primary subject in an image, draws a square around it, and returns a buffered crop.
## Dev
```bash
cp .env.example .env
pip install -r requirements.txt
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
```
Set `ENV=dev` to enable the Tailwind UI at `/`.
## Docker
```bash
docker compose up --build
```