-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
62 lines (53 loc) · 2.39 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
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>HCI FINAL PROJECT</title>
<link rel="shortcut icon" type="image/png" href="public/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/main.css" />
<!-- scripts -->
<script src="js/face-api.min.js"></script>
</head>
<body>
<div class="bg-noise"></div>
<div class="overlay">
<div id="colorBox" class="neutral"></div>
</div>
<img id="cloudImg" class="canvas-image" src="images/cloud.png" />
<img id="devilImg" class="canvas-image" src="images/devil.png" />
<img id="haloImg" class="canvas-image" src="images/halo.png" />
<img id="exclamationImg" class="canvas-image" src="images/exclamation.png" />
<div class="contained app-container">
<div id="accessContainer">
<p>Please allow access to your webcam if asked</p>
</div>
<div class="video-area" id="camContainer">
<h1 class="emotion-header" id="emotionHeader">HOW ARE YOU FEELING TODAY?</h1>
<div class="playlist-container">
<div id="shadow" class="neutral"></div>
<iframe
id="spotifyPlayer"
src="https://open.spotify.com/embed/playlist/0dE8vbdraRNCDl1NsYONup"
width="300"
height="380"
frameborder="0"
allowtransparency="true"
allow="encrypted-media"
></iframe>
</div>
<div id="animationContainer">
<img class="animation-img" src="images/happy-face.png" />
<img class="animation-img" src="images/angry-face.png" />
<img class="animation-img" src="images/sad-face.png" />
<img class="animation-img" src="images/surprised-face.png" />
</div>
<video id="inputVideo" autoplay muted></video>
</div>
<canvas id="hiddenCanvas"></canvas>
</div>
<script src="js/main.js" async defer></script>
</body>
</html>