Skip to content

agtech223/AgriScout-Beetle-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Learning Driven Edge Inference for Pest Detection in Potato Crops Using the AgriScout Robot

Graph Abstract

Python PyTorch Ultralytics License


🚀 Overview

This repository contains the implementation and evaluation of deep learning models for real-time pest detection in potato crops, specifically optimized for edge inference on the AgriScout robot. The project compares various YOLO architectures to find the optimal balance between accuracy and latency for field deployment.

📥 Data & Weights

💻 Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/AgriScout-Beetle-Detection.git
    cd AgriScout-Beetle-Detection
  2. Install dependencies:

    pip install -r requirements.txt

🏋️ Training

To start the training process for the various YOLO models (v5s, v8s, v9s, v10s, v11s, v12s), use the provided training script. This script is configured with optimized hyperparameters and augmentation settings for agricultural datasets.

python Scripts/Train.py

📊 Evaluation

To evaluate the trained models on the test set and generate comprehensive performance metrics (mAP50, mAP50-95, Precision, Recall), run:

python Scripts/Eval.py

This script performs multiple evaluation runs with different seeds to ensure statistical robustness.

Confusion Matrix

🤖 Edge Inference (Jetson Orin Nano Super)

For deployment on the NVIDIA Jetson Orin Nano Super (JetPack 6), we utilize the official Ultralytics Docker environment to ensure optimized TensorRT performance.

Setup Environment

# Define the image tag
t=ultralytics/ultralytics:latest-jetson-jetpack6

# Pull and run the container with NVIDIA runtime
sudo docker pull $t && sudo docker run -it --ipc=host --runtime=nvidia $t

Run Benchmarks

Once inside the container, execute the inference script to measure latency and throughput:

python Scripts/Inference.py

Inference Result

🐞 Beetle Infestation Mapping

The AgriScout platform generates detailed spatial maps of beetle infestation across potato fields, enabling targeted pest management strategies.

Beetle Infestation Map

This work is part of the research on automated pest management using the AgriScout robotic platform.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages