-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
59 lines (50 loc) · 2.09 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>VISION</title>
<link rel="stylesheet" href="style/index.css" />
<link rel="stylesheet" href="style/logos.css" />
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
</head>
<body>
<aside class="drawer js-drawer">
<input class="js-drawingoption" type="radio" name="drawing" value="Faces" id="Faces" checked data-apiname="FACE_DETECTION">
<label class="drawer-option" for="Faces">Faces</label>
<input class="js-drawingoption" type="radio" name="drawing" value="Landscapes" id="Landscapes" data-apiname="LABEL_DETECTION">
<label class="drawer-option" for="Landscapes">Landscapes</label>
<input class="js-drawingoption" type="radio" name="drawing" value="Logos" id="Logos" data-apiname="LOGO_DETECTION">
<label class="drawer-option" for="Logos">Logos</label>
<input class="js-drawingoption" type="radio" name="drawing" value="Landmarks" id="Landmarks" data-apiname="LANDMARK_DETECTION">
<label class="drawer-option" for="Landmarks">Landmarks</label>
</aside>
<section class="main">
<button class="drawer-hamburger js-drawer-hamburger">≡</button>
<h1>
<span class="firstline">Let's draw some</span>
<span class="secondline js-drawingtitle">Faces</span>
</h1>
<div class="inputwrapper">
<input type="file" id="file-input"/>
<button class="input">
<img class="input-arrow" src="assets/img/rightarrow.png">
Select a file
</button>
<div class="input-hint">
<strong>Protip:</strong>
your picture should include a
<em class="js-drawinghint">face</em>
</div>
</div>
<div class="loader"></div>
<img src="" id="image-preview" style="display: none;">
<div class="result"></div>
</section>
<script src="src/vendor/zepto.min.js"></script>
<script src="src/vendor/raphael.min.js"></script>
<script src="src/vendor/sha1.min.js"></script>
<script src="src/index.js"></script>
<script src="src/api.js"></script>
<script src="src/ui.js"></script>
</body>
</html>