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/App.tsx from Rmano-Rudeson/weedscan-kz: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/Rmano-Rudeson/weedscan-kz/resolve/main/web/src/App.tsx
- Command line
-
hf download hf://Rmano-Rudeson/weedscan-kz/web/src/App.tsx
-
curl -L -o App.tsx https://huggingface.co/Rmano-Rudeson/weedscan-kz/resolve/main/web/src/App.tsx
1.1 kB
| import { Toaster } from "@/components/ui/toaster"; | |
| import { Toaster as Sonner } from "@/components/ui/sonner"; | |
| import { TooltipProvider } from "@/components/ui/tooltip"; | |
| import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; | |
| import { BrowserRouter, Routes, Route } from "react-router-dom"; | |
| import Navbar from "@/components/Navbar"; | |
| import Index from "./pages/Index"; | |
| import AnalyzePage from "./pages/AnalyzePage"; | |
| import FieldPage from "./pages/FieldPage"; | |
| import NotFound from "./pages/NotFound"; | |
| const queryClient = new QueryClient(); | |
| const App = () => ( | |
| <QueryClientProvider client={queryClient}> | |
| <TooltipProvider> | |
| <Toaster /> | |
| <Sonner /> | |
| <BrowserRouter basename="/charm-glow-up"> | |
| <Navbar /> | |
| <Routes> | |
| <Route path="/" element={<Index />} /> | |
| <Route path="/analyze" element={<AnalyzePage />} /> | |
| <Route path="/field" element={<FieldPage />} /> | |
| <Route path="*" element={<NotFound />} /> | |
| </Routes> | |
| </BrowserRouter> | |
| </TooltipProvider> | |
| </QueryClientProvider> | |
| ); | |
| export default App; | |