--- title: LocustGuard emoji: "🦗" colorFrom: green colorTo: yellow sdk: gradio sdk_version: "5.47.2" app_file: app.py pinned: false --- # 🦗 LocustGuard LocustGuard is a powerful computer vision app for detecting and classifying locusts in images or video. Built on **YOLOv8** and **Gradio**, it is designed to help researchers, farmers, and agri-technologists monitor and manage locust infestations at scale. --- ## 🚀 Features - Detects and highlights locusts in static images (JPG, PNG) and video files (MP4, MOV) - Fast inference powered by a custom-trained YOLOv8 model - Intuitive web app interface built with Gradio - Easy deployment on Hugging Face Spaces or locally via GitHub --- ## 💻 Usage ### On Hugging Face Spaces 1. Go to the LocustGuard Space. 2. Wait for the app to launch. 3. Upload an **image** or **video**. 4. View instant locust detection results. --- ## 🧠 Model - The detection model is based on YOLOv8, fine-tuned on a labeled locust dataset. --- ## 🙏 Acknowledgments - [Ultralytics YOLO](https://github.com/ultralytics/ultralytics) - [Hugging Face Spaces](https://huggingface.co/spaces)