Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +12 -8
templates/index.html
CHANGED
|
@@ -1,18 +1,22 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
-
<title>Sign
|
| 5 |
<style>
|
| 6 |
-
body {
|
| 7 |
-
|
| 8 |
-
#prediction { font-size: 2em; margin-top: 10px; }
|
| 9 |
</style>
|
| 10 |
</head>
|
| 11 |
<body>
|
| 12 |
-
<h1>
|
| 13 |
-
<video id="video" autoplay playsinline
|
| 14 |
-
<
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
<script src="/static/app.js"></script>
|
| 17 |
</body>
|
| 18 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
+
<title>Itsekiri Sign Recognition</title>
|
| 5 |
<style>
|
| 6 |
+
body { text-align: center; font-family: Arial; background: #fafafa; }
|
| 7 |
+
canvas { border: 2px solid #333; margin-top: 10px; }
|
|
|
|
| 8 |
</style>
|
| 9 |
</head>
|
| 10 |
<body>
|
| 11 |
+
<h1>Itsekiri Sign Recognition</h1>
|
| 12 |
+
<video id="video" autoplay playsinline style="display:none;"></video>
|
| 13 |
+
<canvas id="canvas" width="640" height="480"></canvas>
|
| 14 |
+
|
| 15 |
+
<div>
|
| 16 |
+
<h2>Prediction: <span id="prediction">--</span></h2>
|
| 17 |
+
<h3>Confidence: <span id="confidence">--</span>%</h3>
|
| 18 |
+
</div>
|
| 19 |
+
|
| 20 |
<script src="/static/app.js"></script>
|
| 21 |
</body>
|
| 22 |
</html>
|