A method and apparatus for imaging inspection of the appearance of tipping paper in cigarette rolling machines
An imaging detection system consisting of a vision camera and a controller enables real-time online detection and removal of defects in the tipping paper of cigarette machines, solving the problem of inaccurate identification of tipping paper defects in existing technologies and improving cigarette quality and processing efficiency.
Patent Information
- Application Number
- CN202310829201.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2043-07-07
AI Technical Summary
Existing technologies cannot effectively identify and remove multiple defects or length misalignment defects in the tipping paper of cigarette machines, resulting in a decline in cigarette quality and low processing efficiency, especially at high speeds where it is difficult to observe with the naked eye.
An imaging detection system consisting of a vision camera and a controller uses image recognition technology to identify defects in the tipping paper and outputs level signals to control the rejection drive module and indicator lights, thereby achieving real-time online detection and rejection of defective cigarettes.
This improved the quality and efficiency of cigarette processing, ensuring that defective cigarettes could be identified and removed promptly even at high speeds, thus reducing the generation of waste cigarettes.
Smart Images

Figure CN116831312B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of cigarette machinery and equipment, and specifically relates to a method and device for imaging and detecting the appearance of tipping paper in cigarette machines. Background Technology
[0002] For cigarette factories using ZJ17 type cigarette rolling machines, the inspection of tipping paper defects generally includes air leakage detection and OTIS visual inspection. Air leakage detection can be understood as the tipping paper not being tightly wrapped, resulting in poor cigarette sealing; OTIS visual inspection can be understood as the tipping paper having obvious bubbles or wrinkles. Both of these inspections can only detect defects when the tipping paper is unevenly wrapped.
[0003] In actual production, some cigarettes, despite having intact tipping paper wrapping, still exhibit defects such as multiple sheets of tipping paper or misaligned tipping paper lengths. These defects cannot be identified and removed through leak detection or OTIS testing, thus affecting the overall quality of the cigarettes. Secondly, the ZJ17 cigarette rolling machine operates at a speed of 7000 cigarettes per minute. Under normal operating conditions, these defects are difficult to observe visually and can only be checked manually at the machine's exit. By the time defects are discovered, a large amount of waste smoke has already been generated, further impacting cigarette processing efficiency. Summary of the Invention
[0004] This application addresses the aforementioned issues in actual production where some cigarettes, despite having intact tipping paper wrapping, still exhibit defects such as multiple sheets of tipping paper or misaligned tipping paper lengths. These defects cannot be identified and removed through leak detection or OTIS testing, thus affecting the overall quality of the cigarettes. Furthermore, the ZJ17 cigarette rolling machine operates at a speed of 7000 cigarettes / minute, making it difficult to visually observe these defects under normal operating conditions. Inspection can only be done manually at the machine's exit, and by the time defects are discovered, a large amount of waste smoke has already been generated, further impacting cigarette processing efficiency. Therefore, this application proposes a method and device for visually inspecting the appearance of tipping paper in cigarette rolling machines. The technical solution is as follows:
[0005] In a first aspect, embodiments of this application provide a method for imaging inspection of the appearance of tipping paper in a cigarette machine. The method is applied to an imaging inspection system, which includes a vision camera and a controller. The input terminal of the vision camera is connected to the cigarette machine, and the first output terminal of the vision camera is connected to both the first input terminal of the controller and the rejection drive module of the cigarette machine. The first output terminal of the controller is connected to a first indicator light. The method includes:
[0006] When the input of the vision camera receives a pulse signal sent by the cigarette rolling machine, a first image containing at least one cigarette is acquired based on the vision camera.
[0007] The first image is processed for recognition. When multiple wrapping defects are detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine, so that the rejection drive module of the cigarette machine can reject the cigarette with multiple wrapping defects.
[0008] The controller outputs a high-level signal to the first indicator light so that the first indicator light is turned on.
[0009] In one alternative to the first aspect, the recognition processing of the first image includes:
[0010] When at least one top image of a cigarette filter is identified in the first image, the contour feature line corresponding to the top image of each cigarette filter is obtained.
[0011] Calculate the distance between the center position of each cigarette filter and its corresponding contour feature line, and determine that the cigarette tipping paper has multiple wrapping defects when the detected distance is inconsistent with the preset distance; or
[0012] When any contour feature line is detected to be inconsistent with the preset feature image, it is determined that there are multiple wrapping defects in the tipping paper of the cigarette corresponding to the contour feature line.
[0013] In another alternative of the first aspect, the second input terminal of the controller is connected to the power supply terminal, and a bypass button is provided between the second input terminal of the controller and the power supply terminal; a normally closed contact is provided between the first output terminal of the vision camera and the rejection drive module of the cigarette machine; and a first relay corresponding to the normally closed contact is provided between the second output terminal of the controller and the ground terminal.
[0014] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0015] When a second image is acquired using a vision camera and multiple cigarettes with packaging defects are identified in the second image, a request to press the bypass button is sent.
[0016] When a press operation is detected on the bypass button, a high-level signal is input to the second input terminal of the controller based on the power supply terminal, and a high-level signal is output to the first relay based on the second output terminal of the controller, so that the normally closed contact changes from the conducting state to the open state.
[0017] In another alternative to the first aspect, the recognition processing of the first image further includes:
[0018] When at least one side view image of a cigarette is identified in the first image, the length of the tipping paper in the filter of each cigarette is measured.
[0019] When the length of the tipping paper in any cigarette filter is found to be inconsistent with the preset length, it is determined that there is a length misalignment defect in the tipping paper of the cigarette.
[0020] In another alternative embodiment of the first aspect, the second output of the vision camera is connected to the third input of the controller, and the third output of the controller is connected to the second indicator light.
[0021] After performing recognition processing on the first image, the process also includes:
[0022] When a length misalignment defect is detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the second output terminal of the vision camera to the third input terminal of the controller.
[0023] The controller outputs a high-level signal to the second indicator light from its third output terminal, causing the second indicator light to illuminate; the first indicator light and the second indicator light have different illumination colors.
[0024] In another alternative of the first aspect, a blower valve is provided at the lens of the vision camera, a normally open contact is provided between the blower valve and the power supply terminal, and a second relay corresponding to the normally open contact is provided between the fourth output terminal of the controller and the ground terminal.
[0025] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0026] According to a preset time interval, a high-level signal is output to the second relay based on the fourth output terminal of the controller, so that the normally open contact changes from the open state to the closed state;
[0027] The lens of the vision camera is cleaned using a blower valve.
[0028] In another alternative to the first aspect, after performing recognition processing on the first image, the method further includes:
[0029] When it is detected that the tipping paper of any cigarette in the first image does not have multiple wrapping defects or length and length offset defects, a low-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine.
[0030] The second output terminal of the vision camera outputs a low-level signal to the third input terminal of the controller.
[0031] Secondly, embodiments of this application provide an imaging inspection device for the appearance of tipping paper in a cigarette machine. The device is applied to an imaging inspection system, which includes a vision camera and a controller. The input terminal of the vision camera is connected to the cigarette machine, and the first output terminal of the vision camera is connected to both the first input terminal of the controller and the rejection drive module of the cigarette machine. The first output terminal of the controller is connected to a first indicator light. The device includes:
[0032] The image acquisition module is used to acquire a first image containing at least one cigarette based on the vision camera when the input terminal of the vision camera receives a pulse signal sent by the cigarette rolling machine.
[0033] The cigarette processing module is used to identify and process the first image. When it is detected that there are multiple wrapping defects in the tipping paper of any cigarette in the first image, it outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine based on the first output terminal of the vision camera, so that the rejection drive module of the cigarette machine can reject the cigarette with multiple wrapping defects.
[0034] The information prompt module is used to output a high-level signal to the first indicator light based on the first output terminal of the controller, so that the first indicator light will light up.
[0035] Thirdly, this application also provides an imaging detection device for the appearance of tipping paper in a cigarette machine, including a processor and a memory;
[0036] The processor is connected to the memory;
[0037] Memory, used to store executable program code;
[0038] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the water tipping paper appearance imaging detection method for cigarette machines provided by the first aspect or any implementation of the first aspect of the embodiments of this application.
[0039] Fourthly, embodiments of this application provide a computer storage medium storing a computer program, which includes program instructions. When executed by a processor, the program instructions can implement the water tipping paper appearance imaging detection method for cigarette machines provided by the first aspect or any implementation of the first aspect of this application.
[0040] In this embodiment, when imaging and detecting the appearance of the tipping paper of a cigarette in a cigarette rolling machine, when the input terminal of the vision camera receives a pulse signal sent by the cigarette rolling machine, a first image containing at least one cigarette is acquired based on the vision camera. The first image is then processed for recognition. When multiple wrapping defects are detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette rolling machine, so that the rejection drive module of the cigarette rolling machine rejects the cigarette with multiple wrapping defects. A high-level signal is also output from the first output terminal of the controller to the first indicator light, causing the first indicator light to illuminate. Real-time online imaging and detection of the cigarette tipping paper is achieved through image recognition of the vision image. Combined with the recognition results, the controller outputs corresponding level signals to effectively reject defective cigarettes, ensuring cigarette quality and improving overall processing efficiency. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This application provides an overall flowchart of a method for imaging and detecting the appearance of tipping paper in a cigarette machine, as illustrated in an embodiment of the present application.
[0043] Figure 2 This is a schematic diagram of the structural connection of an imaging detection system provided in an embodiment of this application;
[0044] Figure 3 This application provides a schematic diagram of the structure of a device for imaging and detecting the appearance of tipping paper in a cigarette machine.
[0045] Figure 4 This is a schematic diagram of another imaging detection device for the appearance of tipping paper in a cigarette machine, provided as an embodiment of this application. Detailed Implementation
[0046] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0047] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The following description provides multiple embodiments of this application, which can be substituted or combined with each other. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.
[0048] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
[0049] Please see Figure 1 , Figure 1 The diagram shows an overall flowchart of an imaging detection method for the appearance of tipping paper in a cigarette machine, provided by an embodiment of this application.
[0050] like Figure 1 As shown, the imaging detection method for the appearance of tipping paper in a cigarette machine may include at least the following steps:
[0051] Step 102: When the input terminal of the vision camera receives a pulse signal sent by the cigarette rolling machine, a first image containing at least one cigarette is acquired based on the vision camera.
[0052] In this embodiment, the imaging detection method for the tipping paper appearance of a cigarette machine can be, but is not limited to, an imaging detection system. This system can include at least a vision camera and a controller. The vision camera can be a SICK vision camera, and the controller can be a Siemens PLC controller. The input of the vision camera can be connected to the cigarette machine to receive the SCP single-clock pulse signal output by the cigarette machine during normal operation. Based on this SCP single-clock pulse signal, the system can determine that the cigarette machine is in operation, and thus identify the tipping paper on the cigarettes produced by the machine. Here, the cigarette machine can, but is not limited to, outputting other types of pulse signals; this embodiment is not limited to this. The first output terminal of the vision camera can be connected to the first input terminal of the controller and the rejection drive module of the cigarette machine, respectively, to output corresponding level signals according to the recognition result. For example, but not limited to, when the recognition result is that there is a defect, a high-level signal can be output, so that the controller can display the prompt information corresponding to the defect type after receiving the high-level signal, and can also put the rejection drive module of the cigarette machine into working state, so that the rejection drive module of the cigarette machine can reject the defective cigarettes. When the recognition result is that there is no defect, a low-level signal can be output, so that the controller does not execute the corresponding program after receiving the low-level signal, and can also put the rejection drive module of the cigarette machine into a stopped working state, thus ensuring the continuous normal operation of the cigarette machine.
[0053] It is understood that the rejection drive module of the cigarette machine in this embodiment of the application can be the V48.2 rejection drive module of the ZJ17 cigarette machine, and the structure and working principle are conventional technical means in the field, which will not be elaborated here. The high-level signal output by the vision camera can also be understood as a rejection signal, so that the rejection drive module can reject the defective cigarettes after receiving the rejection signal.
[0054] The controller's first output terminal can be connected to the first indicator light. After receiving a high-level signal from the vision camera, the controller outputs a corresponding high-level signal to the first indicator light, causing it to illuminate. The high-level signal output by the controller's first output terminal can be understood as the power signal for the first indicator light. The first indicator light can also be connected to a ground terminal to ensure the normal conduction of the circuit containing the first indicator light when the controller's first output terminal outputs a high-level signal. The first indicator light can be, but is not limited to, an indicator light indicating multiple wrapping defects in cigarette tipping paper, or an indicator light indicating length misalignment defects in cigarette tipping paper. The colors of the indicator light indicating multiple wrapping defects and the indicator light indicating length misalignment defects are different to facilitate effective differentiation.
[0055] Specifically, when performing imaging inspection on the appearance of the tipping paper of cigarettes in a cigarette rolling machine, the input end of a vision camera acquires signals sent by the cigarette rolling machine at preset time intervals. When the output of an SCP single clock pulse signal from the cigarette rolling machine is detected, it indicates that the cigarette rolling machine is in operation. The vision camera can then capture images of at least one cigarette processed by the cigarette rolling machine, and the presence of multiple defective cigarettes can be determined based on the identification results. The vision camera can be, but is not limited to, positioned directly above the cigarette transport direction to capture images including a top view of the cigarette; or positioned at one end of the cigarette transport direction to capture images including the top of the cigarette filter. The captured images may include a single cigarette or multiple cigarettes arranged in a row; this is not a limitation.
[0056] Step 104: Perform recognition processing on the first image, and when it is detected that there are multiple wrapping defects in the tipping paper of any cigarette in the first image, output a high-level signal from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine, so that the rejection drive module of the cigarette machine can reject the cigarette with multiple wrapping defects.
[0057] Specifically, after obtaining a first image containing cigarettes, the system can determine whether there are multiple wrapping defects in the tipping paper of the cigarettes in the first image by performing recognition processing on the first image. When multiple wrapping defects are detected in the tipping paper of any cigarette in the first image, it indicates that the cigarettes with multiple wrapping defects need to be rejected. Then, a high-level signal can be output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine. After receiving the high-level signal, the controller can display prompt information corresponding to the defect type. After receiving the high-level signal, the rejection drive module of the cigarette machine can be put into working state, that is, the high-level signal is used as a power signal to conduct the circuit where the rejection drive module of the cigarette machine is located, so that the rejection drive module of the cigarette machine can reject the defective cigarettes.
[0058] As an optional embodiment of this application, the first image is subjected to recognition processing, including:
[0059] When at least one top image of a cigarette filter is identified in the first image, the contour feature line corresponding to the top image of each cigarette filter is obtained.
[0060] Calculate the distance between the center position of each cigarette filter and its corresponding contour feature line, and determine that the cigarette tipping paper has multiple wrapping defects when the detected distance is inconsistent with the preset distance; or
[0061] When any contour feature line is detected to be inconsistent with the preset feature image, it is determined that there are multiple wrapping defects in the tipping paper of the cigarette corresponding to the contour feature line.
[0062] Specifically, during the recognition processing of the first image, when the top image of at least one cigarette filter is identified in the first image, it indicates that the vision camera is set at one end of the cigarette transmission direction, and the contour feature line corresponding to each cigarette filter can be determined in the first image. This contour feature line can be understood as the side view feature line of the tipping paper wrapped around the surface of the cigarette filter, and its shape can be circular. In this embodiment, the contour feature line corresponding to each cigarette filter can be identified from the first image using a convolutional neural network, but is not limited to this method.
[0063] Next, after obtaining the contour feature line corresponding to each cigarette filter, the straight-line distance between the center position and the corresponding contour feature line can be calculated based on the center position in the top image of each cigarette filter. This distance can be understood as the radius of the cigarette filter wrapped with tipping paper. Since the radius of a cigarette filter wrapped with a single layer of tipping paper is relatively fixed, and the radius of a cigarette filter with multiple wrapping defects is significantly larger than the radius of a normal cigarette filter, when the detected distance is inconsistent with the preset distance, it indicates that the tipping paper of the cigarette corresponding to that distance has multiple wrapping defects; when the detected distance is consistent with the preset distance, it indicates that the tipping paper of all cigarettes in the first image does not have multiple wrapping defects. Here, the preset distance is the radius of the normal cigarette filter mentioned above.
[0064] Of course, when there are gaps between the layers of tipping paper in a cigarette filter wrapped with multiple layers of tipping paper, the presence of multiple layers of tipping paper can be determined directly by judging whether any contour feature line matches the preset feature image. It is understandable that the side view feature line of a single layer of tipping paper wrapped on the surface of a cigarette filter is approximately a circular feature line, corresponding to the preset feature image. When there are gaps between the layers of tipping paper in a cigarette filter wrapped with multiple layers of tipping paper, the side view feature lines of the multiple layers of tipping paper wrapped on the surface of the cigarette filter can be approximated as multiple circular feature lines. It is clear that the side view feature lines of the multiple layers of tipping paper wrapped on the surface of the cigarette filter are inconsistent with the preset feature image.
[0065] As another optional embodiment of this application, the second input terminal of the controller is connected to the power supply terminal, and a bypass button is provided between the second input terminal of the controller and the power supply terminal; a normally closed contact is provided between the first output terminal of the vision camera and the rejection drive module of the cigarette machine; a first relay corresponding to the normally closed contact is provided between the second output terminal of the controller and the ground terminal.
[0066] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0067] When a second image is acquired using a vision camera and multiple cigarettes with packaging defects are identified in the second image, a request to press the bypass button is sent.
[0068] When a press operation is detected on the bypass button, a high-level signal is input to the second input terminal of the controller based on the power supply terminal, and a high-level signal is output to the first relay based on the second output terminal of the controller, so that the normally closed contact changes from the conducting state to the open state.
[0069] In this embodiment of the application, if the current first image includes only one cigarette, it indicates that the rejection drive module of the cigarette machine can directly reject the cigarette; if the first image of the barrier wall includes at least two cigarettes, the rejection drive module of the cigarette machine can, but is not limited to, reject the defective cigarette among the at least two cigarettes according to the preset rejection program, but cannot effectively guarantee the rejection accuracy, that is, there is a risk of false rejection.
[0070] The controller's second input terminal has a bypass button before the power supply terminal to facilitate accurate manual inspection and determination of any erroneous rejections. Specifically, after the cigarette machine's rejection drive module removes cigarettes with multiple wrapping defects, a second image is acquired by a vision camera. A visual algorithm is used to first determine if any erroneous rejections have occurred. If the vision camera identifies multiple defective cigarettes still present in the image, a further manual inspection is performed (achieving dual inspection to ensure rejection accuracy), which involves sending a request to the operator to press the bypass button. Understandably, upon receiving the bypass button request, the operator will manually inspect the cigarettes in the second image and press the bypass button if an erroneous rejection is confirmed. At this time, the operator can also maintain and adjust the cigarette machine's rejection drive module to improve its rejection accuracy.
[0071] Next, when a press operation is detected on the bypass button, it indicates that the circuit where the bypass button is located is conducting. A high-level signal is input to the second input terminal of the controller. After receiving the high-level signal at the second input terminal, the controller can output a high-level signal to the first relay from the second output terminal. By utilizing the on-off characteristics of the normally closed contact, the normally closed contact can be changed from the conducting state to the open state.
[0072] It should be noted that, in the embodiments of this application, both the vision camera and the controller can be connected to the power supply terminal through other input terminals, that is, the power supply terminal can supply power to the vision camera and the controller.
[0073] Step 106: Output a high-level signal to the first indicator light based on the first output terminal of the controller, so that the first indicator light is turned on.
[0074] Specifically, after the defective cigarettes are rejected by the rejection drive module of the cigarette rolling machine, the controller can control the first output terminal to output a high-level signal to the first indicator light based on the high-level signal received at the first input terminal. This energizes the circuit containing the first indicator light, thus illuminating it. It can be understood that the first indicator light here corresponds to multiple wrapping defects; that is, when the first indicator light is on, it indicates that the current cigarette has multiple wrapping defects in its tipping paper, thus promptly alerting the staff.
[0075] As another optional embodiment of this application, the recognition processing of the first image further includes:
[0076] When at least one side view image of a cigarette is identified in the first image, the length of the tipping paper in the filter of each cigarette is measured.
[0077] When the length of the tipping paper in any cigarette filter is found to be inconsistent with the preset length, it is determined that there is a length misalignment defect in the tipping paper of the cigarette.
[0078] Since the tipping paper of cigarettes may also have length deviation defects, when at least one side view image of a cigarette is identified in the first image, it indicates that the vision camera is set directly above the cigarette transmission direction, and the length of the tipping paper of each cigarette can be measured. Here, it is possible, but not limited to, first determining the position of the filter in the side view image of each cigarette, and measuring the length of the tipping paper wrapped on the surface of the filter based on the position of the filter.
[0079] Next, when the length of the tipping paper of any cigarette filter is found to be inconsistent with the preset length, it indicates that the tipping paper of that cigarette has a length misalignment defect; when the length of the tipping paper of any cigarette filter is found to be consistent with the preset length, it indicates that the tipping paper of all cigarettes in the first image does not have a length misalignment defect.
[0080] It should be noted that, in the embodiments of this application, the visual camera can simultaneously determine whether the tipping paper of the cigarette in the first image has multiple wrapping defects and length misalignment defects. Only when it is determined that the tipping paper of the cigarette does not have multiple wrapping defects and length misalignment defects can it be indicated that the cigarette is free of defects.
[0081] As another optional embodiment of this application, the second output terminal of the vision camera is connected to the third input terminal of the controller, and the third output terminal of the controller is connected to the second indicator light.
[0082] After performing recognition processing on the first image, the process also includes:
[0083] When a length misalignment defect is detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the second output terminal of the vision camera to the third input terminal of the controller.
[0084] The controller outputs a high-level signal to the second indicator light from its third output terminal, causing the second indicator light to illuminate; the first indicator light and the second indicator light have different illumination colors.
[0085] Specifically, when a length misalignment defect is detected in the tipping paper of any cigarette in the first image, a high-level signal can be output from the second output terminal of the vision camera to the third input terminal of the controller to promptly alert the staff. Upon receiving the high-level signal, the third input terminal of the controller can control its third output terminal to output a high-level signal to the second indicator light, energizing the circuit containing the second indicator light and illuminating it. It can be understood that the second indicator light corresponds to the length misalignment defect; that is, when the second indicator light is illuminated, it indicates that multiple tipping papers of the current cigarette have a wrapping defect, thus promptly alerting the staff. Here, to better distinguish the defect type, the first and second indicator lights have different illumination colors; for example, but not limited to, the first indicator light being red and the second indicator light being yellow.
[0086] As another optional embodiment of this application, a blower valve is provided at the lens of the vision camera, a normally open contact is provided between the blower valve and the power supply terminal, and a second relay corresponding to the normally open contact is provided between the fourth output terminal of the controller and the ground terminal.
[0087] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0088] According to a preset time interval, a high-level signal is output to the second relay based on the fourth output terminal of the controller, so that the normally open contact changes from the open state to the closed state;
[0089] The lens of the vision camera is cleaned using a blower valve.
[0090] Because a lot of smoke is produced inside the cigarette rolling machine during operation, prolonged use can cause a lot of smoke to accumulate on the lens surface, affecting the photo quality. Therefore, the lens of the vision camera can be cleaned periodically by a blower valve located at the lens of the vision camera.
[0091] Specifically, a high-level signal can be output from the fourth output terminal of the controller to the second relay at a preset time interval, so as to use the switching characteristics of the normally open contact to switch the normally open contact from the open state to the on state.
[0092] As another optional embodiment of this application, after performing recognition processing on the first image, it further includes:
[0093] When it is detected that the tipping paper of any cigarette in the first image does not have multiple wrapping defects or length and length offset defects, a low-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine.
[0094] The second output terminal of the vision camera outputs a low-level signal to the third input terminal of the controller.
[0095] When it is detected that the tipping paper of any cigarette in the first image does not have multiple wrapping defects or length and length misalignment defects, in order to ensure the normal operation of the cigarette rolling machine, a low-level signal can be output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette rolling machine, and a low-level signal can be output from the second output terminal of the vision camera to the third input terminal of the controller.
[0096] See here. Figure 2 The diagram shown is a structural connection diagram of an imaging detection system provided in an embodiment of this application, as follows: Figure 2 As shown, a Siemens S7-200 PLC (i.e., controller) can be installed below the ZJ17 cigarette machine MAX electrical cabinet, but is not limited to this. The PLC is powered by 24V positive voltage and 24V negative voltage. A SICK vision camera (i.e., vision camera) is installed below the turning wheel in the ZJ17 cigarette machine MAX area, powered by 24V positive voltage and 24V negative voltage. Using a single-core cable, the output point 1 of the vision camera can be connected to the I0.7 input point of the Siemens S7-200 PLC, and simultaneously connected to the V48.2 rejection drive module of the ZJ17 cigarette machine via the normally closed contact of relay K2; the S7-200 PLC output point Q1.0 connects to the multi-sheet defect rejection indicator H2; a high-level signal is sent to the input point I0.5 of the Siemens S7-200 PLC via button S1, controlling the output point Q0.6 to connect the relay K2 coil; the vision camera output point 2 outputs a high-level signal to the I0.6 input point of the Siemens S7-200 PLC, and the output point Q0.5 of the Siemens S7-200 PLC will connect the tipping paper offset indicator H1; the output point Q0.2 of the Siemens S7-200 PLC connects to the relay K1 coil, and the normally open contact of K1 connects to the solenoid valve Y1 coil, controlling Y1 to be turned on.
[0097] Understandably, when the cigarette rolling machine is running, it can send a single clock pulse to the tipping paper for appearance inspection, and the vision camera can take pictures of each cigarette and analyze the appearance of the tipping paper. When the tipping paper appears normal, the image captured by the vision camera is normal, and output points 1 and 2 of the vision camera output a low level. When multiple tipping papers are found to wrap the cigarette, resulting in a defect, output point 1 of the vision camera outputs a high-level signal to input point I0.7 of the Siemens S7-200 PLC and the V48.2 rejection drive module of the ZJ17 cigarette machine for shifting and rejection. Simultaneously, output point Q1.0 of the Siemens S7-200 PLC will activate the multi-sheet defect rejection indicator H2 to alert the operator. If a false rejection occurs, equipment maintenance personnel need to troubleshoot. Pressing the rejection bypass button S1 will disable rejection. After pressing button S1, a high-level signal is output to input point I0.5 of the Siemens S7-200 PLC, causing the normally closed contact of relay K2 to open, and the V48.2 rejection drive module of the ZJ17 cigarette machine will not receive the rejection signal.
[0098] When the tipping paper of a cigarette is misaligned, the visual camera output point 2 outputs a high-level signal to the I0.6 input point of the Siemens S7-200 PLC, and the output point Q0.5 of the Siemens S7-200 PLC will turn on the tipping paper misalignment indicator light H1 to remind the operator.
[0099] Because the cigarette rolling machine produces a lot of smoke during operation, a lot of smoke will accumulate on the lens surface over time, affecting photography. A cleaning blower valve Y1 is installed at the camera lens. According to the time set inside the PLC, when the cigarette rolling machine runs at a fixed interval, the output point Q0.2 of the Siemens S7-200 PLC outputs, the coil of relay K1 is energized, the normally open contact closes, and the solenoid valve Y1 is connected to clean the vision camera lens.
[0100] Please see Figure 3 , Figure 3 A schematic diagram of the structure of a tipping paper appearance imaging detection device for a cigarette machine provided in an embodiment of this application is shown.
[0101] like Figure 3 As shown, the tipping paper appearance imaging detection device for cigarette machines is applied to an imaging detection system. The imaging detection system includes a vision camera and a controller. The input end of the vision camera is connected to the cigarette machine, and the first output end of the vision camera is connected to the first input end of the controller and the rejection drive module of the cigarette machine. The first output end of the controller is connected to a first indicator light. The device may include at least an image processing module 301, a cigarette processing module 302, and an information prompting module 303, wherein:
[0102] The image acquisition module 301 is used to acquire a first image containing at least one cigarette based on the vision camera when the input terminal of the vision camera receives a pulse signal sent by the cigarette machine.
[0103] The cigarette processing module 302 is used to perform recognition processing on the first image, and when it is detected that there are multiple wrapping defects in the tipping paper of any cigarette in the first image, it outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine based on the first output terminal of the vision camera, so that the rejection drive module of the cigarette machine can reject the cigarette with multiple wrapping defects.
[0104] The information prompt module 303 is used to output a high-level signal to the first indicator light based on the first output terminal of the controller, so that the first indicator light is turned on.
[0105] In some possible embodiments, the first image is subjected to recognition processing, including:
[0106] When at least one top image of a cigarette filter is identified in the first image, the contour feature line corresponding to the top image of each cigarette filter is obtained.
[0107] Calculate the distance between the center position of each cigarette filter and its corresponding contour feature line, and determine that the cigarette tipping paper has multiple wrapping defects when the detected distance is inconsistent with the preset distance; or
[0108] When any contour feature line is detected to be inconsistent with the preset feature image, it is determined that there are multiple wrapping defects in the tipping paper of the cigarette corresponding to the contour feature line.
[0109] In some possible embodiments, the second input terminal of the controller is connected to the power supply terminal, and a bypass button is provided between the second input terminal of the controller and the power supply terminal; a normally closed contact is provided between the first output terminal of the vision camera and the rejection drive module of the cigarette machine; a first relay corresponding to the normally closed contact is provided between the second output terminal of the controller and the ground terminal.
[0110] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0111] When a second image is acquired using a vision camera and multiple cigarettes with packaging defects are identified in the second image, a request to press the bypass button is sent.
[0112] When a press operation is detected on the bypass button, a high-level signal is input to the second input terminal of the controller based on the power supply terminal, and a high-level signal is output to the first relay based on the second output terminal of the controller, so that the normally closed contact changes from the conducting state to the open state.
[0113] In some possible embodiments, the recognition processing of the first image further includes:
[0114] When at least one side view image of a cigarette is identified in the first image, the length of the tipping paper in the filter of each cigarette is measured.
[0115] When the length of the tipping paper in any cigarette filter is found to be inconsistent with the preset length, it is determined that there is a length misalignment defect in the tipping paper of the cigarette.
[0116] In some possible embodiments, the second output terminal of the vision camera is connected to the third input terminal of the controller, and the third output terminal of the controller is connected to the second indicator light.
[0117] After performing recognition processing on the first image, the process also includes:
[0118] When a length misalignment defect is detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the second output terminal of the vision camera to the third input terminal of the controller.
[0119] The controller outputs a high-level signal to the second indicator light from its third output terminal, causing the second indicator light to illuminate; the first indicator light and the second indicator light have different illumination colors.
[0120] In some possible embodiments, a blower valve is provided at the lens of the vision camera, a normally open contact is provided between the blower valve and the power supply terminal, and a second relay corresponding to the normally open contact is provided between the fourth output terminal of the controller and the ground terminal.
[0121] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0122] According to a preset time interval, a high-level signal is output to the second relay based on the fourth output terminal of the controller, so that the normally open contact changes from the open state to the closed state;
[0123] The lens of the vision camera is cleaned using a blower valve.
[0124] In some possible embodiments, after performing recognition processing on the first image, the method further includes:
[0125] When it is detected that the tipping paper of any cigarette in the first image does not have multiple wrapping defects or length and length offset defects, a low-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine.
[0126] The second output terminal of the vision camera outputs a low-level signal to the third input terminal of the controller.
[0127] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.
[0128] Please see Figure 4 , Figure 4 This paper shows a schematic diagram of the structure of another imaging detection device for the appearance of tipping paper in a cigarette machine, provided in an embodiment of this application.
[0129] like Figure 4 As shown, the tipping paper appearance imaging detection device 400 for cigarette machines may include at least one processor 401, at least one network interface 404, user interface 403, memory 405, and at least one communication bus 402.
[0130] The communication bus 402 can be used to realize the connection and communication of the above components.
[0131] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0132] Among them, network interface 404 may include, but is not limited to, Bluetooth module, NFC module, Wi-Fi module, etc.
[0133] The processor 401 may include one or more processing cores. The processor 401 connects to various parts within the tipping paper appearance imaging detection device 400 for cigarette machines using various interfaces and lines. It executes or runs instructions, programs, code sets, or instruction sets stored in memory 405, and calls data stored in memory 405 to perform various functions and process data for the tipping paper appearance imaging detection device 400 for cigarette machines. Optionally, the processor 401 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The processor 401 may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 401 and may be implemented as a separate chip.
[0134] The memory 405 may include RAM or ROM. Optionally, the memory 405 may include a non-transitory computer-readable medium. The memory 405 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 405 may also be at least one storage device located remotely from the aforementioned processor 401. Figure 4 As shown, the memory 405, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application for imaging and detecting the appearance of the tipping paper in a cigarette machine.
[0135] Specifically, the processor 401 can be used to call the imaging detection application for the appearance of the tipping paper of a cigarette machine stored in the memory 405, and specifically perform the following operations:
[0136] When the input of the vision camera receives a pulse signal sent by the cigarette rolling machine, a first image containing at least one cigarette is acquired based on the vision camera.
[0137] The first image is processed for recognition. When multiple wrapping defects are detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine, so that the rejection drive module of the cigarette machine can reject the cigarette with multiple wrapping defects.
[0138] The controller outputs a high-level signal to the first indicator light so that the first indicator light is turned on.
[0139] In some possible embodiments, the first image is subjected to recognition processing, including:
[0140] When at least one top image of a cigarette filter is identified in the first image, the contour feature line corresponding to the top image of each cigarette filter is obtained.
[0141] Calculate the distance between the center position of each cigarette filter and its corresponding contour feature line, and determine that the cigarette tipping paper has multiple wrapping defects when the detected distance is inconsistent with the preset distance; or
[0142] When any contour feature line is detected to be inconsistent with the preset feature image, it is determined that there are multiple wrapping defects in the tipping paper of the cigarette corresponding to the contour feature line.
[0143] In some possible embodiments, the second input terminal of the controller is connected to the power supply terminal, and a bypass button is provided between the second input terminal of the controller and the power supply terminal; a normally closed contact is provided between the first output terminal of the vision camera and the rejection drive module of the cigarette machine; a first relay corresponding to the normally closed contact is provided between the second output terminal of the controller and the ground terminal.
[0144] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0145] When a second image is acquired using a vision camera and multiple cigarettes with packaging defects are identified in the second image, a request to press the bypass button is sent.
[0146] When a press operation is detected on the bypass button, a high-level signal is input to the second input terminal of the controller based on the power supply terminal, and a high-level signal is output to the first relay based on the second output terminal of the controller, so that the normally closed contact changes from the conducting state to the open state.
[0147] In some possible embodiments, the recognition processing of the first image further includes:
[0148] When at least one side view image of a cigarette is identified in the first image, the length of the tipping paper in the filter of each cigarette is measured.
[0149] When the length of the tipping paper in any cigarette filter is found to be inconsistent with the preset length, it is determined that there is a length misalignment defect in the tipping paper of the cigarette.
[0150] In some possible embodiments, the second output terminal of the vision camera is connected to the third input terminal of the controller, and the third output terminal of the controller is connected to the second indicator light.
[0151] After performing recognition processing on the first image, the process also includes:
[0152] When a length misalignment defect is detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the second output terminal of the vision camera to the third input terminal of the controller.
[0153] The controller outputs a high-level signal to the second indicator light from its third output terminal, causing the second indicator light to illuminate; the first indicator light and the second indicator light have different illumination colors.
[0154] In some possible embodiments, a blower valve is provided at the lens of the vision camera, a normally open contact is provided between the blower valve and the power supply terminal, and a second relay corresponding to the normally open contact is provided between the fourth output terminal of the controller and the ground terminal.
[0155] After the first output terminal of the vision camera outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine, it also includes:
[0156] According to a preset time interval, a high-level signal is output to the second relay based on the fourth output terminal of the controller, so that the normally open contact changes from the open state to the closed state;
[0157] The lens of the vision camera is cleaned using a blower valve.
[0158] In some possible embodiments, after performing recognition processing on the first image, the method further includes:
[0159] When it is detected that the tipping paper of any cigarette in the first image does not have multiple wrapping defects or length and length offset defects, a low-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine.
[0160] The second output terminal of the vision camera outputs a low-level signal to the third input terminal of the controller.
[0161] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0162] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0163] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0164] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0165] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0166] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0167] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0168] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0169] The above are merely exemplary embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of embodiments of this disclosure upon considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A method for imaging and detecting the appearance of tipping paper in a cigarette rolling machine, characterized in that, The method is applied to an imaging detection system, which includes a vision camera and a controller. The input terminal of the vision camera is connected to a cigarette-making machine, and the first output terminal of the vision camera is connected to both the first input terminal of the controller and the rejection drive module of the cigarette-making machine. The first output terminal of the controller is connected to a first indicator light. The method includes: When the input terminal of the vision camera receives a pulse signal sent by the cigarette rolling machine, a first image containing at least one cigarette is acquired based on the vision camera. The first image is processed for recognition, and when multiple wrapping defects are detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine, so that the rejection drive module of the cigarette machine can reject the cigarette with multiple wrapping defects. The controller outputs a high-level signal to the first indicator light so that the first indicator light is turned on. The recognition processing of the first image includes: When at least one top image of a cigarette filter is identified in the first image, a contour feature line corresponding to the top image of each cigarette filter is obtained. Calculate the distance between the center position of each cigarette filter and the corresponding contour feature line, and when the distance is detected to be inconsistent with the preset distance, determine that the cigarette tipping paper has multiple wrapping defects; or When any of the contour feature lines is detected to be inconsistent with the preset feature image, it is determined that the tipping paper of the cigarette corresponding to the contour feature line has multiple wrapping defects.
2. The method according to claim 1, characterized in that, The second input terminal of the controller is connected to the power supply terminal, and a bypass button is provided between the second input terminal of the controller and the power supply terminal; a normally closed contact is provided between the first output terminal of the vision camera and the rejection drive module of the cigarette machine; a first relay corresponding to the normally closed contact is provided between the second output terminal of the controller and the ground terminal. After the high-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine, the following method is further included: When the second image is acquired based on the vision camera, and multiple cigarettes with packaging defects are identified in the second image, a request to press the bypass button is sent. When a press operation is detected on the bypass button, a high-level signal is input to the second input terminal of the controller based on the power supply terminal, and a high-level signal is output to the first relay based on the second output terminal of the controller, so that the normally closed contact changes from the conducting state to the open state.
3. The method according to claim 1, characterized in that, The recognition processing of the first image further includes: When at least one side view image of a cigarette is identified in the first image, the length of the tipping paper of each cigarette filter is measured. When it is detected that the length of the tipping paper of any one of the cigarette filters is inconsistent with the preset length, it is determined that the tipping paper of the cigarette has a length misalignment defect.
4. The method according to claim 3, characterized in that, The second output terminal of the vision camera is connected to the third input terminal of the controller, and the third output terminal of the controller is connected to the second indicator light. After performing the recognition processing on the first image, the method further includes: When a length misalignment defect is detected in the tipping paper of any cigarette in the first image, a high-level signal is output from the second output terminal of the vision camera to the third input terminal of the controller. The controller outputs a high-level signal to the second indicator light from its third output terminal, so that the second indicator light is illuminated; wherein the illumination color of the first indicator light and the second indicator light are different.
5. The method according to claim 2, characterized in that, A blower valve is provided at the lens of the vision camera, and a normally open contact is provided between the blower valve and the power supply terminal. A second relay corresponding to the normally open contact is provided between the fourth output terminal of the controller and the ground terminal. After the high-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine, the following method is further included: At preset time intervals, a high-level signal is output to the second relay based on the fourth output terminal of the controller, so that the normally open contact changes from the open state to the closed state; The lens of the vision camera is cleaned using the air-blowing valve.
6. The method according to claim 4, characterized in that, After performing the recognition processing on the first image, the method further includes: When it is detected that the tipping paper of any cigarette in the first image does not have multiple wrapping defects or length and shortness offset defects, a low-level signal is output from the first output terminal of the vision camera to the first input terminal of the controller and the rejection drive module of the cigarette machine. The second output terminal of the vision camera outputs a low-level signal to the third input terminal of the controller.
7. A device for imaging and detecting the appearance of tipping paper in a cigarette rolling machine, characterized in that, The device is applied to an imaging detection system, which includes a vision camera and a controller. The input terminal of the vision camera is connected to a cigarette-making machine. The first output terminal of the vision camera is connected to both the first input terminal of the controller and the rejection drive module of the cigarette-making machine. The first output terminal of the controller is connected to a first indicator light. The device includes: An image acquisition module is used to acquire a first image containing at least one cigarette based on the vision camera when the input terminal of the vision camera receives a pulse signal sent by the cigarette rolling machine. The cigarette processing module is used to identify and process the first image, and when it is detected that there are multiple wrapping defects in the tipping paper of any cigarette in the first image, it outputs a high-level signal to the first input terminal of the controller and the rejection drive module of the cigarette machine based on the first output terminal of the vision camera, so that the rejection drive module of the cigarette machine can reject the cigarette with multiple wrapping defects. The information prompt module is used to output a high-level signal to the first indicator light based on the first output terminal of the controller, so that the first indicator light is turned on. The recognition processing of the first image includes: When at least one top image of a cigarette filter is identified in the first image, a contour feature line corresponding to the top image of each cigarette filter is obtained. Calculate the distance between the center position of each cigarette filter and the corresponding contour feature line, and when the distance is detected to be inconsistent with the preset distance, determine that the cigarette tipping paper has multiple wrapping defects; or When any of the contour feature lines is detected to be inconsistent with the preset feature image, it is determined that the tipping paper of the cigarette corresponding to the contour feature line has multiple wrapping defects.
8. A device for imaging and detecting the appearance of tipping paper in a cigarette rolling machine, characterized in that, Including the processor and memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Visual inspection-based filter stick connecting quality on-line monitoring system
CN218978004U
Method and apparatus for determining one or more physical properties of a rolled smoking article or filter rod
US20060098214A1