Object Detection
ultralytics
English
agriculture
weed-detection
yolo
yolov8
yolo26
precision-agriculture
research
Instructions to use Rmano-Rudeson/weedscan-kz with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Rmano-Rudeson/weedscan-kz with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("Rmano-Rudeson/weedscan-kz", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
File size: 3,276 Bytes
3eba919 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | @tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 40 33% 97%;
--foreground: 25 30% 12%;
--card: 40 25% 95%;
--card-foreground: 25 30% 12%;
--popover: 40 33% 97%;
--popover-foreground: 25 30% 12%;
--primary: 145 45% 28%;
--primary-foreground: 40 33% 97%;
--secondary: 40 35% 90%;
--secondary-foreground: 25 30% 20%;
--muted: 40 20% 92%;
--muted-foreground: 25 15% 45%;
--accent: 42 85% 55%;
--accent-foreground: 25 30% 12%;
--destructive: 0 72% 51%;
--destructive-foreground: 40 33% 97%;
--border: 40 20% 88%;
--input: 40 20% 88%;
--ring: 145 45% 28%;
--radius: 0.75rem;
--sidebar-background: 145 35% 15%;
--sidebar-foreground: 40 33% 92%;
--sidebar-primary: 42 85% 55%;
--sidebar-primary-foreground: 25 30% 12%;
--sidebar-accent: 145 30% 22%;
--sidebar-accent-foreground: 40 33% 92%;
--sidebar-border: 145 25% 25%;
--sidebar-ring: 42 85% 55%;
/* Custom tokens */
--success: 145 55% 38%;
--success-foreground: 40 33% 97%;
--warning: 35 90% 52%;
--warning-foreground: 25 30% 12%;
--info: 200 65% 45%;
--info-foreground: 40 33% 97%;
--gradient-hero: linear-gradient(135deg, hsl(145 45% 28%), hsl(145 35% 18%));
--gradient-accent: linear-gradient(135deg, hsl(42 85% 55%), hsl(35 90% 48%));
--gradient-card: linear-gradient(180deg, hsl(40 25% 95%), hsl(40 20% 92%));
--shadow-card: 0 2px 12px -4px hsl(25 30% 12% / 0.08);
--shadow-elevated: 0 8px 30px -8px hsl(25 30% 12% / 0.12);
--shadow-glow: 0 0 20px hsl(145 45% 28% / 0.15);
}
.dark {
--background: 145 20% 8%;
--foreground: 40 20% 92%;
--card: 145 18% 12%;
--card-foreground: 40 20% 92%;
--popover: 145 18% 12%;
--popover-foreground: 40 20% 92%;
--primary: 145 50% 45%;
--primary-foreground: 145 20% 8%;
--secondary: 145 15% 18%;
--secondary-foreground: 40 20% 85%;
--muted: 145 12% 16%;
--muted-foreground: 40 10% 55%;
--accent: 42 80% 50%;
--accent-foreground: 145 20% 8%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 40 20% 92%;
--border: 145 12% 20%;
--input: 145 12% 20%;
--ring: 145 50% 45%;
--sidebar-background: 145 20% 6%;
--sidebar-foreground: 40 20% 90%;
--sidebar-primary: 42 80% 50%;
--sidebar-primary-foreground: 145 20% 8%;
--sidebar-accent: 145 15% 14%;
--sidebar-accent-foreground: 40 20% 90%;
--sidebar-border: 145 12% 18%;
--sidebar-ring: 42 80% 50%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground antialiased;
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
}
@layer utilities {
.text-gradient-primary {
background: var(--gradient-hero);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.bg-gradient-hero {
background: var(--gradient-hero);
}
.bg-gradient-accent {
background: var(--gradient-accent);
}
.shadow-card {
box-shadow: var(--shadow-card);
}
.shadow-elevated {
box-shadow: var(--shadow-elevated);
}
.shadow-glow {
box-shadow: var(--shadow-glow);
}
}
|