-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
32 lines (31 loc) · 1.25 KB
/
index.htm
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
<!DOCTYPE html>
<html>
<head>
<title>Banana Ripeness detection</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-133437549-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-133437549-3');
</script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Is this banana ripe?</title>
<!-- Ranit Sarkar -->
<link rel="icon" href="favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css">
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@0.15.3/dist/tf.min.js"></script>
</head>
<body>
<h1>Ripeness Stage Detection</h1>
<img id="selected-image" src="banana.jpg" width="224" height="224"></p>
<div id="status"></div>
<h1 style="color: rgb(18, 5, 73);" id="prediction-result"></h1>
<input type="file" id="image-selector" accept="image/*;capture=camera"></p>
<button onclick="window.print()">Print this result</button>
</body>
<script src="index.js"></script>
</html>