Facial Proportion Analysis
Turn a patient photo into a structured aesthetic report doctors can discuss in consultation.
Metrics
| Metric | Method | Ideal range |
|---|---|---|
| 三庭 (vertical thirds) | Hairline–brow, brow–nose base, nose base–chin | 1:1:1 ± 8% |
| 五眼 (horizontal fifths) | Face width ÷ 5 vs eye width | equal fifths ± 10% |
| Symmetry | Mirror-left vs right landmark RMSE | score 0–100, >85 good |
| Golden ratio φ | mouth width / nose width | ~1.618 ± 0.12 |
| E-line | Tip of chin to nose tip vs lips | lips 2–4 mm behind E-line |
| Nasofrontal angle | Bridge–glabella–tip | 115°–130° (ethnicity-adjusted) |
Workflow
- Detect landmarks →
scripts/analyze_proportions.py - Compute ratios + deviation from ideal
- Generate overlay PNG with guide lines
- Output markdown report with observation only (no diagnosis)
Report Template
# 面部比例分析报告 · Facial Proportion Report
> 本报告为计算机辅助测量,仅供咨询参考,非医疗诊断。
## 综合评分
- 对称性 Symmetry: 82/100
- 三庭平衡 Thirds balance: 轻微下庭偏长 (+6%)
## 详细测量
| 项目 | 测量值 | 参考 | 偏差 |
|------|--------|------|------|
| 上庭/中庭/下庭 | 0.92:1.0:1.06 | 1:1:1 | 下庭 +6% |
## 可讨论方向(供医师判断)
- 下庭略长,可通过下巴或鼻基底视觉调整讨论
- 左右对称性良好
## 模拟建议
→ 可配合 aesthetic-postop-sim 针对偏差最大区域生成预览
Script
python scripts/analyze_proportions.py face.jpg --output report.md --overlay overlay.png
Ethics
- Present as measurements, not "defects"
- Ethnicity-aware norms: East Asian ideal differs from Greco-Roman classical
- Never auto-recommend surgery; phrase as "discussion points for physician"