RAS-05REV D.1RAS

AI Follicle Classification & Matrix Generation

Hybrid YOLOv8-seg + U-Net pipeline classifies follicular units (FU1–FU4), estimates exit angle (±5°), and emits the 3D implantation matrix on the scalp depth surface.

AI Follicle Classification & Matrix GenerationFIG RAS-05
AI-generated implantation matrix and timeline diagram
FIG · BLUEPRINT
DARK · 16:9
Engineering DescriptionRAS-05 · DESC

A YOLOv8-seg backbone, trained on ≈ 1.4 M annotated scalp tiles across Fitzpatrick I–VI, produces per-follicle bounding masks at 60 ms inference (TensorRT FP16, RTX A4500). Each detection is routed through a lightweight 3-stage classifier head that assigns one of {FU1, FU2, FU3, FU4} based on shaft count and mutual spacing.

Exit angle and direction are estimated by a separate U-Net regression head that consumes the cross-polarized + IR channels and the local depth patch. Mean absolute angular error on the validation set is 4.7° (σ = 2.1°). Direction vectors are converted from camera frame to scalp-surface tangent frame using local LiDAR normals.

The 3D implantation matrix is built by Poisson-disk sampling on the scalp surface under hard constraints: minimum inter-implant spacing 0.8 mm, target density 25–40 FU/cm², and angular distribution matched to the native follicle field via von Mises–Fisher KDE.

Technical ParametersRAS-05 · TABLE
ParameterValueUnitTolerance / Note
Detection backboneYOLOv8-segCustom 5-class head
Classification head3-stage MLPFU1/FU2/FU3/FU4 + reject
Training corpus~1.4 M tilesFitzpatrick I–VI
Inference latency60msTensorRT FP16
[email protected] (detection)0.93Hold-out test set
FU classification F10.91
Angle MAE4.7°
Min inter-implant spacing0.8mm
Target density25–40FU/cm²
SamplerPoisson-disk + vMF KDE
Active-learning loopNOTE-1

Procedure-time disagreements between the YOLO head and the operator override are silently logged (PHI-stripped) and queued into the weekly retraining batch.