Banana Ripeness Classification using HSV Colour Space and Nearest Centroid Classifier

  • Elizabeth Nurmiyati Tamatjita PTK – Sekolah Tinggi Manajemen Informatika & Komputer Widuri, Jakarta, Indonesia
  • Rouly Doharma Sihite PTK – Sekolah Tinggi Manajemen Informatika & Komputer Widuri, Jakarta, Indonesia
Keywords: Fruit classification, HSV colour space, nearest centroid classifier

Abstract

Banana is a common fruit which is found throughout Southeast Asia and are beneficial both as delicacy and as a dessert which is good for health. Although quite common and easy to obtain, many people today find it difficult to identify the correct ripeness stage of banana, especially when purchasing from traditional vendors, where varying degree of ripeness are available. This research sought for a possibility to classify banana ripeness by its peel colour with HSV colour space as the feature and classified using Nearest Centroid Classifier (NCC). ‘Ambon Lumut’, ‘Kepok’ and ‘Raja’ bananas are used as examples for the research as they are among the most common types of banana available for many use in Indonesia, and its ripeness is divided into 4 classes according to different usage of the banana: unripe, almost ripe, ripe, and overripe. Photographic images of ‘Ambon Lumut’, ‘Kepok’ and ‘Raja’ bananas are used as training and test data. The experiment is conducted using cleaned images which have the background removed, and this experiment also resulting in 73.33% recognition. The recognition results for each class respectively are: Green = 93.33%; Almost Ripe=80%; Ripe=66.67% and Overripe=53.33%.

References

R. Singh, R. Kaushikand and S. Gosewade, “Bananas as underutilized fruit having huge potential as raw materials for food and non-food processing industries: A brief review,” The Pharma Innovation Journal, Vol. 7 (6): pp. 574–580, May 2018, https://www.thepharmajournal.com/archives/2018/vol7issue6/PartI/7-6-103-451.pdf, accessed 10 August 2020.

H.T. Vu, C.J. Scarlett and Q.V. Voung, “Phenolic compounds within banana peel and their potential uses: A review,” Journal of Functional Foods, Vol. 40: pp. 238–248, January 2018, https://www.sciencedirect.com/science/article/abs/pii/S1756464617306783, accessed 10 August 2020.

L. Hapsari and D.A. Lestari, “Fruit Characteristic And Nutrient Values Of Four Indonesian Banana Cultivars (Musa Spp.) At Different Genomic Groups,” Agrivita Journal of Agricultural Science, Vol. 38 (3): pp. 303–311, May 2016.

A. Pereiran and M. Maraschin, “Banana (Musa spp) from peel to pulp: Ethnopharmacology, source of bioactive compounds and its relevance for human health,” Journal of Ethnopharmacology, Vol. 160: pp. 149–163, November 2014, https://www.natural-knowhow.com/wp-content/uploads/2015/07/Banana-Musa-spp-from-peel-to-pulp-Ethnopharmacology-source-ofbioactive-compounds-and-its-relevance-for-human-health-article.pdf, accessed 19 August 2020.

A.W.K. To, G. Paul and D. Liu, “Surface-Type Classification Using RGB-D,” IEEE Transactions on Automation Science and Engineering, Vol. 11 (2): pp. 359–366, April 2014, https://ieeexplore.ieee.org/document/6675887, accessed 12 September 2020.

C.D. Chang, S.S. Yu, H.H. Chen and C.S. Tsai, “HSV-based Color Texture Image Classification using Wavelet Transform and Motif Patterns,” Journal of Computers, Vol. 20 (4): pp. 63–69, January 2010.

D. John, “December Communication,” RGB to HSV color conversion, April 2020, https://www.december.com/html/spec/colorhsltable.html, accessed 30 July 2020.

E.N. Tamatjita and A.W. Mahastama, “Comparison of Music Genre Classification Using Nearest Centroid Classifier and k-Nearest Neighbours,” 2016 International Conference on Information Management and Technology (ICIMTech): pp. 118–123, May 2017, https://ieeexplore.ieee.org/document/7930314, accessed 30 July 2020.

Published
2022-02-15
Section
Technical Papers (Advanced Applied Informatics)