We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Artificial Intelligence & Machine Learning/Comparative Analysis of YOLOv5n and YOLOv8n Deep Learning Models for Precision Detection of Klowong Defects in Batik Fabric
PeriodicalsArtificial Intelligence & Machine Learning

Comparative Analysis of YOLOv5n and YOLOv8n Deep Learning Models for Precision Detection of Klowong Defects in Batik Fabric

Checking your access to this record.

Abstract & Overview

This study presents a comparative analysis of two deep learning object detection models, YOLOv5n and YOLOv8n, for the precies identification of Klowong defects in batik fabric. The evaluation was carried out using a custom dataset consisting of 3,138 annotated images, with 921 allocated for testing and containing 1,295 defect instances across nine defect classes. The main findings show that YOLOv8n outperforms YOLOv5n in both speed and accuracy. YOLOv8n achieved a higher F1-score of 0.87 at a lower confidence threshold (0.297), compared to YOLOv5n’s F1-score of 0.86 at a higher threshold (0.46). In addition, YOLOv8n reduced training time significantly (0.320 hours vs. 0.868 hours) and delivered much faster inference speed (2.9 ms/image), nearly three times quicker than YOLOv5n. Although both models performed well in detecting common defects, YOLOv8n showed more stable results on complex defect types. These improvements make YOLOv8n more suitable for real-time applications in batik production environments. Its efficiency and accuracy support the development of fast and reliable automated quality control systems in traditional textile industries. This research emphasizes the importance of using modern lightweight architectures like YOLOv8n to enhance defect detection performance in practical manufacturing settings.

Cite this record

Rifqi Restu Hamidi, Muhammad Kusumawan Herliansyah, Denny Sukma Eka Atmaja, Andi Sudiarso (2025). Comparative Analysis of YOLOv5n and YOLOv8n Deep Learning Models for Precision Detection of Klowong Defects in Batik Fabric. TIERS Information Technology Journal, 6(1), 74–86. https://doi.org/10.38043/tiers.v6i1.6499

Copy in another style

Hamidi, R. R., Herliansyah, M. K., Atmaja, D. S. E., & Sudiarso, A. (2025). Comparative Analysis of YOLOv5n and YOLOv8n Deep Learning Models for Precision Detection of Klowong Defects in Batik Fabric. TIERS Information Technology Journal, 6(1), 74–86. https://doi.org/10.38043/tiers.v6i1.6499
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.