{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,4]],"date-time":"2026-03-04T13:54:06Z","timestamp":1772632446075,"version":"3.50.1"},"reference-count":26,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2026,3,4]],"date-time":"2026-03-04T00:00:00Z","timestamp":1772582400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Plant Sci."],"abstract":"<jats:sec>\n                    <jats:title>Introduction<\/jats:title>\n                    <jats:p>To address the problems of low detection accuracy, severe background interference, and poor real-time performance existing in current object detection models in complex agricultural monitoring scenarios, we proposed Focal-HAIN (F-HAIN), a lightweight object detection model tailored for embedded platforms.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>Built on the YOLOv5 architecture with design insights from RT-DETR, the proposed model incorporates two key structural enhancements to improve multi-scale feature representation and localization precision. Firstly, focus modulation was integrated into the neck network, and the F-SPPELAN module was designed to achieve adaptive and precise modulation of the feature channel based on the focus loss-guided attention mechanism. This effectively suppresses background noise and enhances the model\u2019s response to small targets. Secondly, the HAIN module was constructed. By introducing a deep interlacing fusion strategy, feature interaction operations within the scale are embedded into the cross-scale feature aggregation path, thereby enhancing the correlation among multi-scale features and improving positioning accuracy. This study conducted comprehensive experiments on the IP102 dataset and deployed the model on a Raspberry Pi 4B embedded device for real-time performance verification.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>The experimental results show that the mAP50 of F-HAIN can reach 90.1%. Under the same experimental conditions, compared with models such as RT-DETR, YOLOv5, YOLOv8, YOLOv10, and YOLOv11, the performance of F-HAIN on mAP50 increased by 5.5%, 6.8%, 4.9%, 5.4%, and 3.0%, respectively. Meanwhile, F-HAIN maintains a high-speed inference of 161 FPS on a high-performance workstation and was successfully deployed in an IoT-based collaborative system where a Raspberry Pi 4B serves as the edge acquisition terminal.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Discussion<\/jats:title>\n                    <jats:p>These findings demonstrate that F-HAIN effectively balances high detection accuracy with computational efficiency, providing a robust and deployable solution for real-time agricultural monitoring on resource-constrained edge devices.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.3389\/fpls.2026.1778883","type":"journal-article","created":{"date-parts":[[2026,3,4]],"date-time":"2026-03-04T07:01:54Z","timestamp":1772607714000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Focal-HAIN: a lightweight model with adaptive modulation and hierarchical interaction for real-time crop pest and disease monitoring"],"prefix":"10.3389","volume":"17","author":[{"given":"Wei","family":"Liu","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Li","family":"Xu","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xingzhi","family":"Chang","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xiaohan","family":"Long","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1965","published-online":{"date-parts":[[2026,3,4]]},"reference":[{"key":"B1","volume-title":"World food and agriculture statistical yearbook 2025.","year":"2025"},{"key":"B2","doi-asserted-by":"publisher","first-page":"107637","DOI":"10.1016\/j.compag.2023.107637","article-title":"UAV remote sensing detection of tea leaf blight based on DDMA-YOLO","volume":"205","author":"Bao","year":"2023","journal-title":"Comput. Electron. Agric."},{"key":"B3","doi-asserted-by":"publisher","DOI":"10.1016\/j.jocs.2023.102025","article-title":"Intelligent optimization of Reference Evapotranspiration (ETo) for precision irrigation","volume":"69","author":"Bashir","year":"2023","journal-title":"J. Comput. Sci."},{"key":"B4","doi-asserted-by":"publisher","first-page":"365","DOI":"10.3390\/agronomy12020365","article-title":"Plant disease recognition model based on improved YOLOv5","volume":"12","author":"Chen","year":"2022","journal-title":"Agronomy"},{"key":"B5","doi-asserted-by":"publisher","first-page":"364","DOI":"10.3390\/agriculture13020364","article-title":"Research on Multi-Scale Pest Detection and Identification Method in Granary Based on Improved YOLOv5","volume":"13","author":"Chu","year":"2023","journal-title":"Agriculture"},{"key":"B6","doi-asserted-by":"publisher","first-page":"458","DOI":"10.1016\/j.aiia.2025.10.016","article-title":"Advancing lightweight and efficient detection of tomato main stems for edge device deployment","volume":"16","author":"Gao","year":"2026","journal-title":"Artificial Intelligence in Agriculture"},{"key":"B7","doi-asserted-by":"publisher","first-page":"1240","DOI":"10.3390\/agronomy13051240","article-title":"Apple leaf disease identification in complex background based on BAM-Net","volume":"13","author":"Gao","year":"2023","journal-title":"Agronomy"},{"key":"B8","doi-asserted-by":"publisher","first-page":"7310","DOI":"10.3390\/s23177310","article-title":"Lightweight network DCR-YOLO for surface defect detection on printed circuit boards","volume":"23","author":"Jiang","year":"2023","journal-title":"Sensors"},{"key":"B9","doi-asserted-by":"publisher","first-page":"129505","DOI":"10.1109\/ACCESS.2022.3228160","article-title":"Internet of things (IoT) assisted context aware fertilizer recommendation","volume":"10","author":"Khan","year":"2022","journal-title":"IEEE Access"},{"key":"B10","doi-asserted-by":"publisher","first-page":"110050","DOI":"10.1109\/ACCESS.2022.3206009","article-title":"Context aware evapotranspiration (ETs) for saline soils reclamation","volume":"10","author":"Khan","year":"2022","journal-title":"IEEE Access"},{"key":"B11","doi-asserted-by":"publisher","first-page":"107093","DOI":"10.1016\/j.compag.2022.107093","article-title":"Deep diagnosis: A real-time apple leaf disease detection system based on deep learning","volume":"198","author":"Khan","year":"2022","journal-title":"Comput. Electron. Agric."},{"key":"B12","doi-asserted-by":"publisher","first-page":"937","DOI":"10.3390\/plants11070937","article-title":"YOLO-JD: A deep learning network for jute diseases and pests detection from images","volume":"11","author":"Li","year":"2022","journal-title":"Plants"},{"key":"B13","doi-asserted-by":"crossref","first-page":"173","DOI":"10.3390\/s22010173","article-title":"Apple leaf disease identification with a small and imbalanced dataset based on lightweight convolutional networks","volume":"22","author":"Li","year":"2022","journal-title":"Sensors"},{"key":"B14","doi-asserted-by":"publisher","first-page":"4953","DOI":"10.3390\/s22134953","article-title":"NRT-YOLO: Improved YOLOv5 based on nested residual transformer for tiny remote sensing object detection","volume":"22","author":"Liu","year":"2022","journal-title":"Sensors"},{"key":"B15","doi-asserted-by":"publisher","DOI":"10.3390\/jimaging11100326","article-title":"A review on the detection of plant disease using machine learning and deep learning approaches","volume":"11","author":"Nyawose","year":"2025","journal-title":"J. Imaging"},{"key":"B16","doi-asserted-by":"publisher","first-page":"33","DOI":"10.1007\/s11554-023-01264-0","article-title":"Real-time and effective detection of agricultural pest using an improved YOLOv5 network","volume":"20","author":"Qi","year":"2023","journal-title":"J Real-Time Image Proc"},{"key":"B17","doi-asserted-by":"publisher","first-page":"106780","DOI":"10.1016\/j.compag.2022.106780","article-title":"An improved YOLO v5 model based on visual attention mechanism: Application to recognition of tomato virus disease","volume":"194","author":"Qi","year":"2022","journal-title":"Comput. Electron. Agric."},{"key":"B18","doi-asserted-by":"publisher","first-page":"6078","DOI":"10.1038\/s41598-023-33270-4","article-title":"Tea leaf disease detection and identification based on YOLOv7 (YOLO-T)","volume":"13","author":"Soeb","year":"2023","journal-title":"Sci. Rep."},{"key":"B19","doi-asserted-by":"publisher","DOI":"10.3389\/fpls.2024.1382802","article-title":"Tomato leaf disease detection based on attention mechanism and multi-scale feature fusion","volume":"15","author":"Wang","year":"2024","journal-title":"Front Plant Sci"},{"key":"B20","doi-asserted-by":"publisher","DOI":"10.3389\/fpls.2022.973985","article-title":"Pest-YOLO: A model for large-scale multi-class dense and tiny pest detection and counting","volume":"13","author":"Wen","year":"2022","journal-title":"Front. Plant Sci."},{"key":"B21","doi-asserted-by":"publisher","DOI":"10.3390\/insects14030278","article-title":"Maize-YOLO: A new high-precision and real-time method for maize pest detection","volume":"14","author":"Yang","year":"2023","journal-title":"Insects"},{"key":"B22","doi-asserted-by":"publisher","first-page":"618","DOI":"10.3390\/agronomy14030618","article-title":"YOLOv7\u2014GCA: A lightweight and high-performance model for pepper disease detection","volume":"14","author":"Yue","year":"2024","journal-title":"Agronomy"},{"key":"B23","doi-asserted-by":"publisher","first-page":"235","DOI":"10.15961\/j.jsuese.202300593","article-title":"Small Target Detection Algorithm for UAV Aerial Images Based on Improved YOLOv7-tiny","volume":"57","author":"Zhang","year":"2025","journal-title":"Advanced Engineering Sciences"},{"key":"B24","doi-asserted-by":"publisher","first-page":"146","DOI":"10.1016\/j.neucom.2022.07.042","article-title":"Focal and efficient IoU loss for accurate bounding box regression","volume":"506","author":"Zhang","year":"2022","journal-title":"Neurocomputing"},{"key":"B25","doi-asserted-by":"crossref","first-page":"16965","DOI":"10.1109\/CVPR52733.2024.01605","article-title":"DETRs beat YOLOs on real-time object detection","volume-title":"Proceedings of the 2024IEEE\/CVF conference onComputer vision and pattern recognition (CVPR)","author":"Zhao","year":"2024"},{"key":"B26","doi-asserted-by":"publisher","DOI":"10.3389\/fpls.2023.1120724","article-title":"EADD-YOLO: An efficient and accurate disease detector for apple leaf using improved lightweight YOLOv5","volume":"14","author":"Zhu","year":"2023","journal-title":"Front. Plant Sci."}],"container-title":["Frontiers in Plant Science"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fpls.2026.1778883\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,4]],"date-time":"2026-03-04T07:01:56Z","timestamp":1772607716000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fpls.2026.1778883\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,3,4]]},"references-count":26,"alternative-id":["10.3389\/fpls.2026.1778883"],"URL":"https:\/\/doi.org\/10.3389\/fpls.2026.1778883","relation":{},"ISSN":["1664-462X"],"issn-type":[{"value":"1664-462X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,3,4]]},"article-number":"1778883"}}