Klasifikasi Jenis Umbi Berdasarkan Citra Menggunakan SVM Dan KNN
Klasifikasi Jenis Umbi Berdasarkan Citra Menggunakan SVM Dan KNN
Abstract : Tubers are plants that can grow in the yard, low-lying areas, or highlands and areas that lack water.
But not all people in Indonesia plant tubers. So that some people do not recognize the types of tubers. The
purpose of this study is to classify tuber types based on texture features, shape features, and both texture
features, and image shapes. The benefits of this research are in order to provide information related to the types
of tubers. The algorithm used for tuber type classification is SVM and KNN. The types of tubers classified as
cassava or cassava, sweet potato and taro. The dataset used in this study were 180 images, with 150 images as
training data, and 30 images as test data. The results of the trial show, the classification of tuber types using
SVM algorithm with 10% accuracy texture features, with 7% accuracy form features, and both 7% accuracy
features. While the tuber type classification uses the KNN algorithm with K = 5, the successive accuracy values
for texture features, shape features, and both features are 3%, 20%, 7%. And if KNN with K = 2, the successive
value of succession in texture features, shape features, and both features, is 13%, 23%, 10%. The shape features
here are: area, perimeter, metric, major axis, minor axis, eccentricity. And texture features, namely: average
intensity values of grayscale, standart deviation image grayscale, contrast values, energy, correlation, and
homogeneity.
METODE PENELITIAN
Sistem ini terkait mengklasifikasi jenis
tanaman umbi berdasarkan ciri bentuk dan
tekstur, dan kedua fitur. Data yang digunakan
adalah hasil dokumentasi akuisisi citra ubi.
Proses klasifikasi di sini membagi 3 jenis
tanaman umbi, yaitu ubi kayu, ubi jalar, dan
talas. Total data tanaman umbi yang diambil Gambar 1. Proses Klasifikasi Jenis Umbi
adalah sebanyak 180 gambar dengan rincian 50
gambar tiap jenis ubi untuk training dan 10 Tabel 1. Dataset Citra Umbi
gambar tiap jenis ubi untuk testing. Dalam No Ubi Kayu Ubi Jalar Talas
proses klasifikasi ini akan dilakukan proses
grayscale (merubah citra berwarna menjadi
keabu-abuan), setelah itu dilakukan proses 1.
thresholding (memisahkan objek dengan
background citra), kemuadian akan dilakukan
proses ekstraksi ciri bentuk dengan ciri berupa
(Area, Perimeter, Metric, Mayor Axis, Minor 2.
Axis, Eccentricity) dan ekstraksi ciri tekstur
dengan metode GLCM (Gray Level Co-
occurrence Matrix) dengan ciri berupa
(Contrast, Correlation, Energy, Homogeneity),
setelah itu baru dilakukan proses klasifikasi 3.
dengan SVM dan KNN. Proses klasifikasi
seperti dalam Flowchart Gambar 1. Dan
contoh dataset yang digunakan dalam Tabel 1
4.
5.
49
Jurnal SPIRIT Vol. 12 No. 1 Mei 2020, hal 48-51 P- ISSN : 2085 – 3092
E- ISSN : 2721 – 057X
50
Jurnal SPIRIT Vol. 12 No. 1 Mei 2020, hal 48-51 P- ISSN : 2085 – 3092
E- ISSN : 2721 – 057X
51