-
Notifications
You must be signed in to change notification settings - Fork 535
/
index.html
53 lines (43 loc) · 1.57 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
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="content-language" content="en-EN" />
<title>JEELIZ FACEFILTER: CANVAS2D FACE TRACKING DEMO WITH MULTIPLE TRACKERS</title>
<!-- INCLUDE JEELIZ FACEFILTER SCRIPT -->
<script src="../../../dist/jeelizFaceFilter.js"></script>
<!-- INCLUDE DEMO SCRIPT -->
<script src="./main.js"></script>
<!-- HELPER TO USE CANVAS2D WITHOUT TAKING CARE OF WEBGL -->
<script src="../../../helpers/JeelizCanvas2DHelper.js"></script>
<!-- INCLUDE FORK ME ON GITHUB BANNER -->
<script src="../../appearance/widget.js"></script>
<link rel="stylesheet" href="../../appearance/style.css" type="text/css" />
<style type='text/css'>
#notice {
position: absolute;
z-index: -1;
font-variant: small-caps;
text-align: center;
color: black;
font-size: 32pt;
left: 50%; top: 50%;
width: 400px; height: 200px;
margin-top: -100px; margin-left: -200px;
}
#jeeFaceFilterCanvas, #jeeFaceFilterCanvas2{
width: auto;
max-width: 40vw;
position: static;
float: left;
transform: none;
}
</style>
</head>
<body>
<canvas width="600" height="600" id='jeeFaceFilterCanvas'></canvas>
<canvas width="600" height="600" id='jeeFaceFilterCanvas2'></canvas>
<video id='myVideo' style='display: none' src='video.mp4' playsinline preload autoplay loop></video>
<div id='notice'>Click or Touch <br/> to start the video!</div>
</body>
</html>