-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (60 loc) · 2.44 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Classification Demo</title>
</head>
<body>
<nav>
<div class="nav-wrapper orange darken-3">
<a href="" class="brand-logo">Image Classification Demo</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li class="active"><a href="">Mobilenet</a></li>
<li><a href="https://github.com/pavelsjo/image-classification-tensorflowjs">Github</a></li>
</ul>
</div>
</nav>
<div class="container center-align">
<div class="row">
<div class="col s12">
<div class="card">
<div class="card-image">
<img id="img" src="example.png" class="responsive-img">
<a class="btn-floating halfway-fab btn-large waves-effect pulse blue-grey darken-4" id="btn-pred"><i class="material-icons">photo_filter</i></a>
</div>
<div class="card-content" id="predicciones">
<!-- Dynamic prediction content -->
</div>
<div class="progress orange lighten-5" style="display:none">
<div class="indeterminate orange" ></div>
</div>
</div>
</div>
<form action="#">
<div class="file-field input-field">
<div class="btn blue-grey darken-4">
<span>File</span>
<input type="file">
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text">
</div>
</div>
</form>
</div>
<a class="btn-floating btn-large blue-grey darken-4" id="btn-clean"><i class="material-icons">delete</i></a>
</div>
</div>
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<!-- Import Google Icon Font -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Tensorflowjs -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@2.0.0/dist/tf.min.js"></script>
<!-- Source-->
<script src="app.js"></script>
</body>
</html>