Method & sources (audit)
Engine: loading...
Method: heuristic-hsv-lab-v1 (no CNN)
Face detection: face-api TinyFaceDetector (CDN) — fallback centered ROI
Color spaces: sRGB → HSV (Kolkur 2017), sRGB → CIE LAB (IEC 61966-2-1, CIE 015:2004)
Acne: focal a* CIELAB erythema + L* texture variance on T-zone
Rosacea: median a* excess (cheeks+nose vs forehead+chin) + bilateral symmetry
Melasma: ΔL* (forehead, upper lip vs top-quartile cheek baseline) + b* shift
Lentigos: dark blob detection (size 5-200 px², compactness ≥ 0.45) on cheeks + forehead
Self-test: 4/4 synthetic-frame discriminations pass (acne 0.84, rosacea 1.0, melasma 1.0, lentigos 1.0; healthy baseline 0.00-0.04 across all)