-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgif.html
executable file
·55 lines (53 loc) · 1.82 KB
/
gif.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gif Search</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="styles/style.css" rel="stylesheet" type="text/css">
<script defer src="https://use.fontawesome.com/releases/v5.6.1/js/all.js" integrity="sha384-R5JkiUweZpJjELPWqttAYmYM1P3SNEJRM6ecTQF05pFFtxmCO+Y1CiUhvuDzgSVZ" crossorigin="anonymous"></script>
<script src="js/libs/utils.js"></script>
<script src="js/clmtrackr.js"></script>
<script src="models/model_pca_20_svm.js"></script>
<script src="js/libs/d3.min.js"></script>
<script src="js/emotion_classifier.js"></script>
<script src="js/emotionmodel.js"></script>
</head>
<body>
<div id="container">
<div id="video_container">
<video id="videoel" width="400" height="300" preload="auto" loop playsinline autoplay>
</video>
<canvas id="overlay" width="400" height="300"></canvas>
</div>
<div id="emotion_container">
<div class="emotion_margin">
<div id="emotion_icons">
<i class="far fa-angry fa-2x" id="icon_angry"></i>
<i class="far fa-sad-tear fa-2x emotion_icon" id="icon_sad"></i>
<i class="far fa-surprise fa-2x emotion_icon" id="icon_surprised"></i>
<i class="far fa-laugh-squint fa-2x emotion_icon" id="icon_happy"></i>
</div>
<div id='emotion_chart'></div>
</div>
</div>
<div id="gif_container"></div>
</div>
<div id="modal">
<div id="modal_container">
<div id="gif_modal">
</div>
<div id="icon_modal"></div>
<div id="share">
<input id="link">
<a id="copy_btn" onclick="copyLink()"> Copy link </a>
</div>
<div class="back_btn" onclick="closeModal()">
<i class="fas fa-long-arrow-alt-left fa-3x"></i>
<p>Back</p>
</div>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>