-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
95 lines (84 loc) · 5.39 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
<html>
<head>
<title> iSeeDigits </title>
<meta charset="utf-8">
<meta name="description" content="A Simple Digit Recognizer">
<meta name="keywords" content="arunava, deep learning, neural network, digit, Recognizer">
<meta name="author" content="Arunava">
<meta name="viewport" content="width=device-width initial-scale=1.0">
<script src="https://use.fontawesome.com/7fe04d222b.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./lib/style.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src='./dependencies/math.js'></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#adaNav">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand html--font-20" href="#"> iSeeDigits </a>
</div>
<div class="collapse navbar-collapse" id="adaNav">
<ul class="nav navbar-nav navbar-right">
<li id="li_home" class="active html--font-18"><a href="#"> Home </a></li>
<li id="li--clearpad" class="active html--font-18"><a href="#"> Clear Pad </a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> Data <span class="caret"></span></a>
<ul class="dropdown-menu">
<li id="li--getdata" class="html--font-18"><a href="#"> Download Data </a></li>
<li id="li--cleardata" class="html--font-18"><a href="#"> Clear Data </a></li>
</ul>
</li>
<li id="id--color-chosen-representator" class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i id="id--chosen-color-display" class="fa fa-circle" aria-hidden="true"></i> Color <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#"> Red <i class="fa fa-circle html--color-red" aria-hidden="true"></i> <span class="glyphicon glyphicon-ok html--display-none-color-chosen" aria-hidden="true"></span></a></li>
<li><a href="#"> Blue <i class="fa fa-circle html--color-blue" aria-hidden="true"></i> <span class="glyphicon glyphicon-ok html--display-none-color-chosen" aria-hidden="true"></span></a></li>
<li><a href="#"> Green <i class="fa fa-circle html--color-green" aria-hidden="true"></i> <span class="glyphicon glyphicon-ok html--display-none-color-chosen" aria-hidden="true"></span></a></li>
<li><a href="#"> Yellow <i class="fa fa-circle html--color-yellow" aria-hidden="true"></i> <span class="glyphicon glyphicon-ok html--display-none-color-chosen" aria-hidden="true"></span></a></li>
<li><a href="#"> Gray <i class="fa fa-circle html--color-gray" aria-hidden="true"></i> <span class="glyphicon glyphicon-ok html--display-none-color-chosen" aria-hidden="true"></span></a></li>
<li><a href="#"> Violet <i class="fa fa-circle html--color-violet" aria-hidden="true"></i> <span class="glyphicon glyphicon-ok html--display-none-color-chosen" aria-hidden="true"></span></a></li>
<li role="separator" class="divider"></li>
<li><a href="#"> RainBow <i class="html--color-rainbow" aria-hidden="true"></i> <span class="glyphicon glyphicon-ok html--display-none-color-chosen" aria-hidden="true"></span></a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div id="id--the-pad-holder" class="row center-block">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div id="id--the-pad-delimiters">
<div class="div--center-in-div" id="id--the-pad">
</div>
</div>
</div>
</div>
<div class='row'>
<div class='col-12'>
<div class='div--center-in-div'>
<button type="button" id="id--predict-btn" class="btn btn-primary"> Predict </button>
<button type="button" id="id--correct-match" class="btn btn-success"> Correct Match </button>
<button type="button" id="id--incorrect-match" class="btn btn-danger"> Incorrect! </button>
<input class='class--inline' type='number' id='id--target-value' max='9' min='0'>
<h3> The Predicted Digit is: <span id='id--prediction'></span> </h3>
</div>
</div>
</div>
<div id="snackbar"></div>
</div>
<script src='./lib/model/wih_mod.js'></script>
<script src='./lib/model/who_mod.js'></script>
<script src='./lib/speech.js'></script>
<script src='./lib/nn.js'></script>
<script src="./lib/script.js"></script>
</body>
</html>