Laser transfer type tipping paper printed matter decoloration detection system and method

Through the laser transfer paper-loading printing decolorization detection system, white cardboard rubs the printed materials and collects image data to calculate the proportion of defect area, solving the problems of inaccurate and low efficiency in the existing technology, and achieving high efficiency and intelligence quality evaluation of print products.

CN119223867APending Publication Date: 2024-12-31HUBEI CHINA TOBACCO INDUSTRY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411343591.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The prior art has inaccuracy and errors when detecting friction and color dissipation of printed materials on loading paper, and has low detection efficiency, which cannot meet the needs of intelligent testing.

Method used

A laser transfer paper-loading printed materials decolorization detection system was designed, including friction testing module, image acquisition module, image processing module and defect detection module. After friction printing by white cardboard, image data is collected, defect area ratio is calculated, and the defect area is calculated automatically. Determine the quality of the printed product.

Benefits of technology

The error of manual detection is significantly reduced, efficient and intelligent detection is achieved, the detection results are more accurate, and the standards for decolorization detection are established, which improves the detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119223867A_ABST
    Figure CN119223867A_ABST
Patent Text Reader

Abstract

The invention discloses a laser transfer type tipping paper printed matter decoloration detection system and method.The system comprises a friction testing module used for conducting friction testing, an image collecting module, an image processing module, a flaw detection module and a quality decision module, and the friction testing module is used for conducting friction testing through white cardboard friction printed matter; the image acquisition module is used for acquiring image data of the white cardboard subjected to the friction test; the image processing module is electrically connected with the image acquisition module, the defect detection module is electrically connected with the image acquisition module, and the defect detection module is used for detecting a defect area in image data; the quality decision-making module is electrically connected with the defect detection module, and the quality decision-making module is used for calculating the defect proportion of the defect area of the defect area in the test area of the white cardboard and judging whether the quality of the printed matter is good or bad.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of discoloration detection, and in particular to a system and method for detecting discoloration of laser transfer type tipping paper printed products. Background Art

[0002] When the tipping paper is rolled onto the machine, it is easy to cause friction discoloration. In order to measure the friction discoloration, traditional methods such as the friction-color difference measurement method proposed by Shen Shihao et al. (Shen Shihao, Fu Jinggang, Xie Yan, Research on the friction-color difference measurement method for the friction resistance of the printed layer of cigarette tipping paper [J]. Journal of Chinese Tobacco Science, 2014, 20(01):32-34.) can measure the friction resistance of printed products, but there is inaccuracy in the selection of color difference detection points, and the color fading area is judged by the naked eye; and because it is a manual operation, there are problems such as large errors and a long single sample measurement time (about 10 minutes), which makes it difficult to meet the needs of intelligent testing, so it has not been widely used. According to market research, the current mainstream detection methods are still manual friction and naked eye detection. Therefore, the current detection methods have problems such as non-standardization, low accuracy, and low detection efficiency. Summary of the invention

[0003] In order to solve the above problems, the embodiments of the present application provide a laser transfer type tipping paper printed matter discoloration detection system and method, which determines the quality of the printed matter based on the discoloration of the printed matter, greatly reduces the error of manual detection, and realizes efficient and intelligent detection.

[0004] In a first aspect, an embodiment of the present application provides a laser transfer type tipping paper printed product discoloration detection system, the system comprising: a friction test module for performing a friction test, an image acquisition module, an image processing module, a defect detection module, and a quality decision module, the friction test module is used to perform a friction test by rubbing a printed product against white cardboard to cause the printed product to discolor on the white cardboard, and the image acquisition module is used to collect image data of the white cardboard after the friction test; The image processing module is electrically connected to the image acquisition module, the defect detection module is electrically connected to the image acquisition module, and the defect detection module is used to detect defect areas in the image data; The quality decision module is electrically connected to the defect detection module, and is used to calculate the defect ratio of the defect area of ​​the defect region in the test area of ​​the white card paper to determine whether the quality of the printed product is good or bad.

[0005] Preferably, the image processing module performs edge detection, image rotation, and segmentation on the collected image data of the white cardboard, thereby defining the edge boundary of the test area of ​​the white cardboard to obtain the test area of ​​the white cardboard; The defect detection module is used to detect defect areas in the test area, and the defect area is the sum of the areas of all defect areas in the test area.

[0006] The defect detection module performs edge detection on the defect portion and calculates the area of ​​the defect portion.

[0007] In a second aspect, the present application further provides a method for detecting discoloration of laser transfer type tipping paper printed products, which is applicable to the detection system of the first aspect, and the method comprises: Acquire a decolorized image of white card paper, wherein the decolorized image is image data of a side of the white card paper rubbing against the printed matter after the white card paper is subjected to a friction test on the printed matter; Copying the decolorized image to obtain a first image, detecting a test area in the first image and a defect area in the first image, and calculating a test area of ​​the test area and a defect area of ​​the defect area; the defect area is the sum of the areas of all defect areas; The defect ratio of the defect area in the test area is calculated, and when the defect ratio is less than a preset determination threshold, the quality of the printed product is excellent.

[0008] Preferably, the method of obtaining the decolorized image of the white card paper includes obtaining the decolorized image of the white card paper by reading a video stream, and obtaining the decolorized image of the white card paper by importing a picture.

[0009] Preferably, when obtaining the decolorized image of the white card paper by reading the video stream, the method further includes: The white cardboard includes a test area and non-test areas located on both sides of the test area, and a verification mark is provided in the non-test area; Acquire an original image of the white card paper; the original image is image data of the white card paper before the friction test is performed; Acquire the decolorized image, and extract a partial image of a non-test area in the decolorized image as a verification image; Determine whether the verification image matches the verification mark in the non-test area in the original image: If they match, the decolorized image is valid; If there is no match, the decolorized image is invalid and an invalid test message is sent.

[0010] Preferably, detecting the test area in the first image and the defect area in the first image specifically includes: acquiring the first image; performing format conversion and Gaussian smoothing on the first image in sequence; Identify the image area of ​​the white card paper according to the difference in chromaticity range between the white card paper and the background; Graying the image area, detecting and extracting the test area boundary and defect area of ​​the white card paper; Fitting the minimum circumscribed rectangle of the test area according to the boundary of the test area, calculating the area of ​​the minimum circumscribed rectangle, the test area of ​​the test area being the area of ​​the minimum circumscribed rectangle; The boundaries of the test area include two boundaries of the white card paper and two folds between the test area and the non-test area.

[0011] Preferably, after obtaining the minimum circumscribed rectangle, the method further includes: Determine whether the minimum bounding rectangle of the test area is complete in the first image: If so, no response; If not, incomplete information is sent and the decolorized image is reacquired.

[0012] Preferably, graying the image area, detecting and extracting the test area boundary and defect area of ​​the white card paper specifically includes: The first parameter of the preset crease after graying, and the second parameter of the white cardboard after graying when it is not dyed; The test area is detected as a boundary of a fold according to the first parameter, and a defect area within the test area is detected according to the second parameter.

[0013] Preferably, when the defect ratio is less than a preset determination threshold, the quality of the printed product is excellent, specifically including: Presetting the determination threshold according to the test area; Obtain the defect ratio, and determine whether the defect ratio is less than the determination threshold: If so, the quality of the printed matter is excellent; If not, the quality of the print is poor.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method provided in the first aspect or any possible implementation of the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect or any possible implementation manner of the first aspect.

[0016] The beneficial effects of the present invention are: The present invention relates to a laser transfer type tipping paper printed product discoloration detection system and method, wherein the printed product to be tested is rubbed against white card paper, and the quality of the printed product is determined by the color traces remaining on the white card paper after the printed product is discolored.

[0017] By using color difference to detect the residual color on the white card paper, the discoloration of the printed product can be accurately obtained, making the test result more accurate, which is conducive to establishing the detection standard for discoloration detection and has high detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 A schematic diagram of a process for detecting discoloration of laser transfer type tipping paper printed products provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0021] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.

[0022] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.

[0023] Embodiment 1 According to the first aspect of the present application, in order to solve the above technical problems, a transfer type tipping paper printed product discoloration detection system is proposed, which detects the quality of the printed product according to the discoloration of the printed product. The discoloration detection system includes a friction test module for performing a friction test, an image acquisition module, an image processing module, a defect detection module, and a quality decision module. The friction test module is used to perform a friction test by rubbing the printed product against white cardboard to cause the printed product to discolor on the white cardboard. The image acquisition module is used to collect image data of the white cardboard after the friction test. The image processing module is electrically connected to the image acquisition module, the defect detection module is electrically connected to the image acquisition module, and the defect detection module is used to detect defect areas in the image data; The quality decision module is electrically connected to the defect detection module. The quality decision module is used to calculate the defect ratio of the defect area of ​​the defect region in the test area of ​​the white card paper to determine whether the quality of the printed product is good or bad.

[0024] The friction test module can be based on the ink printing decolorization test machine. A single-factor experiment is conducted based on the internationally recommended speed and number of frictions as independent variables and color difference as the dependent variable. Multiple experiments are conducted through the control variable method to determine the optimal test conditions for the ink decolorization test machine, such as the optimal friction speed of 43cpm and the optimal number of frictions of 50 times.

[0025] For example, to explore the best test conditions for the ink decolorization tester in this application, a linear fit can be performed on the relationship between the number of frictions and the color difference at a speed of 43 cpm (times per minute) recommended by the national standard. When the color difference reaches 4 or more (reaching a color difference range that is easily distinguishable), the corresponding number of frictions is recorded, and the number of frictions at this time is 50. Therefore, considering the detection effect and time cost, the minimum number of frictions that can achieve the target color difference is the best test condition.

[0026] The image acquisition module can use a high-definition camera connected to the computer, and read the video stream through the program to display the video on the computer in real time and capture and store photos of the white cardboard after the friction test. Real-time monitoring and image capture can be achieved; for easy operation, in addition to using the camera to capture images, it can also be realized by reading local files, and the photos of the white cardboard after the friction test can be imported for processing.

[0027] In the embodiment of the present application, the image processing module performs edge detection, image rotation, and segmentation on the collected image data of the white cardboard, thereby defining the edge boundary of the test area of ​​the white cardboard and obtaining the test area of ​​the white cardboard; all of the above can be implemented based on algorithms, such as edge detection algorithms, which can perform edge detection based on color difference. Image rotation is to rotate the displayed image instead of rotating the white cardboard; segmentation is regional division instead of directly cutting the white cardboard.

[0028] The defect detection module can realize edge detection of defective parts on white cardboard based on opencv, and delineate defective areas according to the edges of defective parts; the white cardboard after friction test includes multiple defective areas, which are either connected into pieces or exist independently. When calculating the area of ​​defective areas, the total area of ​​all defective areas on the white cardboard, that is, the defective area, can be calculated synchronously through the algorithm.

[0029] In this application, the calculation of the defect area can be implemented by the quality decision module. The area of ​​the defective part is calculated in the algorithm, and the defect area is the sum of the areas of all defective areas in the test area. While calculating the defect area, the test area of ​​the test area of ​​the white cardboard can be calculated synchronously, so as to calculate the proportion of the defect area in the test area, that is, the defect proportion; finally, the quality decision module determines whether the printed product is a high-quality product or a low-quality product based on the defect proportion.

[0030] Exemplarily, a determination threshold may be set for comparison with the defect ratio. When the defect ratio exceeds the determination threshold, the quality of the corresponding printed product is considered to be poor; when the defect ratio is less than the determination threshold, the quality of the corresponding printed product is considered to be excellent.

[0031] In an embodiment of the present application, the printed product to be tested is prevented from being rubbed on the bottom platform of the ink printing bleaching test machine, and a high-definition camera is used to take a picture of the white card paper used for testing after the rubbing is completed, and the photographed object is the rubbed side of the white card paper; finally, the obtained picture is processed on the computer and the result is output.

[0032] In this application, the user can import the friction image of white cardboard into the image processing module at any time and select the imported image. After the selection is completed, the current image can be format converted and read, and then the image can be Gaussian smoothed to achieve linear smoothing filtering of the image.

[0033] Identify the white cardboard area according to its chromaticity range and separate the white cardboard from the shooting background; only perform edge detection and area calculation on the defects on the white cardboard to ensure that the determination result is accurate and effective.

[0034] Embodiment 2 According to the second aspect of this application, see Figure 1 , Figure 1 The present invention provides a flow chart of a laser transfer type tipping paper printed product discoloration detection method, which is applicable to a laser transfer type tipping paper printed product discoloration detection system of the first aspect. In the present invention, the method includes: S101, obtaining a decolorized image of white card paper.

[0035] The execution subject of the present application may be a discoloration detection system for printed matter.

[0036] In the present application, white card paper is rubbed on the printed matter to cause the printing colorant on the printed matter to be separated onto the white card paper, and an image of the white card paper is captured. The discoloration of the printed matter is judged based on the color marks remaining on the white card paper. Therefore, the discolored image is the image data of the side of the white card paper that is rubbed against the printed matter after the white card paper has been rubbed on the printed matter.

[0037] Based on the actual situation, when white card paper and printed matter are rubbed, the colorant falls off from the printed matter and forms color marks on the white card paper. Relative to the white card paper, the area where the color marks are located is a defect. There is an obvious color difference between the defect and the original color of the white card paper, and this color difference is accumulated through multiple frictions.

[0038] Therefore, when measuring the quality of printed products, you can base it on the defects remaining on the white cardboard. The more defects remaining, the worse the quality.

[0039] There is no limitation on the direction of friction and the degree of color difference in this application. There are requirements on the number of frictions and the friction speed in this application. When the basic color difference requirement is met, image capture can be performed without accumulating dark marks. In addition, the degree of color difference varies for different printing colors, and there is no unified judgment standard. The reference value of the degree of color difference is not universal, and there is no feasible comparison between different products and processes. Therefore, the degree of color difference is not discussed in this application.

[0040] In the embodiments of the present application, methods for obtaining the discolored image of white cardboard include obtaining the discolored image of white cardboard by reading a video stream and obtaining the discolored image of white cardboard by importing a picture. These two methods correspond to real-time acquisition and imported acquisition, respectively. Real-time acquisition can be used for online detection, and imported acquisition can be used for inspection and verification of judgment accuracy. Of course, this is not a restrictive requirement.

[0041] For real-time acquisition, effective detection and judgment of discoloration of printed materials is required. Therefore, there should be no possible fraud. Compared with the imported acquisition method, a more stringent process should be adopted. The imported acquisition method can be used to demonstrate the detection process, inspection standards, and debugging equipment. The two methods can cooperate with each other.

[0042] In this application, image verification can be performed for real-time acquisition to ensure that the white cardboard has been subjected to real-time friction testing, rather than being a "designed test object". However, for imported acquisition, this verification is not required, and the staff can confirm the imported image and select it.

[0043] In a specific embodiment, when obtaining the decolorized image of the white card paper by reading the video stream, the method further includes: The white cardboard includes a test area and non-test areas located on both sides of the test area, and a verification mark is provided in the non-test area; Acquire an original image of the white card paper; the original image is image data of the white card paper before the friction test is performed; Acquire the decolorized image, and extract a partial image of a non-test area in the decolorized image as a verification image; Determine whether the verification image matches the verification mark in the non-test area in the original image: If they match, the decolorized image is valid; If there is no match, the decolorized image is invalid and an invalid test message is sent.

[0044] In the embodiment of the present application, the white cardboard can be divided into a test area and a non-test area. The non-test area is located on both sides of the test area, which is determined by the friction test. There is a crease between the test area and the non-test area. The area between the two creases is the test area. The test area contacts and rubs against the printed matter.

[0045] Based on this characteristic of white card paper, a verification mark can be set in the non-test area, and an image capture can be performed before the test to obtain the original image; after the friction test is completed, another image capture is performed to obtain a discolored image. The verification mark on the non-test area can be used to determine that the objects captured twice are the same piece of white card paper, thereby avoiding false friction behavior.

[0046] Exemplarily, the verification mark can be a unique verification code, a hand-drawn label, graffiti, a verification test stamp, etc. By comparing the degree of matching between the verification mark on the original image and the faded image, it can be determined whether the objects captured twice are the same piece of white cardboard.

[0047] It can be understood that when performing image matching, the determination parameters may include image similarity and relative posture matching, wherein the relative posture matching can be measured based on the direction of the white card paper.

[0048] S102, copying the decolorized image to obtain a first image, detecting a test region in the first image and a defect region in the first image, and calculating a test area of ​​the test region and a defect area of ​​the defect region.

[0049] In the embodiment of the present application, after the friction test, there will be multiple defects on the white cardboard. When identifying and detecting the defective parts, it is necessary to count all the defects on the white cardboard to measure the discoloration of the printed product; therefore, the defect area is the sum of the areas of all defective areas.

[0050] In order to ensure that the image processing does not destroy the decolorized image, the decolorized image can be copied, the copied image can be image processed, and the decolorized image can be directly stored without directly performing image processing on the decolorized image.

[0051] For discolored images, they can be partitioned and stored according to the batch, number, process, etc. of the inspection object, and the final quality judgment result can be bound to it for subsequent query.

[0052] In one possible implementation manner, detecting the test area in the first image and the defect area in the first image in step S102 specifically includes: acquiring the first image; performing format conversion and Gaussian smoothing on the first image in sequence; Identify the image area of ​​the white card paper according to the difference in chromaticity range between the white card paper and the background; Graying the image area, detecting and extracting the test area boundary and defect area of ​​the white card paper; Fitting the minimum circumscribed rectangle of the test area according to the boundary of the test area, calculating the area of ​​the minimum circumscribed rectangle, the test area of ​​the test area being the area of ​​the minimum circumscribed rectangle; In the present application, the boundaries of the test area include two boundaries of the white cardboard and two folds between the test area and the non-test area, wherein the two boundaries of the white cardboard are long sides, and the folds are perpendicular to the long sides.

[0053] The original color of white cardboard is white, and other colors can be selected as the background color, so as to directly identify the image area of ​​white cardboard in the first image according to the difference in chromaticity range, and extract the image area to which the white cardboard belongs; the image area only contains white cardboard.

[0054] The image area is grayed out, and the boundary and defective area of ​​the white cardboard can be detected synchronously based on the color difference, wherein the boundary of the long side can be directly obtained, the boundary of the fold can be obtained based on the color difference detection, and the defective area can also be obtained based on the color difference detection.

[0055] In a specific embodiment, a first parameter after the crease is grayed and a second parameter after the white cardboard is grayed when it is not dyed can be preset, and the test area is detected as the boundary of the crease according to the first parameter, and the defective area in the test area is detected according to the second parameter.

[0056] In another feasible embodiment, the crease on the white card paper will cause the paper to have a distinct undulating structure, and the location of the crease can be directly obtained based on image recognition without the need for color difference identification.

[0057] In the present application, the test area is rectangular, but when capturing the image, there may be unexpected situations such as shooting completion, which makes the test area in the bleached image incomplete and unable to be fully presented. At this time, the detected result is inaccurate. Therefore, in the present application, the minimum circumscribed rectangle of the test area is fitted according to the four boundaries to calculate the test area; at the same time, it is determined whether the minimum circumscribed rectangle is completely located in the first image to ensure that the defects are also fully displayed in the first image.

[0058] In a specific embodiment, after obtaining the minimum circumscribed rectangle, the method further includes: Determine whether the minimum bounding rectangle of the test area is complete in the first image: If so, no response; If not, incomplete information is sent and the decolorized image is reacquired.

[0059] In an embodiment of the present application, the image area of ​​the white cardboard can be detected to determine whether the minimum circumscribed rectangle representing the integrity of the test area is completely located within the first image. If not, it means that the capture of the bleached image corresponding to the first image is incomplete, and the bleached image should be reacquired; otherwise, it means that the capture of the bleached image is complete, and subsequent quality judgment can be performed.

[0060] S103, calculating the defect ratio of the defect area in the test area, and when the defect ratio is less than a preset determination threshold, the quality of the printed product is excellent.

[0061] In an embodiment of the present application, after the defective area and the test area are determined, the defect area of ​​the defective area and the test area of ​​the test area can be calculated, and then the defect ratio can be calculated, and the quality of the printed product can be judged by the defect ratio.

[0062] In one possible implementation, after calculating the defect ratio, judging the quality of the printed product according to the defect ratio specifically includes: Presetting the determination threshold according to the test area; Obtain the defect ratio, and determine whether the defect ratio is less than the determination threshold: If so, the quality of the printed matter is excellent; If not, the quality of the print is poor.

[0063] In the embodiment of the present application, the judgment threshold can be preset according to the test area, and the judgment threshold is used as a reference value. When the defect ratio is less than the judgment threshold, the quality is excellent; otherwise, the quality is poor.

[0064] At the same time, the defect ratio can be output synchronously with the judgment result. Based on the qualitative result of judging the quality, the quality parameters of the printed product can also be characterized.

[0065] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0066] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.

[0067] See also Figure 2 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 2 As shown, the electronic device 300 may include: at least one central processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0068] The communication bus 302 is used to realize the connection and communication between these components.

[0069] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0070] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0071] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the terminal 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the central processing unit 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 301, and it can be implemented separately through a chip.

[0072] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may also be optionally at least one storage system located away from the aforementioned central processor 301. As Figure 2 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.

[0073] exist Figure 2 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the central processor 301 can be used to call the laser transfer type tipping paper printed product discoloration detection application stored in the memory 305, and specifically perform the following operations: Acquire a decolorized image of white card paper, where the decolorized image is image data of a side of the white card paper rubbing against the printed matter after the white card paper is subjected to a friction test on the printed matter; Copy the decolorized image to obtain a first image, detect the test area in the first image and the defect area in the first image, and calculate the test area of ​​the test area and the defect area of ​​the defect area; the defect area is the sum of the areas of all defect areas; The defect ratio of the defect area to the test area is calculated. When the defect ratio is less than the preset judgment threshold, the quality of the printed product is excellent.

[0074] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0075] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0076] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0077] In the several embodiments provided in the present application, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of the system or unit can be electrical or other forms.

[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0079] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0080] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0081] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0082] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A laser transfer type tipping paper printed product discoloration detection system, characterized in that: The system comprises: a friction test module for performing a friction test, an image acquisition module, an image processing module, a defect detection module, and a quality decision module. The friction test module is used to perform a friction test by rubbing a printed product against white cardboard to cause the printed product to be discolored on the white cardboard. The image acquisition module is used to collect image data of the white cardboard after the friction test. The image processing module is electrically connected to the image acquisition module, the defect detection module is electrically connected to the image acquisition module, and the defect detection module is used to detect defect areas in the image data; The quality decision module is electrically connected to the defect detection module, and is used to calculate the defect ratio of the defect area of ​​the defect region in the test area of ​​the white card paper to determine whether the quality of the printed product is good or bad.

2. The system according to claim 1, characterized in that The image processing module performs edge detection, image rotation, and segmentation on the collected image data of the white card paper, thereby defining the edge boundary of the test area of ​​the white card paper and obtaining the test area of ​​the white card paper.

3. The system according to claim 1, characterized in that The defect detection module is used to detect defect areas in the test area, and the defect area is the sum of the areas of all defect areas in the test area.

4. A method for detecting discoloration of laser transfer type tipping paper printed products, characterized in that: A laser transfer type tipping paper printed product discoloration detection system applicable to claim 1, the method comprising: Acquire a decolorized image of white card paper, wherein the decolorized image is image data of a side of the white card paper rubbing against the printed matter after the white card paper is subjected to a friction test on the printed matter; Copying the decolorized image to obtain a first image, detecting a test area in the first image and a defect area in the first image, and calculating a test area of ​​the test area and a defect area of ​​the defect area; the defect area is the sum of the areas of all defect areas; The defect ratio of the defect area in the test area is calculated, and when the defect ratio is less than a preset determination threshold, the quality of the printed product is excellent.

5. The method according to claim 4, characterized in that The method of obtaining the decolorized image of the white card paper includes obtaining the decolorized image of the white card paper by reading a video stream and obtaining the decolorized image of the white card paper by importing a picture.

6. The method according to claim 5, characterized in that When the decolorized image of the white card paper is obtained by reading the video stream, the method further includes: The white cardboard includes a test area and non-test areas located on both sides of the test area, and a verification mark is provided in the non-test area; Acquire an original image of the white card paper; the original image is image data of the white card paper before the friction test is performed; Acquire the decolorized image, and extract a partial image of a non-test area in the decolorized image as a verification image; Determine whether the verification image matches the verification mark in the non-test area in the original image: If they match, the decolorized image is valid; If there is no match, the decolorized image is invalid and an invalid test message is sent.

7. The method according to claim 4, characterized in that Detecting the test area in the first image and the defect area in the first image specifically includes: acquiring the first image; performing format conversion and Gaussian smoothing on the first image in sequence; Identify the image area of ​​the white card paper according to the difference in chromaticity range between the white card paper and the background; Graying the image area, detecting and extracting the test area boundary and defect area of ​​the white card paper; Fitting the minimum circumscribed rectangle of the test area according to the boundary of the test area, calculating the area of ​​the minimum circumscribed rectangle, the test area of ​​the test area being the area of ​​the minimum circumscribed rectangle; The boundaries of the test area include two boundaries of the white card paper and two folds between the test area and the non-test area.

8. The method according to claim 7, characterized in that After obtaining the minimum circumscribed rectangle, the method further includes: Determine whether the minimum bounding rectangle of the test area is complete in the first image: If so, no response; If not, incomplete information is sent and the decolorized image is reacquired.

9. The method according to claim 7, characterized in that: Graying the image area, detecting and extracting the test area boundary and defect area of ​​the white card paper specifically includes: The first parameter of the preset crease after graying, and the second parameter of the white cardboard after graying when it is not dyed; The test area is detected as a boundary of a fold according to the first parameter, and a defect area within the test area is detected according to the second parameter.

10. The method according to claim 4, characterized in that When the defect ratio is less than a preset judgment threshold, the quality of the printed product is excellent, which specifically includes: Presetting the determination threshold according to the test area; Obtain the defect ratio, and determine whether the defect ratio is less than the determination threshold: If so, the quality of the printed matter is excellent; If not, the quality of the print is poor.