File size: 676 Bytes
ab02e1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
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
```