Portable cigarette laser hole detection device and method

Through the portable cigarette support laser hole detection device, the high-precision micro servo motor and camera are used to detect the cigarette support filter laser hole, which solves the problem of large manual detection error in the prior art, and realizes efficient and accurate laser hole attribute detection.

CN118913094APending Publication Date: 2024-11-08CHINA TOBACCO GUANGXI IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410954933.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, the laser hole detection of cigarette post filter nozzles mainly relies on manual detection, with large errors, low accuracy, and lack of automated solutions.

Method used

A portable cigarette support laser hole detection device is designed, and the cigarette support is rotated by a high-precision micro servo motor, the camera takes the filter part, and image processing is performed through a high-performance MCU controller to identify information such as the number and position of the laser holes.

Benefits of technology

Automatic detection of the cigarette support laser hole is realized, which reduces labor intensity, improves detection accuracy and work efficiency, and ensures the accuracy of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118913094A_ABST
    Figure CN118913094A_ABST
Patent Text Reader

Abstract

The invention discloses a portable cigarette laser hole detection device and method, and relates to the technical field of cigarette appearance detection.The portable cigarette laser hole detection device comprises a detection device body arranged on a device main body, the detection device body comprises a clamping assembly and a detection assembly, the clamping assembly is used for stably clamping a cigarette to be detected, and the detection assembly is used for detecting the cigarette to be detected; the detection assembly is arranged on the device body and drives a to-be-detected cigarette to rotate at a constant speed, the detection end of the detection assembly is aligned with the to-be-detected cigarette filter and used for detecting the condition of a laser hole in the cigarette filter, the device body further comprises a master control part, and the whole cylindrical surface of the cigarette filter is completely shot through a controller in combination with internal (external) automatic detection equipment and principles in the current industry. The cigarette laser hole attribute detection device can accurately detect the cigarette filter tip and detect the laser hole in the filter tip, accurately obtains the condition of the laser hole in the cigarette filter tip and judges the state, improves the accuracy and working efficiency of cigarette laser hole attribute detection, and provides powerful support for detection of product quality and adjustment of cigarette equipment system parameters in the cigarette production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of cigarette appearance detection, and in particular to a portable cigarette laser hole detection device and method. Background Art

[0002] Cigarette filters are an important part of filtering out harmful substances in smoke. The outside of high-end cigarette filters has a series of ventilation holes punched by lasers. The number and position of these holes are key attributes that are important parameters for cigarette filters to filter out harmful substances. Since laser punching is fast, the number of holes is large, and multiple control systems are required to cooperate, there is a high probability of punching errors. Therefore, it is necessary to effectively detect the ventilation holes on cigarette filters. The existing methods are mainly manual detection, which has large errors and low accuracy. Summary of the invention

[0003] In view of the above shortcomings, the present invention provides a portable cigarette laser hole detection device and method, which can realize automatic detection of laser holes on the cigarette to be tested through the detection device, reduce labor intensity, improve work efficiency, and ensure the accuracy of the detection result. The device can completely photograph the entire cylindrical surface of the cigarette filter, especially can clearly photograph the laser holes on the cigarette filter, and accurately identify the number and position of the laser holes in the cigarette through the cigarette laser hole image acquisition and processing device, and give feedback. The specific technical solution is as follows:

[0004] A portable cigarette laser hole detection device comprises a device body, the device body comprises a mounting base and an outer cover, the outer cover is provided with an insertion opening at the top, the mounting base is arranged in the outer cover, the back side of the outer cover is open, and the opening is aligned with the mounting base, and further comprises:

[0005] The detection device comprises a clamping assembly and a detection assembly, wherein the clamping assembly and the detection assembly are both mounted on the mounting base, the detection assembly is located at one side of the clamping assembly, the cigarette to be tested is inserted into the clamping assembly from the insertion opening with the filter portion facing downward, and the detection end of the detection assembly is aligned with the filter portion of the cigarette to be tested;

[0006] A general control unit is installed on the outer cover. The general control unit is electrically connected to the clamping assembly and the detection assembly. The clamping assembly and the detection assembly are controlled by the general control unit.

[0007] Preferably, the clamping assembly includes a magnetic buckle, a cigarette rotating clamping bracket and a high-precision micro-servo motor, the cigarette rotating clamping bracket is installed on the mounting base, the high-precision micro-servo motor is installed at the bottom surface of the mounting base, and the output end of the high-precision micro-servo motor passes through the mounting base and the cigarette rotating clamping bracket, the magnetic buckle is rotatably mounted on the cigarette rotating clamping bracket, the fixed height of the magnetic buckle does not block the laser hole located on the cigarette to be tested, the magnetic buckle is arranged on the output end of the high-precision micro-servo motor, and the cigarette rotating clamping bracket is provided with a through opening, and the through opening, the magnetic buckle and the insertion opening are coaxially arranged.

[0008] Preferably, the detection component includes a camera mounting bracket, a camera, a connecting piece and an LED auxiliary backlight panel. The camera mounting bracket is provided with an adjustment slot, the adjustment slot is arranged vertically downward, the camera is mounted on the camera mounting bracket through the connecting piece, the camera can be slidably adjusted on the adjustment slot, the LED auxiliary backlight panel is mounted on the cigarette rotating clamping bracket, and the camera end of the camera is aligned with the filter portion of the cigarette to be tested.

[0009] Preferably, the front side of the LED auxiliary backlight panel is matte black.

[0010] Preferably, a transmission slot is provided on the LED auxiliary backlight plate, a strip LED light source is installed in the transmission slot, and parallel light emitted by the strip LED light source is directly irradiated to the filter portion of the cigarette to be tested through the transmission slot.

[0011] Preferably, the filter portion of the cigarette to be tested is aligned with the shooting center of the camera.

[0012] Preferably, the general control unit includes a high-performance MCU controller, a control panel, a motor drive module and a power module, the control panel is installed on the front side of the outer cover, the high-performance MCU controller is installed inside the outer cover, the high-performance MCU controller and the control panel, motor drive module, power module, high-precision micro-servo motor, camera and LED auxiliary backlight panel are electrically connected, and the high-performance MCU controller controls the high-precision micro-servo motor through the motor drive module.

[0013] A portable cigarette laser hole detection method, the method comprising the following steps:

[0014] S1: inserting the cigarette to be tested from the insertion opening with the filter portion facing downward, so that the end of the cigarette to be tested abuts against the inner bottom surface of the magnetic buckle;

[0015] S2: Start the power supply through the electric control switch, start the camera, and observe on the control panel whether the area with the laser hole falls into the camera area of ​​the camera when the filter of the cigarette to be tested faces the camera. If not, adjust the installation position of the camera, loosen the connecting piece, and manually adjust the installation position of the camera up and down so that the projection area with the laser hole falls completely into the camera area of ​​the camera, and tighten the connecting piece so that the camera is stably installed on the camera mounting bracket;

[0016] S3: After completing the debugging of S2, input the parameters of cigarette rotation speed and rotation angle on the control panel, select the type of cigarette to be detected, control the high-precision micro servo motor to start through the high-performance MCU controller, and control the camera to start working through the high-performance MCU controller;

[0017] S4: the high-precision micro servo motor drives the cigarette to be tested to rotate at a uniform speed, the camera shoots the laser hole at the filter tip of the cigarette to be tested, the camera acquires 8 first images at the filter tip of the cigarette to be tested at an interval of 1 / 8 of the rotation time, the camera transmits the acquired first images to a storage unit, and the storage unit is electrically connected to the high-performance MCU controller;

[0018] S5: The image processing module of the high-performance MCU controller performs grayscale processing on the first image to obtain a second image. Based on a multi-threshold combination method, matching threshold parameters corresponding to color features of different types of cigarettes are called from a parameter library. The second image is segmented to extract color features, and the background area of ​​the second image is removed to obtain a third image. Based on the Suzuki and Abe contour detection method, the third image is subjected to ROI area selection processing to obtain a laser hole ROI image to be spliced. Eight laser hole ROI images to be spliced ​​are spliced ​​to obtain a complete image to be processed. The simpleBlobDetector feature detector based on the local extremum watershed algorithm is used to preliminarily identify the laser holes on the complete image to be processed, and a complete image processed once is obtained. The complete image processed once is subjected to roundness filtering and area filtering processing to eliminate interference points. The high-performance MCU controller uses a multi-threshold combination method of computer vision to identify laser holes in the image, and calculates and analyzes target detection results. The target detection results and the images before and after processing are displayed on the control panel after digital-to-analog conversion.

[0019] S6: The cigarette to be tested that has completed the laser hole detection is taken out from the insertion port, and the process ends. The above detection steps are repeated for the next cigarette to be tested.

[0020] Preferably, the target detection result includes the number of laser holes, parameters related to the hole spacing, and parameters related to the hole end spacing;

[0021] The hole spacing related parameters include the minimum hole spacing, the maximum hole spacing, the mean hole spacing and the standard deviation of the hole spacing, wherein the hole spacing is the distance between any two adjacent laser holes;

[0022] The hole end distance related parameters include the minimum hole end distance, the maximum hole end distance, the mean hole end distance and the standard deviation of the hole end distance, wherein the hole end distance is the distance from any laser hole to the end of the filter tip of the cigarette to be tested.

[0023] Preferably, before calling the threshold parameters corresponding to the color features of different types of cigarettes from the parameter library based on the multi-threshold combination method in step S5, the following steps are also included:

[0024] The color features of different types of standard cigarette filter images are extracted using a multi-threshold combination method. When the extracted color features are the same as the target color features of a certain type of standard cigarette filter image, the matching threshold parameters of the type of standard cigarette are obtained. The above steps are repeated until the matching threshold parameters corresponding to the color features of all types of standard cigarette filter images are obtained.

[0025] Constructing the parameter library based on the obtained matching threshold parameters of all types of standard cigarette filter images and the judgment threshold parameters of each type of standard cigarette;

[0026] The judgment threshold parameters include a range of the number of laser holes, a range of hole spacing, a range of mean hole spacing, a range of standard deviation of hole spacing, a range of hole end distance, a range of mean hole end distance, and a range of standard deviation of hole end distance.

[0027] Compared with the prior art, the present invention has the following beneficial effects:

[0028] The present invention provides a portable cigarette laser hole detection device, which has a compact structure and is easy to carry. At the same time, the device is simple to operate, can drive the cigarette to be tested to rotate at a uniform speed through a high-precision micro servo motor, and use a camera to shoot the entire filter part of the cigarette to be tested. Through a high-performance MCU controller, the detection situation of the filter part of the cigarette to be tested is analyzed and processed, and the laser holes of the cigarettes are accurately identified, thereby improving the accuracy and work efficiency of the detection of the properties of the cigarette laser holes. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0030] Figure 1 It is a schematic diagram of the main structure of the device of the present invention;

[0031] Figure 2 It is a schematic diagram of the structure of the detection device in the present invention;

[0032] Figure 3 It is a diagram of the hardware control system in the present invention;

[0033] Figure 4 is an image processing flow chart of the present invention;

[0034] Figure 5 It is the test result data diagram in the present invention.

[0035] 100-device body, 110-installation base, 120-outer cover, 121-insertion port, 200-detection device, 210-clamping assembly, 211-magnetic buckle, 212-cigarette rotating clamping bracket, 213-high-precision micro servo motor, 220-detection assembly, 221-camera mounting bracket, 222-camera, 223-connector, 224-LED auxiliary backlight panel, 300-main control unit, 310-high-performance MCU controller, 320-control panel, 330-power module, 400-cigarette to be tested. DETAILED DESCRIPTION

[0036] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they cannot be understood as limitations on the present invention.

[0038] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood to exclude the number itself, and "above", "below", "within" etc. are understood to include the number itself. If the terms "first", "second", "third" are described, they are only used for the purpose of description and distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0039] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0040] Example

[0041] like Figures 1 to 5 As shown, the present invention provides a portable cigarette laser hole detection device, including a device body 100, the device body 100 includes a mounting base 110 and an outer cover 120, the outer cover 120 is provided with an insertion opening 121 at the top, the diameter of the insertion opening 121 is slightly larger than the diameter of the filter end of the cigarette 400 to be tested, the mounting base 110 is arranged in the outer cover 120, the back side of the outer cover 120 is open, and the opening is aligned with the mounting base 110, the side opening is provided for the convenience of subsequent device adjustment operations, and the outer cover 120 is provided with a detection device 200 and a main control unit 300, which are specifically as follows:

[0042] The detection device 200 includes a clamping assembly 210 and a detection assembly 220, both of which are mounted on the mounting base 110, and the detection assembly 220 is located at one side of the clamping assembly 210. The cigarette 400 to be tested is inserted into the clamping assembly 210 from the insertion opening 121 with the filter portion facing downward, and the detection end of the detection assembly 220 is aligned with the filter portion of the cigarette 400 to be tested, and the detection assembly 220 is used to detect the laser hole at the filter portion of the cigarette 400 to be tested;

[0043] The main control unit 300 is installed on the outer cover 120 . The main control unit 300 is electrically connected to the clamping assembly 210 and the detection assembly 220 . The clamping assembly 210 and the detection assembly 220 are controlled by the main control unit 300 .

[0044] Preferably, the clamping assembly 210 includes a magnetic buckle 211, a cigarette rotating clamping bracket 212 and a high-precision micro-servo motor 213, the cigarette rotating clamping bracket 212 is installed on the mounting base 110, the high-precision micro-servo motor 213 is installed on the bottom surface of the mounting base 110, and the output end of the high-precision micro-servo motor 213 passes through the mounting base 110 and the cigarette rotating clamping bracket 212, the magnetic buckle 211 is rotatably mounted on the cigarette rotating clamping bracket 212, and since the object of detection is the laser hole at the filter part of the cigarette 400 to be tested, the fixed height of the magnetic buckle 211 does not block the laser hole located on the cigarette 400 to be tested, ensuring that the laser hole can be fully exposed to facilitate the detection of the detection assembly 220, and the magnetic buckle 211 is set at the high On the output end of the high-precision micro-servo motor 213, further, the magnetic buckle 211 is composed of two halves of matching fasteners, one half is a fixed buckle, which is installed on the output end of the high-precision micro-motor 213 and can operate synchronously with the high-precision micro-servo motor 213; the other half of the fastener is adsorbed on the fixed buckle by magnetic force, and the combination of the two can stably clamp the cigarette 400 to be tested and install it on the clamping assembly 210, so that the high-precision micro-servo motor 213 can drive the cigarette 400 to be tested to rotate 360°, and ensure that the cigarette 400 to be tested does not tip over during the rotation process, and the cigarette rotating clamping bracket 212 is provided with a through opening, and the through opening, the magnetic buckle 211 and the insertion port 121 are coaxially arranged, and the coaxial arrangement prevents the inserted cigarette 400 to be tested from being displaced or tilted, resulting in inaccurate detection data.

[0045] Preferably, the detection component 220 includes a camera mounting bracket 221, a camera 222, a connecting piece 223 and an LED auxiliary backlight panel 224. An adjustment slot is arranged on the camera mounting bracket 221. The adjustment slot is arranged vertically downward to facilitate the up and down adjustment of the camera 222. The camera 222 is installed on the camera mounting bracket 221 through the connecting piece 223. The connecting piece 223 can be a combination of a bolt and a nut. The camera 222 can be slidably adjusted on the adjustment slot to select a suitable shooting position. The LED auxiliary backlight panel 224 is installed on the cigarette rotating clamping bracket 212. The camera end of the camera 222 is aligned with the filter part of the cigarette 400 to be tested.

[0046] In some preferred embodiments, the front side of the LED auxiliary backlight plate 224 is matte black, which forms a contrast difference with the filter tip through the transmitted light during the shooting process, improves the imaging effect, and facilitates the later visual processing. The LED auxiliary backlight plate 224 is provided with a transmission slot, in which a strip LED light source is installed. The parallel light emitted by the strip LED light source passes through the transmission slot and directly hits the filter tip of the cigarette 400 to be tested. The width of the light transmission slot is 3mm, which can ensure that sufficient light is transmitted and directly hits the filter tip of the cigarette, and is blocked by the filter tip, and will not directly hit the lens of the camera 222. The strip LED light source can adjust multiple levels of brightness. During the detection process, the filter tip of the cigarette 400 to be tested is aligned with the shooting center of the camera 222, so that the laser hole on the filter tip of the cigarette 400 to be tested can be fully covered by the camera range of the camera 222.

[0047] Preferably, the general control unit 300 includes a high-performance MCU controller 310, a control panel 320, a motor drive module and a power module 330, the control panel 320 is installed on the front of the outer cover 120, and the high-performance MCU controller 310 is installed in the outer cover 120, the high-performance MCU controller 310 and the control panel 320, the motor drive module, the power module 330, the high-precision micro servo motor 213, the camera 222 and the LED auxiliary backlight panel 224 are electrically connected, and the high-performance MCU controller 310 controls the high-precision micro servo motor 213 through the motor drive module.

[0048] The power module 330 provides power support for the entire system. The power supply can last up to 4 hours when turned on, ensuring that the device can work for a long time. After using the power supply, the device can also be charged to replenish the power. The high-performance MCU controller 310 has serial port communications such as USART, USAT, RS485, etc., to achieve communication with the PC and expansion devices.

[0049] A portable cigarette laser hole detection method, the method comprising the following steps:

[0050] S1: insert the cigarette 400 to be tested from the insertion opening 121 with the filter portion facing downward, so that the end of the cigarette 400 to be tested abuts against the inner bottom surface of the magnetic buckle 211;

[0051] S2: Start the power supply through the electric control switch, start the camera 222, and observe on the control panel 320 whether the area with the laser hole falls into the camera area of ​​the camera 222 when the filter of the cigarette 400 to be tested faces the camera 222. If not, adjust the installation position of the camera 222, loosen the connecting piece 223, and manually adjust the installation position of the camera 222 up and down so that the projection area with the laser hole falls completely into the camera area of ​​the camera 222. Tighten the connecting piece 223 to stably install the camera 222 on the camera mounting bracket 221;

[0052] S3: After completing the debugging of S2, input the parameters of cigarette rotation speed and rotation angle on the control panel 320, select the type of cigarette to be detected, control the high-precision micro servo motor 213 to start through the high-performance MCU controller 310, and control the camera 222 to start working through the high-performance MCU controller 310;

[0053] S4: The high-precision micro servo motor 213 drives the cigarette 400 to rotate at a constant speed, and the camera 222 photographs the laser hole at the filter of the cigarette 400 to be tested. The camera 222 obtains 8 first images at the filter of the cigarette 400 to be tested at an interval of 1 / 8 of the rotation time. The camera 222 transmits the obtained first images to a storage unit, and the storage unit is electrically connected to the high-performance MCU controller 310;

[0054] S5: The image processing module of the high-performance MCU controller 310 performs grayscale processing on the first image to obtain a second image. Based on a multi-threshold combination method, matching threshold parameters corresponding to color features of different types of cigarettes are called from a parameter library. The second image is segmented to extract color features, and the background area of ​​the second image is removed to obtain a third image. Based on the Suzuki and Abe contour detection method, the third image is subjected to ROI area selection processing to obtain a laser hole ROI image to be spliced. Eight laser hole ROI images to be spliced ​​are spliced ​​to obtain a complete image to be processed. The simpleBlobDetector feature detector based on the local extremum watershed algorithm is used to preliminarily identify the laser holes on the complete image to be processed, and a complete image processed once is obtained. The complete image processed once is subjected to roundness filtering and area filtering processing to eliminate interference points. The high-performance MCU controller 310 uses a multi-threshold combination method of computer vision to identify laser holes in the image, and calculates and analyzes target detection results. The target detection results and the images before and after processing are displayed on the control panel 320 after digital-to-analog conversion.

[0055] S6: The cigarette 400 to be tested that has completed the laser hole detection is taken out from the insertion port 121, and the process ends. The above detection steps are repeated for the next cigarette 400 to be tested.

[0056] In some preferred embodiments, the target detection results include the number of laser holes, hole spacing related parameters and hole end distance related parameters; the hole spacing related parameters include the minimum hole spacing, the maximum hole spacing, the mean hole spacing and the standard deviation of the hole spacing, wherein the hole spacing is the distance between any two adjacent laser holes; the hole end distance related parameters include the minimum hole end distance, the maximum hole end distance, the mean hole end distance and the standard deviation of the hole end distance, wherein the hole end distance is the distance from any laser hole to the filter end of the cigarette 400 to be tested.

[0057] In some preferred embodiments, before calling the threshold parameters corresponding to the color features of different types of cigarettes from the parameter library based on the multi-threshold combination method in step S5, the following steps are also included:

[0058] The color features of different types of standard cigarette filter images are extracted using a multi-threshold combination method. When the extracted color features are the same as the target color features of a certain type of standard cigarette filter image, the matching threshold parameters of the type of standard cigarette are obtained. The above steps are repeated until the matching threshold parameters corresponding to the color features of all types of standard cigarette filter images are obtained.

[0059] The parameter library is constructed based on the matching threshold parameters of all types of standard cigarette filter images obtained and the judgment threshold parameters of each type of standard cigarette; wherein the judgment threshold parameters include the range of laser hole quantity, the range of hole spacing, the range of hole spacing mean, the range of hole spacing standard deviation, the range of hole end distance, the range of hole end distance mean and the range of hole end distance standard deviation.

[0060] The high-performance MCU controller is used to analyze and process the detection conditions at the filter tip of the cigarette to be tested, accurately identifying the laser holes in the cigarettes, thereby improving the accuracy and work efficiency of the detection of the laser holes in the cigarettes.

[0061] In summary, the present invention provides a portable cigarette laser hole detection device, which combines the current internal (external) automated detection equipment and principles in the industry, and uses a controller to completely photograph the entire cylindrical surface of the cigarette filter and detect the laser holes on the filter. The portable cigarette laser hole detection device is easy to carry, and can accurately obtain the situation of the laser holes on the cigarette filter and determine the status, thereby improving the accuracy and work efficiency of cigarette laser hole attribute detection, and providing strong support for product quality detection in the cigarette production process and adjustment of cigarette equipment system parameters.

[0062] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A portable cigarette laser hole detection device, comprising a device body (100), the device body (100) comprising a mounting base (110) and an outer cover (120), the outer cover (120) having an insertion opening (121) disposed at the top, the mounting base (110) disposed in the outer cover (120), the outer cover (120) having an opening at the back side, and the opening being aligned with the mounting base (110), It is characterized in that Also includes: A detection device (200) comprises a clamping assembly (210) and a detection assembly (220), wherein the clamping assembly (210) and the detection assembly (220) are both mounted on the mounting base (110), the detection assembly (220) is located on one side of the clamping assembly (210), the cigarette to be tested (400) is inserted into the clamping assembly (210) from the insertion opening (121) with the filter portion facing downward, and the detection end of the detection assembly (220) is aligned with the filter portion of the cigarette to be tested (400); a main control unit (300) is mounted on the outer cover (120), the main control unit (300) is electrically connected to the clamping assembly (210) and the detection assembly (220), and the clamping assembly (210) and the detection assembly (220) are controlled by the main control unit (300).

2. A portable cigarette laser hole detection device according to claim 1, It is characterized in that The clamping assembly (210) comprises a magnetic buckle (211), a cigarette rotating clamping bracket (212) and a high-precision micro servo motor (213); the cigarette rotating clamping bracket (212) is mounted on the mounting base (110); the high-precision micro servo motor (213) is mounted on the bottom surface of the mounting base (110); and the output end of the high-precision micro servo motor (213) passes through the mounting base (110) and the cigarette rotating clamping bracket (212); the magnetic buckle (211) is rotatably mounted on the cigarette rotating clamping bracket (212); the fixed height of the magnetic buckle (211) does not block the laser hole located on the cigarette to be tested (400); the magnetic buckle (211) is arranged on the output end of the high-precision micro servo motor (213); a through opening is provided on the cigarette rotating clamping bracket (212); the through opening, the magnetic buckle (211) and the insertion opening (121) are coaxially arranged.

3. A portable cigarette laser hole detection device according to claim 2, It is characterized in that The detection component (220) includes a camera mounting bracket (221), a camera (222), a connecting piece (223) and an LED auxiliary backlight panel (224). An adjustment slot is provided on the camera mounting bracket (221), and the adjustment slot is provided vertically downward. The camera (222) is mounted on the camera mounting bracket (221) through the connecting piece (223). The camera (222) can be slidably adjusted on the adjustment slot. The LED auxiliary backlight panel (224) is mounted on the cigarette rotating clamping bracket (212), and the camera end of the camera (222) is aligned with the filter portion of the cigarette to be tested (400).

4. A portable cigarette laser hole detection device according to claim 3, It is characterized in that The front side of the LED auxiliary backlight panel (224) is matte black.

5. A portable cigarette laser hole detection device according to claim 3, It is characterized in that The LED auxiliary backlight plate (224) is provided with a transmission slot, in which a strip-shaped LED light source is installed, and parallel light emitted by the strip-shaped LED light source is directly irradiated to the filter portion of the cigarette (400) to be tested through the transmission slot.

6. A portable cigarette laser hole detection device according to claim 3, It is characterized in that The filter portion of the cigarette (400) to be tested is aligned with the shooting center of the camera (222).

7. A portable cigarette laser hole detection device according to claim 3, It is characterized in that The general control unit (300) comprises a high-performance MCU controller (310), a control panel (320), a motor drive module and a power module (330); the control panel (320) is mounted on the front of the outer cover (120); the high-performance MCU controller (310) is mounted inside the outer cover (120); the high-performance MCU controller (310) and the control panel (320), the motor drive module, the power module (330), the high-precision micro servo motor (213), the camera (222) and the LED auxiliary backlight panel (224) are electrically connected; the high-performance MCU controller (310) controls the high-precision micro servo motor (213) through the motor drive module.

8. A portable cigarette laser hole detection method, It is characterized in that Using the portable cigarette laser hole detection device according to any one of claims 1 to 7, the method comprises the following steps: S1: inserting the cigarette to be tested (400) from the insertion opening (121) with the filter portion facing downward, so that the end of the cigarette to be tested (400) abuts against the inner bottom surface of the magnetic buckle (211); S2: Start the power supply through the electric control switch, start the camera (222), and observe on the control panel (320) whether the area with the laser hole falls into the camera area of ​​the camera (222) when the filter of the cigarette (400) to be tested is facing the camera (222). If not, adjust the installation position of the camera (222), loosen the connecting piece (223), and manually adjust the installation position of the camera (222) up and down so that the projection area with the laser hole falls completely into the camera area of ​​the camera (222), and tighten the connecting piece (223) so that the camera (222) is stably installed on the camera mounting bracket (221); S3: After completing the debugging of S2, inputting the parameters of cigarette rotation speed and rotation angle on the control panel (320), selecting the type of cigarette to be detected, controlling the high-precision micro servo motor (213) to start through the high-performance MCU controller (310), and controlling the camera (222) to start working through the high-performance MCU controller (310); S4: the high-precision micro servo motor (213) drives the cigarette to be tested (400) to rotate at a constant speed, the camera (222) photographs the laser hole at the filter tip of the cigarette to be tested (400), the camera (222) acquires 8 first images at the filter tip of the cigarette to be tested (400) at intervals of 1 / 8 of the rotation time, the camera (222) transmits the acquired first images to a storage unit, and the storage unit is electrically connected to the high-performance MCU controller (310); S5: the image processing module of the high-performance MCU controller (310) performs grayscale processing on the first image to obtain a second image, based on a multi-threshold combination method, calls matching threshold parameters corresponding to color features of different types of cigarettes from a parameter library, performs image segmentation processing on the second image, extracts color features, removes the background area of ​​the second image, obtains a third image, performs ROI area selection processing on the third image based on the Suzuki and Abe contour detection method, obtains a laser hole ROI image to be spliced, splices eight laser hole ROI images to be spliced, obtains a complete image to be processed, uses a simpleBlobDetector feature detector based on a local extremum watershed algorithm, preliminarily identifies the laser holes on the complete image to be processed, obtains a complete image that has been processed once, performs roundness filtering and area filtering on the complete image that has been processed once to eliminate interference points, and the high-performance MCU controller (310) uses a multi-threshold combination method of computer vision to identify laser holes in the image, calculates and analyzes target detection results, and displays the target detection results and the images before and after processing on the control panel (320) after digital-to-analog conversion; S6: The cigarette to be tested (400) that has completed the laser hole detection is taken out from the insertion port (121), and the process ends. The above detection steps are repeated for the next cigarette to be tested (400).

9. A portable cigarette laser hole detection method according to claim 8, It is characterized in that The target detection result includes the number of laser holes, parameters related to hole spacing, and parameters related to hole end spacing; The hole spacing related parameters include the minimum hole spacing, the maximum hole spacing, the mean hole spacing and the standard deviation of the hole spacing, wherein the hole spacing is the distance between any two adjacent laser holes; The hole end distance related parameters include the minimum value of the hole end distance, the maximum value of the hole end distance, the mean value of the hole end distance and the standard deviation of the hole end distance, wherein the hole end distance is the distance from any laser hole to the filter end of the cigarette (400) to be tested.

10. A portable cigarette laser hole detection method according to claim 8, It is characterized in that Before calling the threshold parameters corresponding to the color features of different types of cigarettes from the parameter library based on the multi-threshold combination method in step S5, the following steps are also included: The color features of different types of standard cigarette filter images are extracted using a multi-threshold combination method. When the extracted color features are the same as the target color features of a certain type of standard cigarette filter image, the matching threshold parameters of the type of standard cigarette are obtained. The above steps are repeated until the matching threshold parameters corresponding to the color features of all types of standard cigarette filter images are obtained. Constructing the parameter library based on the obtained matching threshold parameters of all types of standard cigarette filter images and the judgment threshold parameters of each type of standard cigarette; The judgment threshold parameters include a range of the number of laser holes, a range of hole spacing, a range of mean hole spacing, a range of standard deviation of hole spacing, a range of hole end distance, a range of mean hole end distance, and a range of standard deviation of hole end distance.