-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (57 loc) · 1.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>smile on five</title>
<link rel="shortcut icon" type="image/png" href="assets/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
<link
href="https://fonts.googleapis.com/css?family=Amatic+SC:400,700|Oswald&display=swap"
rel="stylesheet"
/>
<script src="js/face-api.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
</head>
<body>
<header>
<a href="/">
<img class="smile" src="/assets/smile.svg" alt="smiling face"
/></a>
</header>
<h1 class="title">smile on five</h1>
<p class="warning"></p>
<div class="video__border">
<player>
<video id="video" autoplay muted></video>
</player>
</div>
<p class="time">00:00:000</p>
<div class="button__group">
<button class="cameraBtn">1. Load camera</button>
<button class="loadBtn" disabled>
2. Load brain (takes a little bit of time!)
</button>
<button class="goBtn" disabled>3. Start!</button>
</div>
<p class="description">
Can you smile on exactly 5 seconds? To play this game you will need to let
your browser access your camera. All facial recognition takes place on
<u>your device</u>, nothing is sent elsewhere.
</p>
<footer>
<p>
SVG made by
<a href="https://www.flaticon.com/authors/freepik" target="_blank"
>freepik</a
>
| this app is open source and available
<a href="https://github.com/MichaelE1/smile-on-five" target="_blank"
>here</a
>
</p>
</footer>
<script src="js/smile.js"></script>
</body>
</html>