-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (63 loc) · 1.37 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
74
75
76
77
<!doctype html>
<head>
<title>TensorFlow.js: Using a pretrained MobileNet</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.merge {
margin-left: 0;
margin-top: 0;
position: absolute;
}
</style>
<!--<link rel="stylesheet" href="../shared/tfjs-examples.css" />-->
</head>
<style>
.pred-container {
margin-bottom: 20px;
}
.pred-container > div {
display: inline-block;
margin-right: 20px;
vertical-align: top;
}
.row {
display: table-row;
}
.cell {
display: table-cell;
padding-right: 20px;
}
#overlay, .overlay {
position: absolute;
top: 0;
left: 0;
}
#file-container {
margin-bottom: 20px;
}
</style>
<body>
<div class="tfjs-example-container">
<section class='title-area'>
<h1>TensorFlow.js: Emotion detection</h1>
</section>
<section>
<p class='section-head'>Description</p>
<p>
</p>
</section>
<section>
<p class='section-head'>Status</p>
<div id="status"></div>
</section>
<section>
<div style="position: relative;width: 300px;" class="margin">
<video onloadedmetadata="onPlay(this)" id="video" preload playsinline autoplay loop muted class="merge"></video>
<canvas id="overlay" />
</div>
<br>
</section>
<script src="index.js"></script>
</div>
</body>