mirror of https://github.com/vladmandic/human
update simple demo
parent
65a71937c7
commit
a197865611
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue