Implementasi Algoritma Convolutional Neural Network Untuk Klasifikasi Citra Kemasan Kardus Defect dan No Defect
Abstract
Packaging is an important aspect of a product, because packaging can affect the quality and competitiveness of the product. Damaged packaging can result in decreased product quality. One popular packaging used is corrugated cardboard type box. To visually distinguish defect and no defect cardboard packaging, there are tears, holes and dents on the defect cardboard packaging. Whereas the no defect cardboard packaging has a visual that there are no tears, holes or dents. To simplify the classification, technology is needed that can distinguish between defect and no-defect cardboard packaging. In this study the total images used as a dataset are 1300 images, which are then divided into 2 with a percentage of 80% for training data and 20% for test data. The dataset first goes through the preprocessing stage before being used. Preprocessing consists of cropping, augmentation and resizing. And also do the segmentation process using Grabcut method. Then feature extraction is also performed using Local Binary Pattern (LBP). This study uses the Convolutional Neural Network algorithm with a total of 3 convolution layers, namely 16.32 and 64 and the Adam optimizer. Four experiments were carried out by differentiating the hyperparameter epoch, the input image size and the learning rate. The results showed that the model produced with an epoch hyperparameter of 30, an input image size of 300x300 and a learning rate of 0.001 obtained the best performance with an accuracy value of 95.77%, 96% precision, 96% recall, 96% f1-score and loss of 0.1478.
Downloads
References
Ari Widiati, “Peranan Kemasan (Packaging) Dalam Meningkatkan Pemasaran Produk Usaha Mikro Kecil Menengah (Umkm) Di ‘Mas Pack’ Terminal Kemasan Pontianak,” Jurnal Audit dan Akuntansi Fakultas Ekonomi (JAAKFE), vol. Vol. 8, pp. 67–76, 2019.
Kementrian Perdagangan Republik Indonesia, “Desain Kemasan Produk Makanan Olahan,” 2017. [Online]. Available: http://djpen.kemendag.go.id
Tariq M. arif, “Synthesis Lectures on Mechanical Engineering,” 2020.
F. Fitra Maulana and N. Rochmawati, “Klasifikasi Citra Buah Menggunakan Convolutional Neural Network,” JINACS, vol. Volume 01, no. Nomor 02, pp. 104–108, 2019.
Moh. A. Hasan, Y. Riyanto, and D. Riana, “Grape leaf image disease classification using CNN-VGG16 model,” Jurnal Teknologi dan Sistem Komputer, vol. 9, no. 4, pp. 218–223, Oct. 2021, doi: 10.14710/jtsiskom.2021.14013.
D. Efendi, J. Jasril, S. Sanjaya, F. Syafria, and E. Budianita, “Penerapan Algoritma Convolutional Neural Network Arsitektur ResNet-50 untuk Klasifikasi Citra Daging Sapi dan Babi,” JURIKOM (Jurnal Riset Komputer), vol. 9, no. 3, p. 607, Jun. 2022, doi: 10.30865/jurikom.v9i3.4176.
A. Kirana, H. Hikmayanti, and J. Indra, “Pengenalan Pola Aksara Sunda dengan Metode Convolutional Neural Network,” Scientific Student Journal for Information, Technology and Science, vol. 1, no. 2, pp. 95–100, 2020.
R. Kusumawardani and P. D. Karningsih, “Detection and Classification of Canned Packaging Defects Using Convolutional Neural Network,” PROZIMA (Productivity, Optimization and Manufacturing System Engineering), vol. 4, no. 1, pp. 1–11, Mar. 2021, doi: 10.21070/prozima.v4i1.1280.
A. Ratna Juwita et al., “IDENTIFIKASI CITRA BATIK DENGAN METODE CONVOLUTIONAL NEURAL NETWORK,” Buana Ilmu, no. Vol 6 No 1, pp. 192–208, 2021.
I. K. Trisiawan and Y. Yuliza, “Penerapan Multi-Label Image Classification Menggunakan Metode Convolutional Neural Network (CNN) Untuk Sortir Botol Minuman,” Jurnal Teknologi Elektro, vol. 13, no. 1, p. 48, Feb. 2022, doi: 10.22441/jte.2022.v13i1.009.
N. IBRAHIM et al., “Klasifikasi Tingkat Kematangan Pucuk Daun Teh menggunakan Metode Convolutional Neural Network,” ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, vol. 10, no. 1, p. 162, Jan. 2022, doi: 10.26760/elkomika.v10i1.162.
B. Hanin and D. Rolnick, “How to Start Training: The Effect of Initialization and Architecture,” Adv. Neural Inf. Process. Syst, vol. 2018-Decem, no. NeurIPS, pp. 571–581, 2018.
P. Winardi and E. Setyati, “Identifikasi Jenis Daging dengan Menggunakan Algoritma Convolution Neural Network,” Journal of Information System,Graphics, Hospitality and Technology, vol. 3, no. 02, pp. 82–88, Dec. 2021, doi: 10.37823/insight.v3i02.178.
Adrian Rosebrock, “OpenCV GrabCut: Foreground Segmentation and Extraction,” pyimagesearch.com, 2020.
A. W. Setiawan, “PERBANDINGAN PRESKRINING LESI KULIT BERBASIS CONVOLUTIONAL NEURAL NETWORK: CITRA ASLI DAN TERSEGMENTASI,” Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK), vol. 8, no. 4, pp. 793–799, 2021, doi: 10.25126/jtiik.202184411.
N. Akmalia, P. Sihombing, and Suherman, “Skin Diseases Classification Using Local Binary Pattern and Convolutional Neural Network,” in 2019 3rd International Conference on Electrical, Telecommunication and Computer Engineering, ELTICOM 2019 - Proceedings, Sep. 2019, pp. 168–173. doi: 10.1109/ELTICOM47379.2019.8943892.
M. Ezar, A. Rivan, and S. Devella, “PENGENALAN IRIS MENGGUNAKAN FITUR LOCAL BINARY PATTERN DAN RBF CLASSIFIER,” Jurnal SIMETRIS, vol. 11, no. 1, 2020.
M. F. Herlambang, A. N. Hermana, and K. R. Putra, “Pengenalan Karakter Huruf Braille dengan Metode Convolutional Neural Network,” Systemic: Information System and Informatics Journal, vol. 6, no. 2, pp. 20–26, Jan. 2021, doi: 10.29080/systemic.v6i2.969.
N. Rochmawati et al., “Analisa Learning rate dan Batch size Pada Klasifikasi Covid Menggunakan Deep learning dengan Optimizer Adam,” JIEET (Journal Information Engineering and Educational Technology), vol. 05, no. 02, pp. 44–48, 2021.
K. Foysal Haque, F. Farhan Haque, L. Gandy, and A. Abdelgawad, “Automatic Detection of COVID-19 from Chest X-ray Images with Convolutional Neural Networks,” in Proceedings - 2020 International Conference on Computing, Electronics and Communications Engineering, iCCECE 2020, Aug. 2020, pp. 125–130. doi: 10.1109/iCCECE49321.2020.9231235.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Implementasi Algoritma Convolutional Neural Network Untuk Klasifikasi Citra Kemasan Kardus Defect dan No Defect
Pages: 1941−1950
Copyright (c) 2023 Alan Antoni, Tatang Rohana, Adi Rizky Pratama

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).





















