Pears Classification Using Principal Component Analysis and K-Nearest Neighbor

Main Article Content

Moh. Arie Hasan Arief Setya Budi
Corresponding Author:
Moh. Arie Hasan |

Copyright (C):
Moh. Arie Hasan, Arief Setya Budi


Pears is a fruit that is widely available in tropical climates such as in western Europe, Asia, Africa and one of them is Indonesia. There are many types of pears in Indonesia. Types of pears can be distinguished from the color, size, and shape. But it is still difficult for ordinary people to get to know the types of pears. This is what gave rise to the idea to conduct research related to image processing to classify three types of pears namely abate, red and william pears in order to help determine the type of pears. The pear type classification process is done by verify the image of pears based on existing training data. The research method used consisted of preprocessing image segmentation with morphological operations and feature extraction into Principal Component Analysis (PCA). The classification algorithm used is K-Nearest Neighbor (KNN). The use of adequate training data will further improve the classification of types of pears. The final results of this study amounted to 87.5%.

Keyword: Pears, Principal Component Analysis, Image Processing, K-Nearest Neighbor


Download data is not yet available.

Article Details

How to Cite
HASAN, Moh. Arie; BUDI, Arief Setya. Pears Classification Using Principal Component Analysis and K-Nearest Neighbor. SinkrOn, [S.l.], v. 4, n. 2, p. 34-41, mar. 2020. ISSN 2541-2019. Available at: <>. Date accessed: 11 aug. 2020. doi:
* Abstract viewed = 0 times PDF downloaded = 0 times *


Ariffin, N. I. K., Mustaffa, M. R., Abdullah, L. N., & Nasharuddin, N. A. (2018). Fruits Recognition based on Texture Features and K-Nearest Neighbor. International Journal of Engineering & Technology, 7(4.31), 452–458.

Fruits 360 | Kaggle. (n.d.). Retrieved August 22, 2019, from

Herfina. (2013). Pengenalan Pola Bentuk Bunga Menggunakan Principle Component Analysis. Seminar Nasional Teknologi Informasi Dan Multimedia, (7), 25–30.

Husein, A. M. (2019). Penerapan Metode Distance Transform Pada Kernel Discriminant Analysis Untuk Pengenalan Pola Tulisan Tangan Angka Berbasis Principal Component Analysis . SinkrOn, 2(SinkrOn), 31–36.

Isola, P., Zhu, J., … T. Z.-P. of the I., & 2017, undefined. (n.d.). Image-to-image translation with conditional adversarial networks. Openaccess.Thecvf.Com.

Kolkur, S., Kalbande, D., Shimpi, P., … C. B. preprint arXiv, & 2017, undefined. (n.d.). Human skin detection using RGB, HSV and YCbCr color models. Arxiv.Org.

Liantoni, F. (2016). Klasifikasi Daun Dengan Perbaikan Fitur Citra Menggunakan Metode K-Nearest Neighbor. Jurnal ULTIMATICS, 7(2), 98–104.

Muhammad, J., & Isnanto Riza, S. I. (n.d.). Identifikasi iris mata menggunakan metode analisis komponen utama dan perhitungan jarak euclidean, 1–9.

Octavia, M., Jesslyn, K., & Gasim. (2016). Perbandingan Tingkat Akurasi Jenis Citra Keabuan , HSV, Dan L*a*b* Pada Identifikasi Jenis Buah Pir. Ilmiah Informatika Global, 7(1), 7–11.

Pulungan, A. F., Zarlis, M., & Suwilo, S. (2019). Analysis of Braycurtis, Canberra and Euclidean Distance in KNN Algorithm. SinkrOn, 4(1), 74.

Sehgal, P., & Goel, N. (2016). Auto-annotation of tomato images based on ripeness and firmness classification for multimodal retrieval. In 2016 International Conference on Advances in Computing, Communications and Informatics (ICACCI) (pp. 1084–1091). IEEE.

Shaik, K., Ganesan, P., Kalist, V., … B. S.-P. C., & 2015, undefined. (n.d.). Comparative study of skin color detection and segmentation in HSV and YCbCr color space. Elsevier.

Subasi, A., & Gursoy, M. I. (2010). EEG signal classification using PCA, ICA, LDA and support vector machines. Expert Systems with Applications, 37(12), 8659–8666.

Syafi’i, S. I., Wahyuningrum, R. T., & Muntasa, A. (2016). Segmentasi Obyek Pada Citra Digital Menggunakan Metode Otsu Thresholding. Jurnal Informatika, 13(1), 1–8.

Whidhiasih, R. N., Wahanani, N. A., & Supriyanto, S. (2013). Klasifikasi Buah Belimbing Berdasarkan Citra Red-Green-Blue Menggunakan Knn Dan Lda. Penelitian Ilmu Komputer Sistem Embedded Dan Logic, 1(1), 29–35.