CN111929323A - Visual detection method and device for printing defects of corrugated paper packaging box - Google Patents

Visual detection method and device for printing defects of corrugated paper packaging box Download PDF

Info

Publication number
CN111929323A
CN111929323A CN202010487387.3A CN202010487387A CN111929323A CN 111929323 A CN111929323 A CN 111929323A CN 202010487387 A CN202010487387 A CN 202010487387A CN 111929323 A CN111929323 A CN 111929323A
Authority
CN
China
Prior art keywords
standard
corrugated paper
template
setting
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010487387.3A
Other languages
Chinese (zh)
Inventor
郑明国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Chengfeng Electronic Technology Co ltd
Original Assignee
Zhuhai Chengfeng Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Chengfeng Electronic Technology Co ltd filed Critical Zhuhai Chengfeng Electronic Technology Co ltd
Priority to CN202010487387.3A priority Critical patent/CN111929323A/en
Publication of CN111929323A publication Critical patent/CN111929323A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques

Landscapes

  • Chemical & Material Sciences (AREA)
  • Biochemistry (AREA)
  • Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Immunology (AREA)
  • Analytical Chemistry (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a visual detection method for printing defects of a corrugated paper packaging box, which takes a standard corrugated paper packaging box print as a standard sample, and places the standard sample on a workbench for positioning; newly building a product standard template library: the detection system collects a standard image of a defect-free printed product of the standard sample, sets standard parameters and detection algorithms of all detection items through positioning setting and detection setting, saves the bar code of the corrugated paper packaging box as a name, and establishes and saves a standard reference template; taking the corrugated paper packaging box to be detected as a sample to be detected, and scanning the bar code of the sample to be detected by a detection system to obtain a standard reference template of the same bar code; newly building a template of a product to be detected: placing the sample on a workbench for positioning, selecting and capturing a sample image through a detection system, and resetting and detecting to obtain a product template; and starting detection, comparing and analyzing the sample image of the product template with the standard image of the standard reference template, and judging whether the product template has defects.

Description

Visual detection method and device for printing defects of corrugated paper packaging box
Technical Field
The invention relates to the technical field of visual detection of printing defects of corrugated paper packaging boxes, in particular to a visual detection method and device for the printing defects of the corrugated paper packaging boxes.
Background
The corrugated case is a packaging product with the widest application, and the use amount is always the first of various packaging products. For more than half a century, corrugated cartons gradually replace transport packaging containers such as wooden boxes and the like with excellent service performance and good processing performance, and become the leading force of transport packaging. The corrugated case belongs to green and environment-friendly products, is beneficial to environmental protection, loading, unloading and transportation, and can play a role in beautifying commodities and publicizing the commodities besides protecting the commodities, facilitating storage and transportation.
The quality of the appearance is also extremely important for corrugated boxes. The qualified carton requires that printed patterns and writing are clear, the conditions of broken lines, deformation, stains and deletion cannot exist, the patterns are consistent in chromaticity, bright and bright, the error of a printing position is small, the error of a large carton is within 7mm, and the error of a small carton is within 4 mm.
However, the corrugated case has a large number on an industrial production line, some defects are not obvious, the size is small, if the conventional manual visual inspection is relied on, human eye fatigue is caused by tedious work, the main observation effect is large, and misjudgment is easily caused. Therefore, the visual detection method and the device for the printing defects of the corrugated paper packaging box are provided, and the visual detection method and the device for the printing defects of the corrugated paper packaging box have important significance for overcoming the defects of manual visual detection and improving the detection efficiency.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a visual detection method and device for printing defects of a corrugated paper packaging box.
The technical scheme adopted by the invention is as follows:
a visual detection method for printing defects of a corrugated paper packaging box comprises the following steps:
step 1: taking a standard corrugated paper packing box printed product as a standard sample, and placing the standard sample on a workbench for positioning;
step 2: newly building a product standard template library: the detection system collects a standard image of a defect-free printed product of the standard sample, sets standard parameters and detection algorithms of all detection items through positioning setting and detection setting, saves the bar code of the corrugated paper packaging box as a name, and establishes and saves a standard reference template;
and step 3: taking the corrugated paper packaging box to be detected as a sample, scanning the bar code of the sample by a detection system to obtain a standard reference template of the same bar code, and if the standard reference template of the sample is not established, newly building a standard reference template according to the step 1-the step 2;
and 4, step 4: newly building a template of a product to be detected: placing a sample to be tested on a workbench for positioning, framing and capturing a sample image through the detection system, and resetting and detecting the setting to obtain a product template;
and 5: and starting detection, comparing and analyzing the sample image of the product template with the standard image of the standard reference template, and judging whether the product template has defects.
Preferably, in step 2, one product standard template library includes 4 sets of standard reference templates, each of which is composed of an FA-side standard reference template, an FB-side standard reference template, an HA-side standard reference template, and an HB-side standard reference template, and one set of standard reference templates is positioned and selected for modeling, and the 4 sets of standard reference templates correspond to bar codes of the same corrugated paper packaging box.
Preferably, the positioning setting utilizes a detection system to collect images and automatically model, and the selection of the material of the product to be tested before the positioning setting specifically includes: corrugated paper, kraft paper, coated paper and glossy paper.
Preferably, the detection setting comprises color setting and precision setting, and the precision setting comprises the following specific operation steps: detecting image areas and edge features acquired by a system, fusing the edge features through a serial part, setting a defect threshold value, dividing the image areas into 150-300 areas, and obtaining defect areas through area comparison.
Preferably, the color setting uses a color space conversion model to obtain a chromaticity value of the print image, and uses color difference to evaluate the color cast condition of the print, specifically including: displaying an original image of the template; setting color layers, wherein 0 layer is a default background layer and a black character layer, 1-4 layers are other color setting layers, and setting product detection to detect layer by layer or selecting layer detection according to the color layers; setting a chrominance filtering minimum value/maximum value, a saturation filtering minimum value/maximum value and a luminance filtering minimum value/maximum value of a color layer, and filtering background noise; storing the color layer; clicking the color block to be detected by a mouse to absorb the color layer of the color block to be detected; looking up a color layer filtering result, displaying white in the currently detected color, displaying black in other colors and the background, and setting parameters of chromaticity, brightness and saturation to filter background noise when the background has white noise; and saving the layer setting parameters.
Preferably, the detection system comprises 9 color area array CCD cameras arranged in a matrix, and the 9 color area array CCD cameras divide an image into nine non-overlapping sub-images; the computer host is internally provided with system software and is used for making nine sub-image composite frames into a complete image, analyzing the characteristic quantity in the sub-images by extracting the flaw characteristic value of the flaw area in the sub-images and finally giving out related quality attribute description in a numerical mode; the bar code scanner is used for identifying the bar code of the corrugated paper packaging box; a display for displaying an image.
Preferably, the blemishes include smudging, missing prints, missing characters, offsets, distortions, deformities, scratches, color differences.
The visual detection device for the printing defects of the corrugated paper packaging box comprises a workbench, and the detection system is arranged on the workbench.
Preferably, a positioning piece is arranged on the table top of the workbench and used for limiting the position of the corrugated paper packaging box.
Preferably, a radiation frame is arranged above the workbench, the radiation frame is of an n-type structure, and a light source is arranged on the radiation frame.
The invention has the beneficial effects that:
the detection device is mainly used for detecting whether the surface printing of the corrugated case has flaws, the acquired image is compared with the standard image through the system software of the detection device, the flaw area is automatically displayed, and the related quality attribute description is given in a numerical mode according to the self-contained algorithm, so that the detection operator can conveniently and visually analyze the flaw type, the detection precision standards of different product types can be manually set, the online detection under the conditions of high resolution and big data is effectively realized, and the detection mode is convenient and reliable.
Drawings
FIG. 1 is a schematic flow chart of a visual inspection method for printing defects of a corrugated paper packaging box according to the invention;
fig. 2 is a system software flow chart of a corrugated paper packaging box printing defect visual detection method according to an embodiment of the invention;
FIG. 3 is a distribution diagram of 9 color area array CCD cameras arranged in a matrix according to the present invention;
FIG. 4 is an interface diagram of the system software proposed by the present invention;
FIG. 5 is an interface diagram of a camera setup proposed by the present invention;
FIG. 6 is an interface diagram of the puzzle setting proposed by the present invention;
FIG. 7 is an interface diagram of a positioning arrangement according to the present invention;
FIG. 8 is a schematic diagram of a proposed color setting according to the present invention;
FIG. 9 is a schematic diagram of the precision setting proposed by the present invention;
FIG. 10 is a schematic diagram of defect detection according to the present invention;
FIG. 11 is a block diagram of a visual inspection apparatus for detecting printing defects of corrugated paper packaging boxes according to the present invention;
fig. 12 is a schematic bottom view of a visual inspection device for detecting printing defects of corrugated paper packaging boxes according to the present invention.
Detailed Description
In order to make the technical solutions of the present application better understood, the present application is further described in detail below with reference to the accompanying drawings. It should be understood that the specific features in the embodiments and examples of the present application are detailed description of the technical solutions of the present application, and are not limited to the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
Fig. 1 is a schematic flow chart of a visual inspection method for printing defects of corrugated paper packaging boxes according to the invention.
A visual detection method for printing defects of a corrugated paper packaging box comprises the following steps:
step 1: taking a standard corrugated paper packing box print as a standard sample, and placing the standard sample on a workbench 10 for positioning;
step 2: newly building a product standard template library: the detection system collects a standard image of a defect-free printed product of the standard sample, sets standard parameters and detection algorithms of all detection items through positioning setting and detection setting, saves the bar code of the corrugated paper packaging box as a name, and establishes and saves a standard reference template;
and step 3: taking the corrugated paper packaging box to be detected as a sample, scanning the bar code of the sample by a detection system to obtain a standard reference template of the same bar code, and if the standard reference template of the sample is not established, newly building a standard reference template according to the step 1-the step 2;
and 4, step 4: newly building a template of a product to be detected: placing the sample on a workbench 10 for positioning, framing and capturing a sample image through the detection system, and resetting and detecting the setting to obtain a product template;
and 5: and starting detection, comparing and analyzing the sample image of the product template with the standard image of the standard reference template, and judging whether the product template has defects.
The barcode may be a one-dimensional barcode or a two-dimensional barcode.
Referring to fig. 3, 11 and 12, in the embodiment of the present invention, the detection system includes 9 color area-array CCD cameras 11 arranged in a matrix, where the 9 color area-array CCD cameras 11 are named as "# 1 camera" - "# 9 camera", respectively, the 9 color area-array CCD cameras 11 vertically irradiate the worktable 10, and the 9 color area-array CCD cameras 11 divide an image into nine non-overlapping sub-images; a computer host (not shown) arranged at one side of the workbench 10, wherein the computer host is internally provided with CF7100 system software which can make nine sub-image frames into a complete image, extract defect characteristic values of defect areas in the sub-images through a self-contained depth template comparison algorithm to analyze characteristic quantities in the sub-images, and finally give out related quality attribute description in a numerical mode; the code scanner 15 is used for identifying the bar code of the corrugated paper packaging box and uploading data information on the bar code to the system software; and a display 12 for displaying images, data and operation interface information. The 9 color area array CCD cameras 11 upload images to a computer host, the system software combines the 9 sub-images into a frame and generates a product template, the product template is compared with a preset standard reference template for analysis, and the defect points of the corrugated case are displayed through the display 12, so that the positions of the defects can be accurately found, and the method is simple and convenient. And the newly-built product standard template library, the positioning setting and the detection setting are completed through the system software.
In more detail, in the embodiment of the present invention, one product standard template library includes 4 sets of standard reference templates, each of which is composed of an FA side standard reference template, an FB side standard reference template, an HA side standard reference template, and an HB side standard reference template, and one set of standard reference templates is selected for modeling in a positioning setting, and the 4 sets of standard reference templates correspond to bar codes of the same corrugated paper packaging box. That is, 4 sets of standard reference templates can be stored in one product standard template library, the barcodes of the same corrugated paper packing box are stored, the barcodes of the samples are input into a detection system, 4 sets of standard reference templates can be obtained, and one standard reference template selected and compared through positioning is selected for comparison and analysis. The FA surface standard reference template, the FB surface standard reference template, the HA surface standard reference template and the HB surface standard reference template respectively correspond to an FA surface, an FB surface, an HA surface and an HB surface of the corrugated case; the FA plane and the FB plane may represent the a plane and the B plane of the semi-finished product, the HA plane and the HB plane may represent the a plane and the B plane of the finished product, and the FA plane, the FB plane, the HA plane and the HB plane may also represent four side surfaces of the finished product. At least 1 set of standard reference template is arranged in one product standard template and is set according to actual needs.
Referring to fig. 7, the positioning setting utilizes the detection system to acquire images and automatically model, the efficiency is high, and the selection of the material of the product to be tested before the positioning setting specifically includes: corrugated paper, kraft paper, coated paper and glossy paper. The product material is selected before positioning, so that the detection precision is higher.
Referring to fig. 8-9, the detection setting includes a color setting and a precision setting, and the precision setting includes the following specific operation steps: the method comprises the steps of detecting image areas and edge features collected by a system, fusing the edge features through a serial part, setting a defect threshold value, and dividing the image areas into 100-300 areas, wherein the area of a sample detection image is used as the defect threshold value, the defect threshold value can be set to be 0.3-2 square millimeters, and the image areas are preferably divided into 200 areas.
The precision setting specifically comprises:
1) the current template: selecting a detection product template, and setting 300 areas at maximum;
2) starting: checking and starting a current area;
3) area name: setting the name of the area;
4) and defect threshold value: setting a detection precision value with a unit of (square millimeter), wherein the minimum is 0.3 square millimeter, and the maximum is 2 square millimeters;
5) secondary area not detected: after the check, the position of the selection frame is ignored and not detected during detection;
6) and (3) storage: storing detection precision setting parameters, wherein each area needs to be stored independently;
7) displaying all selection boxes: after checking, displaying all enabled area selection frames;
8) slotting corrugated paper: after the hooking, the detection precision of the slotting part is reduced;
9) delete all detection settings: all settings of the detection precision can be deleted after clicking.
The color setting utilizes a color space conversion model to obtain a chromatic value of a printed product image, and color difference is used for evaluating the color cast condition of the printed product, and the color setting specifically comprises the following steps: displaying an original image of the template; setting color layers, wherein 0 layer is a default background layer and a black character layer, 1-4 layers are other color setting layers, and setting product detection to detect layer by layer or selecting layer detection according to the color layers; setting a chrominance filtering minimum value/maximum value, a saturation filtering minimum value/maximum value and a luminance filtering minimum value/maximum value of a color layer, and filtering background noise; storing the color layer; clicking the color block to be detected by a mouse to absorb the color layer of the color block to be detected; looking up a color layer filtering result, displaying white in the currently detected color, displaying black in other colors and the background, and setting parameters of chromaticity, brightness and saturation to filter background noise when the background has white noise; and saving the layer setting parameters. The edge characteristics of the corrugated case can be eliminated through precision setting, effective printing areas of the corrugated case are analyzed in a centralized mode, whether flaws exist in each area can be analyzed in a fine mode through image regionalization, and therefore the flaw areas can be analyzed accurately; in addition, whether color difference exists can be judged through the difference of the chromaticity, the saturation and the brightness of the color layer, and because the packaging box has more similar colors under the influence of an ambient light source, other background colors need to be filtered during detection of the color layer, so that the purpose of accurate detection is achieved.
FIG. 10 is a schematic diagram of defect detection, wherein the defects include smudges, missing prints, missing characters, offsets, distortions, deformities, scratches, color differences, etc. which are detectable by contrast detection.
Referring to fig. 3, the embodiment of the invention can support simultaneous detection of 1 to 9 color area array CCD cameras 11, the number of pixels of a single color area array CCD camera 11 is 2000 ten thousand, the total number of pixels is 1.8 hundred million, an effective area of a corrugated case can be accurately positioned, and the acquired image is clear.
In the embodiment of the invention, the product template can also be stored in the detection system, so that repeated comparison is convenient, and data storage is facilitated.
Referring to fig. 2, the specific operation flow of the system software of the whole detection method is as follows: starting software, inputting a bar code of the corrugated case to be detected through a bar code scanner, selecting a standard reference template matched with the bar code from a product standard template library, loading the standard reference template of the sample to be detected if the standard reference template of the corrugated case is established, generating a product template through repositioning and detection setting, starting detection, comparing and analyzing a sample image of the product template with a standard image of the standard reference template, checking a detection result, judging whether the product template has defects or not, and exiting the system software after the detection is finished; if the standard reference template of the corrugated case to be tested is not established, the standard reference template of the test sample needs to be established first, after the standard image of the test sample is collected by the color area array CCD camera 11, the standard reference template is generated after positioning setting and detection setting, the product template is established again, the detection is started, the test sample image of the product template and the standard image of the standard reference template are compared and analyzed, the detection result is checked, whether the product template has defects or not is judged, and the system software is quitted after the detection is finished.
Referring to fig. 4-6, the system software of the inspection system includes six modules, namely, a menu bar, debugging related modules, defect comparison modules, start inspection modules, inspection results and product list information modules. The menu bar has the functions of setting the camera setting, the exit setting and the user password setting of the color area array CCD camera 11; the defect comparison can display a standard image of the standard reference template and a defect image of the product template, so that the inspection is convenient; the product list information is used for searching, storing and deleting the product list of the established template, and can also be used for newly establishing the template, positioning, setting and detecting various detection parameters; the debugging is special for developers, and can be used for inputting bar codes and controlling light sources; and starting detection, extracting flaw characteristic values of the flaw areas from the area images through a depth template comparison algorithm carried by system software, analyzing the characteristic values in the sub-images, and giving out related quality attribute description in a numerical mode.
Wherein, the camera setting specifically includes:
(1) exposure time: setting the exposure time of each color area array CCD camera 11 in microseconds, wherein the exposure time interval is set to be 1-120000 microseconds;
(2) selecting a camera: selecting a corresponding color area array CCD camera 11 to set exposure time;
(3) refreshing the image: the current camera preview image can be refreshed when the exposure time of the current color area array CCD camera 11 is set;
(4) and (3) parameter storage: saving the current camera exposure time parameter;
(5) controlling a light source: turning on/off the light source;
(6) selecting materials: selecting materials (corrugated paper, kraft paper, coated paper and glossy paper) for setting the exposure time of the materials, wherein different materials need to be set with different exposure times;
(7) setting a jigsaw puzzle: clicking 'jigsaw setting' to enter a setting interface, wherein the interface comprises an information bar for displaying and marking image information, a jigsaw area for collecting and splicing sub images and a jigsaw parameter three plates for cutting the images;
an information column: an image scaling, displaying the image scaling; coordinates, displaying the coordinate values of the selected area of the current image; color, displaying the color value and the gray value of the selected area of the current image; a horizontal straight line is drawn in the selected area; a vertical straight line is drawn in the selected area; drawing any straight line in the selected area; a straight line distance displaying the distance of the drawn current straight line;
jigsaw area: and realizing the display of an original image: acquiring a picture every second, flatly displaying the picture in a main window, performing real-time picture splicing, setting picture splicing parameters, clicking picture splicing, framing nine sub-pictures and generating a product template;
picture splicing parameters: selecting cameras, and setting parameters of each camera; x: controlling pixels of a left edge of the cutout image; y: controlling pixels of an upper edge of the cutout image; width: inputting a numerical value to control pixels for cutting off the right edge of the image; high: inputting a numerical value to control pixels of the lower edge of the cut image; after the setting of the jigsaw parameters is finished, the left set XY or set width and height is clicked, the cutting effect can be previewed, and the jigsaw and combination button is clicked, so that the non-effective area of the image is cut off.
Referring to fig. 11 to 12, the present invention further provides a corrugated paper packaging box printing defect visual inspection apparatus, which adopts the above corrugated paper packaging box printing defect visual inspection method, and includes a workbench 10, and the inspection system is disposed on the workbench 10. The table top of the working table 10 is provided with a positioning sheet 13, and the positioning sheet 13 is used for limiting the position of the corrugated paper packaging box. The worktable 10 is provided with a radiation frame 14, the radiation frame 14 is of an n-type structure, and the radiation frame 14 is provided with a light source. When the corrugated case is positioned, the corrugated case is abutted against the inner side edge of the radiation frame 14 and one side of the positioning piece 13, so that the corrugated case is positioned and limited at a specified position, the same position of placing the corrugated case every time is ensured, and the product template is ensured to correspond to the basic position of the standard reference template.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a system for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only intended to illustrate the technical solution of the present invention and not to limit the same, and a person of ordinary skill in the art can make modifications or equivalents to the specific embodiments of the present invention with reference to the above embodiments, and such modifications or equivalents without departing from the spirit and scope of the present invention are within the scope of the claims of the present invention as set forth in the claims.

Claims (10)

1. A visual detection method for printing defects of a corrugated paper packaging box is characterized by comprising the following steps:
step 1: taking a standard corrugated paper packing box printed product as a standard sample, and placing the standard sample on a workbench for positioning;
step 2: newly building a product standard template library: the detection system collects a standard image of a defect-free printed product of the standard sample, sets standard parameters and detection algorithms of all detection items through positioning setting and detection setting, saves the bar code of the corrugated paper packaging box as a name, and establishes and saves a standard reference template;
and step 3: taking the corrugated paper packaging box to be detected as a sample, scanning the bar code of the sample by a detection system to obtain a standard reference template of the same bar code, and if the standard reference template of the sample is not established, newly building a standard reference template according to the step 1-the step 2;
and 4, step 4: newly building a template of a product to be detected: placing a sample to be tested on a workbench for positioning, framing and capturing a sample image through the detection system, and resetting and detecting the setting to obtain a product template;
and 5: and starting detection, comparing and analyzing the sample image of the product template with the standard image of the standard reference template, and judging whether the product template has defects.
2. The visual inspection method for the printing defects of the corrugated paper packaging box as claimed in claim 1, wherein in the step 2, one product standard template library comprises 4 sets of standard reference templates, each of which consists of an FA surface standard reference template, an FB surface standard reference template, an HA surface standard reference template and an HB surface standard reference template, one set of standard reference templates is selected for modeling by the positioning device, and the 4 sets of standard reference templates correspond to the bar codes of the same corrugated paper packaging box.
3. The visual inspection method for the printing defects of the corrugated paper packaging box according to claim 1, wherein the positioning device collects images by using an inspection system and automatically models the images, and the material of the product to be inspected is selected before the positioning device, and specifically comprises: corrugated paper, kraft paper, coated paper and glossy paper.
4. The visual inspection method for the printing defects of the corrugated paper packaging box as claimed in claim 1, wherein the inspection setting comprises color setting and precision setting, and the precision setting comprises the following specific operation steps: detecting image areas and edge features acquired by a system, fusing the edge features through a serial part, setting a defect threshold value, dividing the image areas into 150-300 areas, and obtaining defect areas through area comparison.
5. The visual inspection method for the printing defects of the corrugated paper packaging box according to claim 4, wherein the color setting utilizes a color space conversion model to obtain a chromatic value of a printing image, and color difference is used for evaluating the color cast condition of the printing, and specifically comprises the following steps: displaying an original image of the template; setting color layers, wherein 0 layer is a default background layer and a black character layer, 1-4 layers are other color setting layers, and setting product detection to detect layer by layer or selecting layer detection according to the color layers; setting a chrominance filtering minimum value/maximum value, a saturation filtering minimum value/maximum value and a luminance filtering minimum value/maximum value of a color layer, and filtering background noise; storing the color layer; clicking the color block to be detected by a mouse to absorb the color layer of the color block to be detected; looking up a color layer filtering result, displaying white in the currently detected color, displaying black in other colors and the background, and setting parameters of chromaticity, brightness and saturation to filter background noise when the background has white noise; and saving the layer setting parameters.
6. The visual inspection method for the printing defects of the corrugated paper packaging box as claimed in claim 1, wherein the inspection system comprises 9 color area array CCD cameras arranged in a matrix, and the 9 color area array CCD cameras divide an image into nine non-overlapping sub-images; the computer host is internally provided with system software and is used for making nine sub-image composite frames into a complete image, analyzing the characteristic quantity in the sub-images by extracting the flaw characteristic value of the flaw area in the sub-images and finally giving out related quality attribute description in a numerical mode; the bar code scanner is used for identifying the bar code of the corrugated paper packaging box; a display for displaying an image.
7. The visual inspection method of the corrugated paper packaging box printing defects according to claim 1, wherein the defects comprise dirt, missing printing, missing characters, offsets, deformations, deformities, scratches, and color differences.
8. The visual detection device for the printing defects of the corrugated paper packaging box is characterized by comprising a workbench, wherein the detection system is arranged on the workbench.
9. The visual inspection device for the printing defects of the corrugated paper packing box as claimed in claim 8, wherein a positioning piece is arranged on the table surface of the workbench, and the positioning piece is used for limiting the position of the corrugated paper packing box.
10. The visual inspection device for the printing defects of the corrugated paper packaging box as claimed in claim 8, wherein a radiation frame is arranged above the workbench, the radiation frame is of an n-shaped structure, and a light source is arranged on the radiation frame.
CN202010487387.3A 2020-06-02 2020-06-02 Visual detection method and device for printing defects of corrugated paper packaging box Pending CN111929323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010487387.3A CN111929323A (en) 2020-06-02 2020-06-02 Visual detection method and device for printing defects of corrugated paper packaging box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010487387.3A CN111929323A (en) 2020-06-02 2020-06-02 Visual detection method and device for printing defects of corrugated paper packaging box

Publications (1)

Publication Number Publication Date
CN111929323A true CN111929323A (en) 2020-11-13

Family

ID=73317767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010487387.3A Pending CN111929323A (en) 2020-06-02 2020-06-02 Visual detection method and device for printing defects of corrugated paper packaging box

Country Status (1)

Country Link
CN (1) CN111929323A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114429433A (en) * 2022-04-01 2022-05-03 武汉市宏伟纸箱包装有限公司 Honeycomb paper feed amount control method based on image enhancement
CN114549529A (en) * 2022-04-26 2022-05-27 武汉福旺家包装有限公司 Carton indentation quality detection method and system based on computer vision
TWI783370B (en) * 2021-02-05 2022-11-11 岳揚智控股份有限公司 Method of color deviation and surface examination
CN115619779A (en) * 2022-12-14 2023-01-17 杭州百子尖科技股份有限公司 Hot melt adhesive box sealing machine vision detection system and method based on thermal imaging
CN115753812A (en) * 2022-11-01 2023-03-07 东方合智数据科技(广东)有限责任公司 Printing quality detection method and related equipment in paper packaging industry
CN117686430A (en) * 2024-01-30 2024-03-12 武汉众望包装有限公司 High-precision flexography intelligent detection method for wide-width color flexography pre-printing corrugated case

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103134814A (en) * 2011-12-02 2013-06-05 旭硝子株式会社 Glass substrate detection device and manufacturing method for glass substrate
JP2013120170A (en) * 2011-12-09 2013-06-17 Canon Inc Inspection device
CN103954634A (en) * 2014-05-08 2014-07-30 昆明瑞丰印刷有限公司 Online quality detection system for printed matter
CN106383131A (en) * 2016-09-20 2017-02-08 珠海格力电器股份有限公司 Visual detection method, device and system for printed matter
CN106488108A (en) * 2015-08-31 2017-03-08 中兴通讯股份有限公司 The method and device of imaging
CN106501268A (en) * 2016-10-19 2017-03-15 吴爱兵 A kind of packing box printing quality intelligent testing equipment
CN108377355A (en) * 2016-11-28 2018-08-07 中兴通讯股份有限公司 A kind of video data handling procedure, device and equipment
CN108982525A (en) * 2018-08-23 2018-12-11 云南省印刷技术研究所 A kind of analysis and detection method for books and periodicals green fine printing quality
CN209342589U (en) * 2018-12-13 2019-09-03 深圳市慧大成智能科技有限公司 A kind of corrugated paper three-dimensional appearance defect and size detecting device
CN110793976A (en) * 2019-11-14 2020-02-14 苏州中科全象智能科技有限公司 Printing quality detection system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103134814A (en) * 2011-12-02 2013-06-05 旭硝子株式会社 Glass substrate detection device and manufacturing method for glass substrate
JP2013120170A (en) * 2011-12-09 2013-06-17 Canon Inc Inspection device
CN103954634A (en) * 2014-05-08 2014-07-30 昆明瑞丰印刷有限公司 Online quality detection system for printed matter
CN106488108A (en) * 2015-08-31 2017-03-08 中兴通讯股份有限公司 The method and device of imaging
CN106383131A (en) * 2016-09-20 2017-02-08 珠海格力电器股份有限公司 Visual detection method, device and system for printed matter
CN106501268A (en) * 2016-10-19 2017-03-15 吴爱兵 A kind of packing box printing quality intelligent testing equipment
CN108377355A (en) * 2016-11-28 2018-08-07 中兴通讯股份有限公司 A kind of video data handling procedure, device and equipment
CN108982525A (en) * 2018-08-23 2018-12-11 云南省印刷技术研究所 A kind of analysis and detection method for books and periodicals green fine printing quality
CN209342589U (en) * 2018-12-13 2019-09-03 深圳市慧大成智能科技有限公司 A kind of corrugated paper three-dimensional appearance defect and size detecting device
CN110793976A (en) * 2019-11-14 2020-02-14 苏州中科全象智能科技有限公司 Printing quality detection system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邓继忠 等: "《DSLR 摄影经典 数码单反摄影完全自学手册》", 华中科技大学出版社, pages: 211 - 215 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI783370B (en) * 2021-02-05 2022-11-11 岳揚智控股份有限公司 Method of color deviation and surface examination
CN114429433A (en) * 2022-04-01 2022-05-03 武汉市宏伟纸箱包装有限公司 Honeycomb paper feed amount control method based on image enhancement
CN114429433B (en) * 2022-04-01 2022-06-24 武汉市宏伟纸箱包装有限公司 Honeycomb paper feed amount control method based on image enhancement
CN114549529A (en) * 2022-04-26 2022-05-27 武汉福旺家包装有限公司 Carton indentation quality detection method and system based on computer vision
CN115753812A (en) * 2022-11-01 2023-03-07 东方合智数据科技(广东)有限责任公司 Printing quality detection method and related equipment in paper packaging industry
CN115753812B (en) * 2022-11-01 2023-08-18 东方合智数据科技(广东)有限责任公司 Printing quality detection method and related equipment in paper packaging industry
CN115619779A (en) * 2022-12-14 2023-01-17 杭州百子尖科技股份有限公司 Hot melt adhesive box sealing machine vision detection system and method based on thermal imaging
CN115619779B (en) * 2022-12-14 2023-03-17 杭州百子尖科技股份有限公司 Hot melt adhesive box sealing machine vision detection system and method based on thermal imaging
CN117686430A (en) * 2024-01-30 2024-03-12 武汉众望包装有限公司 High-precision flexography intelligent detection method for wide-width color flexography pre-printing corrugated case
CN117686430B (en) * 2024-01-30 2024-05-17 武汉众望包装有限公司 High-precision flexography intelligent detection method for wide-width color flexography pre-printing corrugated case

Similar Documents

Publication Publication Date Title
CN111929323A (en) Visual detection method and device for printing defects of corrugated paper packaging box
JP6705777B2 (en) Machine learning device, inspection device and machine learning method
CN108355987B (en) A kind of screen printing of battery quality determining method based on piecemeal template matching
JP5813610B2 (en) Image evaluation apparatus, image evaluation method, and program
JP5564349B2 (en) Image processing apparatus and appearance inspection method
DE60225354T2 (en) METHOD AND DEVICE FOR PRODUCING A REFERENCE PICTURE IN A TESTING DEVICE FOR GLASS BOTTLES
KR101895873B1 (en) Method and apparatus for fabric inspection
JP5861462B2 (en) Inspection standard registration method for solder inspection and board inspection apparatus using the method
CN1761869A (en) Method and apparatus for determining one or more physical properties of a rolled smoking article or filter rod
CN101118225A (en) Method for analyzing welding quality of aluminium alloy with X radiograph
CN110793976B (en) Printing quality detection system and method
CN111982921A (en) Hole defect detection method and device, conveying platform and storage medium
JP2014071046A (en) Image evaluating device, image evaluating method, and program
CN112446864A (en) Flaw detection method, flaw detection device, flaw detection equipment and storage medium
CN112387604B (en) Method for detecting packaging substrate through AVI (automatic voltage indicator) detector and automatic point finder in networking mode
TWI512284B (en) Bubble inspection system for glass
CN110940670A (en) Flexible printing label printing head draft detection system based on machine vision and implementation method thereof
CN115908432A (en) Material output quality detection system and prediction method
CN113362276A (en) Visual detection method and system for plate
CN110596118A (en) Print pattern detection method and print pattern detection device
EP3699578A1 (en) System for improved fabric inspection
CN106651852A (en) Detection method for key stroke missing of spray printed character
JP6291546B2 (en) Image evaluation apparatus, image evaluation method, and program
CN112446865A (en) Flaw identification method, flaw identification device, flaw identification equipment and storage medium
WO2014013865A1 (en) Wafer appearance inspection device and method for setting sensitivity threshold value for wafer appearance inspection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination