mirror of https://github.com/vladmandic/human
update simple demo
parent
65a71937c7
commit
a197865611
|
@ -19,7 +19,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="canvas" style="margin: 0 auto;"></canvas>
|
||||
<video id="video" playsinline style="display: none;"></video>
|
||||
<canvas id="canvas" style="margin: 0 auto"></canvas>
|
||||
<video id="video" playsinline style="display: none"></video>
|
||||
</body>
|
||||
</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 webRTC from '../helpers/webrtc.js'; // handle webrtc handshake and connects to webrtc stream
|
||||
|
||||
|
|
Loading…
Reference in New Issue