Journal of Imaging (Jan 2024)

Classification of Pepper Seeds by Machine Learning Using Color Filter Array Images

  • Kani Djoulde,
  • Boukar Ousman,
  • Abboubakar Hamadjam,
  • Laurent Bitjoka,
  • Clergé Tchiegang

DOI
https://doi.org/10.3390/jimaging10020041
Journal volume & issue
Vol. 10, no. 2
p. 41

Abstract

Read online

The purpose of this work is to classify pepper seeds using color filter array (CFA) images. This study focused specifically on Penja pepper, which is found in the Litoral region of Cameroon and is a type of Piper nigrum. India and Brazil are the largest producers of this variety of pepper, although the production of Penja pepper is not as significant in terms of quantity compared to other major producers. However, it is still highly sought after and one of the most expensive types of pepper on the market. It can be difficult for humans to distinguish between different types of peppers based solely on the appearance of their seeds. To address this challenge, we collected 5618 samples of white and black Penja pepper and other varieties for classification using image processing and a supervised machine learning method. We extracted 18 attributes from the images and trained them in four different models. The most successful model was the support vector machine (SVM), which achieved an accuracy of 0.87, a precision of 0.874, a recall of 0.873, and an F1-score of 0.874.

Keywords