MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / api_bootstrap

Function api_bootstrap

Scripts/ButSystem.py:10327–10334  ·  view source on GitHub ↗

Lightweight bootstrap endpoint used by the loading screen.

()

Source from the content-addressed store, hash-verified

10325 await waitForVideo();
10326 sizeCanvasFrom(videoEl);
10327
10328 if(typeof Camera !== 'undefined'){
10329 cameraActive = new Camera(videoEl, {
10330 onFrame: async () => {
10331 if(sourceMode !== 'camera' || processing) return;
10332 processing = true;
10333 try{ await faceMesh.send({ image: videoEl }); }catch(err){ console.error(err); }
10334 processing = false;
10335 },
10336 width: videoEl.videoWidth || 1280,
10337 height: videoEl.videoHeight || 720

Callers

nothing calls this directly

Calls 2

current_userFunction · 0.70
get_profileFunction · 0.70

Tested by

no test coverage detected