-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathindex.html
79 lines (67 loc) · 2.24 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Face Detection with OpenCV</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="assets/css/bootstrap-lightbox.min.css" />
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<div id="wrap">
<div class="container">
<div class="row">
<div class="span12">
<div id="header">
<h1>Face detection with OpenCV</h1>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<div id="msgbox" class="alert" style="display: none;">
<span class="close" data-dismiss="alert">x</span>
<p>Oops, something went wrong.</p>
</div>
<div id="dropbox">
<form id="form-upload" enctype="multipart/form-data" action="face-detect/face-detect.php" method="POST" style="display: block;">
<p>Drop your image here</p>
<p>or</p>
<p>
<input id="file-input" type="file" name="image" />
<button id="select-btn" class="btn btn-large btn-primary">Select from disk</button>
</p>
</form>
<div id="progress" style="display: none;">
<p>Uploading....</p>
<div class="progress progress-striped active">
<div class="bar" style="width: 50%;"></div>
</div>
</div>
<div id="results" style="display: none;">
<div class="source-img"></div>
<div class="lightbox hide fade" tabindex="-1" role="dialog">
<div class="lightbox-content"></div>
</div>
<div class="detected-faces"></div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<div id="actions" style="display: none;">
<a href="/" id="restart-btn" class="btn btn-large btn-primary">Restart face detection</a>
</div>
</div>
</div>
</div>
</div>
<script src="assets/js/jquery.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/bootstrap-lightbox.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>