Journal of Students‘ Research in Computer Science (JSRCS)
Vol. 6 No. 1 (2025): Mei 2025

Implementasi K-Means Clustering pada Citra Digital Tomat untuk Identifikasi Kondisi Segar dan Busuk

Aznawi, Nasrul Mahruf (Unknown)
Setiadi, Muhammad Irham (Unknown)
Aina, Zarifah (Unknown)
Manullang, Setti (Unknown)
Rahmadiyah, Shafira Nur (Unknown)



Article Info

Publish Date
30 May 2025

Abstract

The manual identification of fresh and rotten tomatoes has still relied on human visual observation, which tends to be inconsistent and time-consuming. This study aimed to develop a tomato image classification system using the K-Means Clustering method based on color, shape, and texture features to automatically identify fresh and rotten conditions. The Dataset consisted of 500 tomato images for training and 60 tomato images for testing, equally representing fresh and rotten conditions. The process involved converting the images into L*a*b and grayscale formats, performing segmentation using K-Means, and extracting shape and texture features for the classification process. The testing results showed that the system successfully classified fresh and rotten tomatoes with an accuracy rate of 95%, with both precision and recall exceeding 93% for each class. These findings indicated that the K-Means method could be effectively applied in tomato image processing to support the sorting process of agricultural products. This research contributed to the development of a digital image-based classification system that could be integrated into smart agriculture systems.

Copyrights © 2025






Journal Info

Abbrev

JSRCS

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management

Description

Jurnal ini berisi tentang karya ilmiah hasil penelitian mahasiswa bidang ilmu komputer bersama dosen pembimbingnya yang bertemakan: Algoritma, Augmented and Virtual Reality, Bahasa Komputasi, Computer Graphics, Game Teknologi, Mobile Computing, Operating Systems, Pengolahan Citra, Robotika, Sistem ...