ResNet50-Driven Quality Inspection for Recorder Musical Instrument

Authors

DOI:

https://doi.org/10.29207/resti.v9i5.7058

Keywords:

defect detection, musical instrument, neural network, recorder, ResNet50

Abstract

The manufacturer of a recorder musical instrument requires high-quality product. The aim is to produce precise tones and an aesthetic look at customer satisfaction. A major challenge encountered by manufacturers is traditional visual inspection. Human error is a major factor, notably over extended work periods and the subjective judgment of quality control personnel. This paper reports on the development of a machine vision system for detecting abnormal patterns on the inner surface of a recorder musical instrument. An industrial-grade camera with a resolution of 1280 × 1024, paired with industrial lighting, was utilized. Due to its tube-shaped construction of the object, the bright-field imaging technique is applied to illuminate the interior. ResNet50 was selected as a feature extractor due to its balance between accuracy and efficiency. In addition, a Neural Network served as the classifier. A total of 1,118 images were collected as training data and 304 images as testing data. The training and testing data were separate sets that were taken independently, preventing any risk of data leakage. The test results indicated that the model performed exceptionally well in classification, achieving an accuracy of 95.7%, precision of 95.45%, sensitivity of 96.07%, and specificity of 95.36%. Moreover, the area under the curve of the Receiver Operating Characteristic (ROC AUC) score in test data reached 0.9906, reflecting the model's ability to separate features from the two classes. These findings suggest that the proposed method offers an alternative to subjective visual inspection. Future research may examine diverse deep learning architectures to further enhance performance while achieving faster classification.

Downloads

Download data is not yet available.

References

G. Mao, Q. Zhixin, N. Jianwei, W. Yu, Z. Xiaojun, and T. Zhi, “Research on Weld Defect Detection of Multi-Scale Normalized Gray-Level Co-Occurrence Matrix,” in ICSMD 2023 - International Conference on Sensing, Measurement and Data Analytics in the Era of Artificial Intelligence, Proceedings, Institute of Electrical and Electronics Engineers Inc., 2023. doi: 10.1109/ICSMD60522.2023.10490684.

Y. F. Tang and B. Zheng, “Thread Surface Defect Detection Based on Image Processing,” in IEEE Information Technology and Mechatronics Engineering Conference, ITOEC, Institute of Electrical and Electronics Engineers Inc., 2025, pp. 1423–1427. doi: 10.1109/ITOEC63606.2025.10967740.

J. Meng and S. Wen, “Detection of Steel Surface Defects Based on Improved YOLOv8n Algorithm,” in 2024 2nd International Conference on Algorithm, Image Processing and Machine Vision (AIPMV), IEEE, Jul. 2024, pp. 8–12. doi: 10.1109/AIPMV62663.2024.10692098.

J. Esclapés, A. Gómez, and A. Ibañez, “Flow. A socially responsible 3d printed one-handed recorder,” Int J Environ Res Public Health, vol. 18, no. 22, Nov. 2021, doi: 10.3390/ijerph182212200.

D. LASOCKI, R. EHRLICH, N. TARASOV, and M. PETRI, “INTRODUCTION,” in The Recorder, Yale University Press, 2022, pp. XI–XIV. doi: 10.2307/j.ctv335kw78.5.

S. Sankararaman, “Analysis of musical notes of flute: A recurrence-based phase space approach,” Chinese Journal of Physics, vol. 83, pp. 113–122, Jun. 2023, doi: 10.1016/j.cjph.2023.02.004.

N. Toradmal, V. Bairagi, and D. Jadhav, “Feature Extraction of Unprinted Fabric for Defect Detection Using Gabor Filter, HOG and SVM,” in 2024 International Conference on Emerging Smart Computing and Informatics, ESCI 2024, Institute of Electrical and Electronics Engineers Inc., 2024. doi: 10.1109/ESCI59607.2024.10497237.

C. Wu, X. Zou, and Z. Yu, “A Detection Method for Wood Surface Defect Based on Feature Fusion,” in 2022 4th International Conference on Frontiers Technology of Information and Computer, ICFTIC 2022, Institute of Electrical and Electronics Engineers Inc., 2022, pp. 876–880. doi: 10.1109/ICFTIC57696.2022.10075158.

T. Van Le, J. D. Joshua, T. Kim, J. Lee, S. H. Kim, and J. Y. Lee, “Surface defect detection using distributed features,” Eng Appl Artif Intell, vol. 151, p. 110655, Jul. 2025, doi: 10.1016/j.engappai.2025.110655.

Z. Ren, “Surface Defect Detection and Classification Methods for Aluminum Profiles Based on CNN,” in Proceedings - 2024 17th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics, CISP-BMEI 2024, Institute of Electrical and Electronics Engineers Inc., 2024. doi: 10.1109/CISP-BMEI64163.2024.10906210.

R. Fu, Y. Zhang, D. Novák, A. Strauss, and M. Cao, “A lightweight convolutional neural network-based model and system for defect detection and navigation on bridge road surface,” Advances in Engineering Software, vol. 208, Oct. 2025, doi: 10.1016/j.advengsoft.2025.103972.

F. Ding et al., “Research on ultrasonic non-destructive detection method for defects in GFRP laminates based on machine learning,” Ocean Engineering, vol. 327, May 2025, doi: 10.1016/j.oceaneng.2025.120972.

P. Natho, S. Boonying, P. Bonguleaum, N. Tantidontanet, and L. Chamuthai, “An enhanced machine vision system for smart poultry farms using deep learning,” Smart Agricultural Technology, vol. 12, Dec. 2025, doi: 10.1016/j.atech.2025.101083.

K. Pawikhum, Y. Yang, L. He, and P. Heinemann, “Development of a Machine vision system for apple bud thinning in precision crop load management,” Comput Electron Agric, vol. 236, Sep. 2025, doi: 10.1016/j.compag.2025.110479.

W. Han, “Research on Quality Monitoring Platform and Resource Scheduling Algorithm Based on Machine Vision,” in Procedia Computer Science, Elsevier B.V., 2025, pp. 1064–1071. doi: 10.1016/j.procs.2025.04.060.

M. F. Mogro, F. A. Jacome, G. M. Cruz, and J. R. Zurita, “View of Sorting Line Assisted by A Robotic Manipulator and Artificial Vision with Active Safety,” Journal of Robotics and Control, vol. 5, no. 2, 2024, doi: 10.18196/jrc.v5i2.20327.

S. M. Kiran and D. N. Chandrappa, “Plant Leaf Disease Detection Using Efficient Image Processing and Machine Learning Algorithms,” Journal of Robotics and Control (JRC), vol. 4, no. 6, pp. 840–848, 2023, doi: 10.18196/jrc.v4i6.20342.

Y. Liu, Y. Zheng, T. Wei, and Y. Li, “Lightweight algorithm based on you only look once version 5 for multiple class defect detection on wind turbine blade surfaces,” Eng Appl Artif Intell, vol. 138, Dec. 2024, doi: 10.1016/j.engappai.2024.109422.

A. Macharla and G. Pradeepini, “A novel framework for the diagnosis of Parkinson’s disease using transfer learning with RESNET50 and SVM classifier,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 32, no. 2, pp. 877–886, 2023, doi: 10.11591/ijeecs.v32.i2.pp877-866.

R. M. Abd-Elghaffar, M. El-Zalabany, H. E. D. Moustafa, and M. El-Seddek, “Classification of focal liver disease in egyptian patients using ultrasound images and convolutional neural networks,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 27, no. 2, pp. 793–802, Aug. 2022, doi: 10.11591/ijeecs.v27.i2.pp793-802.

H. Imaduddin, I. C. Utomo, and D. A. Anggoro, “Fine-tuning ResNet-50 for the classification of visual impairments from retinal fundus images,” International Journal of Electrical and Computer Engineering, vol. 14, no. 4, pp. 4175–4182, Aug. 2024, doi: 10.11591/ijece.v14i4.pp4175-4182.

A. Rath, B. S. P. Mishra, and D. K. Bagal, “ResNet50-based Deep Learning model for accurate brain tumor detection in MRI scans,” Next Research, vol. 2, no. 1, p. 100104, Mar. 2025, doi: 10.1016/j.nexres.2024.100104.

D. Anggriandi and A. Sunyoto, “Multi-Class Classification of Skin Diseases Using ResNet50,” in 2023 6th International Conference on Information and Communications Technology, ICOIACT 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 349–354. doi: 10.1109/ICOIACT59844.2023.10455953.

W. Prastiwinarti, M. K. Delimayanti, H. Kurniawan, Y. P. Pratama, H. Wendho, and R. Adi, “Efficient packaging defect detection: leveraging pre-trained vision models through transfer learning,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 34, no. 3, pp. 2096–2106, Jun. 2024, doi: 10.11591/ijeecs.v34.i3.pp2096-2106.

Q. Yu, Y. Zhang, J. Xu, Y. Zhao, and Y. Zhou, “Intelligent damage classification for tensile membrane structure based on continuous wavelet transform and improved ResNet50,” Measurement (Lond), vol. 227, Mar. 2024, doi: 10.1016/j.measurement.2024.114260.

K. S. Vishal, S. K. Srinidhi, U. S. Shashank, and R. P. Singh, “Enhanced Small Object Detection in Remotely Sensed Images using Hybrid ResNet50 and Feature Pyramid Network,” in Procedia Computer Science, Elsevier B.V., 2025, pp. 1813–1822. doi: 10.1016/j.procs.2025.04.433.

L. Tan and Y. Hu, “Accurate Detection and Classification of Surface Defects in Electric Porcelain Insulators Based on Deep Learning Intelligent Algorithms,” in Procedia Computer Science, Elsevier B.V., 2025, pp. 582–588. doi: 10.1016/j.procs.2025.04.248.

X. Zou, C. Wu, H. Liu, and Z. Yu, “Improved ResNet-50 model for identifying defects on wood surfaces,” Signal Image Video Process, vol. 17, no. 6, pp. 3119–3126, Sep. 2023, doi: 10.1007/s11760-023-02533-y.

N. Sagar et al., “Precision detection of grapevine downy and powdery mildew diseased leaves and fruits using enhanced ResNet50 with batch normalization,” Comput Electron Agric, vol. 232, May 2025, doi: 10.1016/j.compag.2025.110144.

N. A. Sehree and A. M. Khidhir, “Olive trees cases classification based on deep convolutional neural network from unmanned aerial vehicle imagery,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 27, no. 1, pp. 92–101, Jul. 2022, doi: 10.11591/ijeecs.v27.i1.pp92-101.

A. S. Hatem, M. S. Altememe, and M. A. Fadhel, “Identifying corn leaves diseases by extensive use of transfer learning: a comparative study,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 29, no. 2, pp. 1030–1038, Feb. 2023, doi: 10.11591/ijeecs.v29.i2.pp1030-1038.

P. Bohlol, S. Hosseinpour, and M. Soltani Firouz, “Improved food recognition using a refined ResNet50 architecture with improved fully connected layers,” Curr Res Food Sci, vol. 10, Jan. 2025, doi: 10.1016/j.crfs.2025.101005.

F. Tempola, R. Wardoyo, A. Musdholifah, Rosihan, and A. K. Nugroho, “Implementation of Deep Learning With Resnet50 Modification for Clove classification,” in Proceeding - IEEE 9th Information Technology International Seminar, ITIS 2023, Institute of Electrical and Electronics Engineers Inc., 2023. doi: 10.1109/ITIS59651.2023.10419960.

G. Singh, K. Guleria, and S. Sharma, “Advanced Fruit Sorting: Pre-trained ResNet50 Model for Rotten and Fresh Fruit Classification,” in 2024 4th Asian Conference on Innovation in Technology (ASIANCON), IEEE, Aug. 2024, pp. 1–5. doi: 10.1109/ASIANCON62057.2024.10837782.

“Sadimantara2024-View of The Classification of Aflatoxin Contamination Level in Cocoa Beans using Fluorescence Imaging and Deep learning”.

I. A. M. Dioses, W. Castillo, P. N. Santiago, M. P. Geronimo, J. A. MacAso, and S. D. C. Domingo, “Performance of ResNet50 in Classifying Artificial Intelligence Generated Arts,” in Proceedings of the International Colloquium on Signal Processing and Its Applications, CSPA, Institute of Electrical and Electronics Engineers Inc., 2025, pp. 361–366. doi: 10.1109/CSPA64953.2025.10933073.

M. R. Rai and J. Rosen, “Depth-of-field engineering in coded aperture imaging,” Opt Express, vol. 29, no. 2, p. 1634, Jan. 2021, doi: 10.1364/oe.412744.

X. Qian et al., “Towards Single-Lens Controllable Depth-of-Field Imaging via Depth-Aware Point Spread Functions,” IEEE Trans Comput Imaging, 2025, doi: 10.1109/TCI.2025.3544019.

M. Gerges and X. Chen, “Adaptive Lighting for Curved and Nonuniform Objects in Optomechanical Inspection Systems,” IEEE/ASME Transactions on Mechatronics, vol. 27, no. 6, pp. 5792–5802, Dec. 2022, doi: 10.1109/TMECH.2022.3189344.

Q. Sun, K. Xu, H. Liu, and J. Wang, “Unsupervised surface defect detection of aluminum sheets with combined bright-field and dark-field illumination,” Opt Lasers Eng, vol. 168, Sep. 2023, doi: 10.1016/j.optlaseng.2023.107674.

V. Marin-Lizarraga, R. Rodríguez-García, J. L. Garcia-Cordero, D. May-Arrioja, C. De-la-Peña, and L. D. Patiño-López, “Simultaneous bright-field and fluorescence lensless imaging with high excitation light extinction for microfluidics applications,” Opt Lasers Eng, vol. 185, Feb. 2025, doi: 10.1016/j.optlaseng.2024.108724.

Z. T. Omer and A. H. Abbas, “Image anomalies detection using transfer learning of resnet-50 convolutional neural network,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 27, no. 1, pp. 198–205, Jul. 2022, doi: 10.11591/ijeecs.v27.i1.pp198-205.

D. Theckedath and R. R. Sedamkar, “Detecting Affect States Using VGG16, ResNet50 and SE-ResNet50 Networks,” SN Comput Sci, vol. 1, no. 2, Mar. 2020, doi: 10.1007/s42979-020-0114-9.

C. Sahaya Pushpa Sarmila Star, T. M. Inbamalar, and A. Milton, “Automatic semantic segmentation of breast cancer in DCE-MRI using DeepLabV3+ with modified ResNet50,” Biomed Signal Process Control, vol. 99, Jan. 2025, doi: 10.1016/j.bspc.2024.106691.

K. Hanapi, A. Setyanto, and A. Dwi Hartanto, “Comparison of ResNet50 and SqueezeNet1.1 for Plastic Bottles and Cans Classification,” in Proceeding - 6th International Conference on Information Technology, Information Systems and Electrical Engineering: Applying Data Sciences and Artificial Intelligence Technologies for Environmental Sustainability, ICITISEE 2022, Institute of Electrical and Electronics Engineers Inc., 2022, pp. 525–529. doi: 10.1109/ICITISEE57756.2022.10057634.

A. Noel, W. Vincent, and J. E. Piou, “Resnet50 to Detect Landslides, Damaged Infrastructures and Crumbled Houses from Haiti 2010 and 2021 Earthquakes,” in Proceedings of the 2023 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology, IAICT 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 214–219. doi: 10.1109/IAICT59002.2023.10205657.

S. D. Bhatt, H. B. Soni, H. R. Kher, and T. D. Pawar, “Automated System for Lung Nodule Classification Based on ResNet50 and SVM,” in 2022 3rd International Conference on Issues and Challenges in Intelligent Computing Techniques, ICICT 2022, Institute of Electrical and Electronics Engineers Inc., 2022. doi: 10.1109/ICICT55121.2022.10064515.

J. Park, D. Yi, and S. Ji, “A novel learning rate schedule in optimization for neural networks and it’s convergence,” Symmetry (Basel), vol. 12, no. 4, Apr. 2020, doi: 10.3390/SYM12040660.

H. Hazimeh and N. Ponomareva, “Mind the (optimality) Gap: A Gap-Aware Learning Rate Scheduler for Adversarial Nets,” 2023. [Online]. Available: https://github.com/google-research/

W. An, J. Zhang, J. Liu, K. Shao, K. Bian, and J. Zhou, “Learning Rate Decay Scheduler Using the Loss Operator as Generalization,” in 2024 IEEE 5th International Conference on Pattern Recognition and Machine Learning, PRML 2024, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 70–75. doi: 10.1109/PRML62565.2024.10779896.

M. Cui, Y. Li, X. Wang, J. Wang, and H. Rong, “Rapid Reconstruction of Acoustic Holograms Using Improved IU-Net with Adaptive Learning Rate Scheduling,” IEEE Access, 2024, doi: 10.1109/ACCESS.2024.3496923.

L. Wen, L. Gao, X. Li, and B. Zeng, “Convolutional Neural Network with Automatic Learning Rate Scheduler for Fault Classification,” IEEE Trans Instrum Meas, vol. 70, 2021, doi: 10.1109/TIM.2020.3048792.

J. Erbani, P. É. Portier, E. Egyed-Zsigmond, and D. Nurbakova, “Confusion Matrices: A Unified Theory,” IEEE Access, 2024, doi: 10.1109/ACCESS.2024.3507199.

J. Xu, Y. Zhang, and D. Miao, “Three-way confusion matrix for classification: A measure driven view,” Inf Sci (N Y), vol. 507, pp. 772–794, Jan. 2020, doi: 10.1016/j.ins.2019.06.064.

D. Valero-Carreras, J. Alcaraz, and M. Landete, “Comparing two SVM models through different metrics based on the confusion matrix,” Comput Oper Res, vol. 152, Apr. 2023, doi: 10.1016/j.cor.2022.106131.

H. Zhu, S. Liu, W. Xu, J. Dai, and M. Benbouzid, “Linearithmic and unbiased implementation of DeLong’s algorithm for comparing the areas under correlated ROC curves,” Expert Syst Appl, vol. 246, Jul. 2024, doi: 10.1016/j.eswa.2024.123194.

A. R. Rachakonda and A. Bhatnagar, “ARatio: Extending area under the ROC curve for probabilistic labels,” Pattern Recognit Lett, vol. 150, pp. 265–271, Oct. 2021, doi: 10.1016/j.patrec.2021.06.023.

Rizki Putra Prastio, Rodik Wahyu Indrawan, Vanesia Tasib, and Zhilaan Abdurrasyid Rusmawan, “Recorder Defect Detection,” Mendeley Data. [Online]. Available: https://data.mendeley.com/datasets/hxtcntz9jr/1

Downloads

Published

2025-09-28

Issue

Section

Computer Vision and Pattern Recognition

How to Cite

Prastio, R. P., Indrawan, R. W., Tasib, V., & Rusmawan, Z. A. (2025). ResNet50-Driven Quality Inspection for Recorder Musical Instrument. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 9(5), 975-982. https://doi.org/10.29207/resti.v9i5.7058