Cargando…

Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool

In Industry 4.0, automation is a critical requirement for mechanical production. This study proposes a computer vision-based method to capture images of rotating tools and detect defects without the need to stop the machine in question. The study uses frontal lighting to capture images of the rotati...

Descripción completa

Detalles Bibliográficos
Autores principales: Lin, Bor-Haur, Chen, Ju-Chin, Lien, Jenn-Jier James
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10181639/
https://www.ncbi.nlm.nih.gov/pubmed/37177683
http://dx.doi.org/10.3390/s23094476
_version_ 1785041622420946944
author Lin, Bor-Haur
Chen, Ju-Chin
Lien, Jenn-Jier James
author_facet Lin, Bor-Haur
Chen, Ju-Chin
Lien, Jenn-Jier James
author_sort Lin, Bor-Haur
collection PubMed
description In Industry 4.0, automation is a critical requirement for mechanical production. This study proposes a computer vision-based method to capture images of rotating tools and detect defects without the need to stop the machine in question. The study uses frontal lighting to capture images of the rotating tools and employs scale-invariant feature transform (SIFT) to identify features of the tool images. Random sample consensus (RANSAC) is then used to obtain homography information, allowing us to stitch the images together. The modified YOLOv4 algorithm is then applied to the stitched image to detect any surface defects on the tool. The entire tool image is divided into multiple patch images, and each patch image is detected separately. The results show that the modified YOLOv4 algorithm has a recall rate of 98.7% and a precision rate of 97.3%, and the defect detection process takes approximately 7.6 s to complete for each stitched image.
format Online
Article
Text
id pubmed-10181639
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-101816392023-05-13 Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool Lin, Bor-Haur Chen, Ju-Chin Lien, Jenn-Jier James Sensors (Basel) Article In Industry 4.0, automation is a critical requirement for mechanical production. This study proposes a computer vision-based method to capture images of rotating tools and detect defects without the need to stop the machine in question. The study uses frontal lighting to capture images of the rotating tools and employs scale-invariant feature transform (SIFT) to identify features of the tool images. Random sample consensus (RANSAC) is then used to obtain homography information, allowing us to stitch the images together. The modified YOLOv4 algorithm is then applied to the stitched image to detect any surface defects on the tool. The entire tool image is divided into multiple patch images, and each patch image is detected separately. The results show that the modified YOLOv4 algorithm has a recall rate of 98.7% and a precision rate of 97.3%, and the defect detection process takes approximately 7.6 s to complete for each stitched image. MDPI 2023-05-04 /pmc/articles/PMC10181639/ /pubmed/37177683 http://dx.doi.org/10.3390/s23094476 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Lin, Bor-Haur
Chen, Ju-Chin
Lien, Jenn-Jier James
Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool
title Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool
title_full Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool
title_fullStr Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool
title_full_unstemmed Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool
title_short Defect Inspection Using Modified YoloV4 on a Stitched Image of a Spinning Tool
title_sort defect inspection using modified yolov4 on a stitched image of a spinning tool
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10181639/
https://www.ncbi.nlm.nih.gov/pubmed/37177683
http://dx.doi.org/10.3390/s23094476
work_keys_str_mv AT linborhaur defectinspectionusingmodifiedyolov4onastitchedimageofaspinningtool
AT chenjuchin defectinspectionusingmodifiedyolov4onastitchedimageofaspinningtool
AT lienjennjierjames defectinspectionusingmodifiedyolov4onastitchedimageofaspinningtool