A YOLOv8n-T and ByteTrack-Based Dual-Area Tracking and Counting Method for Cucumber Flowers

Accurate counting of cucumber flowers using intelligent algorithms to monitor their sex ratio is essential for intelligent facility agriculture management. However, complex greenhouse environments impose higher demands on the precision and efficiency of counting algorithms. This study proposes a dual-area counting algorithm based on an improved YOLOv8n-Track (YOLOv8n-T) and ByteTrack cascaded framework. This method accomplishes the cucumber flower counting task by detecting flower targets, tracking them frame-by-frame, and validating the count through dual-area counting. The YOLOv8n-T incorporates a Coordinate Attention (CA) mechanism and lightweight modules while optimizing the loss function, thereby improving floral feature extraction capabilities and reducing computational complexity. By integrating the ByteTrack tracking algorithm with a dual-area counting strategy, the robustness of flower counting in dynamic environments is strengthened. Experimental results show that the improved YOLOv8n-T achieves mAP and F1 scores of 86.9% and 82.1%, surpassing YOLOv8n by 3% and 2.6%, respectively, with a 0.3 G reduction in model parameters. The integrated framework achieves a detection accuracy of 82.4% for cucumber flower counting. This research provides a new method for monitoring cucumber flower sex ratios in facility agriculture, promoting the development of intelligent agricultural management.

Authors

Institutions

Publication Details

Journal
Agronomy
Published
2025-07-19
DOI
https://doi.org/10.3390/agronomy15071744
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A YOLOv8n-T and ByteTrack-Based Dual-Area Tracking and Counting Method for Cucumber Flowers

Shujuan Zhang, Xiongkui He, Xianglong Meng, Liyang Su et al.
Agronomy
Smart Agriculture and AI
article

A YOLOv8n-T and ByteTrack-Based Dual-Area Tracking and Counting Method for Cucumber Flowers

Shujuan Zhang, Xiongkui He, Xianglong Meng, Liyang Su, Hongtu Zhang
article en

Abstract

Accurate counting of cucumber flowers using intelligent algorithms to monitor their sex ratio is essential for intelligent facility agriculture management. However, complex greenhouse environments impose higher demands on the precision and efficiency of counting algorithms. This study proposes a dual-area counting algorithm based on an improved YOLOv8n-Track (YOLOv8n-T) and ByteTrack cascaded framework. This method accomplishes the cucumber flower counting task by detecting flower targets, tracking them frame-by-frame, and validating the count through dual-area counting. The YOLOv8n-T incorporates a Coordinate Attention (CA) mechanism and lightweight modules while optimizing the loss function, thereby improving floral feature extraction capabilities and reducing computational complexity. By integrating the ByteTrack tracking algorithm with a dual-area counting strategy, the robustness of flower counting in dynamic environments is strengthened. Experimental results show that the improved YOLOv8n-T achieves mAP and F1 scores of 86.9% and 82.1%, surpassing YOLOv8n by 3% and 2.6%, respectively, with a 0.3 G reduction in model parameters. The integrated framework achieves a detection accuracy of 82.4% for cucumber flower counting. This research provides a new method for monitoring cucumber flower sex ratios in facility agriculture, promoting the development of intelligent agricultural management.

AgronomyVol. 15(7)
Shanxi Agricultural University (CN), China Agricultural University (CN)
Openalex Percentile: Top 87%
Smart Agriculture and AI
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.