Cigarette bead blasting position detection method and device

By irradiating cigarettes with different light intensities and performing image processing, the problem of low detection accuracy and efficiency of naked eye detection is solved, automatic detection of the position of cigarette burst beads is realized, and the accuracy and efficiency of detection are improved.

CN118602935APending Publication Date: 2024-09-06CHINA TOBACCO HENAN IND CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410536685.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing technology relies on the naked eye to detect the position of the exploded beads, which results in unstable detection accuracy, low efficiency and visual fatigue. It cannot effectively solve the accuracy and efficiency problems of detecting the position of the exploded beads in cigarettes.

Method used

The cigarette is irradiated with different light intensities, two images are collected and subtracted, the difference in pixel gray value is calculated, and a third image is formed to determine the position of the exploded beads. The image processing module is used to automatically calculate the position of the exploded beads to avoid the insufficiency of naked eye detection.

Benefits of technology

It improves the accuracy and efficiency of detecting the position of cigarette burst beads, reduces the visual fatigue of the examiner, realizes an automated detection process, and enhances the reliability and speed of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118602935A
    Figure CN118602935A
Patent Text Reader

Abstract

The invention discloses a method and a device for detecting a bead blasting position of a cigarette. The detection method comprises the following steps: receiving a first image from a camera; after a preset time, receiving a second image from the camera; obtaining the bead blasting position of the cigarette according to the first image and the second image; wherein the first image and the second image are image acquisition performed on the same cigarette twice, and the intensities of light irradiated on the cigarette are different when the first image and the second image are obtained. Different images are obtained by irradiating the cigarette with different light intensities, and the bead blasting position is obtained based on different images, so that the adverse effect on the detection precision and the detection efficiency caused by detecting the bead blasting position by naked eyes is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of cigarette detection, and more specifically, to a method and device for detecting the bursting position of a cigarette. Background Art

[0002] As a new filter rod material, the filter rod with the added popping beads provides a good solution to form a unique smoking taste and style of cigarettes. After the popping beads are crushed during smoking, the liquid inside the beads can make the cigarette more fragrant during the smoking process, strengthen the aroma or characteristics, and give smokers a more comfortable experience.

[0003] The existing technology uses the naked eye to detect whether the position of the bursting beads is qualified. This method relies heavily on the experience of the inspector, and long-term work will cause visual fatigue to the inspector. The detection accuracy fluctuates greatly, and the efficiency of naked eye detection is low. Summary of the invention

[0004] The present application provides a method and device for detecting the bursting bead position of a cigarette, which obtains different images by irradiating the cigarette with different light intensities, and obtains the bursting bead position based on the different images, thereby avoiding the adverse effects of detecting the bursting bead position by naked eye on the detection accuracy and efficiency.

[0005] The present application provides a method for detecting the bursting position of a cigarette, comprising:

[0006] receiving a first image from a camera;

[0007] After a preset time, receiving a second image from the camera;

[0008] Obtaining a bursting bead position of the cigarette according to the first image and the second image;

[0009] The first image and the second image are two image acquisitions of the same cigarette, and the light intensity irradiated on the cigarette is different when the first image and the second image are obtained.

[0010] Preferably, obtaining the bursting bead position of the cigarette according to the first image and the second image specifically includes:

[0011] Performing a subtraction operation on the first image and the second image to obtain a third image;

[0012] The position of the bursting bead is obtained according to the third image.

[0013] Preferably, performing a subtraction operation on the first image and the second image to obtain the third image specifically includes:

[0014] Calculate the grayscale value of each pixel on the first image and the second image respectively;

[0015] Calculate the difference in grayscale values ​​of pixels at corresponding positions on the first image and the second image;

[0016] The difference values ​​of all pixels are combined to form a third image.

[0017] Preferably, obtaining the bursting bead position according to the third image specifically includes:

[0018] Obtaining an area with the largest gray value on the third image as the bead bursting area;

[0019] Calculate the pixel position of the center point of the bursting bead area as the center position of the bursting bead;

[0020] Obtaining a pixel position of an end surface of the cigarette according to the first image or the second image;

[0021] Calculate the distance between the center of the circle and the end face as the bursting bead position.

[0022] Preferably, the information of the cigarette detected by the in-position sensor is used to start the light of the first light intensity to illuminate the first side of the cigarette, and the first image is captured on the second side of the cigarette, wherein the first side is opposite to the second side;

[0023] and using the information that the timing reaches the preset time, starting the light of the second light intensity to illuminate the first side of the cigarette, and taking a second image on the second side of the cigarette;

[0024] The first light intensity is different from the second light intensity.

[0025] The present application provides a cigarette popping bead position detection device, comprising a first receiving module, a second receiving module and an image processing module;

[0026] The first receiving module is used to receive a first image from a camera;

[0027] The second receiving module is used to receive a second image from the camera after a preset time;

[0028] The image processing module is used to obtain the bursting bead position of the cigarette according to the first image and the second image;

[0029] The first image and the second image are two image acquisitions of the same cigarette, and the light intensity irradiated on the cigarette is different when the first image and the second image are obtained.

[0030] Preferably, the image processing module includes a third image acquisition module and a burst bead position acquisition module;

[0031] The third image acquisition module is used to perform a subtraction operation on the first image and the second image to obtain a third image;

[0032] The bursting bead position obtaining module is used to obtain the bursting bead position according to the third image.

[0033] Preferably, the third image acquisition module includes a gray value calculation module, a difference calculation module and a combination module;

[0034] The gray value calculation module is used to calculate the gray value of each pixel on the first image and the second image respectively;

[0035] The difference calculation module is used to calculate the difference in grayscale values ​​of pixels at corresponding positions on the first image and the second image;

[0036] The combination module is used to combine the differences of all pixels to form a third image.

[0037] Preferably, the bursting bead position obtaining module includes a bursting bead area determining module, a circle center position calculating module, an end surface position obtaining module and a distance calculating module;

[0038] The bead bursting region determination module is used to obtain a region with the largest gray value on the third image as the bead bursting region;

[0039] The circle center position calculation module is used to calculate the center pixel position of the bursting bead area as the circle center position of the bursting bead;

[0040] The end surface position obtaining module is used to obtain the pixel position of the end surface of the cigarette according to the first image or the second image;

[0041] The distance calculation module is used to calculate the distance between the center position and the end face as the bursting bead position.

[0042] Preferably, the first receiving module is used to use the information of the cigarette detected by the in-position sensor to start the light of the first light intensity to illuminate the first side of the cigarette, and to take a first image on the second side of the cigarette, wherein the first side is opposite to the second side;

[0043] The second receiving module is used to start the light of the second light intensity to illuminate the first side of the cigarette by using the information that the timing reaches the preset time, and to take a second image on the second side of the cigarette;

[0044] The first light intensity is different from the second light intensity.

[0045] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.

[0047] Figure 1 A flow chart of a method for detecting the position of a cigarette popping bead provided in this application;

[0048] Figure 2 A three-dimensional structural diagram of the first perspective of the cigarette popping bead position detection mechanism provided in the present application;

[0049] Figure 3 A three-dimensional structural diagram of the second viewing angle of the cigarette popping bead position detection mechanism provided in the present application;

[0050] Figure 4 A structural diagram of a cigarette bursting bead position detection device provided in the present application;

[0051] Figure 5 A structural diagram of the third image acquisition module provided in this application;

[0052] Figure 6 This is a structural diagram of the module for obtaining the position of the bursting beads provided in this application. DETAILED DESCRIPTION

[0053] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0054] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.

[0055] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0056] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0057] The present application provides a method and device for detecting the bursting bead position of a cigarette, which obtains different images by irradiating the cigarette with different light intensities, and obtains the bursting bead position based on the different images, thereby avoiding the adverse effects of detecting the bursting bead position by naked eye on the detection accuracy and efficiency.

[0058] like Figure 1 As shown, the method for detecting the position of the popping bead of a cigarette provided by the present application is based on a processor (see the following description), and includes:

[0059] S110: Receive a first image from a camera.

[0060] S120: After a preset time, receiving a second image from the camera.

[0061] S130: Obtaining the bursting bead position of the cigarette according to the first image and the second image.

[0062] The first image and the second image are two image acquisitions of the same cigarette, and the light intensity irradiated on the cigarette is different when the first image and the second image are obtained.

[0063] The popping bead position detection mechanism provided in the present application includes a transparent cigarette detection platform, a planar light strip attached to the outer side of the bottom surface of the cigarette detection platform, a camera arranged above the cigarette detection platform, a processor and a control panel. A controller is provided in the control panel for controlling the planar light strip and the camera, a timer is provided in the control panel, and the control panel has a display screen. When the cigarette is located on the cigarette detection platform below the camera, the planar light strip and the camera are started by controlling the control panel, the planar light strip emits light of a first light intensity, and the camera captures a first image at the same time. When the timer reaches the preset time, the control panel controls the planar light strip to emit light of a second light intensity, and controls the camera to capture a second image at the same time. The processor is connected to the control panel and the camera signals respectively, processes the first image and the second image transmitted by the camera, and displays the popping bead position through the display screen of the control panel after obtaining it.

[0064] Figure 2 and 3 A preferred embodiment of a cigarette bursting bead position detection mechanism is shown. Figure 2 and 3 As shown, the cigarette detection platform 210 is inclined, and the cigarette rolls from top to bottom, and the detection is performed during the rolling process. The outer side of the bottom surface of the cigarette detection platform 210 is attached to the planar light strip 220. A position sensor is provided on the side of the upper end of the cigarette detection platform 210, and the camera 230 is arranged downstream of the position sensor, and the shooting light of the camera is perpendicular to the cigarette detection platform 210, covering the entire cigarette detection platform 210. A camera fixing bracket 240 is arranged on the side of the cigarette detection platform 210, and a control panel 250 is arranged on the top surface of the camera fixing bracket. The processor 260 is arranged in the triangular bracket supporting the cigarette detection platform 210.

[0065] Preferably, a cigarette outlet 270 is provided at the upper end of the cigarette detection platform 210, and a cigarette outlet switch at the cigarette outlet 270 is signal-connected to the control panel 250. A material outlet bin 280 having the same inclination as the cigarette detection platform is provided at the outer side of the upper end of the cigarette detection platform 210, and a material outlet facing the cigarette outlet is provided at the lower end of the material outlet bin 280.

[0066] As an embodiment, the position sensor is a fiber optic sensor.

[0067] As an embodiment, the camera 230 is a CCD camera.

[0068] In this preferred embodiment, the control panel 250 controls the start and stop of the in-position sensor, the camera 230, the planar light strip 220, and the cigarette discharge switch. The control panel 250 first starts the cigarette discharge switch, so that the cigarettes in the discharge bin 280 are rolled down after reaching the cigarette detection platform 210 through the discharge port and the cigarette discharge port 270. When the in-position sensor detects the cigarette, the in-position signal is transmitted to the control panel 250, and the control panel 250 controls the planar light strip 220 to emit light of a first light intensity (for example, weaker light) to illuminate the lower side of the cigarette (recorded as the first side), and controls the camera 230 to shoot the upper side of the cigarette (recorded as the second side) to obtain the first image. The timer in the control panel 250 starts counting from the time when the in-position sensor sends the in-position signal. After the preset time, the control panel 250 controls the planar light strip 220 to emit light of a second light intensity (for example, stronger light) to illuminate the cigarette, and controls the camera 230 to shoot the cigarette to obtain the second image. The camera 230 transmits both the first image and the second image to the processor 260 for processing, and the processor 260 transmits the obtained bead bursting position result to the control panel 250 for display.

[0069] In the above-mentioned bursting bead position detection mechanism, the bursting bead position of the cigarette has a weaker ability to project light than other parts of the cigarette, so the bursting bead position in the image will leave an obvious shadow (for example, the gray value is the largest).

[0070] As an embodiment, in S130, obtaining the bursting bead position of the cigarette according to the first image and the second image specifically includes:

[0071] S1301: Perform a subtraction operation on the first image and the second image to obtain a third image.

[0072] As an embodiment, performing a subtraction operation on the first image and the second image to obtain the third image specifically includes:

[0073] P1: Calculate the grayscale value of each pixel on the first image and the second image respectively.

[0074] As an embodiment, since the camera uses a camera with a resolution of 0.4 mm×0.4 mm, the image grayscale value is expressed as follows:

[0075] The gray value of a point in the first image is B 1ij Indicates that the gray value of a point in the second image is B 2ij In the formula,

[0076] i is the horizontal coordinate, which is 1, 2, 3, 4, etc.;

[0077] j is the vertical coordinate, which is 1, 2, 3, 4, etc.;

[0078] Its actual dimensions are: the horizontal axis is (0.4*i) mm, and the vertical axis is (0.4*j) mm.

[0079] P2: Calculate the difference in grayscale values ​​between pixels at corresponding positions on the first image and the second image.

[0080] In actual testing, trademarks and printed lines on the surface of cigarettes will have a certain impact on the test results. Based on this, the grayscale value of the image obtained by irradiating with stronger light is subtracted from the grayscale value of the image obtained by irradiating with weaker light, thereby eliminating the above error.

[0081] P3: Combine the differences of all pixels to form a third image.

[0082] S1302: Obtain the position of the bursting bead according to the third image.

[0083] As an embodiment, obtaining the position of the bursting bead according to the third image specifically includes:

[0084] Q1: Get the area with the largest gray value on the third image as the bead bursting area.

[0085] Q2: Calculate the pixel position of the center point of the bursting bead area as the center position of the bursting bead.

[0086] Q3: Obtain the pixel position of the end surface of the cigarette according to the first image or the second image.

[0087] Q4: Calculate the distance between the center of the circle and the end face as the bead bursting position.

[0088] Based on the above, the present application also provides a device for detecting the position of a cigarette popping bead. Figure 4 As shown, the bursting bead position detection device includes a first receiving module 410 , a second receiving module 420 and an image processing module 430 .

[0089] The first receiving module 410 is used to receive a first image from a camera.

[0090] The second receiving module 420 is used to receive a second image from the camera after a preset time.

[0091] The image processing module 430 is used to obtain the bursting position of the cigarette according to the first image and the second image.

[0092] The first image and the second image are two image acquisitions of the same cigarette, and the light intensity irradiated on the cigarette is different when the first image and the second image are obtained.

[0093] Preferably, the image processing module 430 includes a third image obtaining module 4301 and a bursting bead position obtaining module 4302 .

[0094] The third image obtaining module 4301 is used to perform a subtraction operation on the first image and the second image to obtain a third image.

[0095] The bursting bead position obtaining module 4302 is used to obtain the bursting bead position according to the third image.

[0096] Preferably, if Figure 5 As shown, the third image acquisition module 4301 includes a gray value calculation module 43011, a difference calculation module 43012 and a combination module 43013.

[0097] The grayscale value calculation module 43011 is used to calculate the grayscale value of each pixel on the first image and the second image respectively.

[0098] The difference calculation module 43012 is used to calculate the difference in grayscale values ​​of pixels at corresponding positions on the first image and the second image.

[0099] The combination module 43013 is used to combine the differences of all pixels to form a third image.

[0100] Preferably, if Figure 6 As shown, the bursting bead position obtaining module 4302 includes a bursting bead area determining module 43021, a circle center position calculating module 43022, an end surface position obtaining module 43023 and a distance calculating module 43024.

[0101] The bursting bead area determination module 43021 is used to obtain an area with the largest grayscale value on the third image as the bursting bead area.

[0102] The center position calculation module 43022 is used to calculate the center point pixel position of the bursting bead area as the center position of the bursting bead.

[0103] The end surface position obtaining module 43023 is used to obtain the pixel position of the end surface of the cigarette according to the first image or the second image.

[0104] The distance calculation module 43024 is used to calculate the distance between the center position of the circle and the end face as the bursting bead position.

[0105] Preferably, the first receiving module 410 is used to use the information of the cigarette detected by the in-position sensor to start the light of the first light intensity to illuminate the first side of the cigarette, and to capture the first image on the second side of the cigarette, wherein the first side is opposite to the second side.

[0106] The second receiving module 420 is used to start the light of the second light intensity to illuminate the first side of the cigarette by using the information that the timing reaches the preset time, and to capture the second image on the second side of the cigarette.

[0107] The first light intensity is different from the second light intensity.

[0108] Although some specific embodiments of the present application have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are only for illustration, not for limiting the scope of the present application. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present application. The scope of the present application is defined by the appended claims.

Claims

1. A method for detecting the bursting position of a cigarette, characterized in that: include: receiving a first image from a camera; After a preset time, receiving a second image from the camera; Obtaining a bursting bead position of the cigarette according to the first image and the second image; The first image and the second image are two image acquisitions of the same cigarette, and the light intensities irradiated on the cigarette are different when the first image and the second image are obtained.

2. The method for detecting the bursting position of a cigarette according to claim 1, characterized in that: Obtaining the bursting bead position of the cigarette according to the first image and the second image specifically includes: performing a subtraction operation on the first image and the second image to obtain a third image; The bursting bead position is obtained according to the third image.

3. The method for detecting the bursting position of a cigarette according to claim 2, characterized in that: Performing a subtraction operation on the first image and the second image to obtain a third image specifically includes: Calculating the grayscale value of each pixel on the first image and the second image respectively; Calculate the difference in grayscale values ​​of pixels at corresponding positions on the first image and the second image; The difference values ​​of all pixels are combined to form the third image.

4. The method for detecting the bursting position of a cigarette according to claim 2, characterized in that: Obtaining the bursting bead position according to the third image specifically includes: Obtaining an area with the largest grayscale value on the third image as a bead bursting area; Calculate the pixel position of the center point of the bursting bead area as the center position of the bursting bead; Obtaining a pixel position of an end surface of the cigarette according to the first image or the second image; The distance between the center position of the circle and the end face is calculated as the bursting bead position.

5. The method for detecting the bursting position of a cigarette according to claim 1, characterized in that: Using information of the cigarette detected by the in-position sensor, a light of a first light intensity is activated to illuminate a first side of the cigarette, and a first image is captured on a second side of the cigarette, wherein the first side is opposite to the second side; and using the information that the timing reaches the preset time, starting the light of the second light intensity to illuminate the first side of the cigarette, and taking a second image on the second side of the cigarette; The first light intensity is different from the second light intensity.

6. A cigarette bursting bead position detection device, characterized in that: It includes a first receiving module, a second receiving module and an image processing module; The first receiving module is used to receive a first image from a camera; The second receiving module is used to receive a second image from the camera after a preset time; The image processing module is used to obtain the bursting bead position of the cigarette according to the first image and the second image; The first image and the second image are two image acquisitions of the same cigarette, and the light intensities irradiated on the cigarette are different when the first image and the second image are obtained.

7. The cigarette bursting bead position detection device according to claim 6, characterized in that: The image processing module includes a third image acquisition module and a bursting bead position acquisition module; The third image acquisition module is used to perform a subtraction operation on the first image and the second image to obtain a third image; The bursting bead position obtaining module is used to obtain the bursting bead position according to the third image.

8. The cigarette bursting bead position detection device according to claim 7, characterized in that: The third image acquisition module includes a gray value calculation module, a difference calculation module and a combination module; The gray value calculation module is used to calculate the gray value of each pixel on the first image and the second image respectively; The difference calculation module is used to calculate the difference in grayscale values ​​of pixels at corresponding positions on the first image and the second image; The combination module is used to combine the differences of all pixels to form the third image.

9. The cigarette bursting bead position detection device according to claim 7, characterized in that: The bursting bead position acquisition module includes a bursting bead area determination module, a circle center position calculation module, an end surface position acquisition module and a distance calculation module; The bursting bead region determination module is used to obtain a region with the largest grayscale value on the third image as the bursting bead region; The circle center position calculation module is used to calculate the center point pixel position of the bursting bead area as the circle center position of the bursting bead; The end surface position obtaining module is used to obtain the pixel position of the end surface of the cigarette according to the first image or the second image; The distance calculation module is used to calculate the distance between the center position of the circle and the end surface as the bursting bead position.

10. The cigarette bursting bead position detection device according to claim 6, characterized in that: The first receiving module is used to use the information of the cigarette detected by the in-position sensor to start the light of the first light intensity to illuminate the first side of the cigarette, and to take a first image on the second side of the cigarette, wherein the first side is opposite to the second side; The second receiving module is used to start the light of the second light intensity to illuminate the first side of the cigarette by using the information that the timing reaches the preset time, and to take a second image on the second side of the cigarette; The first light intensity is different from the second light intensity.

Citation Information

Cited By

  • Method and equipment for determining position of blast bead in cigarette filter tip

    CN120876584A