realtime-guide

Source: realtime-guide.js:7

Draws the baseline's normalized face geometry over the video. The overlay is a positioning memory aid, not a mask or a measurement.


Static Methods

canUseGuideShortcut()

True when Space belongs to the page rather than a focused control.

createBaselineGuide(options: object): object

Creates a temporary baseline-guide overlay.

Parameters

  • options (object) — Controller wiring.
    • options.canvasEl (HTMLCanvasElement) — Overlay canvas.
    • options.videoEl (HTMLVideoElement) — Video whose object-fit is mirrored.
    • options.stageEl (HTMLElement) — Canvas positioning container.

Returns

  • object — Guide controller.