-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (80 loc) · 2.87 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
<!DOCTYPE html>
<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">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Georama:wght@300;400&family=Noto+Sans+JP&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
<link rel="mask-icon" href="favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="./src/css/style.css">
<title>Digit Recognition with Tensorflow JS</title>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<style media="screen">
@media only screen and (max-width: 560px) {
h1 {
font-size: 1.5em;
}
#output {
font-size: 1.0em;
}
}
@media only screen and (max-width: 422px) {
h1 {
font-size: 1.3em;
}
#output {
font-size: 1.0em;
}
.top-text {
font-size: 0.6em;
}
}
@media only screen and (max-width: 376px) {
h1 {
font-size: 1.1em;
}
#output {
font-size: 0.8em;
}
#erase-btn {
font-size: 0.8em;
}
}
@media only screen and (max-width: 343px) {
h1 {
font-size: 0.9em;
}
#output {
font-size: 0.7em;
}
#erase-btn {
font-size: 0.7em;
}
}
</style>
</head>
<body>
<main>
<h1>Handwritten Digit Recognition App</h1>
<div class="box">
<div id="output" ><div id="output-text">Loading (...)</div></div>
<canvas id="draw-canvas" class="digits-canvas" width="400" height="400"></canvas>
</div>
<div id="pipeline">
<button id="erase-btn" disabled>Please wait</button>
</div>
<script src="./static/main.js" type="module" defer></script>
</main>
<div class="top-text"><a href="https://github.com/anaximeno">by: Anaxímeno Brito</a></div>
</body>
</html>