원시데이터 수집 시스템
선정목록으로

Detection of Chips on the Threaded Part of Cosmetic Glass Bottles

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Daiki Tomita — Graduate School of Integrative Science and Engineering, Tokyo City University, Setagaya Campas, Tokyo 158-8557, Japan
  2. Bao Yue — Graduate School of Integrative Science and Engineering, Tokyo City University, Setagaya Campas, Tokyo 158-8557, Japan
DOI
10.3390/jimaging11030077
저널
Journal of Imaging
발행년도
2025
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/jimaging11030077
토픽
Color Science and Applications
OpenAlex ID
W4408126561

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Recycled glass has been the focus of attention owing to its role in reducing plastic waste and further increasing the demand for glass containers. Cosmetics glass bottles require strict quality inspections because of the frequent handling, safety concerns, and other factors. During manufacturing, glass bottles sometimes develop chips on the top surface, rim, or screw threads of the bottle mouth. Conventionally, these chips are visually inspected by inspectors; however, this process is time consuming and prone to inaccuracies. To address these issues, automatic inspection using image processing has been explored. Existing methods, such as dynamic luminance value correction and ring-shaped inspection gates, have limitations: the former relies on visible light, which is strongly affected by natural light, and the latter acquires images directly from above, resulting in low accuracy in detecting chips on the lower part of screw threads. To overcome these challenges, this study proposes a method that combines infrared backlighting and image processing to determine the range of screw threads and detect chips accurately. Experiments were conducted in an experimental environment replicating an actual factory production line. The results confirmed that the detection accuracy of chipping was 99.6% for both good and defective bottles. This approach reduces equipment complexity compared to conventional methods while maintaining high inspection accuracy, contributing to the productivity and quality control of glass bottle manufacturing.

본문 54,109자

본문 펼치기
Recycled glass has been the focus of attention owing to its role in reducing plastic waste and further increasing the demand for glass containers.Cosmetics glass bottles require strict quality inspections because of the frequent handling, safety concerns, and other factors.During manufacturing, glass bottles sometimes develop chips on the top surface, rim, or screw threads of the bottle mouth.Conventionally, these chips are visually inspected by inspectors; however, this process is time consuming and prone to inaccuracies.To address these issues, automatic inspection using image processing has been explored.Existing methods, such as dynamic luminance value correction and ring-shaped inspection gates, have limitations: the former relies on visible light, which is strongly affected by natural light, and the latter acquires images directly from above, resulting in low accuracy in detecting chips on the lower part of screw threads.To overcome these challenges, this study proposes a method that combines infrared backlighting and image processing to determine the range of screw threads and detect chips accurately.Experiments were conducted in an experimental environment replicating an actual factory production line.The results confirmed that the detection accuracy of chipping was 99.6% for both good and defective bottles.This approach reduces equipment complexity compared to conventional methods while maintaining high inspection accuracy, contributing to the productivity and quality control of glass bottle manufacturing. Research Background In recent years, Japanese cosmetic glass bottles have attracted attention in terms of improved manufacturing technology and environmental friendliness through the use of recycled glass [1], and the amount of glass bottles exported overseas is on the rise [2]. Research Background Glass bottles used as cosmetic bottles are treated as high-end products and are subject to strict quality inspections.In particular, the mouths of glass bottles are often equipped with screw threads for opening and closing the caps, and their complex shapes easily cause defects during production.In visual inspection, where defective products are judged by humans, research by Hida et al. has shown that different workers have different criteria for judgment and that long hours of work can cause a loss of accuracy [3].This calls for the development of inspection equipment that uses image processing to improve productivity. Proposed Method The proposed method primarily focuses on obtaining a range of screw threads from captured images and detecting flaws.Figure 1 provides an overview of the proposed method.Each step is explained in detail in the following sections. Proposed Method J. Imaging 2025, 11, x FOR PEER REVIEW 2 of 15 Related Work To improve productivity, it is necessary to develop a detection device using image processing [1][2][3].Many inspection methods using image processing have been proposed [4][5][6][7].However, their targets are plastics and metals, and if the glass bottle is transparent, it cannot be inspected successfully due to its light-transmitting characteristics.In addition, glass bottle mouth inspection methods using image processing include a glass bottle mouth inspection method employing dynamic brightness value correction [8] and a glass bottle inspection method using ring-shaped inspection gates [9].The former uses six cameras for side inspections and two cameras for top inspections to perform omnidirectional inspection.However, it is limited to inspecting simple-shaped glass bottles without screw threads, and the accuracy of flaw detection is low because of the use of natural light.The latter captures images from above but cannot inspect the entire screw-threaded portion effectively.To address these challenges, we propose improving the detection accuracy through the use of an infrared backlight and limiting the inspection area to critical regions. Proposed Method The proposed method primarily focuses on obtaining a range of screw threads from captured images and detecting flaws.Figure 1 provides an overview of the proposed method.Each step is explained in detail in the following sections. Capturing Bottle Images An infrared surface light source and an infrared camera are employed for image capture.Since the glass bottles used in this study are transparent, light penetrates the smooth, undamaged surface when photographed under an infrared surface light source, resulting in a uniformly white appearance.However, the presence of chips or scratches causes diffuse reflection of light, making these areas appear darker.This optical property is utilized for defect detection.Figure 2 shows an overview of the glass bottle photography process, which simulates the way chips appear when infrared light is used.Additionally, a cut filter is applied to block ambient light, ensuring that inspections remain unaffected by external lighting conditions in the factory or inspection area. Capturing Bottle Images An infrared surface light source and an infrared camera are employed for image capture.Since the glass bottles used in this study are transparent, light penetrates the smooth, undamaged surface when photographed under an infrared surface light source, resulting in a uniformly white appearance.However, the presence of chips or scratches causes diffuse reflection of light, making these areas appear darker.This optical property is utilized for defect detection.Figure 2 shows an overview of the glass bottle photography process, which simulates the way chips appear when infrared light is used.Additionally, a cut filter is applied to block ambient light, ensuring that inspections remain unaffected by external lighting conditions in the factory or inspection area. Reasons for Limiting the Scope During manufacturing, chipping is less likely to occur near the beginning and end of the screw threads and on the bottle surface because these areas are more exposed to air compared to the center and top of the screw threads, where the temperature distribution is more uniform during the cooling process [10].Consequently, the possibility of chipping in these areas is significantly lower.To minimize false detections caused by noise, these areas are masked and excluded from the detection process. Detection of the Screw Thread Endpoints To obtain the screw threads, a search was first performed from the endpoints of the glass bottle.Figure 3a shows the scan starting from the upper-left corner of the captured image.The coordinates of the first pixel with the lowest luminance value, which corresponds to the outline of the glass bottle, were retained.The leftmost and second points from the left were retained as the endpoints of the screw threads based on the coordinate information of the outline.Subsequently, the top and bottom edges of the screw threads were determined by scanning a few pixels above and below the retained coordinates and selecting the two coordinates that fell within the specified pixel range.A similar scan was performed on the right side to locate the end of the screw thread.Figure 3b Reasons for Limiting the Scope During manufacturing, chipping is less likely to occur near the beginning and e the screw threads and on the bottle surface because these areas are more exposed compared to the center and top of the screw threads, where the temperature distrib is more uniform during the cooling process [10].Consequently, the possibility of chip in these areas is significantly lower.To minimize false detections caused by noise, areas are masked and excluded from the detection process. Detection of the Screw Thread Endpoints To obtain the screw threads, a search was first performed from the endpoints o glass bottle.Figure 3a shows the scan starting from the upper-left corner of the capt image.The coordinates of the first pixel with the lowest luminance value, which c sponds to the outline of the glass bottle, were retained.The leftmost and second p from the left were retained as the endpoints of the screw threads based on the coord information of the outline.Subsequently, the top and bottom edges of the screw thr were determined by scanning a few pixels above and below the retained coordinate selecting the two coordinates that fell within the specified pixel range.A similar scan performed on the right side to locate the end of the screw thread.Figure 3b Reasons for Limiting the Scope During manufacturing, chipping is less likely to occur near the beginning and end of the screw threads and on the bottle surface because these areas are more exposed to air compared to the center and top of the screw threads, where the temperature distribution is more uniform during the cooling process [10].Consequently, the possibility of chipping in these areas is significantly lower.To minimize false detections caused by noise, these areas are masked and excluded from the detection process. Detection of the Screw Thread Endpoints To obtain the screw threads, a search was first performed from the endpoints of the glass bottle.Figure 3a shows the scan starting from the upper-left corner of the captured image.The coordinates of the first pixel with the lowest luminance value, which corresponds to the outline of the glass bottle, were retained.The leftmost and second points from the left were retained as the endpoints of the screw threads based on the coordinate information of the outline.Subsequently, the top and bottom edges of the screw threads were determined by scanning a few pixels above and below the retained coordinates and selecting the two coordinates that fell within the specified pixel range.A similar scan was performed on the right side to locate the end of the screw thread.Figure 3b Mask Generation and Screw Thread Range Detection The screw thread range was determined by connecting the coordinates obtained in the previous section.However, if a screw thread is cut in the middle, as illustrated in Figure 4, the coordinate information on one side is retained, while the coordinate information Mask Generation and Screw Thread Range Detection The screw thread range was determined by connecting the coordinates obtained in the previous section.However, if a screw thread is cut in the middle, as illustrated in Figure 4, the coordinate information on one side is retained, while the coordinate information on the other side is unavailable.This makes it impossible to correctly determine the extent of the screw thread. Mask Generation and Screw Thread Range Detection Therefore, a mask image was generated to accurately identify the screw thread missing on one side.As shown in Figure 5, the mask image was created with a thickness sufficient to cover the top and bottom of the screw thread.The endpoint of the screw thread was then located by detecting a shadow area that is continuous above and below the screw thread.This mask image was generated based on the slope obtained during the determination of the screw-thread range when both endpoints were successfully connected. Mask Generation and Screw Thread Range Detection on the other side is unavailable.This makes it impossible to correctly determine the ex of the screw thread.Therefore, a mask image was generated to accurately identify the screw thread m ing on one side.As shown in Figure 5, the mask image was created with a thickness ficient to cover the top and bottom of the screw thread.The endpoint of the screw thr was then located by detecting a shadow area that is continuous above and below the sc thread.This mask image was generated based on the slope obtained during the deter nation of the screw-thread range when both endpoints were successfully connected. Image Processing The image of the mouth of a cosmetic glass bottle often contains minute noise, wh was removed using a bilateral filter [11].This filter effectively eliminates microsco noise while preserving image contours.In addition, contrast transformation was app to enhance the distinction between light and dark areas, making scratches and n scratches more discernible [12]. Screw Thread Range Detection Using Labeling For missing screw threads, the thread range was determined by identifying conti ous areas through the labeling process.This process used OpenCV's "ConnectedCom nentsWithStats" function [13].As shown in Figure 6, the generated mask image was c bined with the contrast-enhanced image to generate an image containing only the sc thread portion.Labeling was then performed by tracking the shadows of the upper lower portions of the screw threads to determine their full extent.Therefore, a mask image was generated to accurately identify the screw thread missing on one side.As shown in Figure 5, the mask image was created with a thickness sufficient to cover the top and bottom of the screw thread.The endpoint of the screw thread was then located by detecting a shadow area that is continuous above and below the screw thread.This mask image was generated based on the slope obtained during the determination of the screw-thread range when both endpoints were successfully connected. Image Processing The image of the mouth of a cosmetic glass bottle often contains minute noise, which was removed using a bilateral filter [11].This filter effectively eliminates microscopic noise while preserving image contours.In addition, contrast transformation was applied to enhance the distinction between light and dark areas, making scratches and nonscratches more discernible [12]. Screw Thread Range Detection Using Labeling For missing screw threads, the thread range was determined by identifying contiguous areas through the labeling process.This process used OpenCV's "ConnectedCompo-nentsWithStats" function [13].As shown in Figure 6, the generated mask image was combined with the contrast-enhanced image to generate an image containing only the screw thread portion.Labeling was then performed by tracking the shadows of the upper and lower portions of the screw threads to determine their full extent. Image Processing The image of the mouth of a cosmetic glass bottle often contains minute noise, which was removed using a bilateral filter [11].This filter effectively eliminates microscopic noise while preserving image contours.In addition, contrast transformation was applied to enhance the distinction between light and dark areas, making scratches and non-scratches more discernible [12]. Screw Thread Range Detection Using Labeling For missing screw threads, the thread range was determined by identifying contiguous areas through the labeling process.This process used OpenCV's "ConnectedCom-ponentsWithStats" function [13].As shown in Figure 6, the generated mask image was combined with the contrast-enhanced image to generate an image containing only the screw thread portion.Labeling was then performed by tracking the shadows of the upper and lower portions of the screw threads to determine their full extent.Therefore, a mask image was generated to accurately identify the screw thread missing on one side.As shown in Figure 5, the mask image was created with a thickness sufficient to cover the top and bottom of the screw thread.The endpoint of the screw thread was then located by detecting a shadow area that is continuous above and below the screw thread.This mask image was generated based on the slope obtained during the determination of the screw-thread range when both endpoints were successfully connected. Image Processing The image of the mouth of a cosmetic glass bottle often contains minute noise, which was removed using a bilateral filter [11].This filter effectively eliminates microscopic noise while preserving image contours.In addition, contrast transformation was applied to enhance the distinction between light and dark areas, making scratches and nonscratches more discernible [12]. Screw Thread Range Detection Using Labeling For missing screw threads, the thread range was determined by identifying contiguous areas through the labeling process.This process used OpenCV's "ConnectedCompo-nentsWithStats" function [13].As shown in Figure 6, the generated mask image was combined with the contrast-enhanced image to generate an image containing only the screw thread portion.Labeling was then performed by tracking the shadows of the upper and lower portions of the screw threads to determine their full extent.Based on the labeling information obtained, a mask image was generated to match the screw thread range.The generated mask image and the bottle image synthesized using the mask are shown in Figure 7.For example, the red label information is used to identify the screw thread regions contiguous from the left, and the green label information is used to identify the screw thread regions contiguous from the right. Screw Thread Range Detection Using Labeling Based on the labeling information obtained, a mask image was generated to match the screw thread range.The generated mask image and the bottle image synthesized using the mask are shown in Figure 7.For example, the red label information is used to identify the screw thread regions contiguous from the left, and the green label information is used to identify the screw thread regions contiguous from the right. Cutting Out the Inspection Area Chipping detection performed on the entire bottle image can be significantly affected by shadows in areas not visible in the front view.To minimize the influence of these shadows and improve chip detection, only the center portion of the bottle image was cropped using the coordinates of the two endpoints identified in Section 2.3.An example of this cropping method is shown in Figure 8.Because one image was acquired by the left camera, two images by the center camera, and one image by the right camera for flaw detection, it was possible to perform 180° flaw detection even when only the center portion of the image was used. Mask Generation Using Hough Transform As described in the previous sections, an image containing only the screw threads was obtained; however, it included significant linear noise owing to the shadows cast by the screw threads.To remove this noise, linear line detection using Hough transform processing was performed [14,15].Labels identified as straight lines are removed by generating a mask to exclude them from the detection target.Figure 9 illustrates the mask generation process. Cutting Out the Inspection Area Chipping detection performed on the entire bottle image can be significantly affected by shadows in areas not visible in the front view.To minimize the influence of these shadows and improve chip detection, only the center portion of the bottle image was cropped using the coordinates of the two endpoints identified in Section 2.3.An example of this cropping method is shown in Figure 8.Because one image was acquired by the left camera, two images by the center camera, and one image by the right camera for flaw detection, it was possible to perform 180 • flaw detection even when only the center portion of the image was used. Cutting Out the Inspection Area the mask are shown in Figure 7.For example, the red label information is used to identify the screw thread regions contiguous from the left, and the green label information is used to identify the screw thread regions contiguous from the right. Cutting Out the Inspection Area Chipping detection performed on the entire bottle image can be significantly affected by shadows in areas not visible in the front view.To minimize the influence of these shadows and improve chip detection, only the center portion of the bottle image was cropped using the coordinates of the two endpoints identified in Section 2.3.An example of this cropping method is shown in Figure 8.Because one image was acquired by the left camera, two images by the center camera, and one image by the right camera for flaw detection, it was possible to perform 180° flaw detection even when only the center portion of the image was used. Mask Generation Using Hough Transform As described in the previous sections, an image containing only the screw threads was obtained; however, it included significant linear noise owing to the shadows cast by the screw threads.To remove this noise, linear line detection using Hough transform processing was performed [14,15].Labels identified as straight lines are removed by generating a mask to exclude them from the detection target.Figure 9 illustrates the mask generation process. Mask Generation Using Hough Transform As described in the previous sections, an image containing only the screw threads was obtained; however, it included significant linear noise owing to the shadows cast by the screw threads.To remove this noise, linear line detection using Hough transform processing was performed [14,15].Labels identified as straight lines are removed by generating a mask to exclude them from the detection target.Figure 9 illustrates the mask generation process. Chip Detection From the generated images, chips were detected based on the area, width, and height of each label.The labels are listed in Table 1.The chip detection process is illustrated in Figure 10. Chip Detection From the generated images, chips were detected based on the area, width, and height of each label.The labels are listed in Table 1.The chip detection process is illustrated in Figure 10. Chip Detection From the generated images, chips were detected based on the area, width, and height of each label.The labels are listed in Table 1.The chip detection process is illustrated in Figure 10. Experiments Two experiments were conducted to verify the effectiveness of the proposed method.In Experiment 1, one good bottle and two defective bottles were rotated by 30°, and images were acquired 10 times at each angle to confirm that 180-degree side detection was achievable.In Experiment 2, the orientation of the glass bottles was adjusted to match that of an actual factory production line.A total of 100 good bottles were placed on the conveyor four times, while 29 defective bottles were placed on the conveyor twice. 2 lists the components and their specifications for the experimental setup.In addition, Figure 12 provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference. Experiments Two experiments were conducted to verify the effectiveness of the proposed method. Experiments In Experiment 1, one good bottle and two defective bottles were rotated by 30 • , and images were acquired 10 times at each angle to confirm that 180-degree side detection was achievable.In Experiment 2, the orientation of the glass bottles was adjusted to match that of an actual factory production line.A total of 100 good bottles were placed on the conveyor four times, while 29 defective bottles were placed on the conveyor twice. 2 lists the components and their specifications for the experimental setup.In addition, Figure 12 provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference. Model number VCXU-32M Resolution 2048 × 1536 Taking Bottle Images The bottles transported onto the conveyor appear as shown in Figure 13 when captured by the camera.As the bottles move along the conveyor, images are taken based on two reference markers (indicated by red circles), and the relevant regions are extracted.In this example, the central camera is depicted, capturing two images-one from each side of the bottle. Taking Bottle Images The bottles transported onto the conveyor appear as shown in Figure 13 when captured by the camera.As the bottles move along the conveyor, images are taken based on two reference markers (indicated by red circles), and the relevant regions are extracted.In this example, the central camera is depicted, capturing two images-one from each side of the bottle. Taking Bottle Images The bottles transported onto the conveyor appear as shown in Figure 13 when captured by the camera.As the bottles move along the conveyor, images are taken based on two reference markers (indicated by red circles), and the relevant regions are extracted.In this example, the central camera is depicted, capturing two images-one from each side of the bottle. Detection Experiment on the Side of the Bottle In this study, a detection of 180 • was achieved.To verify the detection rate of the halfface (180 • ) of the bottles using this method, one good and two defective bottles (D1 and D2) were placed on the conveyor belt, and their images were acquired 10 times at 30 • intervals, resulting in a total of 210 images, to ensure that the method could accurately inspect them.One bottle with chips on both the top and bottom of the screw threads was selected as the sample to confirm that there were no issues in detecting flaws during the acquisition of the screw threads.Figure 14 shows images of one good and two defective bottles acquired using an infrared camera. Detection Experiment on the Side of the Bottle intervals, resulting in a total of 210 images, to ensure that the method could accurately inspect them.One bottle with chips on both the top and bottom of the screw threads was selected as the sample to confirm that there were no issues in detecting flaws during the acquisition of the screw threads.Figure 14 shows images of one good and two defective bottles acquired using an infrared camera. Experimental Results (Experiment on the Side of the Bottle) Figure 15 shows a portion of the resulting image, with the chipped areas indicated in red, indicating successful detection.The image shows the D1 rotated by 30°.In addition, Tables 3-5 present a breakdown of the experimental results.Table 3 presents the results of inspecting good bottles 10 times per angle, Table 4 shows the results of inspecting D1 10 times per angle, and Table 5 shows the results of inspecting D2 10 times per angle.3 presents the results of inspecting good bottles 10 times per angle, Table 4 shows the results of inspecting D1 10 times per angle, and Table 5 shows the results of inspecting D2 10 times per angle. Experimental Results (Experiment on the Side of the Bottle) intervals, resulting in a total of 210 images, to ensure that the method could accurately inspect them.One bottle with chips on both the top and bottom of the screw threads was selected as the sample to confirm that there were no issues in detecting flaws during the acquisition of the screw threads.Figure 14 shows images of one good and two defective bottles acquired using an infrared camera. Experimental Results (Experiment on the Side of the Bottle) Figure 15 shows a portion of the resulting image, with the chipped areas indicated in red, indicating successful detection.The image shows the D1 rotated by 30°.In addition, Tables 3-5 present a breakdown of the experimental results.Table 3 presents the results of inspecting good bottles 10 times per angle, Table 4 shows the results of inspecting D1 10 times per angle, and Table 5 shows the results of inspecting D2 10 times per angle.The chip detection rates were 98.6% for defective products, 97.1% for D1, and 100% for D2.In the experiment involving good bottles, 100% were correctly identified as good.The overall inspection accuracy rate for the entire set, including both good and defective bottles, was 99.0%.The cameras were able to detect the chips even when the bottles were rotated by 30 • .This confirmed that the three-camera system could effectively detect chips on half of the bottles.Figure 16 shows an image of an inspection result that was erroneously detected as a defective product as an example of a false detection.It was found that the chips were determined as noise.The chip detection rates were 98.6% for defective products, 97.1% for D1, and 100% for D2.In the experiment involving good bottles, 100% were correctly identified as good.The overall inspection accuracy rate for the entire set, including both good and defective bottles, was 99.0%.The cameras were able to detect the chips even when the bottles were rotated by 30°.This confirmed that the three-camera system could effectively detect chips on half of the bottles.Figure 16 shows an image of an inspection result that was erroneously detected as a defective product as an example of a false detection.It was found that the chips were determined as noise. Experiments Simulating a Production Plant In an actual factory production line, glass bottles flow on a conveyor at a specific angle because of the product labeling process.To simulate this, we conducted an experiment in which glass bottles were aligned in the same direction as they would be in a production plant.The sample set for this experiment included 100 good bottles and 29 defective bottles.In the experiment, good bottles were placed on the conveyor four times each to acquire 400 images, and defective bottles were placed twice to acquire 58 images. Experimental Results (Experiments Simulating a Production Plant) Figure 17 shows an example of a resulting image from a normal inspection by each camera.The areas shown in red indicate the chips that should be detected using this method.The image also displays a portion of the 29 bottles containing chips.A breakdown of the experimental results is presented in Table 6. Experiments Simulating a Production Plant In an actual factory production line, glass bottles flow on a conveyor at a specific angle because of the product labeling process.To simulate this, we conducted an experiment in which glass bottles were aligned in the same direction as they would be in a production plant.The sample set for this experiment included 100 good bottles and 29 defective bottles.In the experiment, good bottles were placed on the conveyor four times each to acquire 400 images, and defective bottles were placed twice to acquire 58 images. Experimental Results (Experiments Simulating a Production Plant) Figure 17 shows an example of a resulting image from a normal inspection by each camera.The areas shown in red indicate the chips that should be detected using this method.The image also displays a portion of the 29 bottles containing chips.A breakdown of the experimental results is presented in Table 6.As a result of the experiment, 3 false positives were detected at the screw threads and 19 false negatives at the top surface, resulting in an inspection accuracy of 94.5%.For defective products, no false positives were detected, achieving an inspection accuracy of 100%.Figure 18 shows examples of false-positive detection for a good bottle. Additional Experiments Based on the Experimental Results Based on the results of Experiments 1 and 2, additional experiments were conducted to study the reflection of the chips at different angles using a single camera.Examples of chip detection obtained by applying minute angle changes are shown in Figure 19. Discussion of Results (Experiments Simulating a Production Plant) As a result of the experiment, 3 false positives were detected at the screw threads and 19 false negatives at the top surface, resulting in an inspection accuracy of 94.5%.For defective products, no false positives were detected, achieving an inspection accuracy of 100%.Figure 18 shows examples of false-positive detection for a good bottle.As a result of the experiment, 3 false positives were detected at the screw threads and 19 false negatives at the top surface, resulting in an inspection accuracy of 94.5%.For defective products, no false positives were detected, achieving an inspection accuracy of 100%.Figure 18 shows examples of false-positive detection for a good bottle. Additional Experiments Based on the Experimental Results Based on the results of Experiments 1 and 2, additional experiments were conducted to study the reflection of the chips at different angles using a single camera.Examples of chip detection obtained by applying minute angle changes are shown in Figure 19. Additional Experiments Based on the Experimental Results Based on the results of Experiments 1 and 2, additional experiments were conducted to study the reflection of the chips at different angles using a single camera.Examples of chip detection obtained by applying minute angle changes are shown in Figure 19. Binarization Process According to the Curved Surface of the Bottle Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light Binarization Process According to the Curved Surface of the Bottle Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light from a surface light source strikes a curved surface, it is reflected, causing an increase in refraction and a decrease in luminance value. Binarization Process According to the Curved Surface of the Bottle Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light from a surface light source strikes a curved surface, it is reflected, causing an increase in refraction and a decrease in luminance value.In addition, when images of bottles with chips were acquired from multiple angles, it was observed that when the chips were in front of the image, the reflection was weak, Binarization Process According to the Curved Surface of the Bottle Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light from a surface light source strikes a curved surface, it is reflected, causing an increase in refraction and a decrease in luminance value.In addition, when images of bottles with chips were acquired from multiple angles, it was observed that when the chips were in front of the image, the reflection was weak, In addition, when images of bottles with chips were acquired from multiple angles, it was observed that when the chips were in front of the image, the reflection was weak, making it difficult to identify the chips.Based on this observation, the inspection image was divided vertically, as shown in Figure 22, and different binarization thresholds were applied to each section. Binarization Process According to the Curved Surface of the Bottle making it difficult to identify the chips.Based on this observation, the inspection image was divided vertically, as shown in Figure 22, and different binarization thresholds were applied to each section. Subtractive Processing of the Top Surface Area In Experiment 2, false detections due to noise were observed on the top surface area of the bottles.To address this, we propose a method that involves adding a certain pixel value to the top surface area.In the proposed method, the contrast was adjusted to emphasize the chips.However, this process also emphasized noise along with the chips.As shown in Figure 23, by adding a certain pixel value to the top surface of the entire inspection area, it may be possible to emphasize the chips while reducing the noise. Experimental Setup In the third experiment, the proposed method was added, and the experiment was conducted in the same manner as in Experiment 2, using images acquired in Experiment 2 for 100 good products four times and 29 defective products. Experimental Results The experimental results are shown in Table 7. Discussion of Results Table 7 and Figures 24 and 25 show the additional proposed method improved inspection accuracy for good bottles.However, for defective bottles, two false positives occurred, which did not occur in Experiment 2. An example of a false-positive detection is shown in Figure 26.The accuracy of the inspection was reduced because the addition of Subtractive Processing of the Top Surface Area In Experiment 2, false detections due to noise were observed on the top surface area of the bottles.To address this, we propose a method that involves adding a certain pixel value to the top surface area.In the proposed method, the contrast was adjusted to emphasize the chips.However, this process also emphasized noise along with the chips.As shown in Figure 23, by adding a certain pixel value to the top surface of the entire inspection area, it may be possible to emphasize the chips while reducing the noise. Subtractive Processing of the Top Surface Area making it difficult to identify the chips.Based on this observation, the inspection image was divided vertically, as shown in Figure 22, and different binarization thresholds were applied to each section. Subtractive Processing of the Top Surface Area In Experiment 2, false detections due to noise were observed on the top surface area of the bottles.To address this, we propose a method that involves adding a certain pixel value to the top surface area.In the proposed method, the contrast was adjusted to emphasize the chips.However, this process also emphasized noise along with the chips.As shown in Figure 23, by adding a certain pixel value to the top surface of the entire inspection area, it may be possible to emphasize the chips while reducing the noise. Experimental Setup In the third experiment, the proposed method was added, and the experiment was conducted in the same manner as in Experiment 2, using images acquired in Experiment 2 for 100 good products four times and 29 defective products. Experimental Results The experimental results are shown in Table 7. Discussion of Results Table 7 and Figures 24 and 25 show the additional proposed method improved inspection accuracy for good bottles.However, for defective bottles, two false positives occurred, which did not occur in Experiment 2. An example of a false-positive detection is shown in Figure 26.The accuracy of the inspection was reduced because the addition of Experimental Setup In the third experiment, the proposed method was added, and the experiment was conducted in the same manner as in Experiment 2, using images acquired in Experiment 2 for 100 good products four times and 29 defective products. Experimental Results The experimental results are shown in Table 7. Discussion of Results Table 7 and Figures 24 and 25 show the additional proposed method improved inspection accuracy for good bottles.However, for defective bottles, two false positives occurred, which did not occur in Experiment 2. An example of a false-positive detection is shown in Figure 26.The accuracy of the inspection was reduced because the addition of pixels caused some pixels to be missing from the image, making it difficult to accurately identify the missing areas.pixels caused some pixels to be missing from the image, making it difficult to accurately identify the missing areas. Comparison with Conventional Method Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method.The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360° detection [4].In this study, although the bottle-half surface was Comparison with Conventional Method Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method.The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360° detection [4].In this study, although the bottle-half surface was Comparison with Conventional Method Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method.The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360° detection [4].In this study, although the bottle-half surface was Comparison with Conventional Method Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method. Comparison with Conventional Method Table 8.Detection accuracy of the conventional method [4]. Sample Recognized Recall Good bottles 100 98 98% Sample Recognized Recall Defect bottles 100 98 98% Sample Recognized Recall Good bottles 400 400 100% Sample Recognized Recall Defect bottles 58 56 96.5% Sample Recognized Recall The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360 • detection [4].In this study, although the bottle-half surface was 180 • , the side and top surfaces could be inspected with only three cameras.We believe that this approach will contribute to reducing the weight of the equipment used. Conclusions In this study, we aimed to improve inspection accuracy by using an infrared backlight and limiting the inspection area.The results of Experiment 1 showed that good and defective bottles were correctly detected when rotated every 30 • , with sufficient accuracy to inspect the sides of the bottles.Experiment 2 demonstrated inspection accuracies for good and defective bottles of 94.5% and 100%, respectively.The results of Experiments 1 and 2 confirm that the reflection of scratches depends on the refractive index and reflectivity of the curved surface area of the glass bottle.Based on these findings, we proposed methods to adjust the binarization threshold and to add specific pixel values to the top surface to improve inspection accuracy in Experiment 3. The results of Experiment 3 confirmed the effectiveness of these methods, achieving a 100% detection rate for good bottles and an inspection accuracy of 96.5% for defective bottles.The parameters of the proposed method exhibit a trade-off between good and defective bottles, and future work will focus on optimizing these parameters to enhance detection accuracy.In addition, we would like to prepare two experimental apparatuses to check the accuracy of 360 • inspection and to see if they can be used for different types of glass bottles.Finally, it was found the method proposed in this study has the potential to improve productivity in glass bottle production and advance the industry. Figure 1 . Figure 1.Overview of the proposed method. Figure 1 . Figure 1.Overview of the proposed method. Figure 1 . illustrates this process.The black dots indicate the ends of the screw threads, and the blue dots indicate the top and bottom coordinates determined during this process. Figure 2 . Figure 2. Overview of glass bottle photography. Figure 2 . illustrate process.The black dots indicate the ends of the screw threads, and the blue dots ind the top and bottom coordinates determined during this process. Figure 2 . Figure 2. Overview of glass bottle photography. Figure 2 . Figure 2. Overview of glass bottle photography. Figure 2 . illustrates this process.The black dots indicate the ends of the screw threads, and the blue dots indicate the top and bottom coordinates determined during this process. Figure 3 . Figure 3. Process to search both ends of the screw threads.(A process that searches both ends (a) and a process that further searches the screw thread region (b)). Figure 3 . Figure 3. Process to search both ends of the screw threads.(A process that searches both ends (a) and a process that further searches the screw thread region (b)). Figure 4 . Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid li for screw threads on both ends.Dotted line; for screw threads on only one side and complemen by predicting). Figure 5 . Figure 5. Generated mask image and the resulting composite image. Figure 4 . Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid line; for screw threads on both ends.Dotted line; for screw threads on only one side and complements by predicting). Figure 4 . Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid line; for screw threads on both ends.Dotted line; for screw threads on only one side and complements by predicting). Figure 5 . Figure 5. Generated mask image and the resulting composite image. Figure 6 . Figure 6.Labeling process. Figure 5 . Figure 5. Generated mask image and the resulting composite image. Figure 4 . Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid line; for screw threads on both ends.Dotted line; for screw threads on only one side and complements by predicting). Figure 5 . Figure 5. Generated mask image and the resulting composite image. Figure 6 . Figure 6.Labeling process. Figure 6 . Figure 6.Labeling process. Figure 7 . Figure 7. Generated mask and synthesized images.(a) Label image, (b) mask image, (c) composite image. Figure 8 . Figure 8. Cutout portion of the bottle image used for the detection.(The image to be cropped and retrieved with the red line is on the left). Figure 7 . Figure 7. Generated mask and synthesized images.(a) Label image, (b) mask image, (c) composite image. Figure 7 . Figure 7. Generated mask and synthesized images.(a) Label image, (b) mask image, (c) composite image. Figure 8 . Figure 8. Cutout portion of the bottle image used for the detection.(The image to be cropped and retrieved with the red line is on the left). Figure 8 . Figure 8. Cutout portion of the bottle image used for the detection.(The image to be cropped and retrieved with the red line is on the left). Figure 9 . Figure 9. Hough transform process.(a) Hough transforms for each label, (b) generated mask image, (c) composite image. Figure 9 . Figure 9. Hough transform process.(a) Hough transforms for each label, (b) generated mask image, (c) composite image. Figure 10 . Figure 10.Process for extracting missing parts. Figure 11 Figure 11 illustrates the experimental environment and the glass bottles used in the study.Table2lists the components and their specifications for the experimental setup.In addition, Figure12provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference. Figure 10 . Figure 10.Process for extracting missing parts. Figure 11 Figure 11 illustrates the experimental environment and the glass bottles used in the study.Table2lists the components and their specifications for the experimental setup.In addition, Figure12provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference. Figure 11 . Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study. Figure 11 . Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study. Figure 11 . Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study. Figure 12 . Figure 12.Schematic drawing of the experimental environment. Figure 13 . Figure 13.How to take bottle images. Figure 12 . Figure 12.Schematic drawing of the experimental environment. Figure 11 . Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study. Figure 12 . Figure 12.Schematic drawing of the experimental environment. Figure 13 . Figure 13.How to take bottle images.Figure 13.How to take bottle images. Figure 13 . Figure 13.How to take bottle images.Figure 13.How to take bottle images. Figure 14 . Figure 14.Examples of good bottles and defective bottles presenting chips.(a) Good, (b) D1, (c) D2. Figure 15 . Figure 15.Experimental results show images of bottle defective 1 at different angles. Figure 14 . Figure 14.Examples of good bottles and defective bottles presenting chips.(a) Good, (b) D1, (c) D2. 3. 4 . Figure 15 shows a portion of the resulting image, with the chipped areas indicated in red, indicating successful detection.The image shows the D1 rotated by 30 • .In addition, Tables 3-5 present a breakdown of the experimental results.Table3presents the results of inspecting good bottles 10 times per angle, Table4shows the results of inspecting D1 10 times per angle, and Table5shows the results of inspecting D2 10 times per angle. Figure 14 . Figure 14.Examples of good bottles and defective bottles presenting chips.(a) Good, (b) D1, (c) D2. Figure 15 . Figure 15.Experimental results show images of bottle defective 1 at different angles. Figure 15 . Figure 15.Experimental results show images of bottle defective 1 at different angles. Figure 16 . Figure 16.Example of the false detection. Figure 16 . Figure 16.Example of the false detection. Figure 17 . Figure 17.Example of detection.Result for (a) chip1, (b) chip2, (c) chip3, (d) chip 4, (e) chip5, (f) chip6, (g) chip7, (h) chip8. Figure 18 . Figure 18.Example of false positive. Figure 17 . Figure 17.Example of detection.Result for (a) chip1, (b) chip2, (c) chip3, (d) chip 4, (e) chip5, (f) chip6, (g) chip7, (h) chip8. Figure 17 . Figure 17.Example of detection.Result for (a) chip1, (b) chip2, (c) chip3, (d) chip 4, (e) chip5, (f) chip6, (g) chip7, (h) chip8. Figure 18 . Figure 18.Example of false positive. Figure 18 . Figure 18.Example of false positive. Figure 19 . Figure 19.Example for minute angle changes. Figure 19 . Figure 19.Example for minute angle changes. Figure 19 . Figures 20 and 21 illustrate the relationship between the average luminance values and the curved surface. Figure 19 . Figure 19.Example for minute angle changes. Figure 19 . Figures 20 and 21 illustrate the relationship between the average luminance values and the curved surface. Figure 20 . Figure 20.Relationship between inspection image and luminance value (center camera). Figure 21 . Figure 21.Relationship between inspection image and luminance value (left and right camera). Figure 20 . Figure 20.Relationship between inspection image and luminance value (center camera). Figure 19 . Figure 19.Example for minute angle changes. Figure 19 . Figures 20 and 21 illustrate the relationship between the average luminance values and the curved surface. Figure 20 . Figure 20.Relationship between inspection image and luminance value (center camera). Figure 21 . Figure 21.Relationship between inspection image and luminance value (left and right camera). Figure 21 . Figure 21.Relationship between inspection image and luminance value (left and right camera). Figure 22 . Figure 22.Threshold change process. Figure 23 . Figure 23.Pixel value addition process.(a) Photographic image, (b) added image, (c) enhanced image, and (d) result image. Figure 22 . Figure 22.Threshold change process. Figure 22 . Figure 22.Threshold change process. Figure 23 . Figure 23.Pixel value addition process.(a) Photographic image, (b) added image, (c) enhanced image, and (d) result image. Figure 23 . Figure 23.Pixel value addition process.(a) Photographic image, (b) added image, (c) enhanced image, and (d) result image. Figure 24 .Figure 25 .Figure 26 . Figure 24.Comparison with Experiment 2 (screw thread).(a) Experiment 2 and (b) Experiment 3. Figure 24 .Figure 24 .Figure 25 .Figure 26 . Figure 24.Comparison with Experiment 2 (screw thread).(a) Experiment 2 and (b) Experiment 3. Figure 25 . Figure 25.Comparison with Experiment 2 (top).(a) Experiment 2 and (b) Experiment 3. gFigure 24 .Figure 25 .Figure 26 . Figure 24.Comparison with Experiment 2 (screw thread).(a) Experiment 2 and (b) Experiment 3. Figure 26 . Figure 26.Comparison with Experiment 2 (defect bottle).(a) Experiment 2 and (b) Experiment 3. Table 1 . Criteria for chip detection and corresponding label colors. Table 1 . Criteria for chip detection and corresponding label colors. Table 1 . Criteria for chip detection and corresponding label colors. Table 2 . Equipment used in the experiment. Table 2 . Angle of view (1/1.8″)25° 32.6° Filter Model number ZOMEI IR850 Infrared backlight Model number IFD-300/200IR-850 Light source power supply Model number IWDV-300S-24 Table 2 . Equipment used in the experiment. Table 2 . Cont. Table 2 . Equipment used in the experiment. Table 2 . Equipment used in the experiment. Table 3 . Experimental results for the good bottle. Table 3 . Experimental results for the good bottle. Table 3 . Experimental results for the good bottle. Table 4 . Experimental results for D1. Table 5 . Experimental results for D2. Table 4 . Experimental results for D1. Table 5 . Experimental results for D2. Table 6 . Experimental results. Table 6 . Experimental results. Table 6 . 3.8.Discussion of Results (Experiments Simulating a Production Plant) Table 6 . Experimental results. Table 6 . 3.8.Discussion of Results (Experiments Simulating a Production Plant) Table 7 . Experimental results. Table 7 . Experimental results. Table 7 . Experimental results. Table 8 . [4]ection accuracy of the conventional method[4]. Table 9 . Detection accuracy of the proposed method. Table 8 . [4]ection accuracy of the conventional method[4]. Table 9 . Detection accuracy of the proposed method. Table 8 . [4]ection accuracy of the conventional method[4]. Table 9 . Detection accuracy of the proposed method. Table 9 . Detection accuracy of the proposed method.

섹션 본문 200문단 · 49,570자

(제목 없음)

1Recycled glass has been the focus of attention owing to its role in reducing plastic waste and further increasing the demand for glass containers.Cosmetics glass bottles require strict quality inspections because of the frequent handling, safety concerns, and other factors.During manufacturing, glass bottles sometimes develop chips on the top surface, rim, or screw threads of the bottle mouth.Conventionally, these chips are visually inspected by inspectors; however, this process is time consuming and prone to inaccuracies.To address these issues, automatic inspection using image processing has been explored.Existing methods, such as dynamic luminance value correction and ring-shaped inspection gates, have limitations: the former relies on visible light, which is strongly affected by natural light, and the latter acquires images directly from above, resulting in low accuracy in detecting chips on the lower part of screw threads.To overcome these challenges, this study proposes a method that combines infrared backlighting and image processing to determine the range of screw threads and detect chips accurately.Experiments were conducted in an experimental environment replicating an actual factory production line.The results confirmed that the detection accuracy of chipping was 99.6% for both good and defective bottles.This approach reduces equipment complexity compared to conventional methods while maintaining high inspection accuracy, contributing to the productivity and quality control of glass bottle manufacturing.

Research Background

2In recent years, Japanese cosmetic glass bottles have attracted attention in terms of improved manufacturing technology and environmental friendliness through the use of recycled glass [1], and the amount of glass bottles exported overseas is on the rise [2].

3Glass bottles used as cosmetic bottles are treated as high-end products and are subject to strict quality inspections.In particular, the mouths of glass bottles are often equipped with screw threads for opening and closing the caps, and their complex shapes easily cause defects during production.In visual inspection, where defective products are judged by humans, research by Hida et al. has shown that different workers have different criteria for judgment and that long hours of work can cause a loss of accuracy [3].This calls for the development of inspection equipment that uses image processing to improve productivity.

Proposed Method

4The proposed method primarily focuses on obtaining a range of screw threads from captured images and detecting flaws.Figure 1 provides an overview of the proposed method.Each step is explained in detail in the following sections.

5J. Imaging 2025, 11, x FOR PEER REVIEW 2 of 15

Related Work

6To improve productivity, it is necessary to develop a detection device using image processing [1][2][3].Many inspection methods using image processing have been proposed [4][5][6][7].However, their targets are plastics and metals, and if the glass bottle is transparent, it cannot be inspected successfully due to its light-transmitting characteristics.In addition, glass bottle mouth inspection methods using image processing include a glass bottle mouth inspection method employing dynamic brightness value correction [8] and a glass bottle inspection method using ring-shaped inspection gates [9].The former uses six cameras for side inspections and two cameras for top inspections to perform omnidirectional inspection.However, it is limited to inspecting simple-shaped glass bottles without screw threads, and the accuracy of flaw detection is low because of the use of natural light.The latter captures images from above but cannot inspect the entire screw-threaded portion effectively.To address these challenges, we propose improving the detection accuracy through the use of an infrared backlight and limiting the inspection area to critical regions.

Proposed Method

7The proposed method primarily focuses on obtaining a range of screw threads from captured images and detecting flaws.Figure 1 provides an overview of the proposed method.Each step is explained in detail in the following sections.

Capturing Bottle Images

8An infrared surface light source and an infrared camera are employed for image capture.Since the glass bottles used in this study are transparent, light penetrates the smooth, undamaged surface when photographed under an infrared surface light source, resulting in a uniformly white appearance.However, the presence of chips or scratches causes diffuse reflection of light, making these areas appear darker.This optical property is utilized for defect detection.Figure 2 shows an overview of the glass bottle photography process, which simulates the way chips appear when infrared light is used.Additionally, a cut filter is applied to block ambient light, ensuring that inspections remain unaffected by external lighting conditions in the factory or inspection area.

9An infrared surface light source and an infrared camera are employed for image capture.Since the glass bottles used in this study are transparent, light penetrates the smooth, undamaged surface when photographed under an infrared surface light source, resulting in a uniformly white appearance.However, the presence of chips or scratches causes diffuse reflection of light, making these areas appear darker.This optical property is utilized for defect detection.Figure 2 shows an overview of the glass bottle photography process, which simulates the way chips appear when infrared light is used.Additionally, a cut filter is applied to block ambient light, ensuring that inspections remain unaffected by external lighting conditions in the factory or inspection area.

Reasons for Limiting the Scope

10During manufacturing, chipping is less likely to occur near the beginning and end of the screw threads and on the bottle surface because these areas are more exposed to air compared to the center and top of the screw threads, where the temperature distribution is more uniform during the cooling process [10].Consequently, the possibility of chipping in these areas is significantly lower.To minimize false detections caused by noise, these areas are masked and excluded from the detection process.

Detection of the Screw Thread Endpoints

11To obtain the screw threads, a search was first performed from the endpoints of the glass bottle.Figure 3a shows the scan starting from the upper-left corner of the captured image.The coordinates of the first pixel with the lowest luminance value, which corresponds to the outline of the glass bottle, were retained.The leftmost and second points from the left were retained as the endpoints of the screw threads based on the coordinate information of the outline.Subsequently, the top and bottom edges of the screw threads were determined by scanning a few pixels above and below the retained coordinates and selecting the two coordinates that fell within the specified pixel range.A similar scan was performed on the right side to locate the end of the screw thread.Figure 3b

Reasons for Limiting the Scope

12During manufacturing, chipping is less likely to occur near the beginning and e the screw threads and on the bottle surface because these areas are more exposed compared to the center and top of the screw threads, where the temperature distrib is more uniform during the cooling process [10].Consequently, the possibility of chip in these areas is significantly lower.To minimize false detections caused by noise, areas are masked and excluded from the detection process.

Detection of the Screw Thread Endpoints

13To obtain the screw threads, a search was first performed from the endpoints o glass bottle.Figure 3a shows the scan starting from the upper-left corner of the capt image.The coordinates of the first pixel with the lowest luminance value, which c sponds to the outline of the glass bottle, were retained.The leftmost and second p from the left were retained as the endpoints of the screw threads based on the coord information of the outline.Subsequently, the top and bottom edges of the screw thr were determined by scanning a few pixels above and below the retained coordinate selecting the two coordinates that fell within the specified pixel range.A similar scan performed on the right side to locate the end of the screw thread.Figure 3b

Reasons for Limiting the Scope

14During manufacturing, chipping is less likely to occur near the beginning and end of the screw threads and on the bottle surface because these areas are more exposed to air compared to the center and top of the screw threads, where the temperature distribution is more uniform during the cooling process [10].Consequently, the possibility of chipping in these areas is significantly lower.To minimize false detections caused by noise, these areas are masked and excluded from the detection process.

Detection of the Screw Thread Endpoints

15To obtain the screw threads, a search was first performed from the endpoints of the glass bottle.Figure 3a shows the scan starting from the upper-left corner of the captured image.The coordinates of the first pixel with the lowest luminance value, which corresponds to the outline of the glass bottle, were retained.The leftmost and second points from the left were retained as the endpoints of the screw threads based on the coordinate information of the outline.Subsequently, the top and bottom edges of the screw threads were determined by scanning a few pixels above and below the retained coordinates and selecting the two coordinates that fell within the specified pixel range.A similar scan was performed on the right side to locate the end of the screw thread.Figure 3b

Mask Generation and Screw Thread Range Detection

16The screw thread range was determined by connecting the coordinates obtained in the previous section.However, if a screw thread is cut in the middle, as illustrated in Figure 4, the coordinate information on one side is retained, while the coordinate information

17The screw thread range was determined by connecting the coordinates obtained in the previous section.However, if a screw thread is cut in the middle, as illustrated in Figure 4, the coordinate information on one side is retained, while the coordinate information on the other side is unavailable.This makes it impossible to correctly determine the extent of the screw thread.

18Therefore, a mask image was generated to accurately identify the screw thread missing on one side.As shown in Figure 5, the mask image was created with a thickness sufficient to cover the top and bottom of the screw thread.The endpoint of the screw thread was then located by detecting a shadow area that is continuous above and below the screw thread.This mask image was generated based on the slope obtained during the determination of the screw-thread range when both endpoints were successfully connected.

19on the other side is unavailable.This makes it impossible to correctly determine the ex of the screw thread.Therefore, a mask image was generated to accurately identify the screw thread m ing on one side.As shown in Figure 5, the mask image was created with a thickness ficient to cover the top and bottom of the screw thread.The endpoint of the screw thr was then located by detecting a shadow area that is continuous above and below the sc thread.This mask image was generated based on the slope obtained during the deter nation of the screw-thread range when both endpoints were successfully connected.

Image Processing

20The image of the mouth of a cosmetic glass bottle often contains minute noise, wh was removed using a bilateral filter [11].This filter effectively eliminates microsco noise while preserving image contours.In addition, contrast transformation was app to enhance the distinction between light and dark areas, making scratches and n scratches more discernible [12].

Screw Thread Range Detection Using Labeling

21For missing screw threads, the thread range was determined by identifying conti ous areas through the labeling process.This process used OpenCV's "ConnectedCom nentsWithStats" function [13].As shown in Figure 6, the generated mask image was c bined with the contrast-enhanced image to generate an image containing only the sc thread portion.Labeling was then performed by tracking the shadows of the upper lower portions of the screw threads to determine their full extent.Therefore, a mask image was generated to accurately identify the screw thread missing on one side.As shown in Figure 5, the mask image was created with a thickness sufficient to cover the top and bottom of the screw thread.The endpoint of the screw thread was then located by detecting a shadow area that is continuous above and below the screw thread.This mask image was generated based on the slope obtained during the determination of the screw-thread range when both endpoints were successfully connected.

Image Processing

22The image of the mouth of a cosmetic glass bottle often contains minute noise, which was removed using a bilateral filter [11].This filter effectively eliminates microscopic noise while preserving image contours.In addition, contrast transformation was applied to enhance the distinction between light and dark areas, making scratches and nonscratches more discernible [12].

Screw Thread Range Detection Using Labeling

23For missing screw threads, the thread range was determined by identifying contiguous areas through the labeling process.This process used OpenCV's "ConnectedCompo-nentsWithStats" function [13].As shown in Figure 6, the generated mask image was combined with the contrast-enhanced image to generate an image containing only the screw thread portion.Labeling was then performed by tracking the shadows of the upper and lower portions of the screw threads to determine their full extent.

Image Processing

24The image of the mouth of a cosmetic glass bottle often contains minute noise, which was removed using a bilateral filter [11].This filter effectively eliminates microscopic noise while preserving image contours.In addition, contrast transformation was applied to enhance the distinction between light and dark areas, making scratches and non-scratches more discernible [12].

Screw Thread Range Detection Using Labeling

25For missing screw threads, the thread range was determined by identifying contiguous areas through the labeling process.This process used OpenCV's "ConnectedCom-ponentsWithStats" function [13].As shown in Figure 6, the generated mask image was combined with the contrast-enhanced image to generate an image containing only the screw thread portion.Labeling was then performed by tracking the shadows of the upper and lower portions of the screw threads to determine their full extent.Therefore, a mask image was generated to accurately identify the screw thread missing on one side.As shown in Figure 5, the mask image was created with a thickness sufficient to cover the top and bottom of the screw thread.The endpoint of the screw thread was then located by detecting a shadow area that is continuous above and below the screw thread.This mask image was generated based on the slope obtained during the determination of the screw-thread range when both endpoints were successfully connected.

Image Processing

26The image of the mouth of a cosmetic glass bottle often contains minute noise, which was removed using a bilateral filter [11].This filter effectively eliminates microscopic noise while preserving image contours.In addition, contrast transformation was applied to enhance the distinction between light and dark areas, making scratches and nonscratches more discernible [12].

Screw Thread Range Detection Using Labeling

27For missing screw threads, the thread range was determined by identifying contiguous areas through the labeling process.This process used OpenCV's "ConnectedCompo-nentsWithStats" function [13].As shown in Figure 6, the generated mask image was combined with the contrast-enhanced image to generate an image containing only the screw thread portion.Labeling was then performed by tracking the shadows of the upper and lower portions of the screw threads to determine their full extent.Based on the labeling information obtained, a mask image was generated to match the screw thread range.The generated mask image and the bottle image synthesized using the mask are shown in Figure 7.For example, the red label information is used to identify the screw thread regions contiguous from the left, and the green label information is used to identify the screw thread regions contiguous from the right.

28Based on the labeling information obtained, a mask image was generated to match the screw thread range.The generated mask image and the bottle image synthesized using the mask are shown in Figure 7.For example, the red label information is used to identify the screw thread regions contiguous from the left, and the green label information is used to identify the screw thread regions contiguous from the right.

Cutting Out the Inspection Area

29Chipping detection performed on the entire bottle image can be significantly affected by shadows in areas not visible in the front view.To minimize the influence of these shadows and improve chip detection, only the center portion of the bottle image was cropped using the coordinates of the two endpoints identified in Section 2.3.An example of this cropping method is shown in Figure 8.Because one image was acquired by the left camera, two images by the center camera, and one image by the right camera for flaw detection, it was possible to perform 180° flaw detection even when only the center portion of the image was used.

Mask Generation Using Hough Transform

30As described in the previous sections, an image containing only the screw threads was obtained; however, it included significant linear noise owing to the shadows cast by the screw threads.To remove this noise, linear line detection using Hough transform processing was performed [14,15].Labels identified as straight lines are removed by generating a mask to exclude them from the detection target.Figure 9 illustrates the mask generation process.

Cutting Out the Inspection Area

31Chipping detection performed on the entire bottle image can be significantly affected by shadows in areas not visible in the front view.To minimize the influence of these shadows and improve chip detection, only the center portion of the bottle image was cropped using the coordinates of the two endpoints identified in Section 2.3.An example of this cropping method is shown in Figure 8.Because one image was acquired by the left camera, two images by the center camera, and one image by the right camera for flaw detection, it was possible to perform 180 • flaw detection even when only the center portion of the image was used.

32the mask are shown in Figure 7.For example, the red label information is used to identify the screw thread regions contiguous from the left, and the green label information is used to identify the screw thread regions contiguous from the right.

33Chipping detection performed on the entire bottle image can be significantly affected by shadows in areas not visible in the front view.To minimize the influence of these shadows and improve chip detection, only the center portion of the bottle image was cropped using the coordinates of the two endpoints identified in Section 2.3.An example of this cropping method is shown in Figure 8.Because one image was acquired by the left camera, two images by the center camera, and one image by the right camera for flaw detection, it was possible to perform 180° flaw detection even when only the center portion of the image was used.

Mask Generation Using Hough Transform

34As described in the previous sections, an image containing only the screw threads was obtained; however, it included significant linear noise owing to the shadows cast by the screw threads.To remove this noise, linear line detection using Hough transform processing was performed [14,15].Labels identified as straight lines are removed by generating a mask to exclude them from the detection target.Figure 9 illustrates the mask generation process.

35As described in the previous sections, an image containing only the screw threads was obtained; however, it included significant linear noise owing to the shadows cast by the screw threads.To remove this noise, linear line detection using Hough transform processing was performed [14,15].Labels identified as straight lines are removed by generating a mask to exclude them from the detection target.Figure 9 illustrates the mask generation process.

Chip Detection

36From the generated images, chips were detected based on the area, width, and height of each label.The labels are listed in Table 1.The chip detection process is illustrated in Figure 10.

37From the generated images, chips were detected based on the area, width, and height of each label.The labels are listed in Table 1.The chip detection process is illustrated in Figure 10.

38From the generated images, chips were detected based on the area, width, and height of each label.The labels are listed in Table 1.The chip detection process is illustrated in Figure 10.

Experiments

39Two experiments were conducted to verify the effectiveness of the proposed method.In Experiment 1, one good bottle and two defective bottles were rotated by 30°, and images were acquired 10 times at each angle to confirm that 180-degree side detection was achievable.In Experiment 2, the orientation of the glass bottles was adjusted to match that of an actual factory production line.A total of 100 good bottles were placed on the conveyor four times, while 29 defective bottles were placed on the conveyor twice. 2 lists the components and their specifications for the experimental setup.In addition, Figure 12 provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference.

40Two experiments were conducted to verify the effectiveness of the proposed method.

41In Experiment 1, one good bottle and two defective bottles were rotated by 30 • , and images were acquired 10 times at each angle to confirm that 180-degree side detection was achievable.In Experiment 2, the orientation of the glass bottles was adjusted to match that of an actual factory production line.A total of 100 good bottles were placed on the conveyor four times, while 29 defective bottles were placed on the conveyor twice. 2 lists the components and their specifications for the experimental setup.In addition, Figure 12 provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference.

Model number VCXU-32M

42Resolution 2048 × 1536

Taking Bottle Images

43The bottles transported onto the conveyor appear as shown in Figure 13 when captured by the camera.As the bottles move along the conveyor, images are taken based on two reference markers (indicated by red circles), and the relevant regions are extracted.In this example, the central camera is depicted, capturing two images-one from each side of the bottle.

44The bottles transported onto the conveyor appear as shown in Figure 13 when captured by the camera.As the bottles move along the conveyor, images are taken based on two reference markers (indicated by red circles), and the relevant regions are extracted.In this example, the central camera is depicted, capturing two images-one from each side of the bottle.

45The bottles transported onto the conveyor appear as shown in Figure 13 when captured by the camera.As the bottles move along the conveyor, images are taken based on two reference markers (indicated by red circles), and the relevant regions are extracted.In this example, the central camera is depicted, capturing two images-one from each side of the bottle.

Detection Experiment on the Side of the Bottle

46In this study, a detection of 180 • was achieved.To verify the detection rate of the halfface (180 • ) of the bottles using this method, one good and two defective bottles (D1 and D2) were placed on the conveyor belt, and their images were acquired 10 times at 30 • intervals, resulting in a total of 210 images, to ensure that the method could accurately inspect them.One bottle with chips on both the top and bottom of the screw threads was selected as the sample to confirm that there were no issues in detecting flaws during the acquisition of the screw threads.Figure 14 shows images of one good and two defective bottles acquired using an infrared camera.

47intervals, resulting in a total of 210 images, to ensure that the method could accurately inspect them.One bottle with chips on both the top and bottom of the screw threads was selected as the sample to confirm that there were no issues in detecting flaws during the acquisition of the screw threads.Figure 14 shows images of one good and two defective bottles acquired using an infrared camera.

Experimental Results (Experiment on the Side of the Bottle)

48Figure 15 shows a portion of the resulting image, with the chipped areas indicated in red, indicating successful detection.The image shows the D1 rotated by 30°.In addition, Tables 3-5 present a breakdown of the experimental results.Table 3 presents the results of inspecting good bottles 10 times per angle, Table 4 shows the results of inspecting D1 10 times per angle, and Table 5 shows the results of inspecting D2 10 times per angle.3 presents the results of inspecting good bottles 10 times per angle, Table 4 shows the results of inspecting D1 10 times per angle, and Table 5 shows the results of inspecting D2 10 times per angle.

49intervals, resulting in a total of 210 images, to ensure that the method could accurately inspect them.One bottle with chips on both the top and bottom of the screw threads was selected as the sample to confirm that there were no issues in detecting flaws during the acquisition of the screw threads.Figure 14 shows images of one good and two defective bottles acquired using an infrared camera.

50Figure 15 shows a portion of the resulting image, with the chipped areas indicated in red, indicating successful detection.The image shows the D1 rotated by 30°.In addition, Tables 3-5 present a breakdown of the experimental results.Table 3 presents the results of inspecting good bottles 10 times per angle, Table 4 shows the results of inspecting D1 10 times per angle, and Table 5 shows the results of inspecting D2 10 times per angle.The chip detection rates were 98.6% for defective products, 97.1% for D1, and 100% for D2.In the experiment involving good bottles, 100% were correctly identified as good.The overall inspection accuracy rate for the entire set, including both good and defective bottles, was 99.0%.The cameras were able to detect the chips even when the bottles were rotated by 30 • .This confirmed that the three-camera system could effectively detect chips on half of the bottles.Figure 16 shows an image of an inspection result that was erroneously detected as a defective product as an example of a false detection.It was found that the chips were determined as noise.The chip detection rates were 98.6% for defective products, 97.1% for D1, and 100% for D2.In the experiment involving good bottles, 100% were correctly identified as good.The overall inspection accuracy rate for the entire set, including both good and defective bottles, was 99.0%.The cameras were able to detect the chips even when the bottles were rotated by 30°.This confirmed that the three-camera system could effectively detect chips on half of the bottles.Figure 16 shows an image of an inspection result that was erroneously detected as a defective product as an example of a false detection.It was found that the chips were determined as noise.

Experiments Simulating a Production Plant

51In an actual factory production line, glass bottles flow on a conveyor at a specific angle because of the product labeling process.To simulate this, we conducted an experiment in which glass bottles were aligned in the same direction as they would be in a production plant.The sample set for this experiment included 100 good bottles and 29 defective bottles.In the experiment, good bottles were placed on the conveyor four times each to acquire 400 images, and defective bottles were placed twice to acquire 58 images.

Experimental Results (Experiments Simulating a Production Plant)

52Figure 17 shows an example of a resulting image from a normal inspection by each camera.The areas shown in red indicate the chips that should be detected using this method.The image also displays a portion of the 29 bottles containing chips.A breakdown of the experimental results is presented in Table 6.

Experiments Simulating a Production Plant

53In an actual factory production line, glass bottles flow on a conveyor at a specific angle because of the product labeling process.To simulate this, we conducted an experiment in which glass bottles were aligned in the same direction as they would be in a production plant.The sample set for this experiment included 100 good bottles and 29 defective bottles.In the experiment, good bottles were placed on the conveyor four times each to acquire 400 images, and defective bottles were placed twice to acquire 58 images.

Experimental Results (Experiments Simulating a Production Plant)

54Figure 17 shows an example of a resulting image from a normal inspection by each camera.The areas shown in red indicate the chips that should be detected using this method.The image also displays a portion of the 29 bottles containing chips.A breakdown of the experimental results is presented in Table 6.As a result of the experiment, 3 false positives were detected at the screw threads and 19 false negatives at the top surface, resulting in an inspection accuracy of 94.5%.For defective products, no false positives were detected, achieving an inspection accuracy of 100%.Figure 18 shows examples of false-positive detection for a good bottle.

Additional Experiments Based on the Experimental Results

55Based on the results of Experiments 1 and 2, additional experiments were conducted to study the reflection of the chips at different angles using a single camera.Examples of chip detection obtained by applying minute angle changes are shown in Figure 19.

Discussion of Results (Experiments Simulating a Production Plant)

56As a result of the experiment, 3 false positives were detected at the screw threads and 19 false negatives at the top surface, resulting in an inspection accuracy of 94.5%.For defective products, no false positives were detected, achieving an inspection accuracy of 100%.Figure 18 shows examples of false-positive detection for a good bottle.As a result of the experiment, 3 false positives were detected at the screw threads and 19 false negatives at the top surface, resulting in an inspection accuracy of 94.5%.For defective products, no false positives were detected, achieving an inspection accuracy of 100%.Figure 18 shows examples of false-positive detection for a good bottle.

Additional Experiments Based on the Experimental Results

57Based on the results of Experiments 1 and 2, additional experiments were conducted to study the reflection of the chips at different angles using a single camera.Examples of chip detection obtained by applying minute angle changes are shown in Figure 19.

58Based on the results of Experiments 1 and 2, additional experiments were conducted to study the reflection of the chips at different angles using a single camera.Examples of chip detection obtained by applying minute angle changes are shown in Figure 19.

Binarization Process According to the Curved Surface of the Bottle

59Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light

60Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light from a surface light source strikes a curved surface, it is reflected, causing an increase in refraction and a decrease in luminance value.

61Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light from a surface light source strikes a curved surface, it is reflected, causing an increase in refraction and a decrease in luminance value.In addition, when images of bottles with chips were acquired from multiple angles, it was observed that when the chips were in front of the image, the reflection was weak,

62Binarization is performed on the contrast-adjusted image by applying a labeling process for chip detection.The glass bottle being inspected has a curved surface.When light from a surface light source strikes a curved surface, it is reflected, causing an increase in refraction and a decrease in luminance value.In addition, when images of bottles with chips were acquired from multiple angles, it was observed that when the chips were in front of the image, the reflection was weak, In addition, when images of bottles with chips were acquired from multiple angles, it was observed that when the chips were in front of the image, the reflection was weak, making it difficult to identify the chips.Based on this observation, the inspection image was divided vertically, as shown in Figure 22, and different binarization thresholds were applied to each section.

63making it difficult to identify the chips.Based on this observation, the inspection image was divided vertically, as shown in Figure 22, and different binarization thresholds were applied to each section.

Subtractive Processing of the Top Surface Area

64In Experiment 2, false detections due to noise were observed on the top surface area of the bottles.To address this, we propose a method that involves adding a certain pixel value to the top surface area.In the proposed method, the contrast was adjusted to emphasize the chips.However, this process also emphasized noise along with the chips.As shown in Figure 23, by adding a certain pixel value to the top surface of the entire inspection area, it may be possible to emphasize the chips while reducing the noise.

Experimental Setup

65In the third experiment, the proposed method was added, and the experiment was conducted in the same manner as in Experiment 2, using images acquired in Experiment 2 for 100 good products four times and 29 defective products.

Experimental Results

66The experimental results are shown in Table 7.

Discussion of Results

67Table 7 and Figures 24 and 25 show the additional proposed method improved inspection accuracy for good bottles.However, for defective bottles, two false positives occurred, which did not occur in Experiment 2. An example of a false-positive detection is shown in Figure 26.The accuracy of the inspection was reduced because the addition of

Subtractive Processing of the Top Surface Area

68In Experiment 2, false detections due to noise were observed on the top surface area of the bottles.To address this, we propose a method that involves adding a certain pixel value to the top surface area.In the proposed method, the contrast was adjusted to emphasize the chips.However, this process also emphasized noise along with the chips.As shown in Figure 23, by adding a certain pixel value to the top surface of the entire inspection area, it may be possible to emphasize the chips while reducing the noise.

69making it difficult to identify the chips.Based on this observation, the inspection image was divided vertically, as shown in Figure 22, and different binarization thresholds were applied to each section.

70In Experiment 2, false detections due to noise were observed on the top surface area of the bottles.To address this, we propose a method that involves adding a certain pixel value to the top surface area.In the proposed method, the contrast was adjusted to emphasize the chips.However, this process also emphasized noise along with the chips.As shown in Figure 23, by adding a certain pixel value to the top surface of the entire inspection area, it may be possible to emphasize the chips while reducing the noise.

Experimental Setup

71In the third experiment, the proposed method was added, and the experiment was conducted in the same manner as in Experiment 2, using images acquired in Experiment 2 for 100 good products four times and 29 defective products.

Experimental Results

72The experimental results are shown in Table 7.

Discussion of Results

73Table 7 and Figures 24 and 25 show the additional proposed method improved inspection accuracy for good bottles.However, for defective bottles, two false positives occurred, which did not occur in Experiment 2. An example of a false-positive detection is shown in Figure 26.The accuracy of the inspection was reduced because the addition of

Experimental Setup

74In the third experiment, the proposed method was added, and the experiment was conducted in the same manner as in Experiment 2, using images acquired in Experiment 2 for 100 good products four times and 29 defective products.

Experimental Results

75The experimental results are shown in Table 7.

Discussion of Results

76Table 7 and Figures 24 and 25 show the additional proposed method improved inspection accuracy for good bottles.However, for defective bottles, two false positives occurred, which did not occur in Experiment 2. An example of a false-positive detection is shown in Figure 26.The accuracy of the inspection was reduced because the addition of pixels caused some pixels to be missing from the image, making it difficult to accurately identify the missing areas.pixels caused some pixels to be missing from the image, making it difficult to accurately identify the missing areas.

Comparison with Conventional Method

77Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method.The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360° detection [4].In this study, although the bottle-half surface was

78Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method.The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360° detection [4].In this study, although the bottle-half surface was

79Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method.The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360° detection [4].In this study, although the bottle-half surface was

80Tables 8 and 9 summarize the inspection results of a previous study [4] and those of the proposed method.

81Table 8.Detection accuracy of the conventional method [4].

Sample Recognized Recall

82Good bottles 100 98 98%

83Defect bottles 100 98 98%

84Good bottles 400 400 100%

85Defect bottles 58 56 96.5%

86The accuracy of the inspection was comparable to that of previous studies.However, one prior study used six cameras for the sides of the bottle and three cameras for the top surface to achieve 360 • detection [4].In this study, although the bottle-half surface was 180 • , the side and top surfaces could be inspected with only three cameras.We believe that this approach will contribute to reducing the weight of the equipment used.

Conclusions

87In this study, we aimed to improve inspection accuracy by using an infrared backlight and limiting the inspection area.The results of Experiment 1 showed that good and defective bottles were correctly detected when rotated every 30 • , with sufficient accuracy to inspect the sides of the bottles.Experiment 2 demonstrated inspection accuracies for good and defective bottles of 94.5% and 100%, respectively.The results of Experiments 1 and 2 confirm that the reflection of scratches depends on the refractive index and reflectivity of the curved surface area of the glass bottle.Based on these findings, we proposed methods to adjust the binarization threshold and to add specific pixel values to the top surface to improve inspection accuracy in Experiment 3. The results of Experiment 3 confirmed the effectiveness of these methods, achieving a 100% detection rate for good bottles and an inspection accuracy of 96.5% for defective bottles.The parameters of the proposed method exhibit a trade-off between good and defective bottles, and future work will focus on optimizing these parameters to enhance detection accuracy.In addition, we would like to prepare two experimental apparatuses to check the accuracy of 360 • inspection and to see if they can be used for different types of glass bottles.Finally, it was found the method proposed in this study has the potential to improve productivity in glass bottle production and advance the industry.

Figure 1 .

88Figure 1.Overview of the proposed method.

89Figure 1.Overview of the proposed method.

90illustrates this process.The black dots indicate the ends of the screw threads, and the blue dots indicate the top and bottom coordinates determined during this process.

Figure 2 .

91Figure 2. Overview of glass bottle photography.

92illustrate process.The black dots indicate the ends of the screw threads, and the blue dots ind the top and bottom coordinates determined during this process.

93Figure 2. Overview of glass bottle photography.

94Figure 2. Overview of glass bottle photography.

95illustrates this process.The black dots indicate the ends of the screw threads, and the blue dots indicate the top and bottom coordinates determined during this process.

Figure 3 .

96Figure 3. Process to search both ends of the screw threads.(A process that searches both ends (a) and a process that further searches the screw thread region (b)).

97Figure 3. Process to search both ends of the screw threads.(A process that searches both ends (a) and a process that further searches the screw thread region (b)).

Figure 4 .

98Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid li for screw threads on both ends.Dotted line; for screw threads on only one side and complemen by predicting).

Figure 5 .

99Figure 5. Generated mask image and the resulting composite image.

Figure 4 .

100Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid line; for screw threads on both ends.Dotted line; for screw threads on only one side and complements by predicting).

101Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid line; for screw threads on both ends.Dotted line; for screw threads on only one side and complements by predicting).

Figure 5 .

102Figure 5. Generated mask image and the resulting composite image.

Figure 6 .

103Figure 6.Labeling process.

Figure 5 .

104Figure 5. Generated mask image and the resulting composite image.

Figure 4 .

105Figure 4. Screw thread range depicted when both endpoints are successfully identified (Solid line; for screw threads on both ends.Dotted line; for screw threads on only one side and complements by predicting).

Figure 5 .

106Figure 5. Generated mask image and the resulting composite image.

Figure 6 .

107Figure 6.Labeling process.

108Figure 6.Labeling process.

Figure 7 .

109Figure 7. Generated mask and synthesized images.(a) Label image, (b) mask image, (c) composite image.

Figure 8 .

110Figure 8. Cutout portion of the bottle image used for the detection.(The image to be cropped and retrieved with the red line is on the left).

Figure 7 .

111Figure 7. Generated mask and synthesized images.(a) Label image, (b) mask image, (c) composite image.

112Figure 7. Generated mask and synthesized images.(a) Label image, (b) mask image, (c) composite image.

Figure 8 .

113Figure 8. Cutout portion of the bottle image used for the detection.(The image to be cropped and retrieved with the red line is on the left).

114Figure 8. Cutout portion of the bottle image used for the detection.(The image to be cropped and retrieved with the red line is on the left).

Figure 9 .

115Figure 9. Hough transform process.(a) Hough transforms for each label, (b) generated mask image, (c) composite image.

116Figure 9. Hough transform process.(a) Hough transforms for each label, (b) generated mask image, (c) composite image.

Figure 10 .

117Figure 10.Process for extracting missing parts.

Figure 11

118Figure 11 illustrates the experimental environment and the glass bottles used in the study.Table2lists the components and their specifications for the experimental setup.In addition, Figure12provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference.

Figure 10 .

119Figure 10.Process for extracting missing parts.

Figure 11

120Figure 11 illustrates the experimental environment and the glass bottles used in the study.Table2lists the components and their specifications for the experimental setup.In addition, Figure12provides a detailed diagram of the camera arrangement.A constant voltage controller was utilized for image capture, with the light intensity set to its maximum level and maintained at a constant value.A cut filter was applied to block wavelengths other than 850 nm, effectively eliminating ambient light interference.

Figure 11 .

121Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study.

122Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study.

123Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study.

Figure 12 .

124Figure 12.Schematic drawing of the experimental environment.

Figure 13 .

125Figure 13.How to take bottle images.

Figure 12 .

126Figure 12.Schematic drawing of the experimental environment.

Figure 11 .

127Figure 11.Experimental environment.(a) Experimental setup and (b) glass bottle used in the study.

Figure 12 .

128Figure 12.Schematic drawing of the experimental environment.

Figure 13 .

129Figure 13.How to take bottle images.Figure 13.How to take bottle images.

130Figure 13.How to take bottle images.Figure 13.How to take bottle images.

Figure 14 .

131Figure 14.Examples of good bottles and defective bottles presenting chips.(a) Good, (b) D1, (c) D2.

Figure 15 .

132Figure 15.Experimental results show images of bottle defective 1 at different angles.

Figure 14 .

133Figure 14.Examples of good bottles and defective bottles presenting chips.(a) Good, (b) D1, (c) D2.

3. 4 .

134Figure 15 shows a portion of the resulting image, with the chipped areas indicated in red, indicating successful detection.The image shows the D1 rotated by 30 • .In addition, Tables 3-5 present a breakdown of the experimental results.Table3presents the results of inspecting good bottles 10 times per angle, Table4shows the results of inspecting D1 10 times per angle, and Table5shows the results of inspecting D2 10 times per angle.

Figure 14 .

135Figure 14.Examples of good bottles and defective bottles presenting chips.(a) Good, (b) D1, (c) D2.

Figure 15 .

136Figure 15.Experimental results show images of bottle defective 1 at different angles.

137Figure 15.Experimental results show images of bottle defective 1 at different angles.

Figure 16 .

138Figure 16.Example of the false detection.

139Figure 16.Example of the false detection.

Figure 17 .

140Figure 17.Example of detection.Result for (a) chip1, (b) chip2, (c) chip3, (d) chip 4, (e) chip5, (f) chip6, (g) chip7, (h) chip8.

Figure 18 .

141Figure 18.Example of false positive.

Figure 17 .

142Figure 17.Example of detection.Result for (a) chip1, (b) chip2, (c) chip3, (d) chip 4, (e) chip5, (f) chip6, (g) chip7, (h) chip8.

143Figure 17.Example of detection.Result for (a) chip1, (b) chip2, (c) chip3, (d) chip 4, (e) chip5, (f) chip6, (g) chip7, (h) chip8.

Figure 18 .

144Figure 18.Example of false positive.

145Figure 18.Example of false positive.

Figure 19 .

146Figure 19.Example for minute angle changes.

147Figure 19.Example for minute angle changes.

148Figures 20 and 21 illustrate the relationship between the average luminance values and the curved surface.

149Figure 19.Example for minute angle changes.

150Figures 20 and 21 illustrate the relationship between the average luminance values and the curved surface.

Figure 20 .

151Figure 20.Relationship between inspection image and luminance value (center camera).

Figure 21 .

152Figure 21.Relationship between inspection image and luminance value (left and right camera).

Figure 20 .

153Figure 20.Relationship between inspection image and luminance value (center camera).

Figure 19 .

154Figure 19.Example for minute angle changes.

155Figures 20 and 21 illustrate the relationship between the average luminance values and the curved surface.

Figure 20 .

156Figure 20.Relationship between inspection image and luminance value (center camera).

Figure 21 .

157Figure 21.Relationship between inspection image and luminance value (left and right camera).

158Figure 21.Relationship between inspection image and luminance value (left and right camera).

Figure 22 .

159Figure 22.Threshold change process.

Figure 23 .

160Figure 23.Pixel value addition process.(a) Photographic image, (b) added image, (c) enhanced image, and (d) result image.

Figure 22 .

161Figure 22.Threshold change process.

162Figure 22.Threshold change process.

Figure 23 .

163Figure 23.Pixel value addition process.(a) Photographic image, (b) added image, (c) enhanced image, and (d) result image.

164Figure 23.Pixel value addition process.(a) Photographic image, (b) added image, (c) enhanced image, and (d) result image.

Figure 24 .Figure 25 .Figure 26 .

165Figure 24.Comparison with Experiment 2 (screw thread).(a) Experiment 2 and (b) Experiment 3.

Figure 24 .Figure 24 .Figure 25 .Figure 26 .

166Figure 24.Comparison with Experiment 2 (screw thread).(a) Experiment 2 and (b) Experiment 3.

Figure 25 .

167Figure 25.Comparison with Experiment 2 (top).(a) Experiment 2 and (b) Experiment 3.

gFigure 24 .Figure 25 .Figure 26 .

168Figure 24.Comparison with Experiment 2 (screw thread).(a) Experiment 2 and (b) Experiment 3.

Figure 26 .

169Figure 26.Comparison with Experiment 2 (defect bottle).(a) Experiment 2 and (b) Experiment 3.

Table 1 .

170Criteria for chip detection and corresponding label colors.

171Criteria for chip detection and corresponding label colors.

172Criteria for chip detection and corresponding label colors.

Table 2 .

173Equipment used in the experiment.

174Angle of view (1/1.8″)25° 32.6° Filter Model number ZOMEI IR850 Infrared backlight Model number IFD-300/200IR-850 Light source power supply Model number IWDV-300S-24

175Equipment used in the experiment.

176Cont.

177Equipment used in the experiment.

178Equipment used in the experiment.

Table 3 .

179Experimental results for the good bottle.

180Experimental results for the good bottle.

181Experimental results for the good bottle.

Table 4 .

182Experimental results for D1.

Table 5 .

183Experimental results for D2.

Table 4 .

184Experimental results for D1.

Table 5 .

185Experimental results for D2.

Table 6 .

186Experimental results.

187Experimental results.

1883.8.Discussion of Results (Experiments Simulating a Production Plant)

189Experimental results.

1903.8.Discussion of Results (Experiments Simulating a Production Plant)

Table 7 .

191Experimental results.

192Experimental results.

193Experimental results.

Table 8 .

194[4]ection accuracy of the conventional method[4].

Table 9 .

195Detection accuracy of the proposed method.

Table 8 .

196[4]ection accuracy of the conventional method[4].

Table 9 .

197Detection accuracy of the proposed method.

Table 8 .

198[4]ection accuracy of the conventional method[4].

Table 9 .

199Detection accuracy of the proposed method.

200Detection accuracy of the proposed method.

참고문헌 9건

  1. Novel approach to the measurement of the visual perceptibility of sink marks on injection molding parts Polymer Testing · Elsevier BV · 2011 10.1016/j.polymertesting.2011.04.013
  2. Contrast enhancement of sports images using modified sigmoid mapping function INTERNATIONAL CONFERENCE ON COMMUNICATION CONTROL AND COMPUTING TECHNOLOGIES · 2010 10.1109/icccct.2010.5670760
  3. A glass bottle defect detection system without touching 2003 10.1109/icmlc.2002.1174411
  4. Lane Marks Detection Using Particle Filter Based on Voting Results of Hough Transform IEEJ Transactions on Electronics Information and Systems · Institute Electrical Engineers Japan · 2013 10.1541/ieejeiss.133.1384
  5. OpenCV and Matlab based car parking system module for smart city using circle hough transform 2017 10.1109/icecds.2017.8389893
  6. Spaghetti Labeling: Directed Acyclic Graphs for Block-Based Connected Components Labeling IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tip.2019.2946979
  7. A Novel Method of Fault Diagnosis for Injection Molding Systems Based on Improved VGG16 and Machine Vision Sustainability · Multidisciplinary Digital Publishing Institute · 2022 10.3390/su142114280
  8. Image-based feature extraction for inline quality assurance and wear classification in high-speed blanking processes The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2023 10.1007/s00170-023-12653-x
  9. Adaptive Differentiation Siamese Fusion Network for Remote Sensing Change Detection IEEE Geoscience and Remote Sensing Letters · Institute of Electrical and Electronics Engineers · 2024 10.1109/lgrs.2024.3516775