From a1978656111c4903a6e52f2f5a1bf113b6a722e1 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 15 Sep 2021 19:15:47 -0400 Subject: [PATCH] update simple demo --- demo/simple/index.html | 4 ++-- demo/simple/index.js | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/demo/simple/index.html b/demo/simple/index.html index 92b01fd3..f0b02827 100644 --- a/demo/simple/index.html +++ b/demo/simple/index.html @@ -19,7 +19,7 @@ - - + + diff --git a/demo/simple/index.js b/demo/simple/index.js index 5cb44519..9f503e36 100644 --- a/demo/simple/index.js +++ b/demo/simple/index.js @@ -1,3 +1,12 @@ +/** + * Human demo for browsers + * + * @description Simple Human demo for browsers using WebCam or WebRTC + * + * @configuration + * config={}: contains all model configuration used by human + */ + import Human from '../../dist/human.esm.js'; // equivalent of @vladmandic/human import webRTC from '../helpers/webrtc.js'; // handle webrtc handshake and connects to webrtc stream