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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"product_suppliers": [
|
3 |
+
{
|
4 |
+
"product_name": "Liberator",
|
5 |
+
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_Liberator_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=B5904E8ED027A4E45B63BE9D846BE2D6",
|
6 |
+
"suppliers": [
|
7 |
+
{
|
8 |
+
"name": "Proveedor Argentino",
|
9 |
+
"price": "ARS 15000",
|
10 |
+
"location": "Buenos Aires",
|
11 |
+
"stock": "Disponible",
|
12 |
+
"delivery_time": "3-5 días"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "Proveedor B",
|
16 |
+
"price": "ARS 14500",
|
17 |
+
"location": "Córdoba",
|
18 |
+
"stock": "Disponible",
|
19 |
+
"delivery_time": "2-4 días"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "Proveedor C",
|
23 |
+
"price": "ARS 16000",
|
24 |
+
"location": "Rosario",
|
25 |
+
"stock": "Disponible",
|
26 |
+
"delivery_time": "4-6 días"
|
27 |
+
}
|
28 |
+
]
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"product_name": "Proclus",
|
32 |
+
"img": "https://www.cropscience.bayer.be/nl-NL/-/media/Bayer%20CropScience/Country-Belgium-Internet/Brand%20Tags/2023/Brandtag_Proclus-2023.png?h=1266&iar=0&w=1299&hash=88D8F19E305D3915E559087141090452",
|
33 |
+
"suppliers": [
|
34 |
+
{
|
35 |
+
"name": "Proveedor Argentino 2",
|
36 |
+
"price": "ARS 255",
|
37 |
+
"location": "Buenos Aires",
|
38 |
+
"stock": "Disponible",
|
39 |
+
"delivery_time": "3-5 días"
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"name": "Proveedor B",
|
43 |
+
"price": "ARS 250",
|
44 |
+
"location": "Córdoba",
|
45 |
+
"stock": "Disponible",
|
46 |
+
"delivery_time": "2-4 días"
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"name": "Proveedor C",
|
50 |
+
"price": "ARS 265",
|
51 |
+
"location": "Rosario",
|
52 |
+
"stock": "Disponible",
|
53 |
+
"delivery_time": "4-6 días"
|
54 |
+
}
|
55 |
+
]
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"product_name": "Atlantis Activ",
|
59 |
+
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_Atlantis-Activ_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=BDE4E9011DE872EDB273BD4C884481B3",
|
60 |
+
"suppliers": [
|
61 |
+
{
|
62 |
+
"name": "Proveedor Argentino 2",
|
63 |
+
"price": "ARS 255",
|
64 |
+
"location": "Buenos Aires",
|
65 |
+
"stock": "Disponible",
|
66 |
+
"delivery_time": "3-5 días"
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"name": "Proveedor B",
|
70 |
+
"price": "ARS 250",
|
71 |
+
"location": "Córdoba",
|
72 |
+
"stock": "Disponible",
|
73 |
+
"delivery_time": "2-4 días"
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"name": "Proveedor C",
|
77 |
+
"price": "ARS 265",
|
78 |
+
"location": "Rosario",
|
79 |
+
"stock": "Disponible",
|
80 |
+
"delivery_time": "4-6 días"
|
81 |
+
}
|
82 |
+
]
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"product_name": "Monolith",
|
86 |
+
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_MONOLITH_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=135FEA777CC3B2F0C3530306C3FBFA95",
|
87 |
+
"suppliers": [
|
88 |
+
{
|
89 |
+
"name": "Proveedor Argentino 2",
|
90 |
+
"price": "ARS 255",
|
91 |
+
"location": "Buenos Aires",
|
92 |
+
"stock": "Disponible",
|
93 |
+
"delivery_time": "3-5 días"
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"name": "Proveedor B",
|
97 |
+
"price": "ARS 250",
|
98 |
+
"location": "Córdoba",
|
99 |
+
"stock": "Disponible",
|
100 |
+
"delivery_time": "2-4 días"
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"name": "Proveedor C",
|
104 |
+
"price": "ARS 265",
|
105 |
+
"location": "Rosario",
|
106 |
+
"stock": "Disponible",
|
107 |
+
"delivery_time": "4-6 días"
|
108 |
+
}
|
109 |
+
]
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"product_name": "Velocity Selective Herbicide",
|
113 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/velocity_brandtag.png?h=210&w=210&la=en&hash=0E57459AAA73AB1874152B64AE9FD3F9",
|
114 |
+
"suppliers": [
|
115 |
+
{
|
116 |
+
"name": "Proveedor Argentino 2",
|
117 |
+
"price": "ARS 255",
|
118 |
+
"location": "Buenos Aires",
|
119 |
+
"stock": "Disponible",
|
120 |
+
"delivery_time": "3-5 días"
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"name": "Proveedor B",
|
124 |
+
"price": "ARS 250",
|
125 |
+
"location": "Córdoba",
|
126 |
+
"stock": "Disponible",
|
127 |
+
"delivery_time": "2-4 días"
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"name": "Proveedor C",
|
131 |
+
"price": "ARS 265",
|
132 |
+
"location": "Rosario",
|
133 |
+
"stock": "Disponible",
|
134 |
+
"delivery_time": "4-6 días"
|
135 |
+
}
|
136 |
+
]
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"product_name": "Precept Selective Herbicide",
|
140 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/precept_brandtag.png?h=210&w=210&la=en&hash=2DAAAEF0EB397AD2925E1A868BCC1561",
|
141 |
+
"suppliers": [
|
142 |
+
{
|
143 |
+
"name": "Proveedor Argentino 2",
|
144 |
+
"price": "ARS 255",
|
145 |
+
"location": "Buenos Aires",
|
146 |
+
"stock": "Disponible",
|
147 |
+
"delivery_time": "3-5 días"
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"name": "Proveedor B",
|
151 |
+
"price": "ARS 250",
|
152 |
+
"location": "Córdoba",
|
153 |
+
"stock": "Disponible",
|
154 |
+
"delivery_time": "2-4 días"
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"name": "Proveedor C",
|
158 |
+
"price": "ARS 265",
|
159 |
+
"location": "Rosario",
|
160 |
+
"stock": "Disponible",
|
161 |
+
"delivery_time": "4-6 días"
|
162 |
+
}
|
163 |
+
]
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"product_name": "Hussar® OD Selective Herbicide",
|
167 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/hussarod.png?h=210&w=210&la=en&hash=5FB03C1088A074FE9F88216237C711F2",
|
168 |
+
"suppliers": [
|
169 |
+
{
|
170 |
+
"name": "Proveedor Argentino 2",
|
171 |
+
"price": "ARS 255",
|
172 |
+
"location": "Buenos Aires",
|
173 |
+
"stock": "Disponible",
|
174 |
+
"delivery_time": "3-5 días"
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"name": "Proveedor B",
|
178 |
+
"price": "ARS 250",
|
179 |
+
"location": "Córdoba",
|
180 |
+
"stock": "Disponible",
|
181 |
+
"delivery_time": "2-4 días"
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"name": "Proveedor C",
|
185 |
+
"price": "ARS 265",
|
186 |
+
"location": "Rosario",
|
187 |
+
"stock": "Disponible",
|
188 |
+
"delivery_time": "4-6 días"
|
189 |
+
}
|
190 |
+
]
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"product_name": "Tramat 500 SC Selective Herbicide",
|
194 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/tramat_brandtag.png?h=210&w=210&la=en&hash=B660EFBEDFF3F77314547C20021BE51B",
|
195 |
+
"suppliers": [
|
196 |
+
{
|
197 |
+
"name": "Proveedor Argentino 2",
|
198 |
+
"price": "ARS 255",
|
199 |
+
"location": "Buenos Aires",
|
200 |
+
"stock": "Disponible",
|
201 |
+
"delivery_time": "3-5 días"
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"name": "Proveedor B",
|
205 |
+
"price": "ARS 250",
|
206 |
+
"location": "Córdoba",
|
207 |
+
"stock": "Disponible",
|
208 |
+
"delivery_time": "2-4 días"
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"name": "Proveedor C",
|
212 |
+
"price": "ARS 265",
|
213 |
+
"location": "Rosario",
|
214 |
+
"stock": "Disponible",
|
215 |
+
"delivery_time": "4-6 días"
|
216 |
+
}
|
217 |
+
]
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"product_name": "Betanal Flow",
|
221 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
222 |
+
"suppliers": [
|
223 |
+
{
|
224 |
+
"name": "Proveedor Argentino 2",
|
225 |
+
"price": "ARS 255",
|
226 |
+
"location": "Buenos Aires",
|
227 |
+
"stock": "Disponible",
|
228 |
+
"delivery_time": "3-5 días"
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"name": "Proveedor B",
|
232 |
+
"price": "ARS 250",
|
233 |
+
"location": "Córdoba",
|
234 |
+
"stock": "Disponible",
|
235 |
+
"delivery_time": "2-4 días"
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"name": "Proveedor C",
|
239 |
+
"price": "ARS 265",
|
240 |
+
"location": "Rosario",
|
241 |
+
"stock": "Disponible",
|
242 |
+
"delivery_time": "4-6 días"
|
243 |
+
}
|
244 |
+
]
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"product_name": "Trotil",
|
248 |
+
"img": "https://cropscience.bayer.pt/internet/images/central/img1_art_544.jpg",
|
249 |
+
"suppliers": [
|
250 |
+
{
|
251 |
+
"name": "Proveedor Argentino 2",
|
252 |
+
"price": "ARS 255",
|
253 |
+
"location": "Buenos Aires",
|
254 |
+
"stock": "Disponible",
|
255 |
+
"delivery_time": "3-5 días"
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"name": "Proveedor B",
|
259 |
+
"price": "ARS 250",
|
260 |
+
"location": "Córdoba",
|
261 |
+
"stock": "Disponible",
|
262 |
+
"delivery_time": "2-4 días"
|
263 |
+
},
|
264 |
+
{
|
265 |
+
"name": "Proveedor C",
|
266 |
+
"price": "ARS 265",
|
267 |
+
"location": "Rosario",
|
268 |
+
"stock": "Disponible",
|
269 |
+
"delivery_time": "4-6 días"
|
270 |
+
}
|
271 |
+
]
|
272 |
+
},
|
273 |
+
{
|
274 |
+
"product_name": "Brodal Options",
|
275 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/brodaloptions_brandtag.png?h=210&w=210&la=en&hash=1B272D7A9C08A393A4E78E1A9D4C3D7F",
|
276 |
+
"suppliers": [
|
277 |
+
{
|
278 |
+
"name": "Proveedor Argentino 2",
|
279 |
+
"price": "ARS 255",
|
280 |
+
"location": "Buenos Aires",
|
281 |
+
"stock": "Disponible",
|
282 |
+
"delivery_time": "3-5 días"
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"name": "Proveedor B",
|
286 |
+
"price": "ARS 250",
|
287 |
+
"location": "Córdoba",
|
288 |
+
"stock": "Disponible",
|
289 |
+
"delivery_time": "2-4 días"
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"name": "Proveedor C",
|
293 |
+
"price": "ARS 265",
|
294 |
+
"location": "Rosario",
|
295 |
+
"stock": "Disponible",
|
296 |
+
"delivery_time": "4-6 días"
|
297 |
+
}
|
298 |
+
]
|
299 |
+
},
|
300 |
+
{
|
301 |
+
"product_name": "Sencor 480 SC Selective Herbicide",
|
302 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/sencor_brandtag.png?h=210&w=210&la=en&hash=A21D4484E5FC231B480B48C36634D7FC",
|
303 |
+
"suppliers": [
|
304 |
+
{
|
305 |
+
"name": "Proveedor Argentino 2",
|
306 |
+
"price": "ARS 255",
|
307 |
+
"location": "Buenos Aires",
|
308 |
+
"stock": "Disponible",
|
309 |
+
"delivery_time": "3-5 días"
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"name": "Proveedor B",
|
313 |
+
"price": "ARS 250",
|
314 |
+
"location": "Córdoba",
|
315 |
+
"stock": "Disponible",
|
316 |
+
"delivery_time": "2-4 días"
|
317 |
+
},
|
318 |
+
{
|
319 |
+
"name": "Proveedor C",
|
320 |
+
"price": "ARS 265",
|
321 |
+
"location": "Rosario",
|
322 |
+
"stock": "Disponible",
|
323 |
+
"delivery_time": "4-6 días"
|
324 |
+
}
|
325 |
+
]
|
326 |
+
}
|
327 |
+
]
|
328 |
+
}
|
WEEDS_JSON.json
CHANGED
@@ -1,27 +1,64 @@
|
|
1 |
{
|
2 |
"Black-grass": {
|
3 |
"weed_url": "https://cropscience.bayer.co.uk/agronomy-id/grass-weeds/black-grass",
|
4 |
-
"text": "<b>- Liberator (flufenacet + diflufenican):</b> Herbicida pre-emergencia. Cuando se combina con Proclus, puede mejorar la eficacia en control del black-grass en un 10-15%. <br><b>- Proclus (aclonifen):</b> Mejora la eficacia del Liberator en el control pre-emergencia del black-grass.<br> <b>- Atlantis Activ (mesosulfuron + iodosulfuron):</b> Herbicida post-emergencia que actúa al ser absorbido a través de las hojas de las malezas.<br> <b>- Monolith (mesosulfuron-metilo + propoxycarbazone):</b> Herbicida post-emergencia absorbido a través de las hojas de las malezas.",
|
5 |
"products": [
|
6 |
{
|
7 |
-
"name": "
|
8 |
-
"img": "https://www.
|
9 |
-
"url": "https://www.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
},
|
11 |
{
|
12 |
-
"name": "
|
13 |
-
"img": "https://
|
14 |
-
"url": "https://
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
},
|
16 |
{
|
17 |
"name": "Atlantis Activ",
|
18 |
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_Atlantis-Activ_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=BDE4E9011DE872EDB273BD4C884481B3",
|
19 |
-
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Atlantis-Activ"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
},
|
21 |
{
|
22 |
"name": "Monolith",
|
23 |
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_MONOLITH_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=135FEA777CC3B2F0C3530306C3FBFA95",
|
24 |
-
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
}
|
26 |
]
|
27 |
},
|
@@ -38,63 +75,152 @@
|
|
38 |
},
|
39 |
"Cleavers": {
|
40 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/bedstraw",
|
41 |
-
"text": "- <b>Precept®:</b> Controla plantas pequeñas de bedstraw (2-6 hojas) en trigo, cebada, centeno y triticale. También está registrado para el control de bedstraw en avena.<br> <b>- Velocity®:</b> Controla plantas pequeñas de bedstraw (2-6 hojas) en trigo, cebada, centeno y triticale. <br> <b>- Hussar®:</b> Registrado para la supresión de bedstraw de cotiledón a 4 whorl three-horned en trigo.<br><b>- Tramat®:</b> Controla cleavers tanto pre como post-emergencia en cultivos de remolacha. También está registrado para controlar cleavers en pastos de ryegrass y cultivos de semillas en Victoria y Tasmania. <br> <b>- Betalan Flow®:</b> Controla cleavers en remolacha y remolacha forrajera, especialmente cuando se usa junto con Tramat.",
|
42 |
"products": [
|
43 |
{
|
44 |
"name": "Velocity Selective Herbicide",
|
45 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/velocity_brandtag.png?h=210&w=210&la=en&hash=0E57459AAA73AB1874152B64AE9FD3F9",
|
46 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
},
|
48 |
{
|
49 |
"name": "Precept Selective Herbicide",
|
50 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/precept_brandtag.png?h=210&w=210&la=en&hash=2DAAAEF0EB397AD2925E1A868BCC1561",
|
51 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
},
|
53 |
{
|
54 |
"name": "Hussar® OD Selective Herbicide",
|
55 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/hussarod.png?h=210&w=210&la=en&hash=5FB03C1088A074FE9F88216237C711F2",
|
56 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
},
|
58 |
{
|
59 |
"name": "Tramat 500 SC Selective Herbicide",
|
60 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/tramat_brandtag.png?h=210&w=210&la=en&hash=B660EFBEDFF3F77314547C20021BE51B",
|
61 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
},
|
63 |
{
|
64 |
"name": "Betanal Flow",
|
65 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
66 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
68 |
]
|
69 |
},
|
70 |
"Common Chickweed": {
|
71 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/chickweed",
|
72 |
-
"text": "- <b>Betalan Flow®:</b> Registrado para el control de la hierba centinodia en cultivos de remolacha.<br> - <b>Tramat®:</b> Registrado para el control de la hierba centinodia en cultivos de remolacha, pastos de ryegrass y cultivos de semillas.<br> - <b>Sencor®:</b> Control de hierba centinodia en espárragos, tomates y papas. En cultivos de gran extensión, tiene registros en cebada, garbanzos, habas, lentejas, guisantes, veza y altramuces blancos.<br> - <b>Roundup® Ultra® MAX:</b> Registrado para el control de la hierba centinodia en diversas situaciones.<br> - <b>Roundup Ready® Herbicida con Plantshield®:</b> Registrado para el control de la hierba centinodia en diversas situaciones.<br> - <b>Roundup Ready PL:</b> Registrado para el control de la hierba centinodia en diversas situaciones.<br> - <b>Brodal® Options:</b> Registrado para la supresión de la hierba centinodia de hasta cuatro hojas en pastos basados en trébol, guisantes de campo, lentejas y altramuces.",
|
73 |
"products": [
|
74 |
{
|
75 |
"name": "Betanal Flow",
|
76 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
77 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
},
|
79 |
{
|
80 |
"name": "Brodal Options",
|
81 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/brodaloptions_brandtag.png?h=210&w=210&la=en&hash=1B272D7A9C08A393A4E78E1A9D4C3D7F",
|
82 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
},
|
84 |
{
|
85 |
"name": "Roundup Ultra MAX",
|
86 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/roundup_ultramax_rgb.png?h=210&w=210&la=en&hash=943DB3170BE634B8B281D2AC62954F73",
|
87 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ultramax-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
},
|
89 |
{
|
90 |
"name": "Roundup Ready Herbicide with PLANTSHIELD",
|
91 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/roundup-ready-with-plantshield.png?h=210&w=210&la=en&hash=60AFE9274B0924F9A725B895BD03FE40",
|
92 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-herbicide-with-plantshield"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
},
|
94 |
{
|
95 |
"name": "Roundup Ready PL Herbicide with PLANTSHIELD Technology",
|
96 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/roundupreadyplwplantshield.png?h=210&w=210&la=en&hash=0DCAF90AB6AC63D7B256671A511B80FE",
|
97 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-pl-herbicide-with-plantshield-technology"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
]
|
100 |
},
|
@@ -110,33 +236,63 @@
|
|
110 |
},
|
111 |
"Fat Hen": {
|
112 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/fat-hen---white-goosefoot",
|
113 |
-
"text": "<b>- Betanal® Flow:</b> Registrado para el control del fat hen en cultivos de remolacha.<br> <b>- Tramat®:</b> Está registrado para el control del fat hen en cultivos de remolacha, adormidera oleaginosa y cebollas.<br> <b>- Sencor®:</b> Está registrado para el control del fat hen en espárragos, tomates y papas. Además, Sencor también tiene registros en cebada, garbanzos, habas, lentejas, guisantes, veza y altramuces blancos.",
|
114 |
"products": [
|
115 |
{
|
116 |
"name": "Betanal Flow",
|
117 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
118 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
},
|
120 |
{
|
121 |
"name": "Sencor 480 SC Selective Herbicide",
|
122 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/sencor_brandtag.png?h=210&w=210&la=en&hash=A21D4484E5FC231B480B48C36634D7FC",
|
123 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
},
|
125 |
{
|
126 |
"name": "Tramat 500 SC Selective Herbicide",
|
127 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/tramat_brandtag.png?h=210&w=210&la=en&hash=B660EFBEDFF3F77314547C20021BE51B",
|
128 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
}
|
130 |
]
|
131 |
},
|
132 |
"Loose Silky-bent": {
|
133 |
"weed_url": "https://cropscience.bayer.co.uk/agronomy-id/grass-weeds/loose-silky-bent",
|
134 |
-
"text": "<b>- Monolith (mesosulfuron-metilo + propoxycarbazone):</b> Herbicida post-emergencia absorbido a través de las hojas de las malezas.",
|
135 |
"products": [
|
136 |
{
|
137 |
"name": "Monolith",
|
138 |
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_MONOLITH_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=135FEA777CC3B2F0C3530306C3FBFA95",
|
139 |
-
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
}
|
141 |
]
|
142 |
},
|
@@ -174,42 +330,99 @@
|
|
174 |
},
|
175 |
"Shepherd’s Purse": {
|
176 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/shepherds-purse",
|
177 |
-
"text": "<p><strong>Como miembro de la familia de la mostaza: </strong></p><ul><li><strong>Velocity®</strong> está registrado para controlar la bolsa de pastor de 2-6 hojas en trigo, cebada, centeno y triticale.</li><li><strong>Hussar®</strong> está registrado para el control de la bolsa de pastor de 2-8 hojas en trigo.</li><li><strong>Betanal® Flow</strong> controlará la bolsa de pastor de 2 hojas en remolacha, remolacha forrajera y acelga.</li><li><strong>Tramat®</strong> también está registrado para controlar hasta la bolsa de pastor de 4 hojas en cultivos de remolacha y pastos de ryegrass.</li><li><strong>Totril®</strong> está registrado para controlar hasta la bolsa de pastor de 6 hojas en cebollas.</li><li><strong>Sencor®</strong> está registrado para controlar la bolsa de pastor en espárragos, cebada, garbanzos, habas, lentejas, guisantes, veza, tomates y papas.</li><li><strong>Brodal® Options</strong> está registrado para la supresión de hasta 4 hojas, y no más de 120 mm de diámetro, de la bolsa de pastor en pastos basados en trébol, guisantes de campo, lentejas y altramuces.</li></ul>",
|
178 |
"products": [
|
179 |
{
|
180 |
"name": "Velocity Selective Herbicide",
|
181 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/velocity_brandtag.png?h=210&w=210&la=en&hash=0E57459AAA73AB1874152B64AE9FD3F9",
|
182 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
},
|
184 |
{
|
185 |
"name": "Betanal Flow",
|
186 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
187 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
},
|
189 |
{
|
190 |
"name": "Tramat 500 SC Selective Herbicide",
|
191 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/tramat_brandtag.png?h=210&w=210&la=en&hash=B660EFBEDFF3F77314547C20021BE51B",
|
192 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
},
|
194 |
{
|
195 |
"name": "Trotil",
|
196 |
"img": "https://cropscience.bayer.pt/internet/images/central/img1_art_544.jpg",
|
197 |
-
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
},
|
199 |
{
|
200 |
"name": "Brodal Options",
|
201 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/brodaloptions_brandtag.png?h=210&w=210&la=en&hash=1B272D7A9C08A393A4E78E1A9D4C3D7F",
|
202 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
},
|
204 |
{
|
205 |
"name": "Hussar® OD Selective Herbicide",
|
206 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/hussarod.png?h=210&w=210&la=en&hash=5FB03C1088A074FE9F88216237C711F2",
|
207 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
},
|
209 |
{
|
210 |
"name": "Sencor 480 SC Selective Herbicide",
|
211 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/sencor_brandtag.png?h=210&w=210&la=en&hash=A21D4484E5FC231B480B48C36634D7FC",
|
212 |
-
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
}
|
214 |
]
|
215 |
},
|
|
|
1 |
{
|
2 |
"Black-grass": {
|
3 |
"weed_url": "https://cropscience.bayer.co.uk/agronomy-id/grass-weeds/black-grass",
|
|
|
4 |
"products": [
|
5 |
{
|
6 |
+
"name": "Hussar® OD Selective Herbicide",
|
7 |
+
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/hussarod.png?h=210&w=210&la=en&hash=5FB03C1088A074FE9F88216237C711F2",
|
8 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
9 |
+
"amount_per_sq_m": 10,
|
10 |
+
"crop_stage": [
|
11 |
+
"post"
|
12 |
+
],
|
13 |
+
"crop_type": [
|
14 |
+
"Cebada",
|
15 |
+
"Trigo"
|
16 |
+
]
|
17 |
},
|
18 |
{
|
19 |
+
"name": "Latium Super®",
|
20 |
+
"img": "https://userfiles-upload.storage.googleapis.com/LatiumSuper1.png",
|
21 |
+
"url": "https://cropscience.bayer.com.ar/latium-super-0",
|
22 |
+
"amount_per_sq_m": 10,
|
23 |
+
"crop_stage": [
|
24 |
+
"post"
|
25 |
+
],
|
26 |
+
"crop_type": [
|
27 |
+
"Soja",
|
28 |
+
"Trigo",
|
29 |
+
"Algodón",
|
30 |
+
"Cebada",
|
31 |
+
"Girasol",
|
32 |
+
"Maní",
|
33 |
+
"Papa",
|
34 |
+
"Poroto"
|
35 |
+
]
|
36 |
},
|
37 |
{
|
38 |
"name": "Atlantis Activ",
|
39 |
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_Atlantis-Activ_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=BDE4E9011DE872EDB273BD4C884481B3",
|
40 |
+
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Atlantis-Activ",
|
41 |
+
"amount_per_sq_m": 10,
|
42 |
+
"crop_stage": [
|
43 |
+
"post"
|
44 |
+
],
|
45 |
+
"crop_type": [
|
46 |
+
"Arroz",
|
47 |
+
"Trigo"
|
48 |
+
]
|
49 |
},
|
50 |
{
|
51 |
"name": "Monolith",
|
52 |
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_MONOLITH_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=135FEA777CC3B2F0C3530306C3FBFA95",
|
53 |
+
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
54 |
+
"amount_per_sq_m": 10,
|
55 |
+
"crop_stage": [
|
56 |
+
"post"
|
57 |
+
],
|
58 |
+
"crop_type": [
|
59 |
+
"Arroz",
|
60 |
+
"Trigo"
|
61 |
+
]
|
62 |
}
|
63 |
]
|
64 |
},
|
|
|
75 |
},
|
76 |
"Cleavers": {
|
77 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/bedstraw",
|
|
|
78 |
"products": [
|
79 |
{
|
80 |
"name": "Velocity Selective Herbicide",
|
81 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/velocity_brandtag.png?h=210&w=210&la=en&hash=0E57459AAA73AB1874152B64AE9FD3F9",
|
82 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
83 |
+
"amount_per_sq_m": 10,
|
84 |
+
"crop_stage": [
|
85 |
+
"post"
|
86 |
+
],
|
87 |
+
"crop_type": [
|
88 |
+
"Wheat",
|
89 |
+
"Barley"
|
90 |
+
]
|
91 |
},
|
92 |
{
|
93 |
"name": "Precept Selective Herbicide",
|
94 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/precept_brandtag.png?h=210&w=210&la=en&hash=2DAAAEF0EB397AD2925E1A868BCC1561",
|
95 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide",
|
96 |
+
"amount_per_sq_m": 5,
|
97 |
+
"crop_stage": [
|
98 |
+
"pre"
|
99 |
+
],
|
100 |
+
"crop_type": [
|
101 |
+
"Corn",
|
102 |
+
"Soybeans"
|
103 |
+
]
|
104 |
},
|
105 |
{
|
106 |
"name": "Hussar® OD Selective Herbicide",
|
107 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/hussarod.png?h=210&w=210&la=en&hash=5FB03C1088A074FE9F88216237C711F2",
|
108 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
109 |
+
"amount_per_sq_m": 10,
|
110 |
+
"crop_stage": [
|
111 |
+
"post"
|
112 |
+
],
|
113 |
+
"crop_type": [
|
114 |
+
"Cebada",
|
115 |
+
"Trigo"
|
116 |
+
]
|
117 |
},
|
118 |
{
|
119 |
"name": "Tramat 500 SC Selective Herbicide",
|
120 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/tramat_brandtag.png?h=210&w=210&la=en&hash=B660EFBEDFF3F77314547C20021BE51B",
|
121 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
122 |
+
"amount_per_sq_m": 10,
|
123 |
+
"crop_stage": [
|
124 |
+
"pre"
|
125 |
+
],
|
126 |
+
"crop_type": [
|
127 |
+
"Rice",
|
128 |
+
"Wheat"
|
129 |
+
]
|
130 |
},
|
131 |
{
|
132 |
"name": "Betanal Flow",
|
133 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
134 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
135 |
+
"amount_per_sq_m": 10,
|
136 |
+
"crop_stage": [
|
137 |
+
"post"
|
138 |
+
],
|
139 |
+
"crop_type": [
|
140 |
+
"Sugarbeet",
|
141 |
+
"Fodder beet"
|
142 |
+
]
|
143 |
}
|
144 |
]
|
145 |
},
|
146 |
"Common Chickweed": {
|
147 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/chickweed",
|
|
|
148 |
"products": [
|
149 |
{
|
150 |
"name": "Betanal Flow",
|
151 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
152 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
153 |
+
"amount_per_sq_m": 10,
|
154 |
+
"crop_stage": [
|
155 |
+
"post"
|
156 |
+
],
|
157 |
+
"crop_type": [
|
158 |
+
"Arroz",
|
159 |
+
"Trigo"
|
160 |
+
]
|
161 |
},
|
162 |
{
|
163 |
"name": "Brodal Options",
|
164 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/brodaloptions_brandtag.png?h=210&w=210&la=en&hash=1B272D7A9C08A393A4E78E1A9D4C3D7F",
|
165 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
166 |
+
"amount_per_sq_m": 10,
|
167 |
+
"crop_stage": [
|
168 |
+
"post"
|
169 |
+
],
|
170 |
+
"crop_type": [
|
171 |
+
"Soja",
|
172 |
+
"Maíz",
|
173 |
+
"Girasol",
|
174 |
+
"Pasturas"
|
175 |
+
]
|
176 |
},
|
177 |
{
|
178 |
"name": "Roundup Ultra MAX",
|
179 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/roundup_ultramax_rgb.png?h=210&w=210&la=en&hash=943DB3170BE634B8B281D2AC62954F73",
|
180 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ultramax-herbicide",
|
181 |
+
"amount_per_sq_m": 10,
|
182 |
+
"crop_stage": [
|
183 |
+
"post"
|
184 |
+
],
|
185 |
+
"crop_type": [
|
186 |
+
"Soja",
|
187 |
+
"Trigo",
|
188 |
+
"Maíz",
|
189 |
+
"Cebada",
|
190 |
+
"Algodón"
|
191 |
+
]
|
192 |
},
|
193 |
{
|
194 |
"name": "Roundup Ready Herbicide with PLANTSHIELD",
|
195 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/roundup-ready-with-plantshield.png?h=210&w=210&la=en&hash=60AFE9274B0924F9A725B895BD03FE40",
|
196 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-herbicide-with-plantshield",
|
197 |
+
"amount_per_sq_m": 3,
|
198 |
+
"crop_stage": [
|
199 |
+
"post"
|
200 |
+
],
|
201 |
+
"crop_type": [
|
202 |
+
"Soja",
|
203 |
+
"Trigo",
|
204 |
+
"Maíz",
|
205 |
+
"Cebada",
|
206 |
+
"Algodón"
|
207 |
+
]
|
208 |
},
|
209 |
{
|
210 |
"name": "Roundup Ready PL Herbicide with PLANTSHIELD Technology",
|
211 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/roundupreadyplwplantshield.png?h=210&w=210&la=en&hash=0DCAF90AB6AC63D7B256671A511B80FE",
|
212 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-pl-herbicide-with-plantshield-technology",
|
213 |
+
"amount_per_sq_m": 10,
|
214 |
+
"crop_stage": [
|
215 |
+
"post"
|
216 |
+
],
|
217 |
+
"crop_type": [
|
218 |
+
"Soja",
|
219 |
+
"Trigo",
|
220 |
+
"Maíz",
|
221 |
+
"Cebada",
|
222 |
+
"Algodón"
|
223 |
+
]
|
224 |
}
|
225 |
]
|
226 |
},
|
|
|
236 |
},
|
237 |
"Fat Hen": {
|
238 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/fat-hen---white-goosefoot",
|
|
|
239 |
"products": [
|
240 |
{
|
241 |
"name": "Betanal Flow",
|
242 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
243 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
244 |
+
"amount_per_sq_m": 10,
|
245 |
+
"crop_stage": [
|
246 |
+
"post"
|
247 |
+
],
|
248 |
+
"crop_type": [
|
249 |
+
"Arroz",
|
250 |
+
"Trigo"
|
251 |
+
]
|
252 |
},
|
253 |
{
|
254 |
"name": "Sencor 480 SC Selective Herbicide",
|
255 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/sencor_brandtag.png?h=210&w=210&la=en&hash=A21D4484E5FC231B480B48C36634D7FC",
|
256 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
257 |
+
"amount_per_sq_m": 10,
|
258 |
+
"crop_stage": [
|
259 |
+
"post"
|
260 |
+
],
|
261 |
+
"crop_type": [
|
262 |
+
"Arroz",
|
263 |
+
"Trigo"
|
264 |
+
]
|
265 |
},
|
266 |
{
|
267 |
"name": "Tramat 500 SC Selective Herbicide",
|
268 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/tramat_brandtag.png?h=210&w=210&la=en&hash=B660EFBEDFF3F77314547C20021BE51B",
|
269 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
270 |
+
"amount_per_sq_m": 10,
|
271 |
+
"crop_stage": [
|
272 |
+
"post"
|
273 |
+
],
|
274 |
+
"crop_type": [
|
275 |
+
"Sugarbeet",
|
276 |
+
"Fodder beet"
|
277 |
+
]
|
278 |
}
|
279 |
]
|
280 |
},
|
281 |
"Loose Silky-bent": {
|
282 |
"weed_url": "https://cropscience.bayer.co.uk/agronomy-id/grass-weeds/loose-silky-bent",
|
|
|
283 |
"products": [
|
284 |
{
|
285 |
"name": "Monolith",
|
286 |
"img": "https://www.cropscience.bayer.es/-/media/Bayer%20CropScience/Country-Spain-Internet/BCS-ES-Banners-Logos2022/Logos2022/BrandTag_DCS-CP_MONOLITH_on-screen_RGB.png?h=1181&iar=0&w=1181&hash=135FEA777CC3B2F0C3530306C3FBFA95",
|
287 |
+
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
288 |
+
"amount_per_sq_m": 10,
|
289 |
+
"crop_stage": [
|
290 |
+
"post"
|
291 |
+
],
|
292 |
+
"crop_type": [
|
293 |
+
"Arroz",
|
294 |
+
"Trigo"
|
295 |
+
]
|
296 |
}
|
297 |
]
|
298 |
},
|
|
|
330 |
},
|
331 |
"Shepherd’s Purse": {
|
332 |
"weed_url": "https://www.crop.bayer.com.au/pests/weeds/shepherds-purse",
|
|
|
333 |
"products": [
|
334 |
{
|
335 |
"name": "Velocity Selective Herbicide",
|
336 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/velocity_brandtag.png?h=210&w=210&la=en&hash=0E57459AAA73AB1874152B64AE9FD3F9",
|
337 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
338 |
+
"amount_per_sq_m": 10,
|
339 |
+
"crop_stage": [
|
340 |
+
"post"
|
341 |
+
],
|
342 |
+
"crop_type": [
|
343 |
+
"Sugarbeet",
|
344 |
+
"Fodder beet"
|
345 |
+
]
|
346 |
},
|
347 |
{
|
348 |
"name": "Betanal Flow",
|
349 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/betanalflow_brandtag.png?h=210&w=210&la=en&hash=A66208FACA67C8529014779559CC5EAF",
|
350 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
351 |
+
"amount_per_sq_m": 7,
|
352 |
+
"crop_stage": [
|
353 |
+
"post"
|
354 |
+
],
|
355 |
+
"crop_type": [
|
356 |
+
"Sugarbeet",
|
357 |
+
"Fodder beet"
|
358 |
+
]
|
359 |
},
|
360 |
{
|
361 |
"name": "Tramat 500 SC Selective Herbicide",
|
362 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/tramat_brandtag.png?h=210&w=210&la=en&hash=B660EFBEDFF3F77314547C20021BE51B",
|
363 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
364 |
+
"amount_per_sq_m": 10,
|
365 |
+
"crop_stage": [
|
366 |
+
"post"
|
367 |
+
],
|
368 |
+
"crop_type": [
|
369 |
+
"Arroz",
|
370 |
+
"Trigo"
|
371 |
+
]
|
372 |
},
|
373 |
{
|
374 |
"name": "Trotil",
|
375 |
"img": "https://cropscience.bayer.pt/internet/images/central/img1_art_544.jpg",
|
376 |
+
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
377 |
+
"amount_per_sq_m": 10,
|
378 |
+
"crop_stage": [
|
379 |
+
"post"
|
380 |
+
],
|
381 |
+
"crop_type": [
|
382 |
+
"Arroz",
|
383 |
+
"Trigo"
|
384 |
+
]
|
385 |
},
|
386 |
{
|
387 |
"name": "Brodal Options",
|
388 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/brodaloptions_brandtag.png?h=210&w=210&la=en&hash=1B272D7A9C08A393A4E78E1A9D4C3D7F",
|
389 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
390 |
+
"amount_per_sq_m": 10,
|
391 |
+
"crop_stage": [
|
392 |
+
"post"
|
393 |
+
],
|
394 |
+
"crop_type": [
|
395 |
+
"Soja",
|
396 |
+
"Maíz",
|
397 |
+
"Girasol",
|
398 |
+
"Pasturas"
|
399 |
+
]
|
400 |
},
|
401 |
{
|
402 |
"name": "Hussar® OD Selective Herbicide",
|
403 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/hussarod.png?h=210&w=210&la=en&hash=5FB03C1088A074FE9F88216237C711F2",
|
404 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
405 |
+
"amount_per_sq_m": 10,
|
406 |
+
"crop_stage": [
|
407 |
+
"post"
|
408 |
+
],
|
409 |
+
"crop_type": [
|
410 |
+
"Cebada",
|
411 |
+
"Trigo"
|
412 |
+
]
|
413 |
},
|
414 |
{
|
415 |
"name": "Sencor 480 SC Selective Herbicide",
|
416 |
"img": "https://www.crop.bayer.com.au/-/media/bcs-inter/ws_australia/use-our-products/brandtags/herbicides/sencor_brandtag.png?h=210&w=210&la=en&hash=A21D4484E5FC231B480B48C36634D7FC",
|
417 |
+
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
418 |
+
"amount_per_sq_m": 10,
|
419 |
+
"crop_stage": [
|
420 |
+
"post"
|
421 |
+
],
|
422 |
+
"crop_type": [
|
423 |
+
"Arroz",
|
424 |
+
"Trigo"
|
425 |
+
]
|
426 |
}
|
427 |
]
|
428 |
},
|
app.py
CHANGED
@@ -3,7 +3,8 @@ import json
|
|
3 |
|
4 |
# %% auto 0
|
5 |
__all__ = ['learn', 'labels', 'article', 'title', 'description', 'examples', 'interpretation', 'enable_queue', 'predict']
|
6 |
-
|
|
|
7 |
# %% ../weed_classifier.ipynb 1
|
8 |
from fastai.vision.all import *
|
9 |
import gradio as gr
|
@@ -16,13 +17,16 @@ learn = load_learner('export.pkl')
|
|
16 |
with open("WEEDS_JSON.json", "r") as f:
|
17 |
recommendations = json.load(f)
|
18 |
|
|
|
|
|
|
|
19 |
|
20 |
# %% ../weed_classifier.ipynb 3
|
21 |
labels = learn.dls.vocab
|
22 |
|
23 |
print(learn.dls.vocab)
|
24 |
|
25 |
-
def predict(img):
|
26 |
img = PILImage.create(img)
|
27 |
pred, pred_idx, probs = learn.predict(img)
|
28 |
label = labels[pred_idx]
|
@@ -34,35 +38,99 @@ def predict(img):
|
|
34 |
recommendations_output = recommendations.get(label, {})
|
35 |
|
36 |
# Generación de la salida en formato HTML para las recomendaciones
|
37 |
-
html_output = display_output(label, recommendations_output)
|
38 |
|
39 |
return classification_output, html_output
|
40 |
|
41 |
-
def display_output(weed_name, recommendations):
|
42 |
products = recommendations.get("products", [])
|
43 |
weed_url = recommendations.get("weed_url", "#")
|
44 |
control = recommendations.get("text", "")
|
|
|
|
|
45 |
|
46 |
# Crear una lista para almacenar la información de salida
|
47 |
output_list = [f"Weed Identified: <a href='{weed_url}' target='_blank'>{weed_name}</a>"]
|
48 |
|
49 |
# Añadir recomendaciones de productos
|
50 |
-
|
51 |
-
output_html = f"<h3>
|
52 |
-
output_list = [
|
53 |
for product in products:
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
62 |
|
|
|
|
|
|
|
|
|
63 |
return output_html
|
64 |
|
65 |
|
|
|
|
|
66 |
# %% ../weed_classifier.ipynb 5
|
67 |
article = """<div>Este modelo se entrenó con un conjunto de datos que contiene 5.539 imágenes de plántulas de cultivos y malas hierbas. Las imágenes se agrupan en 12 clases. Estas clases representan especies de plantas comunes en la agricultura danesa en distintas fases de crecimiento. Se ajustó un modelo ResNet34 preentrenado utilizando la biblioteca de visión fastai. La tasa de error alcanzada en el conjunto de datos de validación es del 2,5% tras 4 épocas.
|
68 |
<p style='text-align: center;padding:1rem;display: flex; justify-content:center;align-items: center;'><a href='https://sciling.com' target='_blank'><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZ8AAABECAYAAABebDjMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLv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DLsbgA9VYT+BpbiagfMzqjR0iRR6FvWc+YTkDGPVxLyTfNv0W3BJHGVZhqulerfA3PXIV+PyLWPVN5MGSKH74Z6kTi/gTxauBc42ViVqIZYMPB1ZCBxqrJpe0k6XSKEPAO7LOLzWXmS+lu9MYCTJElrzgam4G6lHjVUr6Tn6p/OtcWfqh+FkwNbE3TC/Q/azxtTPX7NJDSpS6MG4A9bDqb66+RmcwsGUqs9BfJ3GybgvftV7sktwBa8XhQiovSH4+C/h+f7VHeVKEr/8UuiP4c5WgumRNWA2cLSxqssCZin0p4C7CbeVWHUAuhkYlWFo7Y0wYcUNxXCc0Oy+wPopUywuIC3CZeRuyn8+78sAg7sx+AkuA3cgsHOH12C6Tvlv+eCTugdurJqF0yvaBJeyvA8u02Mg0L/E2kuBf+JkNB4G7jFWPVbCXi68cODlUugrcVl+w3BnCVsBm1DuaW8BTrD1aWA6cKcv5o1kwG81/IzG3Wy7NVLoU3B1IGvUsNx2wEwp9DnGqss7+bEXrsA85BlWf+AeKfQwY1WewsysjMFlo25Qge3S+A7LtwG3eRX7j+ESFLbBpWhvhfN9LVzJifB/vo0LRPfgjjweB+7v/GSEu678jQ7qLV6jsj0QtQellk9i+n8VnXpqYZaMagAAAABJRU5ErkJggg==" width="150px"></a></p>
|
@@ -81,7 +149,7 @@ description = '''
|
|
81 |
<p style="text-align:center">Esta herramienta no solo simplifica la toma de decisiones, sino que también fomenta una gestión más sostenible de los cultivos, alineándose con las mejores prácticas agrícolas y el cuidado responsable del medio ambiente.</p>
|
82 |
</div>
|
83 |
'''
|
84 |
-
examples = [ 'FatHen.png', 'Loose Silky-bent.png', 'CommonChickweed.png', 'cleavers.png', 'ShepherdsPurse.png', 'Black-grass.png']
|
85 |
interpretation='default'
|
86 |
enable_queue=True
|
87 |
|
@@ -97,13 +165,29 @@ theme = gr.themes.Monochrome(primary_hue="blue").set(
|
|
97 |
checkbox_background_color_focus="*primary_600",
|
98 |
)
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# %% auto 0
|
5 |
__all__ = ['learn', 'labels', 'article', 'title', 'description', 'examples', 'interpretation', 'enable_queue', 'predict']
|
6 |
+
CROPS = ["Maíz", "Ciruelo", "Cítricos", "Frutos y Hortalizas", "Nectarinas", "Pera y Manzano", "Vid", "Soja", "Girasol", "Pasturas", "Algodón", "Maní", "Cebada", "Trigo", "Papa", "Poroto", "Caña de azúcar", "Tomate", "Otro"]
|
7 |
+
STATE = ["pre", "post", "Otro"]
|
8 |
# %% ../weed_classifier.ipynb 1
|
9 |
from fastai.vision.all import *
|
10 |
import gradio as gr
|
|
|
17 |
with open("WEEDS_JSON.json", "r") as f:
|
18 |
recommendations = json.load(f)
|
19 |
|
20 |
+
# JSON de recomendaciones
|
21 |
+
with open("PROVIDERS.json", "r") as f:
|
22 |
+
providers = json.load(f)
|
23 |
|
24 |
# %% ../weed_classifier.ipynb 3
|
25 |
labels = learn.dls.vocab
|
26 |
|
27 |
print(learn.dls.vocab)
|
28 |
|
29 |
+
def predict(img, crop, area, state):
|
30 |
img = PILImage.create(img)
|
31 |
pred, pred_idx, probs = learn.predict(img)
|
32 |
label = labels[pred_idx]
|
|
|
38 |
recommendations_output = recommendations.get(label, {})
|
39 |
|
40 |
# Generación de la salida en formato HTML para las recomendaciones
|
41 |
+
html_output = display_output(label, recommendations_output, crop, area, state)
|
42 |
|
43 |
return classification_output, html_output
|
44 |
|
45 |
+
def display_output(weed_name, recommendations, crop, area, state):
|
46 |
products = recommendations.get("products", [])
|
47 |
weed_url = recommendations.get("weed_url", "#")
|
48 |
control = recommendations.get("text", "")
|
49 |
+
|
50 |
+
|
51 |
|
52 |
# Crear una lista para almacenar la información de salida
|
53 |
output_list = [f"Weed Identified: <a href='{weed_url}' target='_blank'>{weed_name}</a>"]
|
54 |
|
55 |
# Añadir recomendaciones de productos
|
56 |
+
# Añadir recomendaciones de productos
|
57 |
+
output_html = f"<h3>Herbicidas recomendados</h3>"
|
58 |
+
output_list = []
|
59 |
for product in products:
|
60 |
+
if state in product["crop_stage"] and crop in product["crop_type"]:
|
61 |
+
product_name = product["name"]
|
62 |
+
product_img = product["img"]
|
63 |
+
product_url = product["url"]
|
64 |
+
product_amount = float(product["amount_per_sq_m"]) * float(area)
|
65 |
+
|
66 |
+
for product_info in providers["product_suppliers"]:
|
67 |
+
if product_info["product_name"] == product_name:
|
68 |
+
for supplier in product_info["suppliers"]:
|
69 |
+
supplier_name = supplier["name"]
|
70 |
+
supplier_price = supplier["price"]
|
71 |
+
supplier_delivery_time = supplier["delivery_time"]
|
72 |
+
card = f"""
|
73 |
+
|
74 |
+
<div>
|
75 |
+
<h2>{product_name}</h2>
|
76 |
+
<p>{supplier_name}</p>
|
77 |
+
<div style='display: flex; align-items: stretch;'>
|
78 |
+
<img src='{product_img}' alt='{product_name}' width='116' style='margin-right: 10px;'/>
|
79 |
+
<div style='flex-grow: 1;'>
|
80 |
+
|
81 |
|
82 |
+
</div>
|
83 |
+
<div style='text-align: right;'>
|
84 |
+
<p style='color: green; font-size: 20px;'>{supplier_price}</p>
|
85 |
+
<div style='text-align: right; display: flex; align-items: center; justify-content: flex-end;'>
|
86 |
+
<svg fill="#AAA" height="20px" width="20px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
87 |
+
viewBox="0 0 491.1 491.1" xml:space="preserve">
|
88 |
+
<g transform="translate(0 -540.36)">
|
89 |
+
<g>
|
90 |
+
<g>
|
91 |
+
<path d="M401.5,863.31c-12,0-23.4,4.7-32,13.2c-8.6,8.6-13.4,19.8-13.4,31.8s4.7,23.2,13.4,31.8c8.7,8.5,20,13.2,32,13.2
|
92 |
+
c24.6,0,44.6-20.2,44.6-45S426.1,863.31,401.5,863.31z M401.5,933.31c-13.8,0-25.4-11.4-25.4-25s11.6-25,25.4-25
|
93 |
+
c13.6,0,24.6,11.2,24.6,25S415.1,933.31,401.5,933.31z"/>
|
94 |
+
<path d="M413.1,713.41c-1.8-1.7-4.2-2.6-6.7-2.6h-51.3c-5.5,0-10,4.5-10,10v82c0,5.5,4.5,10,10,10h81.4c5.5,0,10-4.5,10-10v-54.9
|
95 |
+
c0-2.8-1.2-5.5-3.3-7.4L413.1,713.41z M426.5,792.81h-61.4v-62.1h37.4l24,21.6V792.81z"/>
|
96 |
+
<path d="M157.3,863.31c-12,0-23.4,4.7-32,13.2c-8.6,8.6-13.4,19.8-13.4,31.8s4.7,23.2,13.4,31.8c8.7,8.5,20,13.2,32,13.2
|
97 |
+
c24.6,0,44.6-20.2,44.6-45S181.9,863.31,157.3,863.31z M157.3,933.31c-13.8,0-25.4-11.4-25.4-25s11.6-25,25.4-25
|
98 |
+
c13.6,0,24.6,11.2,24.6,25S170.9,933.31,157.3,933.31z"/>
|
99 |
+
<path d="M90.6,875.61H70.5v-26.6c0-5.5-4.5-10-10-10s-10,4.5-10,10v36.6c0,5.5,4.5,10,10,10h30.1c5.5,0,10-4.5,10-10
|
100 |
+
S96.1,875.61,90.6,875.61z"/>
|
101 |
+
<path d="M141.3,821.11c0-5.5-4.5-10-10-10H10c-5.5,0-10,4.5-10,10s4.5,10,10,10h121.3C136.8,831.11,141.3,826.71,141.3,821.11z"
|
102 |
+
/>
|
103 |
+
<path d="M30.3,785.01l121.3,0.7c5.5,0,10-4.4,10.1-9.9c0.1-5.6-4.4-10.1-9.9-10.1l-121.3-0.7c-0.1,0-0.1,0-0.1,0
|
104 |
+
c-5.5,0-10,4.4-10,9.9C20.3,780.51,24.8,785.01,30.3,785.01z"/>
|
105 |
+
<path d="M50.7,739.61H172c5.5,0,10-4.5,10-10s-4.5-10-10-10H50.7c-5.5,0-10,4.5-10,10S45.2,739.61,50.7,739.61z"/>
|
106 |
+
<path d="M487.4,726.11L487.4,726.11l-71.6-59.3c-1.8-1.5-4-2.3-6.4-2.3h-84.2v-36c0-5.5-4.5-10-10-10H60.5c-5.5,0-10,4.5-10,10
|
107 |
+
v73.2c0,5.5,4.5,10,10,10s10-4.5,10-10v-63.2h234.8v237.1h-82c-5.5,0-10,4.5-10,10s4.5,10,10,10h122.1c5.5,0,10-4.5,10-10
|
108 |
+
s-4.5-10-10-10h-20.1v-191.1h80.6l65.2,54l-0.7,136.9H460c-5.5,0-10,4.5-10,10s4.5,10,10,10h20.3c5.5,0,10-4.4,10-9.9l0.8-151.6
|
109 |
+
C491,730.91,489.7,728.01,487.4,726.11z"/>
|
110 |
+
</g>
|
111 |
+
</g>
|
112 |
+
</g>
|
113 |
+
</svg>
|
114 |
+
<p style='margin-left: 5px;'>{supplier_delivery_time}</p>
|
115 |
+
</div>
|
116 |
+
<button style='background-color: green; padding:10px; color: white'>COMPRAR</button>
|
117 |
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
<p style='font-weight: bold; padding-top:10px'>Cantidad recomendada: {product_amount} ml</p>
|
121 |
+
<a href='{product_url}' target='_blank'>Más info</a>
|
122 |
+
</div>
|
123 |
+
<hr width='100%' >
|
124 |
|
125 |
+
"""
|
126 |
+
output_list.append(card)
|
127 |
+
|
128 |
+
output_html += "".join(output_list)
|
129 |
return output_html
|
130 |
|
131 |
|
132 |
+
|
133 |
+
|
134 |
# %% ../weed_classifier.ipynb 5
|
135 |
article = """<div>Este modelo se entrenó con un conjunto de datos que contiene 5.539 imágenes de plántulas de cultivos y malas hierbas. Las imágenes se agrupan en 12 clases. Estas clases representan especies de plantas comunes en la agricultura danesa en distintas fases de crecimiento. Se ajustó un modelo ResNet34 preentrenado utilizando la biblioteca de visión fastai. La tasa de error alcanzada en el conjunto de datos de validación es del 2,5% tras 4 épocas.
|
136 |
<p style='text-align: center;padding:1rem;display: flex; justify-content:center;align-items: center;'><a href='https://sciling.com' target='_blank'><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEU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A56SQueqNSkYeNpZHfiZFDpJmaQs36GY2GdlGKt+AGyLO4tOOhLYAvitFHq8FHpAnjWk0JsDBxV2soVpeCDuZXUm4LYYgmSA5eBR4MvGqjSVgkL4DLsbgA9VYT+BpbiagfMzqjR0iRR6FvWc+YTkDGPVxLyTfNv0W3BJHGVZhqulerfA3PXIV+PyLWPVN5MGSKH74Z6kTi/gTxauBc42ViVqIZYMPB1ZCBxqrJpe0k6XSKEPAO7LOLzWXmS+lu9MYCTJElrzgam4G6lHjVUr6Tn6p/OtcWfqh+FkwNbE3TC/Q/azxtTPX7NJDSpS6MG4A9bDqb66+RmcwsGUqs9BfJ3GybgvftV7sktwBa8XhQiovSH4+C/h+f7VHeVKEr/8UuiP4c5WgumRNWA2cLSxqssCZin0p4C7CbeVWHUAuhkYlWFo7Y0wYcUNxXCc0Oy+wPopUywuIC3CZeRuyn8+78sAg7sx+AkuA3cgsHOH12C6Tvlv+eCTugdurJqF0yvaBJeyvA8u02Mg0L/E2kuBf+JkNB4G7jFWPVbCXi68cODlUugrcVl+w3BnCVsBm1DuaW8BTrD1aWA6cKcv5o1kwG81/IzG3Wy7NVLoU3B1IGvUsNx2wEwp9DnGqss7+bEXrsA85BlWf+AeKfQwY1WewsysjMFlo25Qge3S+A7LtwG3eRX7j+ESFLbBpWhvhfN9LVzJifB/vo0LRPfgjjweB+7v/GSEu678jQ7qLV6jsj0QtQellk9i+n8VnXpqYZaMagAAAABJRU5ErkJggg==" width="150px"></a></p>
|
|
|
149 |
<p style="text-align:center">Esta herramienta no solo simplifica la toma de decisiones, sino que también fomenta una gestión más sostenible de los cultivos, alineándose con las mejores prácticas agrícolas y el cuidado responsable del medio ambiente.</p>
|
150 |
</div>
|
151 |
'''
|
152 |
+
examples = [ 'FatHen.png', 'Loose Silky-bent.png', 'CommonChickweed.png', 'cleavers.png', 'ShepherdsPurse.png', 'Black-grass.png', 'blackgrass-mature.jpg','Shepered_purse.jpeg' ]
|
153 |
interpretation='default'
|
154 |
enable_queue=True
|
155 |
|
|
|
165 |
checkbox_background_color_focus="*primary_600",
|
166 |
)
|
167 |
|
168 |
+
|
169 |
+
|
170 |
+
with gr.Blocks(title="BAYER", css=".gradio-container {margin-top:10px !important; margin-bottom: 20px !important, min-width: 100% !important} footer {visibility:hidden}", theme=theme) as demo:
|
171 |
+
with gr.Row():
|
172 |
+
gr.Markdown(description)
|
173 |
+
with gr.Row():
|
174 |
+
with gr.Column(scale=1):
|
175 |
+
image = gr.Image(source="upload", type="filepath", optional=False, label="Imagen")
|
176 |
+
example = gr.Examples(examples=examples, inputs=image)
|
177 |
+
with gr.Column(scale=2):
|
178 |
+
with gr.Row():
|
179 |
+
with gr.Column(scale=1):
|
180 |
+
crop = gr.Dropdown(CROPS, label="Cultivo", info="¿Qué cultivo hay plantado?")
|
181 |
+
area = gr.Number(value=1, label="Superficie", info="¿Cuántos metros cuadrados ocupa la maleza?")
|
182 |
+
state = gr.Dropdown(STATE, label="Estado", info="¿En qué estado de crecimiento está el cultivo?")
|
183 |
+
btn = gr.Button(value="Recomendar")
|
184 |
+
with gr.Row():
|
185 |
+
output = gr.components.Label(num_top_classes=1)
|
186 |
+
with gr.Row():
|
187 |
+
output2 =gr.components.HTML()
|
188 |
+
with gr.Row():
|
189 |
+
gr.Markdown(article)
|
190 |
+
|
191 |
+
btn.click(predict, inputs=[image, crop, area, state], outputs=[output, output2], api_name="BAYER")
|
192 |
+
|
193 |
+
demo.launch(favicon_path="favicon.ico", enable_queue=enable_queue)
|