Skip to content

Assessing TensorRT Optimization on Object Detection Accuracy for Agricultural Edge Deployment

2026 · Journal of the ASABE · 0 citations

Abstract

Highlights The effect of TensorRT optimization on mean average precision (mAP), precision, and recall was evaluated on variants of YOLOV7 and YOLO11 algorithms across NVIDIA Jetson Nano and NVIDIA Jetson Xavier using soybean and weed imagery datasets. TensorRT FP16 optimization introduced no statistically significant degradation in mAP, precision, or recall. TensorRT INT8 optimization significantly degraded detection performance in three of four model–dataset conditions, with recall being the most sensitive metric. YOLO11 was 12 times less sensitive to INT8 quantization than YOLOV7 on the soybean dataset. The insights from this study help to guide the deployment of AI algorithms on edge devices. ABSTRACT. This research explores the critical intersection of deep learning and edge computing for agricultural applications. Deep learning methodologies advance how we identify and locate key elements within agricultural landscapes, from livestock to crops, weeds, and diseases. For autonomous agricultural systems operating in remote areas with limited connectivity, edge devices performing real-time detections are essential for functions such as phenotyping, weed and disease identification and mitigation, nutrient deficiency estimation, precise nutrient application, yield prediction, and crop harvesting. However, when complex detection models trained on high-performance systems are deployed to edge devices with limited computational capacities, metrics like mean average precision (mAP) and inference time often suffer. While previous studies have used TensorRT optimization to enhance detection performance on edge devices, a knowledge gap exists regarding how this optimization affects metrics beyond inference speed. This study statistically evaluates the effects of model architecture (YOLOv7, YOLOv7-tiny, YOLO11m, and YOLO11n), input image size (640 × 640, 320 × 320, and 256 × 256), edge deployment platform (NVIDIA Jetson Xavier AGX, and Jetson Nano), and TensorRT optimization level (unoptimized PyTorch FP16, TensorRT FP16, and TensorRT INT8) on mean average precision (mAP@0.5), precision, and recall metrics. The experiments involved fine-tuning the YOLO models using an open-source multiclass Weed25 dataset and a custom soybean plant dataset captured via unmanned aerial vehicles (UAVs) between 2020 and 2022, optimizing the models using TensorRT, and testing on the edge platforms. The study revealed that model architecture significantly affected mAP only on the multi-class Weed25 dataset, with YOLOv7 outperforming YOLOv7-tiny by 8.3% points and YOLO11m outperforming YOLO11n by 1.6% points. Single-class soybean detection showed no significant model effect for either YOLOV7 or YOLO11. TensorRT INT8 significantly degraded performance in three of four model–dataset conditions, with recall being the most sensitive metric (F = 39.35, p < 0.0001 for YOLOv7 on soybean), while YOLO11 on Weed25 had no performance degradation due to INT8 optimization. These findings provide actionable guidelines for deploying optimized YOLO models on resource-constrained edge devices in agricultural applications, demonstrating that INT8 should be applied selectively, and YOLO11 represents a substantial improvement in both absolute accuracy and quantization robustness over YOLOV7. Keywords: Deep learning, Edge device, Object detection, Precision agriculture, TensorRT optimization, YOLO.

View source

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.