Generic placeholder image

Recent Patents on Engineering

Editor-in-Chief

ISSN (Print): 1872-2121
ISSN (Online): 2212-4047

Research Article

Research on Automatic Detection System of Drawing Defects based on Machine Vision

Author(s): Yupeng Pan, Li Chen, Baogeng Xin and Yong liu*

Volume 18, Issue 8, 2024

Published on: 26 September, 2023

Article ID: e140923221060 Pages: 16

DOI: 10.2174/1872212118666230914103818

Price: $65

Abstract

Background: For a long time, product packaging has been used as an instruction manual to connect consumers and factories. Product packaging is an important column in product image display and information presentation. However, missing prints, misprints, and surface stains during the manufacture of packaging bags will cause consumers to misunderstand product information. Based on machine vision, image processing technology, and Python language, this paper designs an automatic detection system for paper defects. Through the preprocessing of the image of the paper to be tested, after the paper area is extracted and compared with the standard template paper, the defective parts of the paper to be tested relative to the standard template paper can be quickly and accurately obtained. The system has a single drawing detection time of 2~3 seconds, and the measurement accuracy rate reaches 100%. The results show that the system has high measurement accuracy, high measurement precision, fast measurement speed, strong adaptability to the environment, and can meet the requirements of detecting defective paper.

Objective: The purpose of this study is to develop an automatic detection system for packaging paper, which can detect all defective parts of defective paper compared with standard paper templates. This study aims to reduce the misprints or stains that may occur when producing high-volume bags. The system optimizes and controls the detection accuracy, detection time, detection accuracy and detection environment to ensure that the system can meet the real detection requirements.

Method: First, the accompanying software of this system is used to import the standard template of the inspection paper and use the industrial camera to obtain the original image of the inspection drawing. Then, a series of necessary processing is performed on the image: grayscale, Gaussian filter, median filter, binarization, edge detection, contour detection, and the paper area covered with the image is extracted through inverse perspective transformation. Secondly, divide the picture into several blocks and measure the translation matrix of each block to achieve translation fine-tuning to achieve higher detection accuracy. Then, the defect mask is obtained by comparing it with the standard template, and the mask is fine-tuned and processed by the strong noise reduction algorithm. After median filtering, binarization, erosion, marking and other operations are performed to realize the final defect area finding and marking. Finally, all defective areas will be displayed in the designated area of the included software.

Results: The detection accuracy rate of this system for the defect area reaches 100%, the minimum range of the recognition area reaches 1 mm (2 pixels), the light intensity of the detection environment can adapt to 50 gray levels compared with the template, and the detection of a single drawing only takes 2~3 seconds, indicating the high detection efficiency of the system. A patent application for the system has already begun.

Conclusion: The system has strong adaptability to the light intensity range of the testing environment, and the minimum testing area can meet the requirements of most production drawings. The accuracy of identifying the defect area of the testing drawings shows that the system can complete the testing task well when the testing environment is suitable.

Graphical Abstract

[1]
S. Cubero, W.S. Lee, N. Aleixos, F. Albert, and J. Blasco, "Automated systems based on machine vision for inspecting citrus fruits from the field to postharvest: A review", Food Bioprocess Technol., vol. 9, no. 10, pp. 1623-1639, 2016.
[http://dx.doi.org/10.1007/s11947-016-1767-1]
[2]
M. Makky, and P. Soni, "Development of an automatic grading machine for oil palm fresh fruits bunches (FFBs) based on machine vision", Comput. Electron. Agric., vol. 93, pp. 129-139, 2013.
[http://dx.doi.org/10.1016/j.compag.2013.02.008]
[3]
J.J. Park, J.K. Kim, E.S. Lee, and M.K. Lee, "Micro circular path measurement of two-axis stage using a machine vision system and the application", Int. J. Adv. Manuf. Technol., vol. 56, no. 9-12, pp. 1049-1055, 2011.
[http://dx.doi.org/10.1007/s00170-011-3223-8]
[4]
A.K. Patel, S. Chatterjee, and A.K. Gorai, "Development of machine vision-based ore classification model using support vector machine (SVM) algorithm", Arab. J. Geosci., vol. 10, no. 5, p. 107, 2017.
[http://dx.doi.org/10.1007/s12517-017-2909-0]
[5]
X. Sun, J. Liu, and G. Gao, "Inspection technology of dairy packaging date spurt code based on vision", Food & machinery, vol. 34. no. 10, pp. 100-103. 2018.
[6]
C-C. Huang, and X-P. Lin, "Study on machine learning based intelligent defect detection system", MATEC Web of Conferences, vol. 201. no. 3, p. 01010.
2018. [http://dx.doi.org/10.1051/matecconf/201820101010]
[7]
I. Pastor-López, I. Santos, A. Santamaría-Ibirika, M. Salazar, J. de-la-Peña-Sordo, and P.G. Bringas, "Machine-learning-based surface defect detection and categorisation in high-precision foundry", 2012 7th IEEE Conference on Industrial Electronics and Applications (ICIEA), Singapore, 2012, pp. 1359-1364.
[http://dx.doi.org/10.1109/ICIEA.2012.6360934]
[8]
Z. Ren, F. Fang, and N. Yan, "State of the art in defect detection based on machine vision", Int J Pr Eng Man-Gt, vol. 9, pp. 661-691, 2021.
[9]
M. Baygin, M. Karakose, A. Sarimaden, and E. Akin, "Machine vision based defect detection approach using image processing", 2017 International Artificial Intelligence and Data Processing Symposium (IDAP) Malatya, Turkey, 2017, pp. 1-5.
[http://dx.doi.org/10.1109/IDAP.2017.8090292]
[10]
E. Zhang, Y. Chen, M. Gao, J. Duan, and C. Jing, "Automatic defect detection for web offset printing based on machine vision", Appl. Sci., vol. 9, no. 17, p. 3598, 2019.
[http://dx.doi.org/10.3390/app9173598]
[11]
Z. Hao, "Towards the steel plate defect detection: Multidimensional feature information extraction and fusion", Concurr. Comput., vol. 33, no. 21, p. e6384, 2021.
[http://dx.doi.org/10.1002/cpe.6384]
[12]
N. Tuyen Le, J-W. Wang, M-H. Shih, and C-C. Wang, "Novel framework for optical film defect detection and classification", IEEE Access, vol. 8, pp. 60964-60978, 2020.
[http://dx.doi.org/10.1109/ACCESS.2020.2982250]
[13]
Q. Zhou, R. Chen, H. Bin, and C. Liu, "An automatic surface defect inspection system for automobiles using machine vision methods", Sensors, vol. 19, no. 3, p. 644, 2019.
[http://dx.doi.org/10.3390/s19030644]
[14]
X. Suo, J. Liu, L. Dong, C. Shengfeng, L. Enhui, and C. Ning, "A machine vision-based defect detection system for nuclear-fuel rod groove", J. Intell. Manuf., vol. 33, no. 6, pp. 1649-1663, 2022.
[http://dx.doi.org/10.1007/s10845-021-01746-7]
[15]
T. Benbarrad, S.B. Kenitar, and B. Arioua, "Intelligent machine vision model for defective product inspection based on machine learning", In 2020 International Symposium on Advanced Electrical and Communication Technologies (ISAECT), Marrakech, Morocco, 2020, pp. 1-6
[http://dx.doi.org/10.1109/ISAECT50560.2020.9523643]
[16]
F. Chong, "Automatic defect detection system and detection method for color printed matter based on machine vision", CN106556611A, 2017.
[17]
J. Yuan, and C. Gao, "Automatic PCB defect detection system based on machine vision", CN208206822U, 2018.

Rights & Permissions Print Cite
© 2024 Bentham Science Publishers | Privacy Policy