-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (32 loc) · 1.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<script src="https://rawgit.com/eduardolundgren/tracking.js/master/build/tracking-min.js"></script>
<script src="https://rawgit.com/eduardolundgren/tracking.js/master/build/data/face-min.js"></script>
<script type='text/javascript' src='https://cdn.scaledrone.com/scaledrone.min.js'></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Face Mask Demo</title>
<style>
#localVideo, #localCanvas {
margin-left: 5%;
margin-top: 120px;
position: absolute;
}
#remoteVideo {
margin-left: 500px;
margin-top: 120px;
position: absolute;
}
</style>
</head>
<body>
<!-- <img src="smiley.jpg" id="mask" height="34" width="24"> -->
<div class = "video-frame">
<video id="localVideo" width="320px" height="240px" autoplay muted></video>
<canvas id="localCanvas" width="320px" height="240px"></canvas>
<video id="remoteVideo" width="320px" height="240px" autoplay></video>
</div>
<script src="script.js"></script>
</body>
</html>