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
Download web/src/components/ui/progress.tsx from Rmano-Rudeson/weedscan-kz: direct link, hf CLI and curl.
- Browser
- Download file 765 Bytes
-
https://huggingface.co/Rmano-Rudeson/weedscan-kz/resolve/main/web/src/components/ui/progress.tsx
- Command line
-
hf download hf://Rmano-Rudeson/weedscan-kz/web/src/components/ui/progress.tsx
-
curl -L -o progress.tsx https://huggingface.co/Rmano-Rudeson/weedscan-kz/resolve/main/web/src/components/ui/progress.tsx
765 Bytes
| import * as React from "react"; | |
| import * as ProgressPrimitive from "@radix-ui/react-progress"; | |
| import { cn } from "@/lib/utils"; | |
| const Progress = React.forwardRef< | |
| React.ElementRef<typeof ProgressPrimitive.Root>, | |
| React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> | |
| >(({ className, value, ...props }, ref) => ( | |
| <ProgressPrimitive.Root | |
| ref={ref} | |
| className={cn("relative h-4 w-full overflow-hidden rounded-full bg-secondary", className)} | |
| {...props} | |
| > | |
| <ProgressPrimitive.Indicator | |
| className="h-full w-full flex-1 bg-primary transition-all" | |
| style={{ transform: `translateX(-${100 - (value || 0)}%)` }} | |
| /> | |
| </ProgressPrimitive.Root> | |
| )); | |
| Progress.displayName = ProgressPrimitive.Root.displayName; | |
| export { Progress }; | |