-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
142 lines (140 loc) · 4.76 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Banuba SDK Web AR demo</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/reset-css@5.0.2/reset.min.css"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<main>
<div class="start-screen">
<div class="start-screen__spinner">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="start-screen__inner hidden">
<div class="start-screen__title">Please define a source:</div>
<div class="start-screen__webcam">
<input type="radio" name="source" id="webcam" value="webcam" />
<label for="webcam">Use WebCam</label>
</div>
<div class="start-screen__photo">
<input type="file" id="image" accept="image/*" />
<label for="image">Upload a Photo</label>
</div>
<div class="start-screen__image"></div>
</div>
</div>
<div class="hand-gestures-tip hidden">
<div class="hand-gestures-tip__inner">
<div class="hand-gestures-tip__title">Tip</div>
<div class="hand-gestures-tip__subtitle">Supported gestures:</div>
<div class="hand-gestures-tip__content">
<div class="hand-gestures-tip__content-item">
<img src="assets/icons/hand_gestures/Like.svg" alt="Like" /><label
>"Like"</label
>
</div>
<div class="hand-gestures-tip__content-item">
<img src="assets/icons/hand_gestures/Ok.svg" alt="Ok" /><label
>"Ok"</label
>
</div>
<div class="hand-gestures-tip__content-item">
<img src="assets/icons/hand_gestures/Rock.svg" alt="Rock" /><label
>"Rock"</label
>
</div>
<div class="hand-gestures-tip__content-item">
<img src="assets/icons/hand_gestures/Victory.svg" alt="Victory" />
<label>"Victory"</label>
</div>
<div class="hand-gestures-tip__content-item">
<img src="assets/icons/hand_gestures/Palm.svg" alt="Palm" /><label
>"Palm"</label
>
</div>
</div>
</div>
<button class="hand-gestures-tip__button">Close</button>
</div>
<div class="hand-gestures hidden"></div>
<div class="heart-rate hidden"></div>
<div class="test-ruler hidden"></div>
<div id="popups" class="popups"></div>
<div class="overlay"></div>
<div id="webar"></div>
<div id="fps">
Webcam FPS: <span id="cam"></span><br />
Processing FPS: <span id="processing"></span><br />
Render FPS: <span id="render"></span>
</div>
<input
type="image"
id="reset-button"
src="assets/icons/controls/icon-reset.svg"
alt="reset button"
disabled
/>
<div class="controls">
<div id="rec-duration" class="hidden"></div>
<input
type="image"
id="rec-button"
src="assets/icons/controls/icon-record.svg"
alt="rec-button"
/>
<input
type="image"
id="screenshot-button"
src="assets/icons/controls/icon-screenshot.svg"
alt="screenshot-button"
/>
<input
type="image"
id="mute-button"
src="assets/icons/controls/icon-sound.svg"
alt="mute-button"
/>
</div>
<div class="import-message hidden">
<div class="import-message__inner">
To import additional filters, move the *.zip file into the
<span>import</span> folder and add files names to
./import/effectsList.js file
</div>
</div>
<div class="footer">
<div class="effects">
<div class="effect-control"></div>
<div class="effects-list"></div>
</div>
<div class="categories-button__left hidden">
<div class="categories-button__left-icon">
<img src="assets/icons/controls/icon-arrow.svg" alt="left" />
</div>
</div>
<div class="categories-button__right hidden">
<div class="categories-button__right-icon">
<img src="assets/icons/controls/icon-arrow.svg" alt="right" />
</div>
</div>
<div class="categories"></div>
<div class="technologies"></div>
</div>
</main>
</body>
<script src="BanubaClientToken.js"></script>
<script type="module" src="main.js"></script>
</html>