Next Article in Journal
Sensory and Nutritional Characteristics of Organic Italian Hazelnuts from the Lazio Region
Previous Article in Journal
Enhancing Farmers’ Capacity for Sustainable Management of Cassava Mosaic Disease in Côte d’Ivoire
Previous Article in Special Issue
Internet and Computers for Agriculture
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Instance Segmentation of Sugar Apple (Annona squamosa) in Natural Orchard Scenes Using an Improved YOLOv9-seg Model

1
School of Mathematics and Information Science, Guangzhou University, Guangzhou 510006, China
2
School of Electronics and Communication Engineering, Guangzhou University, Guangzhou 510006, China
3
School of Physics and Materials Science, Guangzhou University, Guangzhou 510006, China
4
School of Mechanical and Electrical Engineering, Guangzhou University, Guangzhou 510006, China
5
School of Life Sciences, South China Normal University, Guangzhou 510631, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Agriculture 2025, 15(12), 1278; https://doi.org/10.3390/agriculture15121278
Submission received: 28 April 2025 / Revised: 4 June 2025 / Accepted: 11 June 2025 / Published: 13 June 2025
(This article belongs to the Special Issue Computers and IT Solutions for Agriculture and Their Application)

Abstract

Sugar apple (Annona squamosa) is prized for its excellent taste, rich nutrition, and diverse uses, making it valuable for both fresh consumption and medicinal purposes. Predominantly found in tropical regions of the Americas and Asia, its harvesting remains labor-intensive in orchard settings, resulting in low efficiency and high costs. This study investigates the use of computer vision for sugar apple instance segmentation and introduces an improved deep learning model, GCE-YOLOv9-seg, specifically designed for orchard conditions. The model incorporates Gamma Correction (GC) to enhance image brightness and contrast, improving target region identification and feature extraction in orchard settings. An Efficient Multiscale Attention (EMA) mechanism was added to strengthen feature representation across scales, addressing sugar apple variability and maturity differences. Additionally, a Convolutional Block Attention Module (CBAM) refined the focus on key regions and deep semantic features. The model’s performance was evaluated on a self-constructed dataset of sugar apple instance segmentation images captured under natural orchard conditions. The experimental results demonstrate that the proposed GCE-YOLOv9-seg model achieved an F1 score (F1) of 90.0%, a precision (P) of 89.6%, a recall (R) level of 93.4%, a mAP@0.5 of 73.2%, and a mAP@[0.5:0.95] of 73.2%. Compared to the original YOLOv9-seg model, the proposed GCE-YOLOv9-seg showed improvements of 1.5% in the F1 score and 3.0% in recall for object detection, while the segmentation task exhibited increases of 0.3% in mAP@0.5 and 1.0% in mAP@[0.5:0.95]. Furthermore, when compared to the latest model YOLOv12-seg, the proposed GCE-YOLOv9-seg still outperformed with an F1 score increase of 2.8%, a precision (P) improvement of 0.4%, and a substantial recall (R) boost of 5.0%. In the segmentation task, mAP@0.5 rose by 3.8%, while mAP@[0.5:0.95] demonstrated a significant enhancement of 7.9%. This method may be directly applied to sugar apple instance segmentation, providing a promising solution for automated sugar apple detection in natural orchard environments.
Keywords: deep learning; computer vision; YOLOv9-seg; sugar apple (Annona squamosa) deep learning; computer vision; YOLOv9-seg; sugar apple (Annona squamosa)

Share and Cite

MDPI and ACS Style

Zhu, G.; Luo, Z.; Ye, M.; Xie, Z.; Luo, X.; Hu, H.; Wang, Y.; Ke, Z.; Jiang, J.; Wang, W. Instance Segmentation of Sugar Apple (Annona squamosa) in Natural Orchard Scenes Using an Improved YOLOv9-seg Model. Agriculture 2025, 15, 1278. https://doi.org/10.3390/agriculture15121278

AMA Style

Zhu G, Luo Z, Ye M, Xie Z, Luo X, Hu H, Wang Y, Ke Z, Jiang J, Wang W. Instance Segmentation of Sugar Apple (Annona squamosa) in Natural Orchard Scenes Using an Improved YOLOv9-seg Model. Agriculture. 2025; 15(12):1278. https://doi.org/10.3390/agriculture15121278

Chicago/Turabian Style

Zhu, Guanquan, Zihang Luo, Minyi Ye, Zewen Xie, Xiaolin Luo, Hanhong Hu, Yinglin Wang, Zhenyu Ke, Jiaguo Jiang, and Wenlong Wang. 2025. "Instance Segmentation of Sugar Apple (Annona squamosa) in Natural Orchard Scenes Using an Improved YOLOv9-seg Model" Agriculture 15, no. 12: 1278. https://doi.org/10.3390/agriculture15121278

APA Style

Zhu, G., Luo, Z., Ye, M., Xie, Z., Luo, X., Hu, H., Wang, Y., Ke, Z., Jiang, J., & Wang, W. (2025). Instance Segmentation of Sugar Apple (Annona squamosa) in Natural Orchard Scenes Using an Improved YOLOv9-seg Model. Agriculture, 15(12), 1278. https://doi.org/10.3390/agriculture15121278

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop