Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 24 August 2026

Morphological Database and Quantification of Liberica Coffee Beans Using a Hybrid CNN Model

Dioneces O. Alimoren1, Francis G. Balazon1, Jonnah R. Melo1, Richelle Sulit1 & Melmar Eje2

Journal of Computer Science, Volume 22, Issue 8, pp. 2519–2527 · doi.org/10.3844/jcssp.2026.2519.2527

1,337 accesses540 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

Traditional evaluation of Liberica coffee (Kapeng Barako) in Batangas is commonly performed through manual visual inspection and sensory judgment, which are slow, subjective, and difficult to reproduce across farms, buyers, and grading personnel. These limitations can lead to inconsistent quality classification, weak traceability, and reduced bargaining power for local producers. This study develops and validates a web-based morphological analysis system for Liberica coffee beans using a hybrid pipeline that combines U-Net convolutional neural network segmentation with deterministic feature extraction. A database of 4,000 high-resolution images collected from farms in Batangas was curated and divided into training, validation, and test subsets using a 70:15:15 ratio. To evaluate generalization, an independent 500-image dataset from previously unseen farms was also used. The model was trained with Dice plus binary cross-entropy loss, Adam optimization, and augmentation strategies designed to simulate field variations. The 96.0% accuracy reported in this study is explicitly defined as feature-level agreement: the percentage of test images in which the primary extracted traits fall within accepted tolerances relative to a manually verified reference. On the internal test set, the proposed method achieved a Dice coefficient of 0.971, intersection-over-union of 0.944, and high agreement for key morphological traits including area (R² = 0.976), eccentricity (R² = 0.972), solidity (R² = 0.973), and centroid coordinates (R² > 0.962). Compared with classical image processing and CNN baselines, the hybrid approach provided a favorable balance of accuracy, interpretability, and deployment speed. The resulting platform provides farmers, cooperatives, and researchers with a practical, low-cost, and reproducible tool for data-driven Liberica coffee quality assessment and morphology database development.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Alimoren, D. O., Balazon, F. G., Melo, J. R., Sulit, R. & Eje, M. (2026). Morphological Database and Quantification of Liberica Coffee Beans Using a Hybrid CNN Model. Journal of Computer Science, 22(8), 2519–2527. https://doi.org/10.3844/jcssp.2026.2519.2527

Licence
CC BY 4.0
Issue
Volume 22, Issue 8
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Morphological Database and Quantification of Liberica Coffee Beans Using a Hybrid CNN ModelJournal of Computer Science · Volume 22, Issue 8 · pp. 2519–2527 · CC BY 4.0Download