Driving by a Publicly Available RGB Image Dataset for Rice Planthopper Detection and Counting by Fusing Swin Transformer and YOLOv8-p2 Architectures in Field Landscapes

Rice (<i>Oryza sativa</i> L.) has long been threatened by the brown planthopper (BPH, <i>Nilaparvata lugens</i>) and white-backed planthopper (WBPH, <i>Sogatella furcifera</i>). It is difficult to detect and count rice planthoppers from RGB images, and there are a...

Full description

Saved in:
Bibliographic Details
Main Authors: Xusheng Ji, Jiaxin Li, Xiaoxu Cai, Xinhai Ye, Mostafa Gouda, Yong He, Gongyin Ye, Xiaoli Li
Format: Article
Language:English
Published: MDPI AG 2025-06-01
Series:Agriculture
Subjects:
Online Access:https://www.mdpi.com/2077-0472/15/13/1366
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Rice (<i>Oryza sativa</i> L.) has long been threatened by the brown planthopper (BPH, <i>Nilaparvata lugens</i>) and white-backed planthopper (WBPH, <i>Sogatella furcifera</i>). It is difficult to detect and count rice planthoppers from RGB images, and there are a limited number of publicly available datasets for agricultural pests. This study publishes a publicly available planthopper dataset, explores the potential of YOLOv8-p2 and proposes an efficient improvement strategy, designated SwinT YOLOv8-p2, for detecting and counting BPH and WBPH from RGB images. The Swin Transformer was incorporated into the YOLOv8-p2 in the strategy. Additionally, the Spatial and Channel Reconstruction Convolution (SCConv) was applied, replacing Convolution (Conv) in the C2f module of YOLOv8. The dataset contains diverse pest small targets, and it is easily available to the public. YOLOv8-p2 can accurately detect different pests, with mAP50, mAP50:95, F1-score, Recall, Precision and FPS up to 0.847, 0.835, 0.899, 0.985, 0.826 and 16.69, respectively. The performance of rice planthopper detection was significantly improved by SwinT YOLOv8-p2, with increases in mAP50 and mAP50:95 ranging from 1.9% to 61.8%. Furthermore, the correlation relationship between the manually counted and detected insects was strong for SwinT YOLOv8-p2, with an R<sup>2</sup> above 0.85, and RMSE and MAE below 0.64 and 0.11. Our results suggest that SwinT YOLOv8-p2 can efficiently detect and count rice planthoppers.
ISSN:2077-0472