An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN Model

During the active alignment focusing process of car camera assembly, lenses and holders need to be gummed by creamy white and translucent UV glue. The quality of glue dispensing can directly influence the performance of car cameras. Because of the translucency of UV glue, the glue dispensing image m...

Full description

Bibliographic Details
Main Authors: Zhang Xing-Wei, Zhang Ke, Xie Ling-Wang, Zhao Yong-Jie, Lu Xin-Jian
Format: Article
Language:English
Published: IEEE 2022-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/9846996/
_version_ 1818049567583633408
author Zhang Xing-Wei
Zhang Ke
Xie Ling-Wang
Zhao Yong-Jie
Lu Xin-Jian
author_facet Zhang Xing-Wei
Zhang Ke
Xie Ling-Wang
Zhao Yong-Jie
Lu Xin-Jian
author_sort Zhang Xing-Wei
collection DOAJ
description During the active alignment focusing process of car camera assembly, lenses and holders need to be gummed by creamy white and translucent UV glue. The quality of glue dispensing can directly influence the performance of car cameras. Because of the translucency of UV glue, the glue dispensing image may present a low contrast situation, which increases the difficulty of vision detection. This paper proposes a method based on CycleGAN to enhance the glue dispensing image and effectively overcome the problems of blurred and low contrast edges. First, the glue part of the image is segmented into twenty regions. Second, the VGG16 model is used to divide the abovementioned twenty regions into high-contrast images and low-contrast images. Next, the CycleGAN model is trained to enhance the low-contrast images, and then convert them to high-contrast images. Finally, glue contours are extracted by using thresholding segmentation and edge detection to ensure that the quality of glue dispensing can be detected. The success rates of the VGG16 model and the CycleGAN model are 96% and 58%, respectively. The results show that the proposed method can effectively enhance the low contrast part of the glue region and improve the detection accuracy. Specifically, it can increase the gray value difference between the glue and the background from 20 to 55, while the background is substantially retained. The detailed information of the edges of the images is enriched. The accuracy of glue edge extraction can be increased to 99%, which is an approximately 75% improvement compared to the methods without enhancement.
first_indexed 2024-12-10T10:39:38Z
format Article
id doaj.art-51e969dd69f941aa9e2bfb1ab1553a70
institution Directory Open Access Journal
issn 2169-3536
language English
last_indexed 2024-12-10T10:39:38Z
publishDate 2022-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj.art-51e969dd69f941aa9e2bfb1ab1553a702022-12-22T01:52:20ZengIEEEIEEE Access2169-35362022-01-0110920369204710.1109/ACCESS.2022.31954999846996An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN ModelZhang Xing-Wei0https://orcid.org/0000-0001-8051-8712Zhang Ke1Xie Ling-Wang2Zhao Yong-Jie3Lu Xin-Jian4College of Engineering, Shantou University, Shantou, ChinaCollege of Engineering, Shantou University, Shantou, ChinaCollege of Engineering, Shantou University, Shantou, ChinaCollege of Engineering, Shantou University, Shantou, ChinaGuangdong Goldenwork Robot Technology Ltd., Foshan, ChinaDuring the active alignment focusing process of car camera assembly, lenses and holders need to be gummed by creamy white and translucent UV glue. The quality of glue dispensing can directly influence the performance of car cameras. Because of the translucency of UV glue, the glue dispensing image may present a low contrast situation, which increases the difficulty of vision detection. This paper proposes a method based on CycleGAN to enhance the glue dispensing image and effectively overcome the problems of blurred and low contrast edges. First, the glue part of the image is segmented into twenty regions. Second, the VGG16 model is used to divide the abovementioned twenty regions into high-contrast images and low-contrast images. Next, the CycleGAN model is trained to enhance the low-contrast images, and then convert them to high-contrast images. Finally, glue contours are extracted by using thresholding segmentation and edge detection to ensure that the quality of glue dispensing can be detected. The success rates of the VGG16 model and the CycleGAN model are 96% and 58%, respectively. The results show that the proposed method can effectively enhance the low contrast part of the glue region and improve the detection accuracy. Specifically, it can increase the gray value difference between the glue and the background from 20 to 55, while the background is substantially retained. The detailed information of the edges of the images is enriched. The accuracy of glue edge extraction can be increased to 99%, which is an approximately 75% improvement compared to the methods without enhancement.https://ieeexplore.ieee.org/document/9846996/CycleGANdetectionglue dispensingimage enhancement
spellingShingle Zhang Xing-Wei
Zhang Ke
Xie Ling-Wang
Zhao Yong-Jie
Lu Xin-Jian
An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN Model
IEEE Access
CycleGAN
detection
glue dispensing
image enhancement
title An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN Model
title_full An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN Model
title_fullStr An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN Model
title_full_unstemmed An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN Model
title_short An Enhancement and Detection Method for a Glue Dispensing Image Based on the CycleGAN Model
title_sort enhancement and detection method for a glue dispensing image based on the cyclegan model
topic CycleGAN
detection
glue dispensing
image enhancement
url https://ieeexplore.ieee.org/document/9846996/
work_keys_str_mv AT zhangxingwei anenhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT zhangke anenhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT xielingwang anenhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT zhaoyongjie anenhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT luxinjian anenhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT zhangxingwei enhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT zhangke enhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT xielingwang enhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT zhaoyongjie enhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel
AT luxinjian enhancementanddetectionmethodforagluedispensingimagebasedonthecycleganmodel