-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (53 loc) · 2.47 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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8" />
<title>face-hunter</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="index.css" rel="stylesheet" />
</head>
<body>
<div id="browser-warning-screen">
<div id="browser-warning-msg">hi ~~ this experiment requires that you use chrome or firefox</div>
</div>
<div id="content">
<header id="header">
<h1 id="header-text"><em>face-hunter</em></h1>
<p id="description">
tries to detect human faces in an uploaded video and splices them into a GIF
<br><br>
inspired by sam lavigne's <a href="https://github.com/antiboredom/videogrep">videogrep</a> and a conversation with thanaa majeed
<br><br>
this can probably handle medium-res videos < 5 min
<br><br>
you can use <a href="http://keepvid.com/" target="_blank">keepvid</a> to download videos from youtube, vimeo, etc ..
<br><br>
<a href="https://github.com/enspiral-cherubi/face-hunter" target="_blank">source</a>
</p>
</header>
<div id="divider"></div>
<div id="upload-container">
<div id="upload-params">
<div id="range-inputs">
<div class="range-input-container">
<label class="range-input-label" for="gif-size-range">gif size [<span id="gif-size-range-value">300</span>px]</label>
<input type="range" id="gif-size-range" class="range-input" value="300" min="50" max="500" step="50"/>
</div>
<div class="range-input-container" id="frame-rate-range-input-container">
<label class="range-input-label" for="frame-rate-range">thoroughness [<span id="frame-rate-range-value">2</span>]</label>
<input type="range" id="frame-rate-range" class="range-input" value="2" min="1" max="5" />
</div>
</div>
<input type="file" id="video-file" />
<div type="button" id="upload-btn">upload video</div>
</div>
<div id="progress-container">
<div id="progress-indicator">0.00% processed . . .</div>
<div id="progress-warning"><em><span class="rotating-smiley">ツ</span>plz leave this tab open, this could take a while<span class="rotating-smiley">ツ</span></em></div>
</div>
<img id="gif" src="http://i.imgur.com/o3v4D4F.gif"/>
</div>
</div>
<script src="bundle.js"></script>
</body>
</html>