FlyYOLO-SORT: A Lightweight Detection and Multi-Object Tracking Framework for Tephritid Fruit Flies Towards Automated Phytosanitary Monitoring

Real-time monitoring of tephritid fruit flies is essential for effective agricultural pest control and stringent plant quarantine measures. Most existing computer vision approaches primarily focus on static images derived from sticky traps. The absence of temporal motion information makes it difficult for these methods to maintain robust tracking performance when targets undergo fast and drastic movements, morphological blurring, and mutual occlusion. To overcome these limitations, mining and utilizing temporal motion features is critical, with high-precision multi-object tracking (MOT) serving as the foundation. Using Bactrocera dorsalis and Bactrocera correcta as case studies, we construct a high-performance detection and MOT framework designed for video monitoring. First, we propose FlyYOLO, a lightweight detector based on YOLOv11n. By fusing deep and shallow features, the detector is encouraged to focus on subtle dorsal features of the fruit flies, thereby improving classification accuracy. Simultaneously, a bounding box scoring mechanism is introduced to further optimize localization precision. Second, using FlyYOLO as the base detector, we propose FlyYOLO-SORT, an algorithm based on the tracking-by-detection (TBD) paradigm. We design a Dual-Box Complementary Fusion (DBCF) strategy to effectively integrate the strengths of Axis-Aligned Bounding Boxes and Oriented Bounding Boxes to generate high-quality detection results. Additionally, an Angle-Aware Euclidean Metric (AEM) is proposed for data association, significantly enhancing tracking robustness in complex scenarios involving frequent occlusion and irregular flight. On our dataset, FlyYOLO-SORT achieves outstanding performance with 48.26% HOTA, 80.15% MOTA, 56.01% MOTP, and 81.96% IDF1. Compared to ByteTrack, it reduces ID switches by 52.3%. Experimental results demonstrate that the proposed method enables efficient and stable MOT of fruit flies, providing reliable technical support for applications such as population counting and behavioral analysis of insects exhibiting complex motion patterns.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2026-05-01
DOI
https://doi.org/10.1016/j.atech.2026.102177
Primary Topic
Insect behavior and control techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FlyYOLO-SORT: A Lightweight Detection and Multi-Object Tracking Framework for Tephritid Fruit Flies Towards Automated Phytosanitary Monitoring

QIFEI LIU, Xuankun Li, Heming Du, Zibo Zhang et al.
Smart Agricultural Technology
Insect behavior and control techniques
article

FlyYOLO-SORT: A Lightweight Detection and Multi-Object Tracking Framework for Tephritid Fruit Flies Towards Automated Phytosanitary Monitoring

QIFEI LIU, Xuankun Li, Heming Du, Zibo Zhang, Tianyu Zheng, Li Chen, Yan Qing Wang, Xin Yu, Gang Liu, Ding Yang, Zitao Li, Fan Jiang, Daifeng Cheng
article en

Abstract

Real-time monitoring of tephritid fruit flies is essential for effective agricultural pest control and stringent plant quarantine measures. Most existing computer vision approaches primarily focus on static images derived from sticky traps. The absence of temporal motion information makes it difficult for these methods to maintain robust tracking performance when targets undergo fast and drastic movements, morphological blurring, and mutual occlusion. To overcome these limitations, mining and utilizing temporal motion features is critical, with high-precision multi-object tracking (MOT) serving as the foundation. Using Bactrocera dorsalis and Bactrocera correcta as case studies, we construct a high-performance detection and MOT framework designed for video monitoring. First, we propose FlyYOLO, a lightweight detector based on YOLOv11n. By fusing deep and shallow features, the detector is encouraged to focus on subtle dorsal features of the fruit flies, thereby improving classification accuracy. Simultaneously, a bounding box scoring mechanism is introduced to further optimize localization precision. Second, using FlyYOLO as the base detector, we propose FlyYOLO-SORT, an algorithm based on the tracking-by-detection (TBD) paradigm. We design a Dual-Box Complementary Fusion (DBCF) strategy to effectively integrate the strengths of Axis-Aligned Bounding Boxes and Oriented Bounding Boxes to generate high-quality detection results. Additionally, an Angle-Aware Euclidean Metric (AEM) is proposed for data association, significantly enhancing tracking robustness in complex scenarios involving frequent occlusion and irregular flight. On our dataset, FlyYOLO-SORT achieves outstanding performance with 48.26% HOTA, 80.15% MOTA, 56.01% MOTP, and 81.96% IDF1. Compared to ByteTrack, it reduces ID switches by 52.3%. Experimental results demonstrate that the proposed method enables efficient and stable MOT of fruit flies, providing reliable technical support for applications such as population counting and behavioral analysis of insects exhibiting complex motion patterns.

Smart Agricultural Technology
South China Agricultural University (CN), The University of Queensland (AU), Chinese Academy of Inspection and Quarantine (CN), Ministry of Agriculture and Rural Affairs (CN), China Agricultural University (CN), Fujian Agriculture and Forestry University (CN)
China Agricultural University, Ministry of Science and Technology of the People's Republic of China
Zero hunger
Openalex Percentile: Top 5%
Insect behavior and control techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.