OpenCV-based high-reflection bottle cap defect detection method

A defect detection and high-reflection technology, applied in measuring devices, material analysis through optical means, image analysis, etc., can solve problems such as poor detection effect and high labor intensity, and achieve the effect of improving production efficiency

Active Publication Date: 2022-02-08
WUHAN UNIV OF TECH
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention aims at the defects on the plastic bottle caps with high reflective surface in the existing industrial production process, which can only be detected by manual labor intensity and detection effect Poor problem, combined with OpenCV, a method for autonomous defect identification and detection is proposed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • OpenCV-based high-reflection bottle cap defect detection method
  • OpenCV-based high-reflection bottle cap defect detection method
  • OpenCV-based high-reflection bottle cap defect detection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The present invention proposes an OpenCV-based intelligent detection method for defects on the outer surface of a highly reflective plastic bottle cap. The detection is divided into end face detection and side detection. The flow chart of end face detection is as follows figure 2 As shown, the flow chart of side detection is as follows image 3 shown. Mainly use the library function that comes with OpenCV to process the captured image of the bottle cap and then get the position of the defect on the bottle cap.

[0054] The flaws in the existing highly reflective plastic bottle cap inspection are mainly detected by naked eyes manually, which has high work intensity but low detection efficiency. Therefore, the present invention proposes a defect detection algorithm for highly reflective plastic bottle caps based on OpenCV to realize the highly reflective surface. Autonomous identification and localization of defects on plastic bottle caps.

[0055] Such as Figure 1 t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an OpenCV-based high-reflection bottle cap defect detection method, which comprises bottle cap end face detection and bottle cap side face detection, and specifically comprises the following steps of: firstly, photographing the end part of a high-reflection bottle cap by adopting a camera to obtain an end face image, extracting a bottle cap boundary curve by utilizing edge detection and fitting, and searching defects in the boundary curve by utilizing function threshold segmentation in an OpenCV library; if the defect exists, displaying the defect on the image through a function in the OpenCV library; taking pictures of the side surface of a high-reflection bottle cap in at least four directions to obtain a side surface image, extracting a target area of the side surface of the bottle cap in the image by using a known template image, performing image preprocessing on the target area, performing threshold segmentation on the side surface image by using a function in an OpenCV library to identify defects, and displaying the defects on the side surface image. According to the method, the calculation efficiency is high, the required calculation force is small, the defects such as scratches and pits on the plastic bottle caps can be automatically recognized, the positions of the defects are effectively positioned, and the production efficiency is greatly improved.

Description

technical field [0001] The invention belongs to the field of intelligent detection, relates to a bottle cap defect detection, in particular to an OpenCV-based high reflective bottle cap defect detection method. Background technique [0002] People use a variety of bottle caps in their daily life. The common bottle caps on the market can be roughly divided into several types: cylindrical, cylindrical and spherical, and pagoda-shaped. After that, it is necessary to spray paint on the outer surface of the bottle cap, which causes the outer surface of the bottle cap to become a very reflective surface, and the special shape will cause the reflection of light and lead to some highly reflective areas; The surface of the cap is extremely fragile, and it is prone to defects such as scratches and spray paint falling off. The collision during the production process will cause pits on the surface of the cap. The appearance and distribution of these defects are irregular, and may appear...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G01N21/952G06T7/00
CPCG01N21/952G06T7/0002Y02P90/30
Inventor 朱大虎张曙文杨永佳涂秋平田大庄庄可佳
Owner WUHAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products