Spaces:
Sleeping
Sleeping
gmarti
commited on
Commit
·
bb768ba
1
Parent(s):
0f14368
json changes 2
Browse files- PROVIDERS.json +12 -11
- WEEDS_JSON.json +70 -68
- app.py +7 -6
PROVIDERS.json
CHANGED
@@ -1,22 +1,23 @@
|
|
1 |
{
|
2 |
"product_suppliers": [
|
3 |
{
|
4 |
-
"product_name": "
|
5 |
-
"img": "https://
|
6 |
"suppliers": [
|
7 |
{
|
8 |
-
"name": "
|
9 |
-
"price": "$
|
10 |
"provincias": [
|
11 |
-
"Provincia
|
12 |
-
"Provincia de
|
13 |
-
"Provincia
|
14 |
-
"Provincia de
|
15 |
-
"Provincia de
|
|
|
16 |
],
|
17 |
-
"location": "
|
18 |
"stock": "Disponible",
|
19 |
-
"delivery_time": "
|
20 |
},
|
21 |
{
|
22 |
"name": "NUEVO ARPON SA",
|
|
|
1 |
{
|
2 |
"product_suppliers": [
|
3 |
{
|
4 |
+
"product_name": "Latium Super®",
|
5 |
+
"img": "https://userfiles-upload.storage.googleapis.com/LatiumSuper1.png",
|
6 |
"suppliers": [
|
7 |
{
|
8 |
+
"name": "LA CASA DE LOS INSECTICIDAS/VALLS",
|
9 |
+
"price": "$5.200",
|
10 |
"provincias": [
|
11 |
+
"Provincia de Buenos Aires",
|
12 |
+
"Provincia de La Pampa",
|
13 |
+
"Provincia de San Luis",
|
14 |
+
"Provincia de Mendoza",
|
15 |
+
"Provincia de Santa Fe",
|
16 |
+
"Provincia de Entre Ríos"
|
17 |
],
|
18 |
+
"location": "Buenos Aires",
|
19 |
"stock": "Disponible",
|
20 |
+
"delivery_time": "3-5 días"
|
21 |
},
|
22 |
{
|
23 |
"name": "NUEVO ARPON SA",
|
WEEDS_JSON.json
CHANGED
@@ -8,11 +8,12 @@
|
|
8 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
9 |
"amount_per_sq_m": 8,
|
10 |
"crop_stage": [
|
11 |
-
"post"
|
12 |
],
|
13 |
"crop_type": [
|
14 |
"Cebada",
|
15 |
-
"Trigo"
|
|
|
16 |
]
|
17 |
},
|
18 |
{
|
@@ -21,7 +22,7 @@
|
|
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",
|
@@ -40,7 +41,7 @@
|
|
40 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Atlantis-Activ",
|
41 |
"amount_per_sq_m": 10,
|
42 |
"crop_stage": [
|
43 |
-
"pre"
|
44 |
],
|
45 |
"crop_type": [
|
46 |
"Arroz",
|
@@ -53,7 +54,7 @@
|
|
53 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
54 |
"amount_per_sq_m": 10,
|
55 |
"crop_stage": [
|
56 |
-
"pre"
|
57 |
],
|
58 |
"crop_type": [
|
59 |
"Arroz",
|
@@ -71,7 +72,7 @@
|
|
71 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
72 |
"amount_per_sq_m": 8,
|
73 |
"crop_stage": [
|
74 |
-
"post"
|
75 |
],
|
76 |
"crop_type": [
|
77 |
"Cebada",
|
@@ -84,7 +85,7 @@
|
|
84 |
"url": "https://cropscience.bayer.com.ar/latium-super-0",
|
85 |
"amount_per_sq_m": 10,
|
86 |
"crop_stage": [
|
87 |
-
"post"
|
88 |
],
|
89 |
"crop_type": [
|
90 |
"Soja",
|
@@ -103,7 +104,7 @@
|
|
103 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Atlantis-Activ",
|
104 |
"amount_per_sq_m": 10,
|
105 |
"crop_stage": [
|
106 |
-
"pre"
|
107 |
],
|
108 |
"crop_type": [
|
109 |
"Arroz",
|
@@ -116,7 +117,7 @@
|
|
116 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
117 |
"amount_per_sq_m": 10,
|
118 |
"crop_stage": [
|
119 |
-
"pre"
|
120 |
],
|
121 |
"crop_type": [
|
122 |
"Arroz",
|
@@ -134,7 +135,7 @@
|
|
134 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
135 |
"amount_per_sq_m": 10,
|
136 |
"crop_stage": [
|
137 |
-
"post"
|
138 |
],
|
139 |
"crop_type": [
|
140 |
"Trigo",
|
@@ -147,7 +148,7 @@
|
|
147 |
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide",
|
148 |
"amount_per_sq_m": 5,
|
149 |
"crop_stage": [
|
150 |
-
"pre"
|
151 |
],
|
152 |
"crop_type": [
|
153 |
"Maíz",
|
@@ -160,7 +161,7 @@
|
|
160 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
161 |
"amount_per_sq_m": 8,
|
162 |
"crop_stage": [
|
163 |
-
"post"
|
164 |
],
|
165 |
"crop_type": [
|
166 |
"Cebada",
|
@@ -173,7 +174,7 @@
|
|
173 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
174 |
"amount_per_sq_m": 10,
|
175 |
"crop_stage": [
|
176 |
-
"pre"
|
177 |
],
|
178 |
"crop_type": [
|
179 |
"Arroz",
|
@@ -187,7 +188,7 @@
|
|
187 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
188 |
"amount_per_sq_m": 18,
|
189 |
"crop_stage": [
|
190 |
-
"post"
|
191 |
],
|
192 |
"crop_type": [
|
193 |
"Soja",
|
@@ -211,7 +212,7 @@
|
|
211 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
212 |
"amount_per_sq_m": 18,
|
213 |
"crop_stage": [
|
214 |
-
"post"
|
215 |
],
|
216 |
"crop_type": [
|
217 |
"Arroz",
|
@@ -224,7 +225,7 @@
|
|
224 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
225 |
"amount_per_sq_m": 15,
|
226 |
"crop_stage": [
|
227 |
-
"post"
|
228 |
],
|
229 |
"crop_type": [
|
230 |
"Soja",
|
@@ -239,7 +240,7 @@
|
|
239 |
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ultramax-herbicide",
|
240 |
"amount_per_sq_m": 10,
|
241 |
"crop_stage": [
|
242 |
-
"pre"
|
243 |
],
|
244 |
"crop_type": [
|
245 |
"Soja",
|
@@ -255,7 +256,7 @@
|
|
255 |
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-herbicide-with-plantshield",
|
256 |
"amount_per_sq_m": 3,
|
257 |
"crop_stage": [
|
258 |
-
"pre"
|
259 |
],
|
260 |
"crop_type": [
|
261 |
"Soja",
|
@@ -271,7 +272,7 @@
|
|
271 |
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-pl-herbicide-with-plantshield-technology",
|
272 |
"amount_per_sq_m": 10,
|
273 |
"crop_stage": [
|
274 |
-
"post"
|
275 |
],
|
276 |
"crop_type": [
|
277 |
"Soja",
|
@@ -292,7 +293,7 @@
|
|
292 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
293 |
"amount_per_sq_m": 10,
|
294 |
"crop_stage": [
|
295 |
-
"post"
|
296 |
],
|
297 |
"crop_type": [
|
298 |
"Trigo",
|
@@ -305,7 +306,7 @@
|
|
305 |
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide",
|
306 |
"amount_per_sq_m": 5,
|
307 |
"crop_stage": [
|
308 |
-
"pre"
|
309 |
],
|
310 |
"crop_type": [
|
311 |
"Maíz",
|
@@ -318,7 +319,7 @@
|
|
318 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
319 |
"amount_per_sq_m": 8,
|
320 |
"crop_stage": [
|
321 |
-
"post"
|
322 |
],
|
323 |
"crop_type": [
|
324 |
"Cebada",
|
@@ -331,7 +332,7 @@
|
|
331 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
332 |
"amount_per_sq_m": 10,
|
333 |
"crop_stage": [
|
334 |
-
"pre"
|
335 |
],
|
336 |
"crop_type": [
|
337 |
"Arroz",
|
@@ -345,7 +346,7 @@
|
|
345 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
346 |
"amount_per_sq_m": 18,
|
347 |
"crop_stage": [
|
348 |
-
"post"
|
349 |
],
|
350 |
"crop_type": [
|
351 |
"Soja",
|
@@ -369,7 +370,7 @@
|
|
369 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
370 |
"amount_per_sq_m": 18,
|
371 |
"crop_stage": [
|
372 |
-
"post"
|
373 |
],
|
374 |
"crop_type": [
|
375 |
"Arroz",
|
@@ -382,7 +383,7 @@
|
|
382 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
383 |
"amount_per_sq_m": 12,
|
384 |
"crop_stage": [
|
385 |
-
"pre"
|
386 |
],
|
387 |
"crop_type": [
|
388 |
"Arroz",
|
@@ -395,8 +396,8 @@
|
|
395 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
396 |
"amount_per_sq_m": 10,
|
397 |
"crop_stage": [
|
398 |
-
"post",
|
399 |
-
"pre"
|
400 |
],
|
401 |
"crop_type": [
|
402 |
"Soja",
|
@@ -421,8 +422,8 @@
|
|
421 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
422 |
"amount_per_sq_m": 10,
|
423 |
"crop_stage": [
|
424 |
-
"post",
|
425 |
-
"pre"
|
426 |
],
|
427 |
"crop_type": [
|
428 |
"Arroz",
|
@@ -440,8 +441,8 @@
|
|
440 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
441 |
"amount_per_sq_m": 10,
|
442 |
"crop_stage": [
|
443 |
-
"post",
|
444 |
-
"pre"
|
445 |
],
|
446 |
"crop_type": [
|
447 |
"Soja",
|
@@ -460,7 +461,7 @@
|
|
460 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
461 |
"amount_per_sq_m": 18,
|
462 |
"crop_stage": [
|
463 |
-
"post"
|
464 |
],
|
465 |
"crop_type": [
|
466 |
"Soja",
|
@@ -479,7 +480,7 @@
|
|
479 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
480 |
"amount_per_sq_m": 10,
|
481 |
"crop_stage": [
|
482 |
-
"pre"
|
483 |
],
|
484 |
"crop_type": [
|
485 |
"Arroz",
|
@@ -492,7 +493,7 @@
|
|
492 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
493 |
"amount_per_sq_m": 10,
|
494 |
"crop_stage": [
|
495 |
-
"post"
|
496 |
],
|
497 |
"crop_type": [
|
498 |
"Soja",
|
@@ -511,13 +512,14 @@
|
|
511 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
512 |
"amount_per_sq_m": 15,
|
513 |
"crop_stage": [
|
514 |
-
"post"
|
515 |
],
|
516 |
"crop_type": [
|
517 |
"Soja",
|
518 |
"Maíz",
|
519 |
"Girasol",
|
520 |
-
"Pasturas"
|
|
|
521 |
]
|
522 |
},
|
523 |
{
|
@@ -526,7 +528,7 @@
|
|
526 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
527 |
"amount_per_sq_m": 8,
|
528 |
"crop_stage": [
|
529 |
-
"pre"
|
530 |
],
|
531 |
"crop_type": [
|
532 |
"Cebada",
|
@@ -539,7 +541,7 @@
|
|
539 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
540 |
"amount_per_sq_m": 12,
|
541 |
"crop_stage": [
|
542 |
-
"pre"
|
543 |
],
|
544 |
"crop_type": [
|
545 |
"Arroz",
|
@@ -557,7 +559,7 @@
|
|
557 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
558 |
"amount_per_sq_m": 10,
|
559 |
"crop_stage": [
|
560 |
-
"post"
|
561 |
],
|
562 |
"crop_type": [
|
563 |
"Trigo",
|
@@ -570,7 +572,7 @@
|
|
570 |
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide",
|
571 |
"amount_per_sq_m": 5,
|
572 |
"crop_stage": [
|
573 |
-
"pre"
|
574 |
],
|
575 |
"crop_type": [
|
576 |
"Maíz",
|
@@ -583,7 +585,7 @@
|
|
583 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
584 |
"amount_per_sq_m": 8,
|
585 |
"crop_stage": [
|
586 |
-
"post"
|
587 |
],
|
588 |
"crop_type": [
|
589 |
"Cebada",
|
@@ -596,7 +598,7 @@
|
|
596 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
597 |
"amount_per_sq_m": 10,
|
598 |
"crop_stage": [
|
599 |
-
"pre"
|
600 |
],
|
601 |
"crop_type": [
|
602 |
"Arroz",
|
@@ -610,7 +612,7 @@
|
|
610 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
611 |
"amount_per_sq_m": 18,
|
612 |
"crop_stage": [
|
613 |
-
"post"
|
614 |
],
|
615 |
"crop_type": [
|
616 |
"Soja",
|
@@ -634,8 +636,8 @@
|
|
634 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
635 |
"amount_per_sq_m": 10,
|
636 |
"crop_stage": [
|
637 |
-
"post",
|
638 |
-
"pre"
|
639 |
],
|
640 |
"crop_type": [
|
641 |
"Soja",
|
@@ -654,7 +656,7 @@
|
|
654 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
655 |
"amount_per_sq_m": 18,
|
656 |
"crop_stage": [
|
657 |
-
"post"
|
658 |
],
|
659 |
"crop_type": [
|
660 |
"Soja",
|
@@ -673,7 +675,7 @@
|
|
673 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
674 |
"amount_per_sq_m": 10,
|
675 |
"crop_stage": [
|
676 |
-
"pre"
|
677 |
],
|
678 |
"crop_type": [
|
679 |
"Arroz",
|
@@ -686,7 +688,7 @@
|
|
686 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
687 |
"amount_per_sq_m": 10,
|
688 |
"crop_stage": [
|
689 |
-
"post"
|
690 |
],
|
691 |
"crop_type": [
|
692 |
"Soja",
|
@@ -705,7 +707,7 @@
|
|
705 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
706 |
"amount_per_sq_m": 15,
|
707 |
"crop_stage": [
|
708 |
-
"post"
|
709 |
],
|
710 |
"crop_type": [
|
711 |
"Soja",
|
@@ -720,7 +722,7 @@
|
|
720 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
721 |
"amount_per_sq_m": 8,
|
722 |
"crop_stage": [
|
723 |
-
"pre"
|
724 |
],
|
725 |
"crop_type": [
|
726 |
"Cebada",
|
@@ -733,7 +735,7 @@
|
|
733 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
734 |
"amount_per_sq_m": 12,
|
735 |
"crop_stage": [
|
736 |
-
"pre"
|
737 |
],
|
738 |
"crop_type": [
|
739 |
"Arroz",
|
@@ -751,8 +753,8 @@
|
|
751 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
752 |
"amount_per_sq_m": 10,
|
753 |
"crop_stage": [
|
754 |
-
"post",
|
755 |
-
"pre"
|
756 |
],
|
757 |
"crop_type": [
|
758 |
"Soja",
|
@@ -771,7 +773,7 @@
|
|
771 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
772 |
"amount_per_sq_m": 18,
|
773 |
"crop_stage": [
|
774 |
-
"post"
|
775 |
],
|
776 |
"crop_type": [
|
777 |
"Soja",
|
@@ -790,7 +792,7 @@
|
|
790 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
791 |
"amount_per_sq_m": 10,
|
792 |
"crop_stage": [
|
793 |
-
"pre"
|
794 |
],
|
795 |
"crop_type": [
|
796 |
"Arroz",
|
@@ -803,7 +805,7 @@
|
|
803 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
804 |
"amount_per_sq_m": 10,
|
805 |
"crop_stage": [
|
806 |
-
"post"
|
807 |
],
|
808 |
"crop_type": [
|
809 |
"Soja",
|
@@ -822,7 +824,7 @@
|
|
822 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
823 |
"amount_per_sq_m": 15,
|
824 |
"crop_stage": [
|
825 |
-
"post"
|
826 |
],
|
827 |
"crop_type": [
|
828 |
"Soja",
|
@@ -837,7 +839,7 @@
|
|
837 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
838 |
"amount_per_sq_m": 8,
|
839 |
"crop_stage": [
|
840 |
-
"pre"
|
841 |
],
|
842 |
"crop_type": [
|
843 |
"Cebada",
|
@@ -850,7 +852,7 @@
|
|
850 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
851 |
"amount_per_sq_m": 12,
|
852 |
"crop_stage": [
|
853 |
-
"pre"
|
854 |
],
|
855 |
"crop_type": [
|
856 |
"Arroz",
|
@@ -868,8 +870,8 @@
|
|
868 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
869 |
"amount_per_sq_m": 10,
|
870 |
"crop_stage": [
|
871 |
-
"post",
|
872 |
-
"pre"
|
873 |
],
|
874 |
"crop_type": [
|
875 |
"Soja",
|
@@ -888,7 +890,7 @@
|
|
888 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
889 |
"amount_per_sq_m": 18,
|
890 |
"crop_stage": [
|
891 |
-
"post"
|
892 |
],
|
893 |
"crop_type": [
|
894 |
"Soja",
|
@@ -907,7 +909,7 @@
|
|
907 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
908 |
"amount_per_sq_m": 10,
|
909 |
"crop_stage": [
|
910 |
-
"pre"
|
911 |
],
|
912 |
"crop_type": [
|
913 |
"Arroz",
|
@@ -920,7 +922,7 @@
|
|
920 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
921 |
"amount_per_sq_m": 10,
|
922 |
"crop_stage": [
|
923 |
-
"post"
|
924 |
],
|
925 |
"crop_type": [
|
926 |
"Soja",
|
@@ -939,7 +941,7 @@
|
|
939 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
940 |
"amount_per_sq_m": 15,
|
941 |
"crop_stage": [
|
942 |
-
"post"
|
943 |
],
|
944 |
"crop_type": [
|
945 |
"Soja",
|
@@ -954,7 +956,7 @@
|
|
954 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
955 |
"amount_per_sq_m": 8,
|
956 |
"crop_stage": [
|
957 |
-
"pre"
|
958 |
],
|
959 |
"crop_type": [
|
960 |
"Cebada",
|
@@ -967,7 +969,7 @@
|
|
967 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
968 |
"amount_per_sq_m": 12,
|
969 |
"crop_stage": [
|
970 |
-
"pre"
|
971 |
],
|
972 |
"crop_type": [
|
973 |
"Arroz",
|
|
|
8 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
9 |
"amount_per_sq_m": 8,
|
10 |
"crop_stage": [
|
11 |
+
"post-emergencia"
|
12 |
],
|
13 |
"crop_type": [
|
14 |
"Cebada",
|
15 |
+
"Trigo",
|
16 |
+
"Arroz"
|
17 |
]
|
18 |
},
|
19 |
{
|
|
|
22 |
"url": "https://cropscience.bayer.com.ar/latium-super-0",
|
23 |
"amount_per_sq_m": 10,
|
24 |
"crop_stage": [
|
25 |
+
"post-emergencia"
|
26 |
],
|
27 |
"crop_type": [
|
28 |
"Soja",
|
|
|
41 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Atlantis-Activ",
|
42 |
"amount_per_sq_m": 10,
|
43 |
"crop_stage": [
|
44 |
+
"pre-emergencia"
|
45 |
],
|
46 |
"crop_type": [
|
47 |
"Arroz",
|
|
|
54 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
55 |
"amount_per_sq_m": 10,
|
56 |
"crop_stage": [
|
57 |
+
"pre-emergencia"
|
58 |
],
|
59 |
"crop_type": [
|
60 |
"Arroz",
|
|
|
72 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
73 |
"amount_per_sq_m": 8,
|
74 |
"crop_stage": [
|
75 |
+
"post-emergencia"
|
76 |
],
|
77 |
"crop_type": [
|
78 |
"Cebada",
|
|
|
85 |
"url": "https://cropscience.bayer.com.ar/latium-super-0",
|
86 |
"amount_per_sq_m": 10,
|
87 |
"crop_stage": [
|
88 |
+
"post-emergencia"
|
89 |
],
|
90 |
"crop_type": [
|
91 |
"Soja",
|
|
|
104 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Atlantis-Activ",
|
105 |
"amount_per_sq_m": 10,
|
106 |
"crop_stage": [
|
107 |
+
"pre-emergencia"
|
108 |
],
|
109 |
"crop_type": [
|
110 |
"Arroz",
|
|
|
117 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
118 |
"amount_per_sq_m": 10,
|
119 |
"crop_stage": [
|
120 |
+
"pre-emergencia"
|
121 |
],
|
122 |
"crop_type": [
|
123 |
"Arroz",
|
|
|
135 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
136 |
"amount_per_sq_m": 10,
|
137 |
"crop_stage": [
|
138 |
+
"post-emergencia"
|
139 |
],
|
140 |
"crop_type": [
|
141 |
"Trigo",
|
|
|
148 |
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide",
|
149 |
"amount_per_sq_m": 5,
|
150 |
"crop_stage": [
|
151 |
+
"pre-emergencia"
|
152 |
],
|
153 |
"crop_type": [
|
154 |
"Maíz",
|
|
|
161 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
162 |
"amount_per_sq_m": 8,
|
163 |
"crop_stage": [
|
164 |
+
"post-emergencia"
|
165 |
],
|
166 |
"crop_type": [
|
167 |
"Cebada",
|
|
|
174 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
175 |
"amount_per_sq_m": 10,
|
176 |
"crop_stage": [
|
177 |
+
"pre-emergencia"
|
178 |
],
|
179 |
"crop_type": [
|
180 |
"Arroz",
|
|
|
188 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
189 |
"amount_per_sq_m": 18,
|
190 |
"crop_stage": [
|
191 |
+
"post-emergencia"
|
192 |
],
|
193 |
"crop_type": [
|
194 |
"Soja",
|
|
|
212 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
213 |
"amount_per_sq_m": 18,
|
214 |
"crop_stage": [
|
215 |
+
"post-emergencia"
|
216 |
],
|
217 |
"crop_type": [
|
218 |
"Arroz",
|
|
|
225 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
226 |
"amount_per_sq_m": 15,
|
227 |
"crop_stage": [
|
228 |
+
"post-emergencia"
|
229 |
],
|
230 |
"crop_type": [
|
231 |
"Soja",
|
|
|
240 |
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ultramax-herbicide",
|
241 |
"amount_per_sq_m": 10,
|
242 |
"crop_stage": [
|
243 |
+
"pre-emergencia"
|
244 |
],
|
245 |
"crop_type": [
|
246 |
"Soja",
|
|
|
256 |
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-herbicide-with-plantshield",
|
257 |
"amount_per_sq_m": 3,
|
258 |
"crop_stage": [
|
259 |
+
"pre-emergencia"
|
260 |
],
|
261 |
"crop_type": [
|
262 |
"Soja",
|
|
|
272 |
"url": "https://www.crop.bayer.com.au/products/herbicides/roundup-ready-pl-herbicide-with-plantshield-technology",
|
273 |
"amount_per_sq_m": 10,
|
274 |
"crop_stage": [
|
275 |
+
"post-emergencia"
|
276 |
],
|
277 |
"crop_type": [
|
278 |
"Soja",
|
|
|
293 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
294 |
"amount_per_sq_m": 10,
|
295 |
"crop_stage": [
|
296 |
+
"post-emergencia"
|
297 |
],
|
298 |
"crop_type": [
|
299 |
"Trigo",
|
|
|
306 |
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide",
|
307 |
"amount_per_sq_m": 5,
|
308 |
"crop_stage": [
|
309 |
+
"pre-emergencia"
|
310 |
],
|
311 |
"crop_type": [
|
312 |
"Maíz",
|
|
|
319 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
320 |
"amount_per_sq_m": 8,
|
321 |
"crop_stage": [
|
322 |
+
"post-emergencia"
|
323 |
],
|
324 |
"crop_type": [
|
325 |
"Cebada",
|
|
|
332 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
333 |
"amount_per_sq_m": 10,
|
334 |
"crop_stage": [
|
335 |
+
"pre-emergencia"
|
336 |
],
|
337 |
"crop_type": [
|
338 |
"Arroz",
|
|
|
346 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
347 |
"amount_per_sq_m": 18,
|
348 |
"crop_stage": [
|
349 |
+
"post-emergencia"
|
350 |
],
|
351 |
"crop_type": [
|
352 |
"Soja",
|
|
|
370 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
371 |
"amount_per_sq_m": 18,
|
372 |
"crop_stage": [
|
373 |
+
"post-emergencia"
|
374 |
],
|
375 |
"crop_type": [
|
376 |
"Arroz",
|
|
|
383 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
384 |
"amount_per_sq_m": 12,
|
385 |
"crop_stage": [
|
386 |
+
"pre-emergencia"
|
387 |
],
|
388 |
"crop_type": [
|
389 |
"Arroz",
|
|
|
396 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
397 |
"amount_per_sq_m": 10,
|
398 |
"crop_stage": [
|
399 |
+
"post-emergencia",
|
400 |
+
"pre-emergencia"
|
401 |
],
|
402 |
"crop_type": [
|
403 |
"Soja",
|
|
|
422 |
"url": "https://www.cropscience.bayer.es/Productos/Herbicidas/Monolith",
|
423 |
"amount_per_sq_m": 10,
|
424 |
"crop_stage": [
|
425 |
+
"post-emergencia",
|
426 |
+
"pre-emergencia"
|
427 |
],
|
428 |
"crop_type": [
|
429 |
"Arroz",
|
|
|
441 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
442 |
"amount_per_sq_m": 10,
|
443 |
"crop_stage": [
|
444 |
+
"post-emergencia",
|
445 |
+
"pre-emergencia"
|
446 |
],
|
447 |
"crop_type": [
|
448 |
"Soja",
|
|
|
461 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
462 |
"amount_per_sq_m": 18,
|
463 |
"crop_stage": [
|
464 |
+
"post-emergencia"
|
465 |
],
|
466 |
"crop_type": [
|
467 |
"Soja",
|
|
|
480 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
481 |
"amount_per_sq_m": 10,
|
482 |
"crop_stage": [
|
483 |
+
"pre-emergencia"
|
484 |
],
|
485 |
"crop_type": [
|
486 |
"Arroz",
|
|
|
493 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
494 |
"amount_per_sq_m": 10,
|
495 |
"crop_stage": [
|
496 |
+
"post-emergencia"
|
497 |
],
|
498 |
"crop_type": [
|
499 |
"Soja",
|
|
|
512 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
513 |
"amount_per_sq_m": 15,
|
514 |
"crop_stage": [
|
515 |
+
"post-emergencia"
|
516 |
],
|
517 |
"crop_type": [
|
518 |
"Soja",
|
519 |
"Maíz",
|
520 |
"Girasol",
|
521 |
+
"Pasturas",
|
522 |
+
"Arroz"
|
523 |
]
|
524 |
},
|
525 |
{
|
|
|
528 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
529 |
"amount_per_sq_m": 8,
|
530 |
"crop_stage": [
|
531 |
+
"pre-emergencia"
|
532 |
],
|
533 |
"crop_type": [
|
534 |
"Cebada",
|
|
|
541 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
542 |
"amount_per_sq_m": 12,
|
543 |
"crop_stage": [
|
544 |
+
"pre-emergencia"
|
545 |
],
|
546 |
"crop_type": [
|
547 |
"Arroz",
|
|
|
559 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
560 |
"amount_per_sq_m": 10,
|
561 |
"crop_stage": [
|
562 |
+
"post-emergencia"
|
563 |
],
|
564 |
"crop_type": [
|
565 |
"Trigo",
|
|
|
572 |
"url": "https://www.crop.bayer.com.au/products/herbicides/precept-selective-herbicide",
|
573 |
"amount_per_sq_m": 5,
|
574 |
"crop_stage": [
|
575 |
+
"pre-emergencia"
|
576 |
],
|
577 |
"crop_type": [
|
578 |
"Maíz",
|
|
|
585 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
586 |
"amount_per_sq_m": 8,
|
587 |
"crop_stage": [
|
588 |
+
"post-emergencia"
|
589 |
],
|
590 |
"crop_type": [
|
591 |
"Cebada",
|
|
|
598 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
599 |
"amount_per_sq_m": 10,
|
600 |
"crop_stage": [
|
601 |
+
"pre-emergencia"
|
602 |
],
|
603 |
"crop_type": [
|
604 |
"Arroz",
|
|
|
612 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
613 |
"amount_per_sq_m": 18,
|
614 |
"crop_stage": [
|
615 |
+
"post-emergencia"
|
616 |
],
|
617 |
"crop_type": [
|
618 |
"Soja",
|
|
|
636 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
637 |
"amount_per_sq_m": 10,
|
638 |
"crop_stage": [
|
639 |
+
"post-emergencia",
|
640 |
+
"pre-emergencia"
|
641 |
],
|
642 |
"crop_type": [
|
643 |
"Soja",
|
|
|
656 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
657 |
"amount_per_sq_m": 18,
|
658 |
"crop_stage": [
|
659 |
+
"post-emergencia"
|
660 |
],
|
661 |
"crop_type": [
|
662 |
"Soja",
|
|
|
675 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
676 |
"amount_per_sq_m": 10,
|
677 |
"crop_stage": [
|
678 |
+
"pre-emergencia"
|
679 |
],
|
680 |
"crop_type": [
|
681 |
"Arroz",
|
|
|
688 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
689 |
"amount_per_sq_m": 10,
|
690 |
"crop_stage": [
|
691 |
+
"post-emergencia"
|
692 |
],
|
693 |
"crop_type": [
|
694 |
"Soja",
|
|
|
707 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
708 |
"amount_per_sq_m": 15,
|
709 |
"crop_stage": [
|
710 |
+
"post-emergencia"
|
711 |
],
|
712 |
"crop_type": [
|
713 |
"Soja",
|
|
|
722 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
723 |
"amount_per_sq_m": 8,
|
724 |
"crop_stage": [
|
725 |
+
"pre-emergencia"
|
726 |
],
|
727 |
"crop_type": [
|
728 |
"Cebada",
|
|
|
735 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
736 |
"amount_per_sq_m": 12,
|
737 |
"crop_stage": [
|
738 |
+
"pre-emergencia"
|
739 |
],
|
740 |
"crop_type": [
|
741 |
"Arroz",
|
|
|
753 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
754 |
"amount_per_sq_m": 10,
|
755 |
"crop_stage": [
|
756 |
+
"post-emergencia",
|
757 |
+
"pre-emergencia"
|
758 |
],
|
759 |
"crop_type": [
|
760 |
"Soja",
|
|
|
773 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
774 |
"amount_per_sq_m": 18,
|
775 |
"crop_stage": [
|
776 |
+
"post-emergencia"
|
777 |
],
|
778 |
"crop_type": [
|
779 |
"Soja",
|
|
|
792 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
793 |
"amount_per_sq_m": 10,
|
794 |
"crop_stage": [
|
795 |
+
"pre-emergencia"
|
796 |
],
|
797 |
"crop_type": [
|
798 |
"Arroz",
|
|
|
805 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
806 |
"amount_per_sq_m": 10,
|
807 |
"crop_stage": [
|
808 |
+
"post-emergencia"
|
809 |
],
|
810 |
"crop_type": [
|
811 |
"Soja",
|
|
|
824 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
825 |
"amount_per_sq_m": 15,
|
826 |
"crop_stage": [
|
827 |
+
"post-emergencia"
|
828 |
],
|
829 |
"crop_type": [
|
830 |
"Soja",
|
|
|
839 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
840 |
"amount_per_sq_m": 8,
|
841 |
"crop_stage": [
|
842 |
+
"pre-emergencia"
|
843 |
],
|
844 |
"crop_type": [
|
845 |
"Cebada",
|
|
|
852 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
853 |
"amount_per_sq_m": 12,
|
854 |
"crop_stage": [
|
855 |
+
"pre-emergencia"
|
856 |
],
|
857 |
"crop_type": [
|
858 |
"Arroz",
|
|
|
870 |
"url": "https://www.crop.bayer.com.au/products/herbicides/velocity-selective-herbicide",
|
871 |
"amount_per_sq_m": 10,
|
872 |
"crop_stage": [
|
873 |
+
"post-emergencia",
|
874 |
+
"pre-emergencia"
|
875 |
],
|
876 |
"crop_type": [
|
877 |
"Soja",
|
|
|
890 |
"url": "https://www.crop.bayer.com.au/products/herbicides/betanal-flow-160-se-herbicide",
|
891 |
"amount_per_sq_m": 18,
|
892 |
"crop_stage": [
|
893 |
+
"post-emergencia"
|
894 |
],
|
895 |
"crop_type": [
|
896 |
"Soja",
|
|
|
909 |
"url": "https://www.crop.bayer.com.au/products/herbicides/tramat-500-sc-selective-herbicide",
|
910 |
"amount_per_sq_m": 10,
|
911 |
"crop_stage": [
|
912 |
+
"pre-emergencia"
|
913 |
],
|
914 |
"crop_type": [
|
915 |
"Arroz",
|
|
|
922 |
"url": "https://cropscience.bayer.pt/internet/noticias/noticia.asp?id=544",
|
923 |
"amount_per_sq_m": 10,
|
924 |
"crop_stage": [
|
925 |
+
"post-emergencia"
|
926 |
],
|
927 |
"crop_type": [
|
928 |
"Soja",
|
|
|
941 |
"url": "https://www.crop.bayer.com.au/products/herbicides/brodal-options-selective-herbicide",
|
942 |
"amount_per_sq_m": 15,
|
943 |
"crop_stage": [
|
944 |
+
"post-emergencia"
|
945 |
],
|
946 |
"crop_type": [
|
947 |
"Soja",
|
|
|
956 |
"url": "https://www.crop.bayer.com.au/products/herbicides/hussar-od-selective-herbicide",
|
957 |
"amount_per_sq_m": 8,
|
958 |
"crop_stage": [
|
959 |
+
"pre-emergencia"
|
960 |
],
|
961 |
"crop_type": [
|
962 |
"Cebada",
|
|
|
969 |
"url": "https://www.crop.bayer.com.au/products/herbicides/sencor-480-sc-selective-herbicide",
|
970 |
"amount_per_sq_m": 12,
|
971 |
"crop_stage": [
|
972 |
+
"pre-emergencia"
|
973 |
],
|
974 |
"crop_type": [
|
975 |
"Arroz",
|
app.py
CHANGED
@@ -4,7 +4,7 @@ import json
|
|
4 |
# %% auto 0
|
5 |
__all__ = ['learn', 'labels', 'article', 'title', 'description', 'examples', 'interpretation', 'enable_queue', 'predict']
|
6 |
CROPS = ["Maíz", "Soja", "Cebada", "Trigo", "Arroz", "Otro"]
|
7 |
-
STATE = ["pre", "post", "ambos"]
|
8 |
LOCATION = ["Provincia de Buenos Aires", "Provincia de Catamarca", "Provincia del Chaco", "Provincia del Chubut", "Provincia de Córdoba", "Provincia de Corrientes", "Provincia de Entre Ríos", "Provincia de Formosa", "Provincia de Jujuy", "Provincia de La Pampa", "Provincia de La Rioja", "Provincia de Mendoza", "Provincia de Misiones", "Provincia del Neuquén", "Provincia de Río Negro", "Provincia de Salta", "Provincia de San Juan", "Provincia de San Luis", "Provincia de Santa Cruz", "Provincia de Santa Fe", "Provincia de Santiago del Estero", "Provincia de Tierra del Fuego, Antártida e Islas del Atlántico Sur", "Provincia de Tucumán"]
|
9 |
# %% ../weed_classifier.ipynb 1
|
10 |
from fastai.vision.all import *
|
@@ -62,7 +62,7 @@ def display_output(weed_name, recommendations, crop, area, state, location):
|
|
62 |
product_name = product["name"]
|
63 |
product_img = product["img"]
|
64 |
product_url = product["url"]
|
65 |
-
product_amount = float(product["amount_per_sq_m"]) * float(area)
|
66 |
|
67 |
for product_info in providers["product_suppliers"]:
|
68 |
if product_info["product_name"] == product_name:
|
@@ -153,7 +153,6 @@ description = '''
|
|
153 |
|
154 |
<div style="padding: 50px 20px">
|
155 |
<p style="text-align:center">Descubre nuestra plataforma diseñada para facilitar la selección de herbicidas de Bayer de manera eficiente. Captura imágenes con tu dispositivo móvil y recibe recomendaciones precisas basadas en las necesidades específicas de tu terreno.</p>
|
156 |
-
|
157 |
</div>
|
158 |
'''
|
159 |
examples = [ 'FatHen.png', 'Loose Silky-bent.png', 'CommonChickweed.png', 'cleavers.png', 'ShepherdsPurse.png', 'Black-grass.png', 'blackgrass-mature.jpg','Shepered_purse.jpeg' ]
|
@@ -184,11 +183,13 @@ with gr.Blocks(title="BAYER", css=".gradio-container {margin-top:10px !important
|
|
184 |
with gr.Column(scale=2):
|
185 |
with gr.Row():
|
186 |
with gr.Column(scale=1):
|
187 |
-
crop = gr.Dropdown(CROPS, label="Cultivo", info="¿Qué cultivo hay plantado?")
|
188 |
area = gr.Number(value=1000, label="Superficie", info="¿Cuántos metros cuadrados ocupa la maleza?")
|
189 |
-
state = gr.Dropdown(STATE, label="Estado", info="¿En qué estado de crecimiento está el cultivo?")
|
190 |
-
location = gr.Dropdown(LOCATION, label="Provincia de Buenos Aires", info="¿En qué provincia está tu cultivo")
|
191 |
btn = gr.Button(value="Recomendar")
|
|
|
|
|
192 |
with gr.Row():
|
193 |
output = gr.components.Label(num_top_classes=1)
|
194 |
with gr.Row():
|
|
|
4 |
# %% auto 0
|
5 |
__all__ = ['learn', 'labels', 'article', 'title', 'description', 'examples', 'interpretation', 'enable_queue', 'predict']
|
6 |
CROPS = ["Maíz", "Soja", "Cebada", "Trigo", "Arroz", "Otro"]
|
7 |
+
STATE = ["pre-emergencia", "post-emergencia", "ambos"]
|
8 |
LOCATION = ["Provincia de Buenos Aires", "Provincia de Catamarca", "Provincia del Chaco", "Provincia del Chubut", "Provincia de Córdoba", "Provincia de Corrientes", "Provincia de Entre Ríos", "Provincia de Formosa", "Provincia de Jujuy", "Provincia de La Pampa", "Provincia de La Rioja", "Provincia de Mendoza", "Provincia de Misiones", "Provincia del Neuquén", "Provincia de Río Negro", "Provincia de Salta", "Provincia de San Juan", "Provincia de San Luis", "Provincia de Santa Cruz", "Provincia de Santa Fe", "Provincia de Santiago del Estero", "Provincia de Tierra del Fuego, Antártida e Islas del Atlántico Sur", "Provincia de Tucumán"]
|
9 |
# %% ../weed_classifier.ipynb 1
|
10 |
from fastai.vision.all import *
|
|
|
62 |
product_name = product["name"]
|
63 |
product_img = product["img"]
|
64 |
product_url = product["url"]
|
65 |
+
product_amount = int(float(product["amount_per_sq_m"]) * float(area))
|
66 |
|
67 |
for product_info in providers["product_suppliers"]:
|
68 |
if product_info["product_name"] == product_name:
|
|
|
153 |
|
154 |
<div style="padding: 50px 20px">
|
155 |
<p style="text-align:center">Descubre nuestra plataforma diseñada para facilitar la selección de herbicidas de Bayer de manera eficiente. Captura imágenes con tu dispositivo móvil y recibe recomendaciones precisas basadas en las necesidades específicas de tu terreno.</p>
|
|
|
156 |
</div>
|
157 |
'''
|
158 |
examples = [ 'FatHen.png', 'Loose Silky-bent.png', 'CommonChickweed.png', 'cleavers.png', 'ShepherdsPurse.png', 'Black-grass.png', 'blackgrass-mature.jpg','Shepered_purse.jpeg' ]
|
|
|
183 |
with gr.Column(scale=2):
|
184 |
with gr.Row():
|
185 |
with gr.Column(scale=1):
|
186 |
+
crop = gr.Dropdown(CROPS, label="Cultivo", value="Trigo", info="¿Qué cultivo hay plantado?")
|
187 |
area = gr.Number(value=1000, label="Superficie", info="¿Cuántos metros cuadrados ocupa la maleza?")
|
188 |
+
state = gr.Dropdown(STATE, label="Estado", value="post-emergencia", info="¿En qué estado de crecimiento está el cultivo?")
|
189 |
+
location = gr.Dropdown(LOCATION, label="Provincia", value="Provincia de Buenos Aires", info="¿En qué provincia está tu cultivo")
|
190 |
btn = gr.Button(value="Recomendar")
|
191 |
+
with gr.Row():
|
192 |
+
gr.Markdown("<br><br><h2>Maleza detectada</h2>")
|
193 |
with gr.Row():
|
194 |
output = gr.components.Label(num_top_classes=1)
|
195 |
with gr.Row():
|