update simple demo

pull/193/head
Vladimir Mandic 2021-09-15 19:15:47 -04:00
parent 65a71937c7
commit a197865611
2 changed files with 11 additions and 2 deletions

View File

@ -19,7 +19,7 @@
</style> </style>
</head> </head>
<body> <body>
<canvas id="canvas" style="margin: 0 auto;"></canvas> <canvas id="canvas" style="margin: 0 auto"></canvas>
<video id="video" playsinline style="display: none;"></video> <video id="video" playsinline style="display: none"></video>
</body> </body>
</html> </html>

View File

@ -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 Human from '../../dist/human.esm.js'; // equivalent of @vladmandic/human
import webRTC from '../helpers/webrtc.js'; // handle webrtc handshake and connects to webrtc stream import webRTC from '../helpers/webrtc.js'; // handle webrtc handshake and connects to webrtc stream