--- 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//plants-analysis-api # Push the backend/ subtree: git subtree push --prefix backend hf main ```