# Facial Proportion Analysis

> Quantify facial aesthetics using 三庭五眼, symmetry scores, golden ratio, and E-line analysis for cosmetic consultation. Use when analyzing face proportions, 面部比例, 三庭五眼, symmetry, golden ratio, or pre-op aesthetic assessment.

- Skill: `freakyglorian-create/facial-proportion-analysis` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add freakyglorian-create/facial-proportion-analysis`
- Raw SKILL.md: https://api.skillmd.com/api/skills/freakyglorian-create/facial-proportion-analysis/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: freakyglorian-create (https://skillmd.com/u/freakyglorian-create)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/freakyglorian-create/facial-proportion-analysis

---


# 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

1. Detect landmarks → `scripts/analyze_proportions.py`
2. Compute ratios + deviation from ideal
3. Generate overlay PNG with guide lines
4. Output markdown report with **observation only** (no diagnosis)

## Report Template

```markdown
# 面部比例分析报告 · Facial Proportion Report

> 本报告为计算机辅助测量，仅供咨询参考，非医疗诊断。

## 综合评分
- 对称性 Symmetry: 82/100
- 三庭平衡 Thirds balance: 轻微下庭偏长 (+6%)

## 详细测量
| 项目 | 测量值 | 参考 | 偏差 |
|------|--------|------|------|
| 上庭/中庭/下庭 | 0.92:1.0:1.06 | 1:1:1 | 下庭 +6% |

## 可讨论方向（供医师判断）
- 下庭略长，可通过下巴或鼻基底视觉调整讨论
- 左右对称性良好

## 模拟建议
→ 可配合 aesthetic-postop-sim 针对偏差最大区域生成预览
```

## Script

```bash
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"

