effets sur l'interface web depuis python

Tests sur l'implémentation de communication interface web / backend python pour la reconnaissance de main avec webSocket
This commit is contained in:
2023-01-05 17:08:01 +01:00
parent 5c15a2837a
commit d7893c91ad
9 changed files with 119 additions and 72 deletions

View File

@@ -0,0 +1,6 @@
let cameraEditor;
let client
window.addEventListener("load", () => {
cameraEditor = new CameraEditor(document.getElementById("canvas"));
client = new WebsocketClient((effects) => { cameraEditor.setEffects(effects); });
}, false);