-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (42 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>Hand Written Digit Recognition using TensorFlow.js</title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="js/chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" >
<link rel="stylesheet" type="text/css" href="style/digit.css">
</head>
<body>
<main>
<div class="container mt-1">
<div class="digit-demo-container">
<h3>Hand Written Character Recognition</h3>
<div class="flex-two">
<div id="canvas_box_wrapper" class="canvas-box-wrapper">
<div id="canvas_box" class="canvas-box"></div>
<div class="col-12">
<button id="clear-button" class="btn btn-dark">Clear</button>
</div>
<div class="col-12">
<button id="predict-button" class="btn btn-dark">Predict</button>
</div>
</div>
<div class="col-6">
<div id="result_box" class="col-12 col-md-7">
<!-- <canvas id="chart_box" width="100" height="100"></canvas>-->
<canvas id="chart_box" width="508" height="508" style="display: block; width: 508px; height: 508px;"></canvas>
</div>
<div class="col-12 d-block mt-4 mt-md-0 text-md-left prediction-text" style="font-size: 36px;"></div>
</div>
</div>
</div>
</div>
</main>
<script src="js/digit-recognition.js"></script>
</body>
</html>