Add cropping

This commit is contained in:
khalid@traclabs.com
2026-04-30 15:30:52 -05:00
parent bfc32e78a9
commit 62e5e309ad
4 changed files with 216 additions and 5 deletions

View File

@@ -20,3 +20,8 @@ OLLAMA_API_KEY=your-ollama-api-key
# ── Server ──────────────────────────────────────────────────────────────────
PORT=3000
JOB_CONCURRENCY=3
# ── Subject Crop ────────────────────────────────────────────────────────────
# Padding factor (0-1) added to each side of the detected bounding box.
# 0.15 = 15% of the box width/height added as margin on each side.
BBOX_PADDING=0.15