-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (62 loc) · 2.02 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
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="//cdn.jsdelivr.net/npm/@mediapipe/camera_utils/camera_utils.js" crossorigin="anonymous"></script>
<script src="//cdn.jsdelivr.net/npm/@mediapipe/control_utils/control_utils.js" crossorigin="anonymous"></script>
<script src="//cdn.jsdelivr.net/npm/@mediapipe/drawing_utils/drawing_utils.js" crossorigin="anonymous"></script>
<script src="//cdn.jsdelivr.net/npm/@mediapipe/holistic/holistic.js" crossorigin="anonymous"></script>
<script src="//cdn.jsdelivr.net/npm/@tensorflow/tfjs@3.2.0/dist/tf.min.js"></script>
<style>
h1 {text-align: center;}
canvas {
display: block;
margin-left: auto;
margin-right: auto;
}
.gifs {
display:grid;
grid-template-columns:1fr 1fr 1fr 1fr;
align-items: center;
justify-content: center;
}
.gif_individual {
width:250px;
height: 180px;
}
h2 {
font-size:20px;
font-family: Trebuchet MS;
text-align: center;
justify-self: center;
}
</style>
</head>
<body>
<div class="container">
<h1 style="font-size:50px; font-family: Trebuchet MS;" id="prediction">Sign Language Symptoms Detector</h1>
<video class="input_video" style="display: none;"></video>
<canvas class="output_canvas" width="1000px" height="600px"></canvas>
<h2>Try detecting these symptoms:</h2>
<div class="gifs">
<div style="align-items: center;">
<img class="gif_individual" src="gifs/tired.gif" alt="tired" title="tired" />
<h2>Tired 😓</h2>
</div>
<div>
<img class="gif_individual" src="gifs/infection.gif" alt="infection" />
<h2>Infection 😷</h2>
</div>
<div>
<img class="gif_individual" src="gifs/headache.gif" alt="headache" />
<h2>Headache 🧠 </h2>
</div>
<div>
<img class="gif_individual" src="gifs/sorethroat.gif" alt="sore throat" />
<h2>Sore Throat 🤒</h2>
</div>
</div>
</div>
</body>
<script src="translator.js" ></script>
</html>