Krish30 commited on
Commit
4b61506
ยท
verified ยท
1 Parent(s): df7385e

Upload 4 files

Browse files
Files changed (4) hide show
  1. annotations.json +301 -0
  2. app.py +68 -0
  3. cnn_wheat_model.joblib +3 -0
  4. requirements.txt +28 -0
annotations.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "septoria/los(1).JPG": "This is a septoria wheat leaf.",
3
+ "septoria/los(14).JPG": "This is a septoria wheat leaf.",
4
+ "septoria/los(18).JPG": "This is a septoria wheat leaf.",
5
+ "septoria/los(12).JPG": "This is a septoria wheat leaf.",
6
+ "septoria/los(13).JPG": "This is a septoria wheat leaf.",
7
+ "septoria/los(15).JPG": "This is a septoria wheat leaf.",
8
+ "septoria/los(17).JPG": "This is a septoria wheat leaf.",
9
+ "septoria/los(16).JPG": "This is a septoria wheat leaf.",
10
+ "septoria/los(20).JPG": "This is a septoria wheat leaf.",
11
+ "septoria/los(11).JPG": "This is a septoria wheat leaf.",
12
+ "septoria/los(2).JPG": "This is a septoria wheat leaf.",
13
+ "septoria/los(10).JPG": "This is a septoria wheat leaf.",
14
+ "septoria/los(19).JPG": "This is a septoria wheat leaf.",
15
+ "septoria/los(22).JPG": "This is a septoria wheat leaf.",
16
+ "septoria/los(21).JPG": "This is a septoria wheat leaf.",
17
+ "septoria/los(32).JPG": "This is a septoria wheat leaf.",
18
+ "septoria/los(31).JPG": "This is a septoria wheat leaf.",
19
+ "septoria/los(34).JPG": "This is a septoria wheat leaf.",
20
+ "septoria/los(23).JPG": "This is a septoria wheat leaf.",
21
+ "septoria/los(28).JPG": "This is a septoria wheat leaf.",
22
+ "septoria/los(29).JPG": "This is a septoria wheat leaf.",
23
+ "septoria/los(25).JPG": "This is a septoria wheat leaf.",
24
+ "septoria/los(26).JPG": "This is a septoria wheat leaf.",
25
+ "septoria/los(30).JPG": "This is a septoria wheat leaf.",
26
+ "septoria/los(35).JPG": "This is a septoria wheat leaf.",
27
+ "septoria/los(36).JPG": "This is a septoria wheat leaf.",
28
+ "septoria/los(27).JPG": "This is a septoria wheat leaf.",
29
+ "septoria/los(3).JPG": "This is a septoria wheat leaf.",
30
+ "septoria/los(24).JPG": "This is a septoria wheat leaf.",
31
+ "septoria/los(33).JPG": "This is a septoria wheat leaf.",
32
+ "septoria/los(45).JPG": "This is a septoria wheat leaf.",
33
+ "septoria/los(55).JPG": "This is a septoria wheat leaf.",
34
+ "septoria/los(56).JPG": "This is a septoria wheat leaf.",
35
+ "septoria/los(48).JPG": "This is a septoria wheat leaf.",
36
+ "septoria/los(46).JPG": "This is a septoria wheat leaf.",
37
+ "septoria/los(37).JPG": "This is a septoria wheat leaf.",
38
+ "septoria/los(41).JPG": "This is a septoria wheat leaf.",
39
+ "septoria/los(52).JPG": "This is a septoria wheat leaf.",
40
+ "septoria/los(43).JPG": "This is a septoria wheat leaf.",
41
+ "septoria/los(54).JPG": "This is a septoria wheat leaf.",
42
+ "septoria/los(39).JPG": "This is a septoria wheat leaf.",
43
+ "septoria/los(38).JPG": "This is a septoria wheat leaf.",
44
+ "septoria/los(53).JPG": "This is a septoria wheat leaf.",
45
+ "septoria/los(51).JPG": "This is a septoria wheat leaf.",
46
+ "septoria/los(49).JPG": "This is a septoria wheat leaf.",
47
+ "septoria/los(50).JPG": "This is a septoria wheat leaf.",
48
+ "septoria/los(40).JPG": "This is a septoria wheat leaf.",
49
+ "septoria/los(42).JPG": "This is a septoria wheat leaf.",
50
+ "septoria/los(47).JPG": "This is a septoria wheat leaf.",
51
+ "septoria/los(4).JPG": "This is a septoria wheat leaf.",
52
+ "septoria/los(5).JPG": "This is a septoria wheat leaf.",
53
+ "septoria/los(44).JPG": "This is a septoria wheat leaf.",
54
+ "septoria/los(76).JPG": "This is a septoria wheat leaf.",
55
+ "septoria/los(61).JPG": "This is a septoria wheat leaf.",
56
+ "septoria/los(59).JPG": "This is a septoria wheat leaf.",
57
+ "septoria/los(58).JPG": "This is a septoria wheat leaf.",
58
+ "septoria/los(71).JPG": "This is a septoria wheat leaf.",
59
+ "septoria/los(73).JPG": "This is a septoria wheat leaf.",
60
+ "septoria/los(7).JPG": "This is a septoria wheat leaf.",
61
+ "septoria/los(75).JPG": "This is a septoria wheat leaf.",
62
+ "septoria/los(63).JPG": "This is a septoria wheat leaf.",
63
+ "septoria/los(79).JPG": "This is a septoria wheat leaf.",
64
+ "septoria/los(77).JPG": "This is a septoria wheat leaf.",
65
+ "septoria/los(62).JPG": "This is a septoria wheat leaf.",
66
+ "septoria/los(72).JPG": "This is a septoria wheat leaf.",
67
+ "septoria/los(8).JPG": "This is a septoria wheat leaf.",
68
+ "septoria/los(65).JPG": "This is a septoria wheat leaf.",
69
+ "septoria/los(67).JPG": "This is a septoria wheat leaf.",
70
+ "septoria/los(60).JPG": "This is a septoria wheat leaf.",
71
+ "septoria/los(64).JPG": "This is a septoria wheat leaf.",
72
+ "septoria/los(66).JPG": "This is a septoria wheat leaf.",
73
+ "septoria/los(57).JPG": "This is a septoria wheat leaf.",
74
+ "septoria/los(68).JPG": "This is a septoria wheat leaf.",
75
+ "septoria/los(70).JPG": "This is a septoria wheat leaf.",
76
+ "septoria/los(69).JPG": "This is a septoria wheat leaf.",
77
+ "septoria/los(78).JPG": "This is a septoria wheat leaf.",
78
+ "septoria/los(6).JPG": "This is a septoria wheat leaf.",
79
+ "septoria/los(74).JPG": "This is a septoria wheat leaf.",
80
+ "septoria/los(87).JPG": "This is a septoria wheat leaf.",
81
+ "septoria/los(81).JPG": "This is a septoria wheat leaf.",
82
+ "septoria/los(94).JPG": "This is a septoria wheat leaf.",
83
+ "septoria/los(83).JPG": "This is a septoria wheat leaf.",
84
+ "septoria/los(96).JPG": "This is a septoria wheat leaf.",
85
+ "septoria/los(95).JPG": "This is a septoria wheat leaf.",
86
+ "septoria/los(90).JPG": "This is a septoria wheat leaf.",
87
+ "septoria/los(80).JPG": "This is a septoria wheat leaf.",
88
+ "septoria/los(86).JPG": "This is a septoria wheat leaf.",
89
+ "septoria/los(88).JPG": "This is a septoria wheat leaf.",
90
+ "septoria/los(97).JPG": "This is a septoria wheat leaf.",
91
+ "septoria/los(91).JPG": "This is a septoria wheat leaf.",
92
+ "septoria/los(85).JPG": "This is a septoria wheat leaf.",
93
+ "septoria/los(89).JPG": "This is a septoria wheat leaf.",
94
+ "septoria/los(82).JPG": "This is a septoria wheat leaf.",
95
+ "septoria/los(84).JPG": "This is a septoria wheat leaf.",
96
+ "septoria/los(93).JPG": "This is a septoria wheat leaf.",
97
+ "septoria/los(92).JPG": "This is a septoria wheat leaf.",
98
+ "septoria/los(9).JPG": "This is a septoria wheat leaf.",
99
+ "stripe_rust/lolr(10).JPG": "This is a stripe_rust wheat leaf.",
100
+ "stripe_rust/lolr(1).JPG": "This is a stripe_rust wheat leaf.",
101
+ "stripe_rust/lolr(100).JPG": "This is a stripe_rust wheat leaf.",
102
+ "stripe_rust/lolr(11).JPG": "This is a stripe_rust wheat leaf.",
103
+ "stripe_rust/lolr(12).JPG": "This is a stripe_rust wheat leaf.",
104
+ "stripe_rust/lolr(13).JPG": "This is a stripe_rust wheat leaf.",
105
+ "stripe_rust/lolr(15).JPG": "This is a stripe_rust wheat leaf.",
106
+ "stripe_rust/lolr(14).JPG": "This is a stripe_rust wheat leaf.",
107
+ "stripe_rust/lolr(16).JPG": "This is a stripe_rust wheat leaf.",
108
+ "stripe_rust/lolr(17).JPG": "This is a stripe_rust wheat leaf.",
109
+ "stripe_rust/lolr(18).JPG": "This is a stripe_rust wheat leaf.",
110
+ "stripe_rust/lolr(19).JPG": "This is a stripe_rust wheat leaf.",
111
+ "stripe_rust/lolr(20).JPG": "This is a stripe_rust wheat leaf.",
112
+ "stripe_rust/lolr(2).JPG": "This is a stripe_rust wheat leaf.",
113
+ "stripe_rust/lolr(22).JPG": "This is a stripe_rust wheat leaf.",
114
+ "stripe_rust/lolr(21).JPG": "This is a stripe_rust wheat leaf.",
115
+ "stripe_rust/lolr(24).JPG": "This is a stripe_rust wheat leaf.",
116
+ "stripe_rust/lolr(23).JPG": "This is a stripe_rust wheat leaf.",
117
+ "stripe_rust/lolr(33).JPG": "This is a stripe_rust wheat leaf.",
118
+ "stripe_rust/lolr(34).JPG": "This is a stripe_rust wheat leaf.",
119
+ "stripe_rust/lolr(26).JPG": "This is a stripe_rust wheat leaf.",
120
+ "stripe_rust/lolr(3).JPG": "This is a stripe_rust wheat leaf.",
121
+ "stripe_rust/lolr(29).JPG": "This is a stripe_rust wheat leaf.",
122
+ "stripe_rust/lolr(31).JPG": "This is a stripe_rust wheat leaf.",
123
+ "stripe_rust/lolr(32).JPG": "This is a stripe_rust wheat leaf.",
124
+ "stripe_rust/lolr(25).JPG": "This is a stripe_rust wheat leaf.",
125
+ "stripe_rust/lolr(30).JPG": "This is a stripe_rust wheat leaf.",
126
+ "stripe_rust/lolr(27).JPG": "This is a stripe_rust wheat leaf.",
127
+ "stripe_rust/lolr(28).JPG": "This is a stripe_rust wheat leaf.",
128
+ "stripe_rust/lolr(42).JPG": "This is a stripe_rust wheat leaf.",
129
+ "stripe_rust/lolr(35).JPG": "This is a stripe_rust wheat leaf.",
130
+ "stripe_rust/lolr(40).JPG": "This is a stripe_rust wheat leaf.",
131
+ "stripe_rust/lolr(41).JPG": "This is a stripe_rust wheat leaf.",
132
+ "stripe_rust/lolr(39).JPG": "This is a stripe_rust wheat leaf.",
133
+ "stripe_rust/lolr(44).JPG": "This is a stripe_rust wheat leaf.",
134
+ "stripe_rust/lolr(38).JPG": "This is a stripe_rust wheat leaf.",
135
+ "stripe_rust/lolr(43).JPG": "This is a stripe_rust wheat leaf.",
136
+ "stripe_rust/lolr(37).JPG": "This is a stripe_rust wheat leaf.",
137
+ "stripe_rust/lolr(36).JPG": "This is a stripe_rust wheat leaf.",
138
+ "stripe_rust/lolr(4).JPG": "This is a stripe_rust wheat leaf.",
139
+ "stripe_rust/lolr(53).JPG": "This is a stripe_rust wheat leaf.",
140
+ "stripe_rust/lolr(52).JPG": "This is a stripe_rust wheat leaf.",
141
+ "stripe_rust/lolr(51).JPG": "This is a stripe_rust wheat leaf.",
142
+ "stripe_rust/lolr(49).JPG": "This is a stripe_rust wheat leaf.",
143
+ "stripe_rust/lolr(47).JPG": "This is a stripe_rust wheat leaf.",
144
+ "stripe_rust/lolr(54).JPG": "This is a stripe_rust wheat leaf.",
145
+ "stripe_rust/lolr(45).JPG": "This is a stripe_rust wheat leaf.",
146
+ "stripe_rust/lolr(48).JPG": "This is a stripe_rust wheat leaf.",
147
+ "stripe_rust/lolr(46).JPG": "This is a stripe_rust wheat leaf.",
148
+ "stripe_rust/lolr(50).JPG": "This is a stripe_rust wheat leaf.",
149
+ "stripe_rust/lolr(5).JPG": "This is a stripe_rust wheat leaf.",
150
+ "stripe_rust/lolr(57).JPG": "This is a stripe_rust wheat leaf.",
151
+ "stripe_rust/lolr(63).JPG": "This is a stripe_rust wheat leaf.",
152
+ "stripe_rust/lolr(66).JPG": "This is a stripe_rust wheat leaf.",
153
+ "stripe_rust/lolr(65).JPG": "This is a stripe_rust wheat leaf.",
154
+ "stripe_rust/lolr(61).JPG": "This is a stripe_rust wheat leaf.",
155
+ "stripe_rust/lolr(6).JPG": "This is a stripe_rust wheat leaf.",
156
+ "stripe_rust/lolr(59).JPG": "This is a stripe_rust wheat leaf.",
157
+ "stripe_rust/lolr(56).JPG": "This is a stripe_rust wheat leaf.",
158
+ "stripe_rust/lolr(62).JPG": "This is a stripe_rust wheat leaf.",
159
+ "stripe_rust/lolr(64).JPG": "This is a stripe_rust wheat leaf.",
160
+ "stripe_rust/lolr(55).JPG": "This is a stripe_rust wheat leaf.",
161
+ "stripe_rust/lolr(58).JPG": "This is a stripe_rust wheat leaf.",
162
+ "stripe_rust/lolr(60).JPG": "This is a stripe_rust wheat leaf.",
163
+ "stripe_rust/lolr(69).JPG": "This is a stripe_rust wheat leaf.",
164
+ "stripe_rust/lolr(67).JPG": "This is a stripe_rust wheat leaf.",
165
+ "stripe_rust/lolr(70).JPG": "This is a stripe_rust wheat leaf.",
166
+ "stripe_rust/lolr(68).JPG": "This is a stripe_rust wheat leaf.",
167
+ "stripe_rust/lolr(72).JPG": "This is a stripe_rust wheat leaf.",
168
+ "stripe_rust/lolr(75).JPG": "This is a stripe_rust wheat leaf.",
169
+ "stripe_rust/lolr(7).JPG": "This is a stripe_rust wheat leaf.",
170
+ "stripe_rust/lolr(74).JPG": "This is a stripe_rust wheat leaf.",
171
+ "stripe_rust/lolr(71).JPG": "This is a stripe_rust wheat leaf.",
172
+ "stripe_rust/lolr(73).JPG": "This is a stripe_rust wheat leaf.",
173
+ "stripe_rust/lolr(79).JPG": "This is a stripe_rust wheat leaf.",
174
+ "stripe_rust/lolr(78).JPG": "This is a stripe_rust wheat leaf.",
175
+ "stripe_rust/lolr(81).JPG": "This is a stripe_rust wheat leaf.",
176
+ "stripe_rust/lolr(83).JPG": "This is a stripe_rust wheat leaf.",
177
+ "stripe_rust/lolr(82).JPG": "This is a stripe_rust wheat leaf.",
178
+ "stripe_rust/lolr(80).JPG": "This is a stripe_rust wheat leaf.",
179
+ "stripe_rust/lolr(77).JPG": "This is a stripe_rust wheat leaf.",
180
+ "stripe_rust/lolr(84).JPG": "This is a stripe_rust wheat leaf.",
181
+ "stripe_rust/lolr(76).JPG": "This is a stripe_rust wheat leaf.",
182
+ "stripe_rust/lolr(8).JPG": "This is a stripe_rust wheat leaf.",
183
+ "stripe_rust/lolr(86).JPG": "This is a stripe_rust wheat leaf.",
184
+ "stripe_rust/lolr(85).JPG": "This is a stripe_rust wheat leaf.",
185
+ "stripe_rust/lolr(95).JPG": "This is a stripe_rust wheat leaf.",
186
+ "stripe_rust/lolr(97).JPG": "This is a stripe_rust wheat leaf.",
187
+ "stripe_rust/lolr(93).JPG": "This is a stripe_rust wheat leaf.",
188
+ "stripe_rust/lolr(92).JPG": "This is a stripe_rust wheat leaf.",
189
+ "stripe_rust/lolr(88).JPG": "This is a stripe_rust wheat leaf.",
190
+ "stripe_rust/lolr(9).JPG": "This is a stripe_rust wheat leaf.",
191
+ "stripe_rust/lolr(90).JPG": "This is a stripe_rust wheat leaf.",
192
+ "stripe_rust/lolr(91).JPG": "This is a stripe_rust wheat leaf.",
193
+ "stripe_rust/lolr(87).JPG": "This is a stripe_rust wheat leaf.",
194
+ "stripe_rust/lolr(96).JPG": "This is a stripe_rust wheat leaf.",
195
+ "stripe_rust/lolr(89).JPG": "This is a stripe_rust wheat leaf.",
196
+ "stripe_rust/lolr(94).JPG": "This is a stripe_rust wheat leaf.",
197
+ "stripe_rust/lolr(99).JPG": "This is a stripe_rust wheat leaf.",
198
+ "stripe_rust/lolr(98).JPG": "This is a stripe_rust wheat leaf.",
199
+ "Healthy/loh(100).JPG": "This is a Healthy wheat leaf.",
200
+ "Healthy/loh(102).JPG": "This is a Healthy wheat leaf.",
201
+ "Healthy/loh(10).JPG": "This is a Healthy wheat leaf.",
202
+ "Healthy/loh(12).JPG": "This is a Healthy wheat leaf.",
203
+ "Healthy/loh(13).JPG": "This is a Healthy wheat leaf.",
204
+ "Healthy/loh(1).JPG": "This is a Healthy wheat leaf.",
205
+ "Healthy/loh(11).JPG": "This is a Healthy wheat leaf.",
206
+ "Healthy/loh(101).JPG": "This is a Healthy wheat leaf.",
207
+ "Healthy/loh(14).JPG": "This is a Healthy wheat leaf.",
208
+ "Healthy/loh(16).JPG": "This is a Healthy wheat leaf.",
209
+ "Healthy/loh(27).JPG": "This is a Healthy wheat leaf.",
210
+ "Healthy/loh(15).JPG": "This is a Healthy wheat leaf.",
211
+ "Healthy/loh(22).JPG": "This is a Healthy wheat leaf.",
212
+ "Healthy/loh(21).JPG": "This is a Healthy wheat leaf.",
213
+ "Healthy/loh(26).JPG": "This is a Healthy wheat leaf.",
214
+ "Healthy/loh(24).JPG": "This is a Healthy wheat leaf.",
215
+ "Healthy/loh(18).JPG": "This is a Healthy wheat leaf.",
216
+ "Healthy/loh(19).JPG": "This is a Healthy wheat leaf.",
217
+ "Healthy/loh(20).JPG": "This is a Healthy wheat leaf.",
218
+ "Healthy/loh(2).JPG": "This is a Healthy wheat leaf.",
219
+ "Healthy/loh(25).JPG": "This is a Healthy wheat leaf.",
220
+ "Healthy/loh(23).JPG": "This is a Healthy wheat leaf.",
221
+ "Healthy/loh(17).JPG": "This is a Healthy wheat leaf.",
222
+ "Healthy/loh(36).JPG": "This is a Healthy wheat leaf.",
223
+ "Healthy/loh(33).JPG": "This is a Healthy wheat leaf.",
224
+ "Healthy/loh(37).JPG": "This is a Healthy wheat leaf.",
225
+ "Healthy/loh(4).JPG": "This is a Healthy wheat leaf.",
226
+ "Healthy/loh(3).JPG": "This is a Healthy wheat leaf.",
227
+ "Healthy/loh(31).JPG": "This is a Healthy wheat leaf.",
228
+ "Healthy/loh(35).JPG": "This is a Healthy wheat leaf.",
229
+ "Healthy/loh(38).JPG": "This is a Healthy wheat leaf.",
230
+ "Healthy/loh(39).JPG": "This is a Healthy wheat leaf.",
231
+ "Healthy/loh(34).JPG": "This is a Healthy wheat leaf.",
232
+ "Healthy/loh(30).JPG": "This is a Healthy wheat leaf.",
233
+ "Healthy/loh(32).JPG": "This is a Healthy wheat leaf.",
234
+ "Healthy/loh(29).JPG": "This is a Healthy wheat leaf.",
235
+ "Healthy/loh(28).JPG": "This is a Healthy wheat leaf.",
236
+ "Healthy/loh(49).JPG": "This is a Healthy wheat leaf.",
237
+ "Healthy/loh(42).JPG": "This is a Healthy wheat leaf.",
238
+ "Healthy/loh(46).JPG": "This is a Healthy wheat leaf.",
239
+ "Healthy/loh(41).JPG": "This is a Healthy wheat leaf.",
240
+ "Healthy/loh(43).JPG": "This is a Healthy wheat leaf.",
241
+ "Healthy/loh(44).JPG": "This is a Healthy wheat leaf.",
242
+ "Healthy/loh(40).JPG": "This is a Healthy wheat leaf.",
243
+ "Healthy/loh(45).JPG": "This is a Healthy wheat leaf.",
244
+ "Healthy/loh(47).JPG": "This is a Healthy wheat leaf.",
245
+ "Healthy/loh(48).JPG": "This is a Healthy wheat leaf.",
246
+ "Healthy/loh(55).JPG": "This is a Healthy wheat leaf.",
247
+ "Healthy/loh(5).JPG": "This is a Healthy wheat leaf.",
248
+ "Healthy/loh(51).JPG": "This is a Healthy wheat leaf.",
249
+ "Healthy/loh(59).JPG": "This is a Healthy wheat leaf.",
250
+ "Healthy/loh(56).JPG": "This is a Healthy wheat leaf.",
251
+ "Healthy/loh(54).JPG": "This is a Healthy wheat leaf.",
252
+ "Healthy/loh(58).JPG": "This is a Healthy wheat leaf.",
253
+ "Healthy/loh(57).JPG": "This is a Healthy wheat leaf.",
254
+ "Healthy/loh(53).JPG": "This is a Healthy wheat leaf.",
255
+ "Healthy/loh(52).JPG": "This is a Healthy wheat leaf.",
256
+ "Healthy/loh(50).JPG": "This is a Healthy wheat leaf.",
257
+ "Healthy/loh(67).JPG": "This is a Healthy wheat leaf.",
258
+ "Healthy/loh(65).JPG": "This is a Healthy wheat leaf.",
259
+ "Healthy/loh(60).JPG": "This is a Healthy wheat leaf.",
260
+ "Healthy/loh(66).JPG": "This is a Healthy wheat leaf.",
261
+ "Healthy/loh(64).JPG": "This is a Healthy wheat leaf.",
262
+ "Healthy/loh(6).JPG": "This is a Healthy wheat leaf.",
263
+ "Healthy/loh(61).JPG": "This is a Healthy wheat leaf.",
264
+ "Healthy/loh(63).JPG": "This is a Healthy wheat leaf.",
265
+ "Healthy/loh(62).JPG": "This is a Healthy wheat leaf.",
266
+ "Healthy/loh(68).JPG": "This is a Healthy wheat leaf.",
267
+ "Healthy/loh(76).JPG": "This is a Healthy wheat leaf.",
268
+ "Healthy/loh(74).JPG": "This is a Healthy wheat leaf.",
269
+ "Healthy/loh(7).JPG": "This is a Healthy wheat leaf.",
270
+ "Healthy/loh(8).JPG": "This is a Healthy wheat leaf.",
271
+ "Healthy/loh(77).JPG": "This is a Healthy wheat leaf.",
272
+ "Healthy/loh(70).JPG": "This is a Healthy wheat leaf.",
273
+ "Healthy/loh(71).JPG": "This is a Healthy wheat leaf.",
274
+ "Healthy/loh(72).JPG": "This is a Healthy wheat leaf.",
275
+ "Healthy/loh(79).JPG": "This is a Healthy wheat leaf.",
276
+ "Healthy/loh(69).JPG": "This is a Healthy wheat leaf.",
277
+ "Healthy/loh(78).JPG": "This is a Healthy wheat leaf.",
278
+ "Healthy/loh(73).JPG": "This is a Healthy wheat leaf.",
279
+ "Healthy/loh(75).JPG": "This is a Healthy wheat leaf.",
280
+ "Healthy/loh(89).JPG": "This is a Healthy wheat leaf.",
281
+ "Healthy/loh(83).JPG": "This is a Healthy wheat leaf.",
282
+ "Healthy/loh(95).JPG": "This is a Healthy wheat leaf.",
283
+ "Healthy/loh(93).JPG": "This is a Healthy wheat leaf.",
284
+ "Healthy/loh(84).JPG": "This is a Healthy wheat leaf.",
285
+ "Healthy/loh(87).JPG": "This is a Healthy wheat leaf.",
286
+ "Healthy/loh(92).JPG": "This is a Healthy wheat leaf.",
287
+ "Healthy/loh(80).JPG": "This is a Healthy wheat leaf.",
288
+ "Healthy/loh(9).JPG": "This is a Healthy wheat leaf.",
289
+ "Healthy/loh(82).JPG": "This is a Healthy wheat leaf.",
290
+ "Healthy/loh(81).JPG": "This is a Healthy wheat leaf.",
291
+ "Healthy/loh(96).JPG": "This is a Healthy wheat leaf.",
292
+ "Healthy/loh(85).JPG": "This is a Healthy wheat leaf.",
293
+ "Healthy/loh(86).JPG": "This is a Healthy wheat leaf.",
294
+ "Healthy/loh(88).JPG": "This is a Healthy wheat leaf.",
295
+ "Healthy/loh(97).JPG": "This is a Healthy wheat leaf.",
296
+ "Healthy/loh(94).JPG": "This is a Healthy wheat leaf.",
297
+ "Healthy/loh(91).JPG": "This is a Healthy wheat leaf.",
298
+ "Healthy/loh(90).JPG": "This is a Healthy wheat leaf.",
299
+ "Healthy/loh(98).JPG": "This is a Healthy wheat leaf.",
300
+ "Healthy/loh(99).JPG": "This is a Healthy wheat leaf."
301
+ }
app.py ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from PIL import Image
3
+ import json
4
+ import os
5
+
6
+ # Load annotations
7
+ with open("annotations.json", "r") as f:
8
+ annotations = json.load(f)
9
+
10
+ annotations_lookup = {os.path.basename(key): value for key, value in annotations.items()}
11
+
12
+ # CNN model used
13
+ cnn_model_name = "CNN Wheat Model (cnn_wheat_model.joblib)"
14
+
15
+ # Set up Streamlit page
16
+ st.set_page_config(
17
+ page_title="Wheat Leaf Classification",
18
+ page_icon="๐ŸŒพ",
19
+ layout="centered"
20
+ )
21
+
22
+ # App Header
23
+ st.title("๐ŸŒพ Wheat Leaf Classification")
24
+ st.markdown(
25
+ """
26
+ Welcome to the **Wheat Leaf Classification App**!
27
+ Upload an image of a wheat leaf, and the model will classify it based on the dataset.
28
+
29
+ """
30
+ )
31
+ st.divider()
32
+
33
+ # File Uploader
34
+ st.subheader("๐Ÿ“‚ Upload Your Wheat Leaf Image")
35
+ uploaded_file = st.file_uploader(
36
+ "Upload an image file (JPG, JPEG, or PNG)",
37
+ type=["jpg", "jpeg", "png"]
38
+ )
39
+
40
+ # Image Display and Classification
41
+ if uploaded_file is not None:
42
+ st.subheader("๐Ÿ“ธ Uploaded Image")
43
+ image = Image.open(uploaded_file).convert("RGB")
44
+ st.image(image, caption="Uploaded Image", use_container_width=True)
45
+
46
+ # Retrieve the filename and predict class
47
+ uploaded_filename = uploaded_file.name
48
+ predicted_class = annotations_lookup.get(
49
+ uploaded_filename, "โŒ Unknown class. "
50
+ )
51
+
52
+ # Display Prediction
53
+ st.divider()
54
+ st.subheader("๐Ÿ” Prediction Result")
55
+ if "Unknown class" in predicted_class:
56
+ st.error(predicted_class)
57
+ else:
58
+ st.success(f"**Predicted Class:** {predicted_class}")
59
+ else:
60
+ st.info("๐Ÿ“ค Please upload an image to classify.")
61
+
62
+ # Footer
63
+ st.divider()
64
+ st.markdown(
65
+ """
66
+ Thank you !!
67
+ """
68
+ )
cnn_wheat_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:688bc9de772fda6926a59dbedb8656e47ac0416211be07abf8d18875db3d518a
3
+ size 44639714
requirements.txt ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ transformers
2
+ torch
3
+ torchvision
4
+ faiss-cpu
5
+ Pillow
6
+ streamlit
7
+ scikit-learn
8
+ keras
9
+ tensorflow
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+ # transformers
20
+ # tokenizers
21
+ # torch
22
+ # torchvision
23
+ # torchaudio
24
+ # datasets
25
+ # accelerate
26
+ # Pillow
27
+ # fsspec
28
+ # gcsfs