Automated Physical Feature Extraction of Namdokmai Sithong Mangoes Using YOLOv8 and Image Processing Techniques
Accurate and consistent measurements of geometric features such as fruit length and width are essential for the quality assessment of Namdokmai Sithong mangoes. Traditional manual methods are labor-intensive and prone to inconsistency. This study presented an automated system for geometric feature extraction of Namdokmai Sithong mangoes using a YOLOv8-based object detection model. The framework automated the process of measuring key morphological traits, specifically fruit length and width, to improve accuracy and consistency in quality assessment. The model identified an anatomically meaningful reference point for guiding axis-based measurements by detecting the mango and its peduncle. HSV-based image segmentation combined with morphological operations and edge detection effectively calculated the major (length) and minor (top and bottom width) axes of the fruit. Evaluation on 30 test images showed that the proposed method achieved error rates below 5% in over 90% of samples, with average deviations for fruit length typically under 1.5%. The system was implemented as a standalone Python (version 3.12.8) application and demonstrated high potential for use in real-time, automated fruit grading scenarios.
Authors
- Rattapon Saengrayap (ORCID: https://orcid.org/0000-0002-9589-3619)
- Sujitra Arwatchananukul (ORCID: https://orcid.org/0000-0002-7828-1434)
- Saowapa Chaiwong (ORCID: https://orcid.org/0000-0002-3750-0063)
- Min Chen (ORCID: https://orcid.org/0000-0003-3439-3183)
- Suphapol Wongsawat
Institutions
- Mae Fah Luang University (TH)
- Hunan Institute of Technology (CN)
Publication Details
- Journal
- AgriEngineering
- Published
- 2025-09-22
- DOI
- https://doi.org/10.3390/agriengineering7090312
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Mae Fah Luang University