Author:
Jiang Sheng,Ao Jiangbo,Yang Hualin,Xie Fangnan,Liu Ziyi,Yang Shanglin,Wei Yichen,Deng Xijin
Abstract
AbstractBitter gourd, being perishable, requires timely harvesting. Delayed harvesting can result in a substantial reduction in fruit quality. while premature harvesting leads to underdeveloped fruit and decreased yields, the continuous flowering pattern in bitter gourd underscores the significance of accurately assessing fruit growth and ensuring timely harvesting for subsequent fruit setting and development. The current reliance on the experience of production personnel represents a substantial inefficiency. We present an improved real-time instance segmentation model based on YOLOv5-seg. The utilization of dynamic snake convolution enables the extraction of morphological features from the curved and elongated structure of bitter gourd. Diverse branch blocks enhance feature space diversity without inflating model size and inference time, contributing to improved recognition of expansion stages during bitter gourd growth. Additionally, the introduction of Focal-EIOU loss accurately locates the boundary box and mask, addressing sample imbalances in the L2 stage. Experimental results showcase remarkable accuracy rates of 99.3%, 93.8%, and 98.3% for L1, L2, and L3 stages using mAP@0.5. In comparison, our model outperforms other case segmentation models, excelling in both detection accuracy and inference speed. The improved YOLOv5-seg model demonstrates strong performance in fine-grained recognition of bitter gourd during the expansion stage. It efficiently segments bitter gourd in real-time under varying lighting and occlusion conditions, providing crucial maturity information. This model offers reliable insights for agricultural workers, facilitating precise harvesting decisions.
Funder
the Key Technologies R&D Program of Guangdong Province
Publisher
Springer Science and Business Media LLC
Reference40 articles.
1. Phuke, G. B. Post harvest evaluation of bitter gourd as influenced by growing condition, harvest maturity, prepacking and storage (2013).
2. Song, X., Li, G. & Luo, L. Segmentation of grapes image based on HSI color space and FFCM clustering algorithm. J. Agric. Mech. Res. 10, 40–44 (2015).
3. Karki, S. et al. Classification of strawberry ripeness stages using machine learning algorithms and colour spaces. Hortic. Environ. Biotechnol. 2023, 1–18 (2023).
4. Surya, P. D. & Satheesh, K. J. Assessment of banana fruit maturity by image processing technique. J. Food Sci. Technol. 52, 1316–1327 (2015).
5. Tan, K., Lee, W. S., Gan, H. & Wang, S. Recognizing blueberry fruit of different maturity using histogram oriented gradients and colour features in outdoor scenes. Biosyst. Eng. 176, 59–72 (2018).