Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for detecting damage defect of curved tag based on template matching and similarity calculation

A technology of similarity calculation and template matching, applied in computing, image data processing, instruments, etc., can solve problems such as reducing the difficulty of system implementation

Active Publication Date: 2017-07-14
NANJING UNIV
View PDF5 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to overcome the deficiencies in the prior art, and provides a method for detecting surface label damage defects based on template matching and similarity calculation. The present invention includes image acquisition, image preprocessing, template region extraction, defect detection, and result Display and other processing steps, image acquisition includes different images taken from three angles of the label to be tested and the template label; the preprocessing process realizes the segmentation of the label area and the image processing operation of converting the curved surface into a plane; the template area extraction step realizes The one-to-one correspondence between the three different angle images of the label to be tested and a certain area of ​​the template panorama makes the rotation angle of the bottle body unrestricted during image acquisition and reduces the difficulty of system implementation; the defect detection is based on the method of combining template matching and similarity calculation , the possible defect area is locked by template matching in a short time-consuming time, and then the precise similarity calculation is used to determine whether the defect exists, which effectively improves the detection efficiency on the basis of ensuring the detection effect

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
  • Method for detecting damage defect of curved tag based on template matching and similarity calculation
  • Method for detecting damage defect of curved tag based on template matching and similarity calculation
  • Method for detecting damage defect of curved tag based on template matching and similarity calculation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] see figure 1 and figure 2 , the surface label damage defect detection method based on template matching and similarity calculation of the present embodiment includes the following steps:

[0068] image preprocessing

[0069] Image preprocessing includes a series of steps such as image acquisition, image segmentation, image stretching, and template image stitching, which are used to obtain the plane label area of ​​the image to be tested and the plane label panorama area of ​​the template image. The specific steps are as follows:

[0070] (1) Image acquisition:

[0071] Specifically, the CCD camera is used to collect bottle label images in a low-brightness environment. The three cameras are located at the vertices of an equilateral triangle centered on the bottle, and a light source is placed directly below each camera to ensure that each camera The direction of the central axis is kept horizontal and passes through the center of the bottle placement area. The colle...

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 a method for detecting the damage defect of a curved tag based on template matching and similarity calculation, and belongs to the technical field of machine vision and video image processing. The method comprises steps of image acquisition, image preprocessing, template area extraction, defect detection and result display. The image acquisition comprises taking different images of a tag to be tested and a template tag from three angles. The preprocessing process realizes the segmentation of a tag area and an image processing operation for converting a curved surface into a flat surface. The template area extraction achieves one-to-one correspondence between the images of the tag to be tested taken from three different angles and a certain area of a template panorama, enables a bottle rotation angle in image extraction not to be restricted, and reduces system implementation difficulty. A defect detection module, based on a method combining the template matching with the similarity calculation, locks possible defective areas by using short time-consuming template matching, determines whether the defect exists by using exact similarity calculation, and improves detection efficiency on the basis of guaranteeing a detection effect.

Description

technical field [0001] The invention relates to the technical field of machine vision and video image processing, and more specifically, to a method for detecting damaged surface label defects based on template matching and similarity calculation. Background technique [0002] In the field of food, beverage and pharmaceutical packaging, labels are often required on the outside of PET plastic, glass and other containers. Labels not only have a very important aesthetic effect on products, but also indicate a large amount of product information. Label defects are serious quality problems for products and cannot be sold on the market. [0003] Traditional bottle label damage detection is mostly done by manual detection at the back end of the filling product production line, which usually has problems such as low efficiency, high cost, poor stability and poor reliability, and cannot meet the needs of large-scale industrial production. With the increasing speed of production, th...

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
IPC IPC(8): G06T7/00G06T7/12
CPCG06T7/001G06T2207/30108
Inventor 朱赛男袁宵曹济英高吉董蓉李勃梁振华查俊黄璜周子卿史春阳史德飞陈和国
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products