-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
27 lines (27 loc) · 1012 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="stylesheet" href="/src/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Grid Kiss Vision</title>
</head>
<body>
<div id="app">
<h1>Grid Kiss Vision with OpenCV.js and Tesseract.js</h1>
<div>
<label>Select an image: <input type="file" id="fileinput" name="file" /></label>
<label>Set grid width: <input type="number" id="gridwidth" name="gridwidth" value="48"></label>
<br>
<img id="source" alt="No Image" style="height: 400px" />
<canvas id="processed_image" ></canvas>
<canvas id="contours"></canvas>
<div id="zone_names"></div>
<p id="log"></p>
<textarea id="output" cols="60" rows="20"></textarea>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>