Lightweight bootstrap endpoint used by the loading screen.
()
| 10325 | }, |
| 10326 | width: videoEl.videoWidth || 1280, |
| 10327 | height: videoEl.videoHeight || 720 |
| 10328 | }); |
| 10329 | await cameraActive.start(); |
| 10330 | }else{ |
| 10331 | const loop = async () => { |
| 10332 | if(sourceMode !== 'camera') return; |
| 10333 | if(videoEl.readyState >= 2 && !processing){ |
| 10334 | processing = true; |
| 10335 | try{ await faceMesh.send({ image: videoEl }); }catch(e){ console.error(e); } |
| 10336 | processing = false; |
| 10337 | } |
nothing calls this directly
no test coverage detected