-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaengv2.html
108 lines (93 loc) · 2.2 KB
/
skaengv2.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html>
<head>
<title>Skaeng v2</title>
<style>body {
margin: 0;
width: 100%;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
color: black;
}
.footer-text {
max-width: 600px;
text-align: center;
margin: auto;
}
.footer-text, #colors {
font-family: Arial, Helvetica, sans-serif;
}
#colors {
margin: 0;
padding: 0;
list-style: none;
}
#colors li {
margin: 0;
}
#colors .color {
width: 50px;
height: 1em;
}
#colors li div {
display: inline-block;
}
.footer-menu {
display: none;
}
/* mobile */
@media only screen and (max-width: 850px) {
.footer {
height: 46px;
}
.footer-text {
display: none;
}
#main {
width: 100%;
height: 100%;
overflow: hidden;
}
}</style>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="stats"></div>
<div id="info" style="display:none">
</div>
<div id="loading">
Loading the model...
</div>
<div id="main" style="display:none">
<video id="video" playsinline="" style=" -moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
display: none;
">
</video>
<canvas id="output">
</canvas></div>
<ul id="colors" style="display: none"></ul>
<div class="footer">
<div class="footer-text">
<p>
Skaeng v2
</p>
</div>
<div class="footer-menu">
<i class="material-icons switch-camera">switch_camera</i>
<i class="material-icons mask mode active">portrait</i>
<i class="material-icons mode bokeh">blur_on</i>
<i class="material-icons mode part-map">format_color_fill</i>
<i class="material-icons high-accuracy">high_quality</i>
</div>
</div>
<script src="./skaengv2.js"></script>
</body>
</html>