Jurnal Sistem Cerdas
Vol. 8 No. 3 (2025): In progress (December)

The Effect of Lighting Variations on the Accuracy of Formalin Detection in Milkfish Using HSV Color Space and k-Nearest Neighbors (kNN) Algorithm

Falih, Noor (Unknown)
Wadu, Ruth Mariana Bunga (Unknown)
Indarso, Andhika Octa (Unknown)
Audytra, Hastie (Unknown)
Dani, Ahmad Ali Hakam (Unknown)



Article Info

Publish Date
24 Dec 2025

Abstract

Milkfish (Chanos chanos) is a widely consumed fish commodity in Indonesia, often subject to preservation using formalin, a chemical with serious health risks when misused. This study proposes a non-destructive formalin detection method using HSV (Hue, Saturation, Value) color features extracted from eye images of milkfish, classified via the k-Nearest Neighbor (kNN) algorithm. The research investigates the impact of varying illumination levels low, medium, and high on the consistency of HSV features and the accuracy of kNN classification. Results show that medium lighting conditions yield the highest classification accuracy, suggesting an optimal illumination range for field deployment. The system's simplicity and potential for real-time implementation on mobile or embedded platforms make it suitable for use by non-technical personnel in traditional markets. Challenges such as environmental temperature, image angle, and surface reflectivity are addressed through calibration strategies and operational guidelines. This study contributes practical insights into lighting control and feature stability, enhancing the reliability of image-based formalin detection systems.

Copyrights © 2025






Journal Info

Abbrev

jsc

Publisher

Subject

Automotive Engineering Computer Science & IT Control & Systems Engineering Education Electrical & Electronics Engineering

Description

Jurnal Sistem Cerdas dengan eISSN : 2622-8254 adalah media publikasi hasil penelitian yang mendukung penelitian dan pengembangan kota, desa, sektor dan kesistemam lainnya. Jurnal ini diterbitkan oleh Asosiasi Prakarsa Indonesia Cerdas (APIC) dan terbit setiap empat bulan ...