-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
58 lines (53 loc) · 2 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Handwriting recognition</title>
<link rel="icon" href="https://github.com/Tommy-Ngx/ai/raw/main/img/favicon.ico" type="image/png" />
<link rel="apple-touch-icon" sizes="180x180" href="https://github.com/Tommy-Ngx/ai/raw/main/img/favicon.ico" />
<link rel="stylesheet" href="styles.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<div class="fullscreen nopadding">
<div id="header">
<img src="https://github.com/Tommy-Ngx/ai/raw/main/img/TommyFull.png" width="50px" />
<ul>
<li>Handwriting Recognition</li>
<li>Nhận Dạng Ký Tự</li>
<li>😊</li>
</ul>
</div>
</div>
</head>
<body>
<div id="text-wrapper">
<input type="text" id="output" placeholder="Loading app..." />
<button id="clear-canvas"><span>CLEAR /Xoá</span></button>
<div id="input-wrapper">
<canvas id="input-canvas" width="28" height="28"></canvas>
</div>
</div>
<div id="canvas-wrapper">
<div id="drawing-mode-options">
<span class="info">30</span><input type="range" value="30" min="5" max="100" id="drawing-line-width">
</div>
<canvas id="handwriting"></canvas>
</div>
<!-- <canvas id="output" width="28" height="28"></canvas> -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/fabric.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script src="model.js"></script>
<script src="handwriting.js"></script>
</body>
<!-- <h1>Have Fun!</h1> -->
<footer>
<link href="https://fonts.googleapis.com/css?family=Raleway:200,100,400" rel="stylesheet" type="text/css" />
<h1>Just
<span
class="txt-rotate"
data-period="2000"
data-rotate='[ "for learning purpose.", "welcome you!", "made by Tommy.", "thanks for visiting.", "for fun!", "😊 !" ]'></span>
</h1>
<!-- <h2>í <span> is all you need.</h2>
-->
</footer>
</html>