-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (48 loc) · 1.7 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
<!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" />
<title>Handwriting-digits-go</title>
<link rel="stylesheet" href="static/css/style.css" />
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
<main>
<header>
<h1>Handwriting digits Go</h1>
<h2>Draw any number and this website will predict it!</h2>
<h3>Created by jvillegasd</h3>
<div class="github-buttons">
<a
class="github-button"
href="https://github.com/Jvillegasd/handwriting-digits-go"
data-icon="octicon-star"
data-show-count="true"
aria-label="Star Jvillegasd/handwriting-digits-go on GitHub"
>Star</a
>
<a
class="github-button"
href="https://github.com/Jvillegasd/handwriting-digits-go/fork"
data-icon="octicon-repo-forked"
data-show-count="true"
aria-label="Fork Jvillegasd/handwriting-digits-go on GitHub"
>Fork</a
>
</div>
</header>
<div class="card">
<span>Draw your number here</span>
<canvas width="200" height="200" id="draw_canvas"></canvas>
<button id="clean_btn">Clear canvas</button>
<span id="prediction">-</span>
<span>Model accuracy: 99.25%</span>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest"></script>
<script src="static/js/nn_model.js"></script>
<script src="static/js/drawer.js"></script>
</body>
</html>