Momordica Charantia Size Classification Using Mask Region-Based Convolutional Neural Network
Bitter melon (Momordica charantia), also known locally as Ampalaya, holds significant economic and medicinal value, but its size classification remains a challenge due to its irregular morphology. Proper size classification is essential for maintaining packaging standards and ensuring efficient market distribution. Thus, this study presents a deep learning-based approach for automated bitter melon size classification using the Mask R-CNN model for instance segmentation, the Harris Corner Detection algorithm for contour detection, and the Douglas-Peuker algorithm for contour simplification. A hardware prototype was developed using a Raspberry Pi 4 Model B and a camera module to capture images for real-time processing. The system achieved an overall accuracy of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{9 7. 9 1 \%}$</tex> in classifying the sizes of bitter melons. The model displayed a high classification accuracy, demonstrating its potential for improving agricultural automation and postharvest processes.
Authors
- Analyn N. Yumang (ORCID: https://orcid.org/0000-0002-7600-0029)
- Julian Marc B. Surara
- Charles Ivan Matthew C. Nangit
Publication Details
- Published
- 2025-03-20
- DOI
- https://doi.org/10.1109/iccae64891.2025.10980604
- Primary Topic
- Spectroscopy and Chemometric Analyses
- Type
- article
- Field-Weighted Citation Impact
- 0.00