-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (32 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/css/sytles.css">
<link rel="stylesheet" href="/css/normalize.css">
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/mobilenet"></script>
</head>
<body>
<div class="main-content">
<div class="container">
<h1>Image Classifier</h1>
<button onclick="showInstructions();">Instrucciones</button>
<input type="file" id="imageInput" accept="image/*" style="display: none;" onchange="displayImage();">
<button onclick="document.getElementById('imageInput').click();">Subir imagen</button>
<button onclick="classifyImage();">Clasificar imagen</button>
<button onclick="resetImage();">Reiniciar</button>
<div class="image-container">
<img id="img" crossorigin width="300" height="227">
</div>
<div class="progress-container">
<div class="progress-bar" id="progressBar"></div>
</div>
<div id="result" class="result-container"></div>
</div>
</div>
<script src="/js/scripts.js"></script>
</body>
<footer>
<p>© 2023 Image Classifier Web App. | Made with <span class="heart">♥</span> by Crypto-ch4r</p>
</footer>
</html>