-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
65 lines (55 loc) · 2.88 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PLANT DISEASE CLASSIFIER</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<a class="github-fork-ribbon" href="https://url.to-your.repo" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
<h1>Plant Disease Classifier 🍀</h1>
<p>Built with ❤️ for Farmers using (Tensorflow, Tensorflow.js, Python, Javascript, HTML5)</p>
<hr>
<div class="upload-btn-wrapper">
<button class="btn upload-file font-weight-500">
<span class="upload-btn">
<i class="material-icons d-block font-50 pb-2">cloud_upload</i>
<p id="choose-text-1">Choose Image of Crop leaf</p>
</span>
<span class="upload-select-button" id="blankFile-1">
*Supports .png, .jpg, .jpeg, .jfif
</span>
<span class="success-1">
<i class="material-icons text-success">check</i>
</span>
</button>
<input type="file" name="uploadImage" id="uploadImage">
</div>
<p class = "tutorial">😇 Check out how and why this was built <a href="https://medium.com/@rexsimiloluwa/building-a-plant-disease-classification-web-app-in-keras-and-tensorflow-js-d435829213fa" target="blank">HERE</a> → Download test images <a href="https://github.com/rexsimiloluwah/PLANT-DISEASE-CLASSIFIER-WEB-APP-TENSORFLOWJS/tree/master/test-dataset" target="blank">HERE</a> </p>
<div class="row">
<div class="box">
<img src="" alt="" id="image" width="224" height="224">
</div>
<div class="box box-result">
<div class="init_status"></div>
<div>
<h2>Your Plant is infected with :- <span class="pred_class"></span></h2>
</div>
<div class="accuracy">
<div class="progress" id="progress">
<div class="inner">
</div>
</div>
</div>
<p style="padding : 10px;"> CONFIDENCE : <b><span class="confidence"></span></b> %</p>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tensorflow/2.0.1/tf.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/progressbar.js/1.0.1/progressbar.min.js"></script>
<script src="script.js"></script>
</body>
</html>