Implementasi Sistem Deteksi Visual Cacat Pengelasan Menggunakan Metode Image Processing Berbasis Raspberry Pi

Authors

  • Taufik Fathoni Universitas Global Jakarta, Jakarta
  • Devan Junesco Vresdian Universitas Global Jakarta, Jakarta
  • Ariep Jaenul Universitas Global Jakarta, Jakarta

DOI:

https://doi.org/10.30865/jurikom.v13i2.9614

Keywords:

Deteksi cacat pengelasan, Image processing, Gray Level Co-occurrence Matrix (GLCM), Histogram of Oriented Gradients (HOG), Principal Component Analysis (PCA), Support Vector Machine (SVM), Raspberry Pi

Abstract

This study develops a visual welding defect detection system based on Raspberry Pi by utilizing Gray Level Co-occurrence Matrix (GLCM), Histogram of Oriented Gradients (HOG), Principal Component Analysis (PCA), and Support Vector Machine (SVM) methods to identify various types of welding defects, including porosity, undercut, burn-through, overlap, and spatter. The system is designed to operate automatically and in real-time through several processing stages, including image acquisition, preprocessing to enhance image quality, Region of Interest (ROI) segmentation, feature extraction of texture and shape, dimensionality reduction using PCA, and multiclass classification using SVM. In addition, this study aims to evaluate the effect of image acquisition conditions on system performance, particularly variations in lighting, distance, and camera angle, which are critical factors in industrial implementation. Experiments were conducted under several scenarios to determine the optimal parameters that yield the best performance. The results show that the optimal condition is achieved at a lighting level of 50 lux, a camera distance of 10 cm, and a viewing angle of 20°. Under these conditions, the system achieves an accuracy of 100% for normal part classification and 94.4% for multiclass classification. The precision and recall values both reach 94%, with an F1-score of 93%, indicating a balanced performance in detecting different types of welding defects. Overall, the results demonstrate that the proposed system has strong potential as an effective, efficient, and real-time automated inspection solution for welding quality in industrial manufacturing environments.

References

[1] A. Maulana, D. E. Yuliana, and D. A. W. Kusumastutie, “Weld Defect Classifier Using GLCM Extraction and ANN,” JTECS J. Sist. Telekomun. Elektron. Sist. Kontrol Power Sist. dan Komput., vol. 2, no. 2, p. 133, 2022, doi: 10.32503/jtecs.v2i2.2701.

[2] A. Khumaidi and R. L. Pradana, “Identifikasi Penyebab Cacat Pada Hasil Pengelasan Dengan Image Processing Menggunakan Metode Yolo,” J. Tek. Elektro dan Komput. TRIAC, vol. 9, no. 3, pp. 107–112, 2022, doi: 10.21107/triac.v9i3.15997.

[3] N. Saefulloh, J. Indra, and A. Ratna Juwita, “Implementasi Algoritma Convolutional Neural Network (CNN) Untuk Klasifikasi Kecacatan Pada Proses Welding di Perusahaan Manufacturing,” Technol. Sci., vol. 6, no. 1, pp. 387–394, 2024, doi: 10.47065/bits.v6i1.5321.

[4] I. K. S. Buana, “Deteksi Gerakan Kepala Dan Kedipan Mata Dengan Haar Cascade Classifier Contour Dan Morfologi Dalam Pengoperasian Komputer Untuk Kaum Difable,” JURTEKSI (Jurnal Teknol. dan Sist. Informasi), vol. 5, no. 1, pp. 29–36, 2019, doi: 10.33330/jurteksi.v5i1.273.

[5] R. Alamsyah, I. J. Tarigan, and R. Yap, “Klasifikasi Jenis Sampah dengan Metode Gray Level Co-Occurence Matrix (GLCM) dan Support Vector Machine (SVM),” J. Armada Inform., vol. 7, no. 2, pp. 342–352, 2023, [Online]. Available: http://jurnal.stmikmethodistbinjai.ac.id/jai/article/view/85

[6] S. Sriani and Y. Rizky, “Klasifikasi Kualitas Daun Tembakau Menggunakan Glcm (Gray Level Co-Occurrence Matrix) Dan Svm (Support Vector Machine),” J. Inform. dan Tek. Elektro Terap., vol. 12, no. 3, pp. 3342–3349, 2024, doi: 10.23960/jitet.v12i3.4599.

[7] A. Ur Rahman, A. Noori Qadir, and P. Othman Sabir, “An abstract approach to sequences and series using soft complex numbers,” Sigma J. Eng. Nat. Sci., vol. 43, no. 5, pp. 1751–1759, 2025, doi: 10.14744/sigma.2025.00000.

[8] Asni, M. W. B, and M. J. Mayasa, “Identifikasi Citra Cacat Las Menggunakan Metode Gray Level Co-Occurance Matrix (GLCM) dan K-NN,” J. Tek. Elektro Uniba (JTE UNIBA), vol. 7, no. 1, pp. 261–268, 2022, doi: 10.36277/jteuniba.v7i1.176.

[9] M. A. Amat and M. Luthfi, “Teknik Pemrosesan Gambar Digital pada Hasil Pengelasan TIG Aluminum Paduan untuk Aplikasi Pengukuran Lebar Manik Las,” vol. 2, no. 1, pp. 10–18, 2023.

[10] M. T. S. Azwar and Gusti, “Identifikasi Cacat Pada Kayu Menggunakan Fitur GLCM Dengan Metode SVM,” J. Algoritm., vol. 3, no. 1, pp. 22–32, 2022.

[11] I. M. Bachri et al., “Implementasi Face Detection dan Penghitungan Jumlah Menggunakan Raspberry Pi 4 dan,” vol. 11, no. 1, pp. 129–132, 2024.

[12] H. Hafid, M. Balfas, F. Habib, and M. A. Fitrah, “Analisis Perbandingan Kekuatan Tarik Pada Baja St. 37 Dengan Proses Pengelasan Smaw, Gmaw Dan Gtaw,” J-Move. J. Tek. Mesin FT-UMI., vol. 4, no. 1, pp. 8–13, 2022, [Online]. Available: https://jurnal.ft.umi.ac.id/index.php/jmove/article/download/408/271/

[13] W. Hou, L. Rao, A. Zhu, and D. Zhang, “Feature Fusion for Weld Defect Classification with Small Dataset,” J. Sensors, vol. 2022, 2022, doi: 10.1155/2022/8088202.

[14] I. A. P. et al. Ikhsanudin Ramadhan, Rilo Chandra Muhamadin, “Analisis kegagalan pada hasil pengelasan di pt. autokorindo pratama,” vol. 1, no. 1, pp. 36–42, 2024.

[15] D. Jaya, A. Kadnyanan, and G. Astuti, “Etl pipeline di pt sirkadian indonesia sehat,” vol. 2, pp. 589–594, 2024.

[16] D. Normawati and S. A. Prayogi, “Implementasi Naïve Bayes Classifier Dan Confusion Matrix Pada Analisis Sentimen Berbasis Teks Pada Twitter,” J. Sains Komput. Inform. (J-SAKTI, vol. 5, no. 2, pp. 697–711, 2021.

[17] M. P. S. Paskel, M. Ariyon, F. Fitrianti, A. Sebayang, E. Tarigan, and L. Tarigan, “Analisa Perbandingan Kekuatan Tarik Material Hasil Pengelasan Drill Pipe Baja dengan Menggunakan Metode Pengelasan SMAW dan MIG dengan Arus 140 A,” JIIP - J. Ilm. Ilmu Pendidik., vol. 7, no. 9, pp. 9493–9497, 2024, doi: 10.54371/jiip.v7i9.5920.

[18] C. Shi et al., “A Welding Defect Detection Model Based on Hybrid-Enhanced Multi-Granularity Spatiotemporal Representation Learning,” Sensors, vol. 25, no. 15, pp. 1–21, 2025, doi: 10.3390/s25154656.

[19] N. Sujana, M. M. Mutoffar, and A. A. Haryanto, “UNTUK DETEKSI EKSPRESI WAJAH EMOSIONAL,” vol. 06, no. 02, pp. 115–124, 2024.

[20] A. Wira Bramantya and F. Utaminingrum, “Rancang Bangun Sistem Klasifikasi Tipe Permukaan Jalan menggunakan Gray Level Co-Occurrence Matrix (GLCM) dan Support Vector Machine (SVM) berbasis Raspberry Pi,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 6, no. 2, pp. 552–558, 2022, [Online]. Available: http://j-ptiik.ub.ac.id

[21] A. Arifin, “Pengantar Teknologi Pengelasan,” Unsri Press, 2024.

Published

2026-04-30

How to Cite

Fathoni, T., Devan Junesco Vresdian, & Ariep Jaenul. (2026). Implementasi Sistem Deteksi Visual Cacat Pengelasan Menggunakan Metode Image Processing Berbasis Raspberry Pi. JURNAL RISET KOMPUTER (JURIKOM), 13(2). https://doi.org/10.30865/jurikom.v13i2.9614

Issue

Section

Articles