J-KOMA : Jurnal Ilmu Komputer dan Aplikasi
Vol 7 No 2 (2024): J-KOMA : Jurnal Ilmu Komputer dan Aplikasi

Classification of Yogyakarta Batik Using the K-Nearest Neighbor (KNN) and Gray Level Co-occurrence Matrix (GLCM) Methods

Qur’ania, Arie (Unknown)
Dias Saharani, Ananda (Unknown)
Handini, Riri (Unknown)



Article Info

Publish Date
20 Dec 2024

Abstract

The preservation of Yogyakarta batik motifs as part of Indonesia’s cultural heritage can be supported through digital image classification technology. This study aims to develop an automatic classification system for Yogyakarta batik motifs using the Gray Level Co-occurrence Matrix (GLCM) method for texture feature extraction and the K-Nearest Neighbor (KNN) algorithm for the classification process. The dataset consists of 1,350 digital images of six different batik motif types, sourced from Kaggle. The system was developed and tested on the Google Colab platform through several stages, including preprocessing, feature extraction, model training, and performance evaluation using accuracy, precision, recall, and F1-score metrics. The evaluation results show that the model achieved an accuracy of 60%, with the best performance on the batik-ceplok motif (F1-score of 77%) and the lowest on the batik-kawung motif (F1-score of 46%). The system was then implemented as a web application using the Streamlit framework, allowing users to upload images and receive classification results in real time. This implementation not only contributes to the field of image processing but also aids in cultural preservation through digitization and easy access to batik motif classification  

Copyrights © 2024






Journal Info

Abbrev

jkoma

Publisher

Subject

Computer Science & IT

Description

J-KOMA is an open access journal, with core focus in two aspect: computer science general and information technology. All copyrights are retained by each respective author, but we hold publishing right. Currently, this journal has E-ISSN :2620-4827 published by LIPI which made it as a national ...