Cigarette punching quality detection method and device, electronic equipment and storage medium

By acquiring and analyzing the data of the cigarette stick holes and using the evaluation function to determine the quality of the holes, the problems of manual detection and missed detection and inefficiency in the prior art are solved, and efficient and accurate hole quality detection is achieved.

CN119769778APending Publication Date: 2025-04-08CHINA TOBACCO JIANGSU INDAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510027005.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In the prior art, the detection of the quality of the tobacco post punching mainly relies on manual visual inspection, and there are problems of misjudgment and missed detection and low detection efficiency.

Method used

By obtaining the pending data of at least one hole to be detected on the cigarette stick to be detected in the at least one hole to be detected in the at least one hole to be detected, the hole quality evaluation attribute is determined using the evaluation function, and the hole quality detection result is then determined.

Benefits of technology

It improves the efficiency and accuracy of hole punch quality inspection, ensures the comprehensiveness of hole punch quality assessment, reduces the inspection cost, and is easy to promote and implement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119769778A_ABST
    Figure CN119769778A_ABST
Patent Text Reader

Abstract

The invention discloses a cigarette punching quality detection method and device, electronic equipment and a storage medium. According to the specific scheme, to-be-processed data of at least one to-be-detected hole in a to-be-detected cigarette under at least one punching evaluation dimension is obtained, and the at least one punching evaluation dimension comprises at least one of a punching penetration dimension, a hole roundness dimension, a hole taper dimension and a hole distribution uniformity dimension; for at least one punching evaluation dimension, according to the to-be-processed data of each to-be-detected hole under the current punching evaluation dimension and an evaluation function corresponding to the current punching evaluation dimension, a punching quality evaluation attribute under the current punching evaluation dimension is determined; and determining a punching quality detection result corresponding to the to-be-detected cigarette according to the punching quality evaluation attribute under the at least one punching evaluation dimension. According to the invention, the efficiency and accuracy of punching quality detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a cigarette punching quality detection method, device, electronic equipment and storage medium. Background Art

[0002] In the tobacco industry, punching the filter wrapping paper of cigarettes is one of the most commonly used methods to reduce the tar content of cigarettes. The quality of the punching of cigarettes affects the flow of smoke in the cigarette, which in turn significantly affects the ventilation rate of the cigarette filter, the release of carbon monoxide per unit of tar, and the smoking experience of the cigarette.

[0003] At present, the quality of cigarette punching is mainly tested by manual visual inspection, which involves randomly selecting cigarettes and observing the punching conditions to determine whether the quality of the holes is up to standard. Manual inspection not only relies on the work experience of the relevant staff and is subjective, but is also prone to misjudgment and missed inspections. In addition, manual inspection of punching quality can also lead to low inspection efficiency. Summary of the invention

[0004] The present invention provides a cigarette punching quality detection method, device, electronic equipment and storage medium, which improve the efficiency and accuracy of punching quality detection.

[0005] According to one aspect of the present invention, a method for detecting cigarette perforation quality is provided, the method comprising:

[0006] Obtaining data to be processed of at least one hole to be detected on the cigarette to be detected under at least one hole-punching evaluation dimension, wherein the at least one hole-punching evaluation dimension includes at least one of a hole-punching penetration dimension, a hole-roundness dimension, a hole-taper dimension, and a hole-distribution uniformity dimension;

[0007] For at least one perforation evaluation dimension, determining a perforation quality evaluation attribute under the current perforation evaluation dimension according to the to-be-processed data of each hole to be detected under the current perforation evaluation dimension and an evaluation function corresponding to the current perforation evaluation dimension;

[0008] According to the perforation quality evaluation attribute under at least one perforation evaluation dimension, a perforation quality detection result corresponding to the cigarette to be detected is determined.

[0009] According to another aspect of the present invention, a device for detecting cigarette perforation quality is provided, the device comprising:

[0010] A data acquisition module, used to acquire the data to be processed of at least one hole to be detected on the cigarette to be detected under at least one perforation evaluation dimension, wherein the at least one perforation evaluation dimension includes at least one of a perforation penetration dimension, a hole roundness dimension, a hole taper dimension, and a hole distribution uniformity dimension;

[0011] An evaluation attribute determination module, for determining, for at least one perforation evaluation dimension, a perforation quality evaluation attribute under a current perforation evaluation dimension according to the to-be-processed data of each hole to be detected under the current perforation evaluation dimension and an evaluation function corresponding to the current perforation evaluation dimension;

[0012] The detection result determination module is used to determine the perforation quality detection result corresponding to the cigarette to be detected according to the perforation quality evaluation attribute under at least one perforation evaluation dimension.

[0013] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the cigarette perforation quality detection method of any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for implementing the cigarette perforation quality detection method of any embodiment of the present invention when executed by a processor.

[0018] According to another aspect of the present invention, there is provided a computer program product, comprising a computer program, wherein the computer program, when executed by a processor, implements a cigarette perforation quality detection method as in any embodiment of the present invention.

[0019] The technical solution of the embodiment of the present invention provides data support for subsequent punching quality evaluation by obtaining the unprocessed data of at least one hole to be detected on the cigarette to be detected under at least one punching evaluation dimension. For at least one punching evaluation dimension, the punching quality evaluation attribute under the current punching evaluation dimension is determined according to the unprocessed data of each hole to be detected under the current punching evaluation dimension and the evaluation function corresponding to the current punching evaluation dimension. According to the punching quality evaluation attribute under at least one punching evaluation dimension, the punching quality detection result corresponding to the cigarette to be detected is determined. The present invention solves the problems of misjudgment and missed detection caused by manual visual inspection and the problem of low detection efficiency in the prior art, and ensures the comprehensiveness of the punching quality evaluation by evaluating the punching quality under at least one punching evaluation dimension. Not only is the efficiency and accuracy of punching quality detection improved, but the cost of punching quality detection is low and easy to promote and implement.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 1 is a flow chart of a cigarette punching quality detection method provided by an embodiment of the present invention;

[0023] Figure 2 is a flow chart of a cigarette punching quality detection method provided by an embodiment of the present invention;

[0024] Figure 3 is a surface image of the hole to be detected obtained based on a high-resolution optical microscope provided by an embodiment of the present invention;

[0025] Figure 4 is a cross-sectional image of a hole to be detected obtained based on a high-resolution optical microscope provided by an embodiment of the present invention;

[0026] Figure 5 is a grayscale image corresponding to the image to be processed provided by an embodiment of the present invention;

[0027] Figure 6 is a hole image of a hole to be detected provided by an embodiment of the present invention;

[0028] Figure 7 It is a structural schematic diagram of a cigarette punching quality detection device provided by an embodiment of the present invention;

[0029] Figure 8 It is a schematic diagram of the structure of an electronic device for implementing the cigarette perforation quality detection method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] Embodiment 1

[0033] Figure 1 This is a flow chart of a method for detecting the quality of cigarette punching provided by the first embodiment of the present invention. This embodiment is applicable to the case where a comprehensive quality assessment of the holes on a cigarette is performed under at least one punching assessment dimension. The method can be performed by a cigarette punching quality detection device, which can be implemented in the form of hardware and / or software. The cigarette punching quality detection device can be configured in an electronic device such as a mobile phone, a computer or a server. Figure 1 As shown, the method includes:

[0034] S110, obtaining the data to be processed of at least one hole to be inspected on the cigarette to be inspected under at least one punching evaluation dimension, wherein the at least one punching evaluation dimension includes at least one of a punching penetration dimension, a hole roundness dimension, a hole taper dimension, and a hole distribution uniformity dimension.

[0035] In order to reduce the amount of tar in the cigarette smoking process, the filter wrapper wrapping the filter material of the cigarette will be punched. Since different punching quality affects the subsequent smoking effect, the punching quality of the cigarette can be tested. The cigarette that currently needs to be tested for punching quality is used as the cigarette to be tested. The hole to be tested can be a hole located on the filter wrapper of the cigarette to be tested.

[0036] In order to improve the accuracy of punching quality detection, evaluation processing can be performed under at least one punching evaluation dimension. The punching evaluation dimension can be an evaluation dimension for measuring the hole quality of the holes to be detected on the cigarette to be detected. The punching evaluation dimension can include at least one of the punching penetration dimension, the hole roundness dimension, the hole taper dimension, and the hole distribution uniformity dimension. The punching penetration dimension can be used to characterize whether the holes to be detected penetrate the filter outer wrapper when punching on the filter outer wrapper corresponding to the cigarette to be detected. The hole roundness dimension can be used to characterize the roundness of the holes to be detected. The hole taper dimension can be used to characterize the change in radius or diameter of the holes to be detected along the axial direction of the holes to be detected. The hole distribution uniformity can be used to characterize the distribution of the holes to be detected on the cigarette to be detected. The data to be processed under at least one punching evaluation dimension can be understood as the hole parameter data of the holes to be detected associated with the punching evaluation dimension.

[0037] Specifically, the filter wrapper wrapping the filter material on the cigarette to be tested is fully unfolded to obtain the surface image of the filter wrapper, and the cross-sectional image of the filter wrapper after being cut along the perforation direction and perpendicular to the perforation direction. Data collection and processing are performed on the surface image corresponding to the filter wrapper of the cigarette to be tested and the corresponding holes to be tested on the cross-sectional image to obtain the corresponding data to be processed in terms of the perforation penetration dimension, hole roundness dimension, hole taper dimension and hole distribution uniformity dimension of the holes to be tested, so as to evaluate the perforation quality of the cigarette to be tested based on the data to be processed.

[0038] S120. For at least one perforation evaluation dimension, determine a perforation quality evaluation attribute under the current perforation evaluation dimension according to the to-be-processed data of each hole to be detected under the current perforation evaluation dimension and an evaluation function corresponding to the current perforation evaluation dimension.

[0039] Among them, each perforation evaluation dimension corresponds to a corresponding evaluation function. The perforation quality evaluation attribute under the corresponding evaluation dimension can be determined by the evaluation function. The perforation quality evaluation attribute can be used to measure the perforation quality under the current perforation evaluation dimension. Optionally, the perforation quality evaluation attribute of the perforation penetration dimension can be characterized by the ratio of the number of holes to be detected that penetrate the filter outer wrapping paper of the cigarette to be detected to the total number of holes to be detected. Optionally, the perforation quality evaluation attribute of the hole roundness dimension can be characterized by the mean hole roundness of the holes to be detected on the cigarette to be detected. The perforation quality evaluation attribute of the hole taper dimension can be characterized by the mean hole taper of the holes to be detected. The perforation quality evaluation attribute of the hole distribution uniformity dimension can be characterized by the hole distribution uniformity of the holes to be detected.

[0040] Specifically, for at least one punching evaluation dimension, the punching quality evaluation attribute under the punching penetration dimension is determined according to the data to be processed for each hole to be detected under the punching penetration dimension and the evaluation function corresponding to the punching penetration dimension. The punching quality evaluation attribute under the hole roundness dimension is determined according to the data to be processed for each hole to be detected under the hole taper dimension and the evaluation function corresponding to the hole taper dimension. The punching quality evaluation attribute under the hole taper dimension is determined according to the data to be processed for each hole to be detected under the hole distribution uniformity dimension and the evaluation function corresponding to the hole distribution uniformity dimension.

[0041] S130. Determine a perforation quality test result corresponding to the cigarette to be tested according to a perforation quality assessment attribute under at least one perforation assessment dimension.

[0042] The punching quality detection result may be determined according to a punching quality evaluation attribute corresponding to at least one punching evaluation dimension. Optionally, the punching quality detection result may be qualified or unqualified.

[0043] Specifically, if the perforation quality assessment attributes corresponding to each perforation assessment dimension meet the corresponding preset attribute assessment range, the perforation quality test result corresponding to the cigarette to be tested is qualified. If the perforation quality assessment attributes under one or more perforation assessment dimensions do not meet the corresponding preset attribute assessment range, the perforation quality test result corresponding to the cigarette to be tested is unqualified.

[0044] In an embodiment of the present invention, the method for determining the punching quality test result can be: if the punching quality assessment attributes under each punching assessment dimension satisfy the corresponding preset attribute assessment range, then the punching quality test result of the cigarette to be tested is determined to be qualified; if there is at least one punching quality assessment attribute under the punching assessment dimension that does not satisfy the corresponding preset attribute assessment range, then the punching quality test result is determined to be unqualified.

[0045] The preset attribute evaluation range may be a pre-set standard range corresponding to the punching quality evaluation attribute. For example, taking the punching quality evaluation attribute as the hole roundness mean under the hole roundness dimension as an example, the preset attribute evaluation range may be 85% to 100%, that is, when the hole roundness mean corresponding to the hole to be detected is greater than 85%, it is considered that the punching quality evaluation attributes under the hole roundness dimension all meet the corresponding preset attribute evaluation range.

[0046] Specifically, when the perforation quality evaluation attributes under each perforation evaluation dimension meet the corresponding preset attribute evaluation range, the perforation quality test result corresponding to the cigarette to be tested is determined to be qualified. If there is at least one perforation quality evaluation attribute under the perforation evaluation dimension that does not meet the corresponding preset attribute evaluation range, the perforation quality test result of the cigarette to be tested is unqualified.

[0047] The technical solution of this embodiment provides data support for subsequent punching quality evaluation by obtaining the unprocessed data of at least one hole to be detected on the cigarette to be detected under at least one punching evaluation dimension. For at least one punching evaluation dimension, the punching quality evaluation attribute under the current punching evaluation dimension is determined according to the unprocessed data of each hole to be detected under the current punching evaluation dimension and the evaluation function corresponding to the current punching evaluation dimension. According to the punching quality evaluation attribute under at least one punching evaluation dimension, the punching quality detection result corresponding to the cigarette to be detected is determined. The present invention solves the problems of misjudgment and missed detection caused by manual visual inspection and the problem of low detection efficiency in the prior art, and ensures the comprehensiveness of the punching quality evaluation by evaluating the punching quality under at least one punching evaluation dimension. Not only is the efficiency and accuracy of punching quality detection improved, but the cost of punching quality detection is low and easy to promote and implement.

[0048] Embodiment 2

[0049] Figure 2 1 is a flowchart of a cigarette punching quality detection method provided by the second embodiment of the present invention. This embodiment is a preferred embodiment of the above embodiment. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same or corresponding to the above embodiment are not repeated here. Figure 2 As shown, the method includes:

[0050] S210, obtaining a plurality of to-be-processed images corresponding to the filter tip outer wrapping paper of the to-be-detected cigarette.

[0051] Among them, the filter wrapper is the wrapping paper that wraps the filter material of the cigarette to be tested, and the filter wrapper contains at least one hole to be tested. The multiple images to be processed include at least the surface image of the filter wrapper after unfolding, and the cross-sectional image of the filter wrapper in the punching direction and perpendicular to the punching direction. The filter wrapper of the cigarette to be tested can include three parts, namely, tipping paper, shaping paper, and a glue layer for bonding the tipping paper and shaping paper. Tipping paper, also known as tipping paper, is an industrial paper used to wrap the filter of the cigarette to be tested. Shaping paper is used to wrap the filter material of the cigarette to be tested, and the relatively soft filter material is formed into a long strip filter shape. The holes on the filter wrapper are used as holes to be tested. The surface image of the filter wrapper after unfolding can be understood as the surface image obtained by completely cutting the filter wrapper of the cigarette to be tested and collecting images from different angles of the filter wrapper. The total number of holes to be detected on the filter wrapper, the thickness of the filter wrapper, the hole spacing between the holes to be detected on the filter wrapper, and the shape of each hole to be detected can be determined through the surface image of the filter wrapper. The hole depth information of each hole to be detected can be determined through the cross-sectional image of the filter wrapper in the punching direction. The bottom radius of each hole to be detected can be determined through the cross-sectional image of the filter wrapper perpendicular to the punching direction.

[0052] Specifically, the filter wrapper of the cigarette to be inspected is completely unfolded, and multiple surface images of the flattened filter wrapper, as well as cross-sectional images of the filter wrapper cut in the punching direction and perpendicular to the punching direction are collected, so as to obtain the processed data corresponding to the holes to be inspected based on these surface images and cross-sectional images.

[0053] For example, a high-precision ultra-thin blade is used to completely peel off the filter wrapper of the cigarette to be tested in the gap between the holes to be tested along the direction perpendicular to the perforation direction, and then laid flat on the stage of a high-resolution optical microscope. By adjusting the focal length of the microscope, a clear surface image of the holes to be tested is obtained. Figure 3 , Figure 3 It is a surface image of the hole to be detected obtained based on a high-resolution optical microscope. The resolution of the high-resolution optical microscope is not less than 1 micron, and the adjustable magnification range is 30 times to 200 times.

[0054] When the filter tip outer wrapper is processed by the embedding fixation method, it can be: immerse the filter tip outer wrapper flatly in the pre-configured Pon812 resin embedding agent or paraffin embedding agent, and the embedding agent just covers the filter tip outer wrapper. Let it stand for 24 hours to allow the embedding agent to fully penetrate the holes to be tested on the filter tip outer wrapper, and heat and cure the embedding agent containing the filter tip outer wrapper for 12 hours in an environment of 60 degrees Celsius to fix the position of the holes to be tested, so as to obtain a transparent embedding body corresponding to the filter tip outer wrapper. Use a high-precision ultra-thin blade to obtain cross-sectional slices along the punching direction and perpendicular to the punching direction. Fix the cross-sectional slice on the stage with the cross-section facing upward, and use a high-resolution optical microscope to obtain a cross-sectional image of the hole to be tested. See Figure 4 , Figure 4 The cross-sectional image of the hole to be detected is obtained based on a high-resolution optical microscope. The cross-sectional image and the surface image are used as the images to be processed.

[0055] S220 , performing image denoising processing, image contrast enhancement processing, and hole contour extraction processing on the image to be processed in sequence to obtain a hole image of at least one hole to be detected.

[0056] Among them, image denoising can be used to remove noise in the image to be processed to improve the image clarity and image quality of the image to be processed. Optionally, the image to be processed can be denoised by means of filters or convolutional neural networks. Optionally, before the image to be processed is denoised, the image to be processed can be grayscale processed to obtain a grayscale image, so as to perform image denoising and subsequent image processing based on the grayscale image. Figure 5 , Figure 5 is the grayscale image corresponding to the image to be processed.

[0057] Image contrast enhancement processing can be used to improve the image contrast of the image to be processed so that the details of the image to be processed are clearer. Optionally, image contrast enhancement processing can be performed by histogram equalization processing, contrast-limited adaptive histogram equalization, and image enhancement based on the Laplace operator. Hole contour extraction processing can be performed by extracting the hole contour of the hole to be detected on the image to be processed through a corresponding edge detection algorithm or image processing tool to obtain a hole contour image. The hole image is the hole contour image. For different images to be processed, the hole image corresponding to the same hole to be detected may be different. See Figure 6 , Figure 6 is the hole image of the hole to be detected.

[0058] Specifically, the image to be processed is subjected to image denoising to obtain a denoised image corresponding to the image to be processed. The denoised image is subjected to image contrast enhancement to obtain a denoised image with enhanced contrast. The edge information corresponding to each hole to be detected in the denoised image with enhanced contrast is determined by an edge detection algorithm. The edge information is connected into a complete contour line by morphological operations (such as dilation, erosion, etc.) to obtain a hole contour image corresponding to each hole to be detected, that is, a hole image corresponding to the hole to be detected.

[0059] S230: Based on the hole image of at least one hole to be detected, determine the data to be processed for each hole to be detected under at least one punching evaluation dimension.

[0060] Specifically, at least one hole image may correspond to each hole to be detected, and the data to be processed of each hole to be detected under at least one perforation evaluation dimension may be obtained according to the at least one hole image corresponding to each hole to be detected.

[0061] S240. For at least one perforation evaluation dimension, determine a perforation quality evaluation attribute under the current perforation evaluation dimension according to the to-be-processed data of each hole to be detected under the current perforation evaluation dimension and an evaluation function corresponding to the current perforation evaluation dimension.

[0062] In an embodiment of the present invention, the data to be processed under the dimension of perforation penetration is the hole depth information of the cigarette to be detected, the thickness information of the filter outer paper, and the total number of holes. The method of determining the perforation quality evaluation attribute under the dimension of perforation penetration can be: for the perforation penetration dimension, determine the ratio of the hole depth information of each hole to be detected to the thickness information of the filter outer paper, and use the ratio as the hole penetration value of the hole to be detected; when the hole penetration value of the hole to be detected is equal to the preset value, the hole to be detected corresponding to the hole penetration value is used as a valid hole; determine the number ratio of the number of valid holes to the total number of holes, and use the number ratio as the perforation quality evaluation attribute under the dimension of perforation penetration.

[0063] The hole depth information can be understood as the depth of the hole to be detected relative to the filter outer paper. The filter outer paper thickness information can be understood as the thickness of the filter outer paper. The total number of holes can be understood as the number of holes corresponding to all the holes to be detected.

[0064] The hole penetration value can be understood as the ratio between the hole depth information of the hole to be detected and the thickness information of the filter outer wrapping paper. Optionally, the hole penetration value can be determined by the following function.

[0065]

[0066] Wherein, h represents hole depth information, 0≤h≤d, d represents thickness information, and α represents hole penetration value. The preset value may be a preset hole penetration standard value. Optionally, the preset value may be 100%. When the hole penetration value is equal to 100%, it indicates that the hole to be detected penetrates the outer paper of the filter tip, and the hole to be detected is determined as a valid hole. That is, a valid hole can be understood as a hole to be detected whose hole penetration value is equal to the preset value.

[0067] Specifically, for the perforation penetration dimension, the hole penetration value corresponding to each hole to be detected is determined based on the hole depth information of each hole to be detected and the thickness information of the filter outer paper. When the hole penetration value of the hole to be detected is equal to the preset value, it means that the hole to be detected penetrates the filter outer paper, and the hole to be detected is determined as a valid hole. According to the number of holes corresponding to all valid holes and the total number of holes to be detected, the number ratio corresponding to the valid holes is determined, and the number ratio is used as the perforation quality evaluation attribute under the perforation penetration dimension.

[0068] Optionally, when the hole penetration value of the hole to be detected is less than a preset value, it means that the hole to be detected has not penetrated the outer paper of the filter tip, and the hole to be detected is determined as an invalid hole. The number ratio corresponding to the invalid holes can be determined based on the number of holes corresponding to all invalid holes and the total number of holes to be detected, and the number ratio is used as a perforation quality evaluation attribute under the perforation penetration dimension.

[0069] In the embodiment of the present invention, the data to be processed under the hole roundness dimension are the circumscribed rectangle width information, circumscribed rectangle length information and the total number of holes to be detected. The hole roundness dimension may be determined in the following manner: for the hole roundness dimension, the hole roundness value of each hole to be detected is determined according to the ratio of the circumscribed rectangle width information of each hole to be detected to the circumscribed rectangle length information; the hole roundness mean is determined according to the hole roundness value of each hole to be detected and the total number of holes, and the hole roundness mean is used as the hole roundness dimension. The punching quality evaluation attribute.

[0070] The circumscribed rectangle width information can be understood as the rectangular width of the circumscribed rectangle of the hole to be detected. The circumscribed rectangle length information can be understood as the rectangular length of the circumscribed rectangle of the hole to be detected. The hole roundness value of the hole to be detected can be determined by the circumscribed rectangle width information and the circumscribed rectangle length information of the hole to be detected. Optionally, the hole roundness value can be calculated using the following function.

[0071]

[0072] Wherein, W represents the width information of the circumscribed rectangle, L represents the length information of the circumscribed rectangle, and C represents the hole roundness value. The hole roundness average value may be determined according to the hole roundness values ​​of each hole to be detected and the total number of holes.

[0073] Specifically, for the hole roundness dimension, the ratio of the circumscribed rectangle width information to the circumscribed rectangle length information is determined based on the circumscribed rectangle width information and the circumscribed rectangle length information of each hole to be detected. The ratio is used as the hole roundness value of the hole to be detected. The hole roundness mean is determined based on the hole roundness value of each hole to be detected and the total number of holes to be detected, and the hole roundness mean is used as the punching quality evaluation attribute under the hole roundness dimension.

[0074] In an embodiment of the present invention, the data to be processed under the hole taper dimension include the hole upper bottom radius, hole lower bottom radius, hole depth information and the total number of holes of the holes to be detected. The method of determining the drilling quality evaluation attribute under the hole taper dimension can be: for the hole taper dimension, determine the radius difference between the hole upper bottom radius and the hole lower bottom radius of each hole to be detected, and determine the arc tangent value of the radius difference relative to the hole depth information based on the radius difference and the hole depth information; determine the hole taper value of the hole to be detected based on the arc tangent value; determine the hole taper mean value based on the hole taper value of each hole to be detected and the total number of holes, and use the hole taper mean value as the drilling quality evaluation attribute under the hole taper dimension.

[0075] Among them, the hole upper bottom radius can be understood as the radius of the top opening of the hole to be detected. The hole lower bottom radius can be understood as the bottom radius of the hole to be detected. The radius difference can be the value obtained by subtracting the hole upper bottom radius from the hole lower bottom radius. The inverse tangent value can be understood as the value obtained by processing the ratio of the radius difference to the hole depth information using the inverse tangent function. The hole taper value can be obtained based on the inverse tangent value, and the hole taper value can be determined by the following function.

[0076]

[0077] Among them, R1 represents the upper bottom radius of the hole to be detected, R2 represents the lower bottom radius of the hole to be detected, and h represents the hole depth information. Indicates the hole taper value. The hole taper average value can be determined by the hole taper values ​​of each hole to be detected and the total number of holes.

[0078] Specifically, for the hole taper dimension, the radius difference between the upper bottom radius and the lower bottom radius of each hole to be detected is determined. According to the radius difference and the hole depth information, the ratio of the radius difference to the hole depth information is determined. The ratio is processed using the inverse tangent function to obtain the inverse tangent value. The hole taper value corresponding to the hole to be detected is obtained according to the inverse tangent value. According to the hole taper value of the hole to be detected and the total number of holes, the hole taper mean is determined, and the hole taper mean is used as the drilling quality evaluation attribute under the hole taper dimension.

[0079] In an embodiment of the present invention, the data to be processed under the hole distribution uniformity dimension includes the hole spacing between the holes to be detected. The method of determining the punching quality assessment attribute under the hole distribution uniformity dimension may be: for the hole distribution uniformity dimension, according to the hole spacing between at least one hole to be detected, determine the hole spacing mean and hole spacing standard deviation corresponding to the holes to be detected; according to the ratio between the hole spacing mean and the hole spacing standard deviation, determine the punching quality assessment attribute under the hole distribution uniformity dimension.

[0080] The hole spacing can be understood as the distance information between two adjacent holes to be detected. The hole spacing mean can be determined based on the hole spacing between the holes to be detected and the number of hole spacings. The number of hole spacings is the total number of holes minus one. Optionally, the hole spacing mean can be determined by the following function.

[0081]

[0082] Among them, T i represents the hole spacing between the i-th hole to be detected and the i+1-th hole to be detected. n represents the number of hole spacings. represents the mean value of the hole spacing. The hole spacing standard deviation may be determined according to the hole spacing of each hole to be detected and the hole spacing mean. Optionally, the hole spacing standard deviation may be determined by the following function.

[0083]

[0084] Among them, T i represents the hole spacing between the i-th hole to be detected and the i+1-th hole to be detected. n represents the number of hole spacings. represents the mean of the hole spacing. SD represents the standard deviation of the hole spacing. The punching quality evaluation attribute under the hole distribution uniformity dimension can be understood as the hole distribution uniformity. The hole distribution uniformity can be determined by the following function.

[0085]

[0086] Where SD represents the standard deviation of hole spacing, represents the mean value of hole spacing, and P represents the uniformity of hole distribution, that is, the drilling quality evaluation attribute under the dimension of hole distribution uniformity.

[0087] Specifically, for the hole distribution uniformity dimension, the hole spacing mean and the hole spacing standard deviation can be determined based on the hole spacing between adjacent holes to be detected and the number of hole spacings. Based on the hole spacing mean and the hole spacing standard deviation, the ratio between the hole spacing mean and the hole spacing standard deviation is determined. Based on the difference between the ratio and the value 1, the punching quality assessment attribute under the hole distribution uniformity dimension is determined. It should be noted that in the case where there is only one hole to be detected in the cigarette to be detected, the punching quality assessment attribute of the cigarette to be detected under the hole distribution uniformity dimension can be a value of 1.

[0088] S250: Determine a perforation quality test result corresponding to the cigarette to be tested according to a perforation quality assessment attribute under at least one perforation assessment dimension.

[0089] For example, in combination with the above example, the cigarette to be tested is cigarette A, and the filter outer wrapper of the cigarette to be tested has two rows of holes to be tested, with seven holes to be tested in each row. The first row of holes to be tested is named A1 to A7 from left to right, and the second row of holes to be tested is named B1 to B7 from left to right. The situation where each hole to be tested is a valid hole can be shown in the following Table 1.

[0090] Table 1 Data table of the penetration dimension of the holes to be tested in cigarette A

[0091]

[0092] The effective hole ratio is used as the punching quality evaluation attribute corresponding to the punching penetration dimension of the hole to be detected. The preset attribute evaluation range corresponding to the punching penetration dimension is set to 90% to 100%.

[0093] Based on the above table, it can be seen that the number of invalid holes in cigarette A is 5, the number of valid holes is 9, and the total number of holes is 14. The ratio of the number of valid holes to the total number of holes is about 64%, which is less than 90%, and the punching quality test result is unqualified. It should be noted that if there is a punching quality assessment attribute of a punching assessment dimension that does not meet the corresponding preset attribute assessment range, there is no need to determine other punching quality assessment attributes, and the punching quality test result of cigarette A is directly determined to be unqualified.

[0094] Exemplarily, in combination with the above example, the cigarette to be tested is cigarette B, and the filter outer wrapper of the cigarette to be tested has two rows of holes to be tested, with seven holes to be tested in each row as an example for explanation. The first row of holes to be tested are named A1' to A7' from left to right, and the second row of holes to be tested are named B1' to B7' from left to right. The hole image corresponding to cigarette B is analyzed to obtain the corresponding data to be processed in the perforation penetration dimension for each hole to be tested and the corresponding hole penetration value as shown in Table 2 below.

[0095] Table 2 Data table of the punching penetration dimensions of the holes to be tested in cigarette B

[0096]

[0097] The effective hole ratio is used as the punching quality evaluation attribute corresponding to the punching penetration dimension of the holes to be detected. The preset attribute evaluation range corresponding to the punching penetration dimension is set to 90% to 100%. According to the above table, the number of effective holes in cigarette B is 13, and the ratio of the number of effective holes to the total number of holes is 92%. 92% belongs to the preset attribute evaluation range of 90% to 100%, so the punching quality evaluation attribute under the punching penetration dimension meets the corresponding preset attribute evaluation range.

[0098] The hole image corresponding to cigarette B is analyzed to obtain the processed data corresponding to the hole roundness dimension of each hole to be detected, as well as the corresponding hole roundness value and hole roundness mean value as shown in Table 3 below.

[0099] Table 3 Data table of the roundness dimension of the holes to be tested in cigarette B

[0100] Length of the circumscribed rectangle (μm) Enclosing rectangle width information (μm) Hole roundness value (%) A1' hole 248 202 81.4 A2' hole 224 198 88.4 A3' hole 228 201 88.1 A4' hole 197 163 82.7 A5' hole 172 132 76.7 A6' hole 196 169 86.2 A7' hole 232 198 85.3 Hole B1' 198 191 96.5 Hole B2' 202 186 92.1 B3' hole 206 179 86.7 B4' hole 248 203 81.8 B5' hole 236 201 85.2 B6' hole 220 195 88.6 B7' hole 216 184 85.2 Hole roundness average 86.1

[0101] The mean value of hole roundness is used as the punching quality evaluation attribute corresponding to the hole roundness dimension of the hole to be detected. The preset attribute evaluation range corresponding to the hole roundness dimension is set to 85% to 100%. According to the above table, the mean value of hole roundness corresponding to cigarette B is 86.1%. 86.1% belongs to the preset attribute evaluation range of 85% to 100%, so the punching quality evaluation attribute under the hole roundness dimension meets the corresponding preset attribute evaluation range.

[0102] The hole image corresponding to cigarette B is analyzed to obtain the processed data corresponding to the hole taper dimension of each hole to be detected, as well as the corresponding hole taper value and the hole taper mean value as shown in Table 4 below.

[0103] Table 4 Data table of the taper dimension of the holes to be tested in cigarette B

[0104]

[0105]

[0106] The mean value of the hole taper is used as the punching quality evaluation attribute corresponding to the hole taper dimension of the hole to be detected. The preset attribute evaluation range corresponding to the hole taper dimension is set to 0° to 35°. According to the above table, the mean value of the hole taper corresponding to cigarette B is 30.11°. 30.11° belongs to the preset attribute evaluation range of 0° to 35°, so the punching quality evaluation attribute under the hole taper dimension meets the corresponding preset attribute evaluation range.

[0107] The hole image corresponding to cigarette B is analyzed to obtain the processed data corresponding to each hole to be detected in the hole distribution uniformity dimension and the corresponding hole distribution uniformity as shown in Table 5 below.

[0108] Table 5 Data table of the hole distribution uniformity dimension of each hole to be tested in cigarette B

[0109]

[0110]

[0111] The hole distribution uniformity is used as the punching quality evaluation attribute corresponding to the hole distribution uniformity dimension of the hole to be detected. The preset attribute evaluation range corresponding to the hole distribution uniformity dimension is set to 95% to 100%. According to the above table, the hole distribution uniformity corresponding to cigarette B is 95.5%. 95.5% belongs to the preset attribute evaluation range of 95% to 100%, so the punching quality evaluation attribute under the hole distribution uniformity dimension meets the corresponding preset attribute evaluation range.

[0112] Based on the above, the punching quality assessment attributes of cigarette B under the four punching assessment dimensions all meet the corresponding preset attribute assessment ranges, and the punching quality test result of cigarette B is qualified.

[0113] The technical solution of this embodiment is to obtain multiple images to be processed corresponding to the filter outer wrapper of the cigarette to be detected. The processed images are sequentially subjected to image denoising, image contrast enhancement and hole contour extraction to obtain a hole image of at least one hole to be detected. Based on the hole image of at least one hole to be detected, the data to be processed for each hole to be detected under at least one punching evaluation dimension is determined to provide data support for the subsequent punching quality evaluation. For at least one punching evaluation dimension, the punching quality evaluation attribute under the current punching evaluation dimension is determined according to the data to be processed for each hole to be detected under the current punching evaluation dimension and the evaluation function corresponding to the current punching evaluation dimension. According to the punching quality evaluation attribute under at least one punching evaluation dimension, the punching quality detection result corresponding to the cigarette to be detected is determined. The present invention solves the problem of misjudgment and missed detection caused by manual visual inspection and the problem of low detection efficiency in the prior art, and ensures the comprehensiveness of the punching quality evaluation by evaluating the punching quality under at least one punching evaluation dimension. Not only the efficiency and accuracy of punching quality detection are improved, but also the punching quality detection cost is low and easy to promote and implement.

[0114] Embodiment 3

[0115] Figure 7 Schematic diagram of the structure of a cigarette punching quality detection device provided in the third embodiment of the present invention. Figure 7 As shown, the device includes: a data acquisition module 310, an evaluation attribute determination module 320 and a detection result determination module 330.

[0116] The data acquisition module 310 is used to obtain the unprocessed data of at least one hole to be detected on the cigarette to be detected under at least one perforation evaluation dimension, wherein the at least one perforation evaluation dimension includes at least one of a perforation penetration dimension, a hole roundness dimension, a hole taper dimension, and a hole distribution uniformity dimension; the evaluation attribute determination module 320 is used to determine the perforation quality evaluation attribute under the current perforation evaluation dimension for at least one perforation evaluation dimension according to the unprocessed data of each hole to be detected under the current perforation evaluation dimension and the evaluation function corresponding to the current perforation evaluation dimension; the detection result determination module 330 is used to determine the perforation quality detection result corresponding to the cigarette to be detected according to the perforation quality evaluation attribute under at least one perforation evaluation dimension.

[0117] The technical solution of this embodiment provides data support for subsequent punching quality evaluation by obtaining the unprocessed data of at least one hole to be detected on the cigarette to be detected under at least one punching evaluation dimension. For at least one punching evaluation dimension, the punching quality evaluation attribute under the current punching evaluation dimension is determined according to the unprocessed data of each hole to be detected under the current punching evaluation dimension and the evaluation function corresponding to the current punching evaluation dimension. According to the punching quality evaluation attribute under at least one punching evaluation dimension, the punching quality detection result corresponding to the cigarette to be detected is determined. The present invention solves the problems of misjudgment and missed detection caused by manual visual inspection and the problem of low detection efficiency in the prior art, and ensures the comprehensiveness of the punching quality evaluation by evaluating the punching quality under at least one punching evaluation dimension. Not only is the efficiency and accuracy of punching quality detection improved, but the cost of punching quality detection is low and easy to promote and implement.

[0118] On the basis of the above embodiment, optionally, a data acquisition module is used to obtain multiple images to be processed corresponding to the filter wrapper of the cigarette to be detected, wherein the filter wrapper is a wrapping paper that wraps the filter material of the cigarette to be detected, and the filter wrapper contains at least one hole to be detected, and the multiple images to be processed include at least a surface image of the unfolded filter wrapper, and a cross-sectional image of the filter wrapper in the punching direction and perpendicular to the punching direction; the images to be processed are sequentially subjected to image denoising, image contrast enhancement and hole contour extraction to obtain a hole image of at least one hole to be detected; based on the hole image of at least one hole to be detected, the data to be processed for each hole to be detected under at least one punching evaluation dimension is determined.

[0119] Optionally, the data to be processed under the perforation penetration dimension are the hole depth information of the cigarette to be detected, the thickness information of the filter outer paper, and the total number of holes. The evaluation attribute determination module includes: an evaluation attribute determination unit under the perforation penetration dimension, which is used to determine the ratio of the hole depth information of each hole to be detected to the thickness information of the filter outer paper for the perforation penetration dimension, and use the ratio as the hole penetration value of the hole to be detected; when the hole penetration value of the hole to be detected is equal to a preset value, the hole to be detected corresponding to the hole penetration value is used as a valid hole; determine the number ratio of the number of valid holes to the total number of holes, and use the number ratio as the perforation quality evaluation attribute under the perforation penetration dimension.

[0120] Optionally, the data to be processed under the hole roundness dimension are the circumscribed rectangle width information, circumscribed rectangle length information and the total number of holes to be detected, and the evaluation attribute determination module includes: an evaluation attribute determination unit under the hole roundness dimension, which is used to determine the hole roundness value of each hole to be detected according to the ratio of the circumscribed rectangle width information of each hole to be detected to the circumscribed rectangle length information; determine the hole roundness mean according to the hole roundness value of each hole to be detected and the total number of holes, and use the hole roundness mean as the punching quality evaluation attribute under the hole roundness dimension.

[0121] Optionally, the data to be processed under the hole taper dimension include the upper bottom radius, lower bottom radius, hole depth information and the total number of holes of the holes to be detected, and the evaluation attribute determination module includes: an evaluation attribute determination unit under the hole taper dimension, which is used to determine the radius difference between the upper bottom radius and the lower bottom radius of each hole to be detected for the hole taper dimension, and determine the inverse tangent value of the radius difference relative to the hole depth information based on the radius difference and the hole depth information; determine the hole taper value of the hole to be detected based on the inverse tangent value; determine the hole taper mean based on the hole taper value of each hole to be detected and the total number of holes, and use the hole taper mean as the drilling quality evaluation attribute under the hole taper dimension.

[0122] Optionally, the data to be processed under the hole distribution uniformity dimension includes the hole spacing between holes to be detected, and the evaluation attribute determination module includes: an evaluation attribute determination unit under the hole distribution uniformity dimension, used to determine, for the hole distribution uniformity dimension, the hole spacing mean and the hole spacing standard deviation corresponding to the holes to be detected according to the hole spacing between at least one hole to be detected; and determine the drilling quality evaluation attribute under the hole distribution uniformity dimension according to the ratio between the hole spacing mean and the hole spacing standard deviation.

[0123] Optionally, a test result determination module is used to determine that the perforation quality test result of the cigarette to be tested is qualified if the perforation quality assessment attributes under each perforation assessment dimension satisfy the corresponding preset attribute assessment range; if there is at least one perforation quality assessment attribute under the perforation assessment dimension that does not satisfy the corresponding preset attribute assessment range, then the perforation quality test result is determined to be unqualified.

[0124] The cigarette perforation quality detection device provided in the embodiment of the present invention can execute the cigarette perforation quality detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0125] Embodiment 4

[0126] Figure 81 is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0127] like Figure 8 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0128] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0129] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a cigarette punching quality detection method.

[0130] In some embodiments, the cigarette punching quality detection method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the cigarette punching quality detection method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the cigarette punching quality detection method in any other appropriate manner (for example, by means of firmware).

[0131] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0132] The computer program for implementing the cigarette punching quality detection method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0133] Embodiment 5

[0134] Embodiment 5 of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute a cigarette punching quality detection method, the method comprising:

[0135] Obtain the data to be processed of at least one hole to be detected on the cigarette to be detected under at least one perforation evaluation dimension, wherein the at least one perforation evaluation dimension includes at least one of a perforation penetration dimension, a hole roundness dimension, a hole taper dimension, and a hole distribution uniformity dimension; for at least one perforation evaluation dimension, determine the perforation quality evaluation attribute under the current perforation evaluation dimension according to the data to be processed of each hole to be detected under the current perforation evaluation dimension and an evaluation function corresponding to the current perforation evaluation dimension; determine the perforation quality detection result corresponding to the cigarette to be detected according to the perforation quality evaluation attribute under at least one perforation evaluation dimension.

[0136] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0137] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0138] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0139] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0140] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0141] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for detecting cigarette perforation quality, characterized in that: include: Obtaining data to be processed of at least one hole to be detected on the cigarette to be detected under at least one hole-punching evaluation dimension, wherein the at least one hole-punching evaluation dimension includes at least one of a hole-punching penetration dimension, a hole-roundness dimension, a hole-taperness dimension, and a hole-distribution uniformity dimension; For the at least one perforation evaluation dimension, determining a perforation quality evaluation attribute under the current perforation evaluation dimension according to the to-be-processed data of each of the holes to be detected under the current perforation evaluation dimension and an evaluation function corresponding to the current perforation evaluation dimension; According to the perforation quality assessment attribute under the at least one perforation assessment dimension, the perforation quality detection result corresponding to the to-be-detected cigarette is determined.

2. The method according to claim 1, characterized in that The step of obtaining the data to be processed of at least one hole to be detected on the cigarette to be detected under at least one perforation evaluation dimension comprises: Acquire a plurality of to-be-processed images corresponding to the filter wrapper of the to-be-detected cigarette, wherein the filter wrapper is a wrapping paper that wraps the filter material of the to-be-detected cigarette, and the filter wrapper contains at least one hole to be detected, and the plurality of to-be-processed images at least include a surface image of the filter wrapper after unfolding, and a cross-sectional image of the filter wrapper in a perforation direction and perpendicular to the perforation direction; Performing image denoising processing, image contrast enhancement processing, and hole contour extraction processing on the image to be processed in sequence to obtain a hole image of the at least one hole to be detected; Based on the hole image of the at least one hole to be detected, the data to be processed of each hole to be detected under at least one perforation evaluation dimension is determined.

3. The method according to claim 1, characterized in that: The data to be processed under the perforation penetration dimension are the hole depth information of the cigarette to be detected, the thickness information of the filter outer wrapper, and the total number of holes. The perforation quality evaluation attribute under the current perforation evaluation dimension is determined according to the data to be processed under the current perforation evaluation dimension of each hole to be detected and the evaluation function corresponding to the current perforation evaluation dimension, including: For the perforation penetration dimension, determining the ratio of the hole depth information of each hole to be detected to the thickness information of the filter outer wrapping paper, and using the ratio as the hole penetration value of the hole to be detected; When the hole penetration value of the hole to be detected is equal to a preset value, the hole to be detected corresponding to the hole penetration value is regarded as a valid hole; A quantity ratio of the number of holes of the effective holes to the total number of holes is determined, and the quantity ratio is used as a perforation quality evaluation attribute under the perforation penetration dimension.

4. The method according to claim 1, characterized in that: The data to be processed under the hole roundness dimension are the circumscribed rectangle width information, circumscribed rectangle length information and the total number of holes of the holes to be detected. The determining of the perforation quality evaluation attribute under the current perforation evaluation dimension according to the data to be processed under the current perforation evaluation dimension of each hole to be detected and the evaluation function corresponding to the current perforation evaluation dimension includes: For the hole roundness dimension, determining the hole roundness value of each hole to be detected according to the ratio of the circumscribed rectangle width information of each hole to be detected to the circumscribed rectangle length information; According to the hole roundness value of each hole to be detected and the total number of holes, the hole roundness mean is determined, and the hole roundness mean is used as a punching quality evaluation attribute under the hole roundness dimension.

5. The method according to claim 1, characterized in that The data to be processed under the hole taper dimension include the hole upper bottom radius, hole lower bottom radius, hole depth information and the total number of holes of the holes to be detected. The determining of the drilling quality evaluation attribute under the current drilling evaluation dimension according to the data to be processed under the current drilling evaluation dimension of each hole to be detected and the evaluation function corresponding to the current drilling evaluation dimension includes: For the hole taper dimension, determine the radius difference between the hole upper bottom radius and the hole lower bottom radius of each hole to be detected, and determine the arc tangent value of the radius difference relative to the hole depth information based on the radius difference and the hole depth information; Determine the hole taper value of the hole to be detected according to the inverse tangent value; According to the hole taper value of each hole to be detected and the total number of holes, the hole taper mean is determined, and the hole taper mean is used as a drilling quality evaluation attribute under the hole taper dimension.

6. The method according to claim 1, characterized in that The data to be processed under the hole distribution uniformity dimension includes the hole spacing between the holes to be detected, and determining the perforation quality evaluation attribute under the current perforation evaluation dimension according to the data to be processed under the current perforation evaluation dimension of each hole to be detected and the evaluation function corresponding to the current perforation evaluation dimension, includes: For the hole distribution uniformity dimension, according to the hole spacing between at least one of the holes to be detected, determine the hole spacing mean and the hole spacing standard deviation corresponding to the holes to be detected; The punching quality evaluation attribute under the hole distribution uniformity dimension is determined according to the ratio of the hole spacing mean to the hole spacing standard deviation.

7. The method according to claim 1, characterized in that The step of determining the perforation quality detection result corresponding to the to-be-detected cigarette according to the perforation quality evaluation attribute under the at least one perforation evaluation dimension includes: If the perforation quality assessment attributes under each of the perforation assessment dimensions satisfy the corresponding preset attribute assessment range, then the perforation quality test result of the cigarette to be tested is determined to be qualified; If there is at least one punching quality assessment attribute under the punching assessment dimension that does not meet the corresponding preset attribute assessment range, the punching quality detection result is determined to be unqualified.

8. A cigarette punching quality detection device, characterized in that: include: A data acquisition module, used to acquire the data to be processed of at least one hole to be detected on the cigarette to be detected under at least one perforation evaluation dimension, wherein the at least one perforation evaluation dimension includes at least one of a perforation penetration dimension, a hole roundness dimension, a hole taper dimension, and a hole distribution uniformity dimension; An evaluation attribute determination module, configured to determine, for the at least one perforation evaluation dimension, a perforation quality evaluation attribute under the current perforation evaluation dimension according to the to-be-processed data of each of the holes to be detected under the current perforation evaluation dimension and an evaluation function corresponding to the current perforation evaluation dimension; The detection result determination module is used to determine the perforation quality detection result corresponding to the cigarette to be detected according to the perforation quality evaluation attribute under the at least one perforation evaluation dimension.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the cigarette perforation quality detection method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cigarette perforation quality detection method according to any one of claims 1 to 7 when executed.