Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / HandDetection

Type Alias: HandDetection ​

ts
type HandDetection = {
  side: HandSide;
  score: number;
  picture: readonly Point3[];
  metres: readonly Point3[];
};

Defined in: hands/tracker.ts:13

One hand on one frame of detection, from the runtime.

Properties ​

PropertyTypeDescriptionDefined in
sideHandSideThe person's own hand, already worked out for mirrored and plain cameras.hands/tracker.ts:15
scorenumberHow sure the detector is of that, 0 to 1.hands/tracker.ts:17
picturereadonly Point3[]21 points, x and y 0 to 1 across the picture from its top left, as the viewer sees it.hands/tracker.ts:19
metresreadonly Point3[]The same 21 points in metres, around the hand, with y down and z away from the camera.hands/tracker.ts:21