- FastAPI-based face embedding service using InsightFace - Modular package structure (app/config, app/models, app/face, app/image, app/routes) - Async HTTP downloads with retry logic (httpx + tenacity) - Image size/dimension limits and decompression bomb protection - Comprehensive image decoding with color mode handling - BBox coordinate clamping and embedding validation - Production-ready structure with TODOs for security features |
||
|---|---|---|
| .. | ||
| routes | ||
| __init__.py | ||
| config.py | ||
| face.py | ||
| image.py | ||
| main.py | ||
| models.py | ||