Lightweight bootstrap endpoint used by the loading screen.
()
| 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 |
nothing calls this directly
no test coverage detected