plants-analysis-api / README.md
DmitryPlant's picture
feat(backend): Dockerfile and HF Space metadata
ab02e1d
|
Raw History Blame Contribute Delete
676 Bytes
---
title: Plants Analysis API
emoji: 🌱
colorFrom: green
colorTo: yellow
sdk: docker
app_port: 7860
pinned: false
---
# Plants Analysis API
FastAPI backend for the plants fiber-bundle calibration platform.
Endpoints:
- `GET /health`
- `POST /analyze` — runs the CV pipeline, returns bundles + intermediate stage images
- `POST /score` — re-scores already-run bundles against ground truth
Frontend lives in a separate Vercel deployment.
## Deploy to Hugging Face Spaces
```bash
# Add the HF Space remote once:
git remote add hf https://huggingface.co/spaces/<HF_USER>/plants-analysis-api
# Push the backend/ subtree:
git subtree push --prefix backend hf main
```