@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / FaceHeadFit
Type Alias: FaceHeadFit ​
ts
type FaceHeadFit = {
ratios: Record<string, number>;
confidence: number;
locked: boolean;
};Defined in: face/tracker.ts:4
How a person's head compares with the average one.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
ratios | Record<string, number> | 1 is average. cheek, temple, forehead, jaw, chin: width there. upper, lower: height. | face/tracker.ts:6 |
confidence | number | 0 is still measuring and using the average head, 1 is measured and held. | face/tracker.ts:8 |
locked | boolean | The measurement is complete and no longer moves. | face/tracker.ts:10 |

