Lighter inflation detection method and system, storage medium and intelligent terminal

Through image detection and analysis of liquid height and bubble boundary lines, combined with shaking operation, it solves the problem of low accuracy of existing lighter inflation detection methods and achieves more efficient and accurate inflation judgment.

CN118533267APending Publication Date: 2024-08-23CIXI CHANGYUN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410590116.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing lighter inflation detection method relies on manual observation of the liquid level, which results in low accuracy of judgment and is greatly affected by human subjectivity.

Method used

The image detection method is adopted to analyze the liquid height and bubble boundary line through vertical and horizontal detection images, output qualified or failed signals, reduce the influence of manual subjective factors, and process multiple bubbles through shaking operation to improve detection accuracy.

Benefits of technology

It improves the accuracy and efficiency of inflation detection, reduces manual errors, and ensures the reliability of inflation judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533267A
    Figure CN118533267A
Patent Text Reader

Abstract

The invention relates to a lighter inflation detection method and system, a storage medium and an intelligent terminal, and relates to the field of lighter manufacturing technologies, the lighter inflation detection method comprises the steps that the whole set of lighters are placed in an inflation state, vertical detection images are obtained, and the lighters are all installed on a conveying shaft and arranged in the length direction of the conveying shaft; analyzing a boundary height based on the vertical detection image and a preset boundary image feature; outputting an unqualified detection signal when the boundary height is smaller than a preset specified height; and outputting a detection qualified signal when the boundary height is greater than or equal to the specified height. The method has the effects of reducing the influence caused by artificial subjective factors and improving the detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of lighter manufacturing technology, and in particular to a lighter inflation detection method, system, storage medium and intelligent terminal. Background Art

[0002] Lighters are a kind of ignition tool commonly used by people in daily life, and are especially a must-have item for smokers. Existing lighters are of various types, and are generally filled with butane gas.

[0003] In the related art, a Chinese patent with announcement number CN102168802A discloses a lighter inflator, including a frame, on which a top mechanism, a locking pin mechanism, an inflating mechanism and an inflating cylinder for driving the inflating mechanism to inflate are arranged in order from bottom to top; the frame is also provided with a locking pin cylinder that can open the lighter air priming pin; the top mechanism is a pneumatic mechanism, and the frame is provided with an air storage part that can store air and stabilize air pressure, and the driving cylinder, the inflating mechanism, the top mechanism and the locking pin cylinder are respectively connected to the air storage part. The present invention can inflate multiple lighters at the same time, greatly improving production efficiency and making product quality more stable.

[0004] The prior art has the following problems: after inflation is completed, the liquid level is often manually observed to determine whether it is full. However, the conclusion of this judgment is subject to human subjectivity, and the accuracy of the conclusion is low, so there is still room for improvement. Summary of the invention

[0005] In order to improve the problem that after inflation is completed, the liquid level height is often manually observed to determine whether it is full, but the conclusion of the judgment is affected by human subjectivity and the accuracy of the conclusion is low, the application provides a lighter inflation detection method, system, storage medium and intelligent terminal.

[0006] In the first aspect, the present application provides a lighter inflation detection method, which adopts the following technical solution: A lighter inflation detection method, comprising: The entire group of lighters are placed in an inflated state and a vertical detection image is acquired, wherein the lighters are all mounted on a transport shaft and arranged along the length direction of the transport shaft; Analyzing the demarcation height based on the vertical detection image and the preset demarcation image features; When the boundary height is less than the preset specified height, a detection failure signal is output; When the boundary height is greater than or equal to the specified height, a detection pass signal is output.

[0007] By adopting the above technical solution, the image of the liquid height is detected to determine whether it is full. If it is full, a qualified signal is automatically output, thereby reducing the influence of human subjective factors and improving the efficiency of detection.

[0008] Optionally, an inflation detection method is also included if the boundary height is not obtained, the method comprising: Get the lighter number for which the demarcation height is not analyzed; Controlling the lighter corresponding to the lighter number to flip to a preset horizontal angle in a preset circumferential vertical plane and acquiring a horizontal detection image, wherein the circumferential vertical plane is a vertical plane perpendicular to the length direction of the transport axis; Analyzing the horizontal detection image based on preset horizontal boundary features to determine the bubble boundary line; Based on the preset bubble center, the preset demarcation standard boundary line and the bubble boundary line are connected to calculate the standard line segment length and the actual line segment length corresponding to any preset connection angle; When the actual line segment length corresponding to any connecting angle is greater than the standard line segment length, a detection failure signal is output; When the actual line segment length corresponding to any connecting angle is less than the standard line segment length, a detection qualified signal is output.

[0009] By adopting the above technical solution, when it is impossible to judge from the vertical placement state, the corresponding bubble size after placing it horizontally is used to judge whether it meets the standard. The combination of the two improves the accuracy of detection.

[0010] Optionally, the method for obtaining the horizontal detection image includes: Obtaining an estimated horizontal detection image; Analyzing the predicted horizontal detection image based on the horizontal boundary feature to determine the predicted bubble boundary line; Determine the estimated center point based on the estimated bubble boundary line; Determine the offset direction based on the estimated center point and the bubble center; The lighter corresponding to the lighter number is controlled to flip in the offset direction until the expected center point is consistent with the bubble center, and the expected horizontal detection image is output as the horizontal detection image.

[0011] By adopting the above technical solution, the center of the bubble is determined to determine whether the lighter is in a horizontal state when photographed, thereby avoiding the situation where the actual boundary line and the theoretical boundary line are intertwined due to the lighter not being placed horizontally, thereby improving the accuracy of detection.

[0012] Optionally, the method of analyzing the estimated horizontal detection image based on the horizontal boundary feature to determine the estimated bubble boundary line includes: Determining the number of boundary lines based on the expected bubble boundary lines; When the number of boundary lines is 1, the estimated horizontal detection image is analyzed based on the horizontal boundary line features to determine the estimated bubble boundary line; When the number of boundary lines is greater than 1, the estimated bubble boundary line is defined as a local boundary line. Determine the local center point based on the local boundary line; Determine the horizontal angle of sway based on the local center point; Control the lighter corresponding to the lighter number to rotate back and forth in the direction corresponding to the shaking horizontal angle and accumulate the number of back and forth times; When the number of round trips is equal to the preset number of detections, the lighter corresponding to the lighter number is controlled to flip to a horizontal angle in the circumferential vertical plane and obtain a correction detection image; Analyzing the correction detection image based on the horizontal boundary feature to determine the correction bubble boundary line; When the number of boundary lines corresponding to the correction bubble boundary line is 1, the correction detection image is output as the estimated horizontal detection image and the correction bubble boundary line is output as the estimated bubble boundary line; When the number of boundary lines corresponding to the correction bubble boundary line is greater than 1, the lighter corresponding to the lighter number continues to be controlled to rotate back and forth in the direction corresponding to the shaking horizontal angle until the number of boundary lines corresponding to the correction bubble boundary line is 1.

[0013] By adopting the above technical solution, when the number of boundary lines is greater than or equal to 2, it means that there is more than one bubble at this time, so it is impossible to judge whether the detection height is reached from only one bubble. At this time, it is necessary to shake it to mix multiple bubbles into one bubble, thereby improving the accuracy of detection.

[0014] Optionally, when the number of boundary lines is greater than 1, the method of controlling the lighter corresponding to the lighter number to rotate back and forth in the direction corresponding to the shaking horizontal angle includes: Analyze the predicted horizontal detection image based on the preset partition plate feature to obtain the lighter areas on both sides, define one of the lighter areas with a larger area as a first lighter area, and define the other lighter area with a smaller area as a second lighter area; When the bubble boundary lines are all expected to fall into any lighter area on the same side, the lighter corresponding to the lighter number is controlled to rotate back and forth in the direction corresponding to the shaking horizontal angle; When the bubble boundary lines are expected to fall into the lighter areas on different sides, the lighters corresponding to the lighter numbers are controlled to flip to a preset upright angle in the circumferential vertical plane, and then the lighters corresponding to the lighter numbers are controlled to rotate slowly in a preset axial vertical plane in a preset direction toward the large area and obtain a vertical movement detection image, wherein the axial vertical plane is a vertical plane parallel to the length direction of the transport axis; Analyzing the vertical movement detection image based on the partition plate feature to obtain a moving first lighter area; When the predicted bubble boundary lines all fall into the moving first lighter area, the lighter corresponding to the lighter number is controlled to flip to a horizontal angle, and then the predicted horizontal detection image is reacquired.

[0015] By adopting the above technical solution, since there is a partition in the middle of the lighter to enhance the structural strength of the lighter, it is very easy to generate two bubbles, and if the two bubbles are in two areas, they will never mix together even if they are shaken. Therefore, at this time, the two bubbles need to pass through the bottom of the lighter to reach one area and then mix them, which improves the efficiency of bubble mixing.

[0016] Optionally, the method of controlling the lighter corresponding to the lighter number to rotate in the axial vertical plane includes: The lighter number that needs to be rotated in the axial vertical plane is defined as the action lighter number; Obtain the number of the qualified lighter that outputs the qualified detection signal; When the sum of the numbers corresponding to the action lighter numbers and the qualified lighter numbers is equal to the preset total number of lighters, the lighters corresponding to the lighter numbers are controlled to rotate in the axial vertical plane until the predicted bubble boundary lines corresponding to all the action lighter numbers fall into the corresponding moving first lighter area; When the sum of the numbers corresponding to the action lighter numbers and the qualified lighter numbers is less than the total number of lighters, the remaining lighter numbers are determined based on the total number of lighters, the sum of the numbers corresponding to the action lighter numbers and the qualified lighter numbers; When the number of numbers corresponding to the remaining lighter numbers is greater than the number of numbers corresponding to the action lighter numbers, the lighter corresponding to the action lighter number is pulled out; When the number of numbers corresponding to the remaining lighter numbers is less than the number of numbers corresponding to the action lighter numbers, the lighter corresponding to the remaining lighter numbers is pulled out; The lighters corresponding to the lighter numbers are controlled to rotate in the axial vertical plane until the predicted bubble boundary lines corresponding to all the action lighter numbers fall into the corresponding moving first lighter area.

[0017] By adopting the above technical solution, when there is only an action lighter in a row of lighters, that is, a lighter that does not rotate around its own rotation axis, the entire row of lighters needs to be shaken together, so it is necessary to consider whether other lighters need such operation. If there are other lighters that do not need such operation, then the lighter will be pulled out to avoid the problem that other lighters do not have multiple bubbles themselves but instead appear during the shaking process, thereby improving the efficiency of the lighter bubble processing process.

[0018] Optionally, a method of unplugging and then reinserting the lighter corresponding to the remaining lighter number or the action lighter number is also included, the method comprising: Determine the starting transport axis number based on the unplugged remaining lighter number or the action lighter number; Determine a transport axis number after the starting transport axis number based on the starting transport axis number, and define the transport axis number as an adapted transport axis number; When the number of numbers corresponding to the action lighter number corresponding to the adapted transport axis number is less than the number of numbers corresponding to the remaining lighter numbers, but there is a qualified lighter number, no operation is performed; When the number of numbers corresponding to the action lighter numbers corresponding to the adapted transport axis number is less than the number of numbers corresponding to the remaining lighter numbers, and there is no qualified lighter number, the adapted transport axis number is defined as the replenished transport axis number; Insert the lighter corresponding to the remaining lighter number into the position corresponding to the corresponding action lighter number in the replenishing transport axis number; When the number corresponding to the action lighter number corresponding to the adapted transport axis number is greater than the number corresponding to the remaining lighter number, the adapted transport axis number is defined as the re-shaking transport axis number; Insert the lighter corresponding to the action lighter number into the position corresponding to the remaining lighter number in the re-shaking transport axis number.

[0019] By adopting the above technical solution, all lighters that need to be shaken and other lighters that need to be replenished are classified, so that all the shaking lighters and replenished lighters are each on a transport axis. After the inspection is completed, they can each go to their respective required areas for inspection, thereby improving the smoothness of transportation on the transport axis.

[0020] In a second aspect, the present application provides a lighter inflation detection system, which adopts the following technical solution: A lighter inflation detection system, comprising: An acquisition module is used to acquire a vertical detection image, a lighter number, a horizontal detection image and a round trip number; A memory, used to store a program of a control method of any of the above-mentioned lighter inflation detection methods; The program in the processor memory can be loaded and executed by the processor to implement any of the above-mentioned control methods for detecting the inflation of the lighter.

[0021] By adopting the above technical solution, the image of the liquid height is detected to determine whether it is full. If it is full, a qualified signal is output, thereby reducing the influence of human subjective factors and improving the efficiency of detection.

[0022] In the third aspect, the present application provides a smart terminal, which adopts the following technical solution: The intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute any one of the above-mentioned lighter inflation detection methods.

[0023] By adopting the above technical solution, the image of the liquid height is detected to determine whether it is full. If it is full, a qualified signal is output, thereby reducing the influence of human subjective factors and improving the efficiency of detection.

[0024] Fourthly, the present application provides a computer storage medium that can store corresponding programs and has the characteristics of fast interaction with memory big data.

[0025] Computer readable storage medium, using the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned lighter inflation detection methods.

[0026] By adopting the above technical solution, the image of the liquid height is detected to determine whether it is full. If it is full, a qualified signal is output, thereby reducing the influence of human subjective factors and improving the efficiency of detection.

[0027] In summary, the present application includes at least the following beneficial technical effects: 1. Determine whether it is full by detecting the image of the liquid height. If it is full, output a qualified signal, reducing the influence of human subjective factors and improving the efficiency of detection; 2. When the number of boundary lines is greater than or equal to 2, it means that there is more than one bubble at this time, and it is necessary to shake it to mix multiple bubbles into one bubble, thereby improving the accuracy of detection; 3. If there are other lighters that do not require such operation, pull out the lighter to avoid the situation where other lighters do not have multiple bubbles but instead have them during the shaking process, thereby improving the efficiency of the lighter bubble handling process. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a flow chart of a lighter inflation detection method in an embodiment of the present application.

[0029] Figure 2 It is a structural schematic diagram of the entire set of lighters in the embodiment of the present application.

[0030] Figure 3 It is a flow chart of the inflation detection method when the boundary height is not obtained in the embodiment of the present application.

[0031] Figure 4 It is a flowchart of the method for obtaining a horizontal detection image in an embodiment of the present application.

[0032] Figure 5 It is a flowchart of a method for analyzing an estimated horizontal detection image based on horizontal boundary features to determine an estimated bubble boundary line in an embodiment of the present application.

[0033] Figure 6 It is a flow chart of a method for controlling a lighter corresponding to a lighter number to rotate back and forth in a direction corresponding to a shaking horizontal angle when the number of boundary lines is greater than 1 in an embodiment of the present application.

[0034] Figure 7 It is a schematic diagram of the division of the internal area of ​​the lighter in the embodiment of the present application.

[0035] Figure 8 It is a flow chart of a method for controlling the lighter corresponding to the lighter number to rotate in an axial vertical plane in an embodiment of the present application.

[0036] Fig. 9 It is a flowchart of a method for unplugging and reinserting a lighter corresponding to a remaining lighter number or an action lighter number in an embodiment of the present application.

[0037] Fig.10 It is a system module diagram of a lighter inflation detection method in an embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 10 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0039] The present application embodiment discloses a lighter inflation detection method. Figure 1 , a lighter inflation detection method comprises: Step 100: Place the entire set of lighters in an inflated state and obtain a vertical detection image.

[0040] like Figure 2As shown, direction A is the vertical downward direction. The entire group of lighters is a combination of all lighters on a transport shaft. Since a row of lighters are inflated during the lighter inflation process, a row of lighters should be transported out at this time. In order to facilitate the operation of the lighter, a control system is set on the transport shaft to individually control the rotation of each lighter and the revolution around the transport shaft. The vertical detection image is when the lighter is moving vertically, that is, Figure 2 The image of the lighter plane is captured from the side during the placement process shown in the figure. The image can be captured by a camera.

[0041] Step 101: Analyze the boundary height based on the vertical detection image and the preset boundary image features.

[0042] The boundary image feature is the feature of the boundary liquid surface at the boundary between the liquid and gas inside the lighter. This feature can be captured and extracted before detection. The boundary height is the height of the boundary image feature in the vertical detection image. The analysis process is the normal image analysis process and will not be repeated here.

[0043] Step 102: Outputting a detection failure signal when the boundary height is less than a preset designated height.

[0044] The designated height is the height above which the lighter is considered full. The height setting here can be calculated from the bottom of the lighter to the height that is manually designated as full. It should be noted here that the height of the lighter is not the height where there is no gas and only liquid inside, but a certain space is left but it is also considered full. In order to make the judgment accurate, the designated lighter and camera will be placed at a fixed height during each shooting process. The unqualified detection signal is the signal that the corresponding lighter is unqualified if the gas is not fully filled. The output method can be a signal light indication or a text reminder.

[0045] When the boundary height is less than the specified height, it means that the liquid height does not meet the requirement, which means that the gas is not fully filled, and a detection failure signal can be output.

[0046] Step 103: Outputting a detection pass signal when the boundary height is greater than or equal to the specified height.

[0047] If it is greater than or equal to, it means that the liquid height has reached the requirement, and a qualified detection signal is output.

[0048] Reference Figure 3 , and also includes an inflation detection method when the boundary height is not obtained, the method comprising: Step 200: Obtain the serial number of the lighter for which the boundary height has not been analyzed.

[0049] The lighter number is the number of the lighter, and here the number is the number of the lighter on a transport axis. For example, it can be composed of two groups of two digits, one group represents the transport axis, and the other group represents the lighter number: 0401, 0402, which means that the transport axis is numbered 04, and the lighters on this transport axis are numbered 01 and 02.

[0050] Step 201: Control the lighter corresponding to the lighter number to flip to a preset horizontal angle in a preset circumferential vertical plane and obtain a horizontal detection image.

[0051] The circumferential vertical plane is a vertical plane perpendicular to the length direction of the transport axis, that is, the plane formed by the lighter rotating around the transport axis. The horizontal angle is the angle of horizontal placement, such as Figure 2 The image shown is the angle after rotating 90° around the transport axis. The horizontal detection image is an image taken from top to bottom when the lighter is rotated to a horizontal angle. The acquisition method is to shoot from top to bottom.

[0052] Step 202: Analyze the horizontal detection image based on preset horizontal boundary features to determine the bubble boundary line.

[0053] The horizontal boundary feature is that when the lighter is placed horizontally, the liquid level boundary will appear in the form of bubbles, and then there will be obvious boundary features. The bubble boundary line is the boundary line of the bubble. The analysis method is similar to the above method of determining the boundary height, so it will not be repeated here.

[0054] Step 203: performing line calculation based on the preset bubble center and the preset demarcation standard boundary line and bubble boundary line to obtain the standard line segment length and the actual line segment length corresponding to any preset line angle.

[0055] The bubble center is the center of the bubble set manually, that is, the center of the place where the bubble should be in the image. Here, it is obtained by manually placing a standard full lighter horizontally and taking an image. In order to make all images consistent, the shooting position and the position after the lighter is rotated are also kept at the same position each time. The demarcation standard boundary line is the boundary line of the bubble set manually, which is also obtained by manually placing a standard full lighter horizontally and taking an image. The connection angle is the angle corresponding to the connection line segment from the bubble center to the demarcation standard boundary line or the bubble boundary line. Here, the angle can be referenced to a certain angle as 0°. The purpose of any angle is to ensure that the length comparison is at an angle. The standard segment length is the length of the segment connecting the bubble center and the demarcation standard boundary line. The actual segment length is the length of the segment connecting the bubble center and the bubble boundary line.

[0056] Step 204: Outputting a detection failure signal when the actual line segment length corresponding to any connecting line angle is greater than the standard line segment length.

[0057] When both are greater than , it means that the bubble boundary line is located in the outer circle of the boundary standard line. At this time, it means that the bubble is larger than theoretically. The large bubble means that there is less liquid inside and it is definitely not full, so the output signal of unqualified detection is output.

[0058] Step 205: Output a detection pass signal when the actual line segment length corresponding to any connecting line angle is less than the standard line segment length.

[0059] When both are less than, it means that the bubble boundary line is located in the inner circle of the boundary standard line. At this time, it means that the bubble is smaller than theoretically. The small bubble means that there is more liquid inside and it may be full, so the output detection qualified signal.

[0060] Reference Figure 4 , the method of obtaining the horizontal detection image includes: Step 300: Acquire an estimated horizontal detection image.

[0061] The expected horizontal detection image is the image captured before the horizontal detection image is output. The acquisition method is the same as that of the horizontal detection image.

[0062] Step 301: Analyze the estimated horizontal detection image based on the horizontal boundary feature to determine the estimated bubble boundary line.

[0063] The estimated bubble boundary line is the estimated bubble boundary line in the horizontal detection image.

[0064] Step 302: Determine the estimated center point based on the estimated bubble boundary line.

[0065] The estimated center point is the center point of the estimated bubble boundary line. The method for determining here can be to fill it with regular small squares, then delete the less than half, calculate the more than half as one grid, and then take a certain point as the reference center, calculate the area along the two boundary lines of the small square multiplied by the sum of the distance to the reference center divided by the total distance. You can also draw a figure in CAD, then establish a domain, and finally query the domain characteristics.

[0066] Step 303: Determine the offset direction based on the estimated center point and the bubble center.

[0067] The offset direction is the offset direction from the estimated center point to the center of the bubble. The offset direction here includes not only rotation around the lighter itself, but also rotation around the transport axis. The rotation around the lighter here can be controlled by a small rotating cylinder.

[0068] Step 304: Control the lighter corresponding to the lighter number to flip in the offset direction until the estimated center point is consistent with the bubble center, and output the estimated horizontal detection image as the horizontal detection image.

[0069] The purpose here is to make the lighter placed horizontally. If the center of the bubble is inconsistent, it is likely that the lighter is not placed horizontally, so the placement angle needs to be adjusted.

[0070] Reference Figure 5 , the method of analyzing the estimated horizontal detection image based on the horizontal boundary feature to determine the estimated bubble boundary line includes: Step 400: Determine the number of boundary lines based on the predicted bubble boundary lines.

[0071] The number of boundary lines is the number of expected bubble boundary lines that are not on a line, which here is the number of circles enclosed by the expected bubble boundary lines.

[0072] Step 401: When the number of boundary lines is 1, the estimated horizontal detection image is analyzed based on the horizontal boundary features to determine the estimated bubble boundary line.

[0073] When there is only one bubble, all the gas is gathered in one bubble, so the expected bubble boundary line can be directly determined.

[0074] Step 402: When the number of boundary lines is greater than 1, define the predicted bubble boundary line as a local boundary line.

[0075] When it is greater than, it means that there are multiple bubbles at this time. If only one is compared, it is not authentic, so all the bubbles need to be gathered together to form one bubble.

[0076] Step 403: Determine the local center point based on the local boundary line.

[0077] The local center point is the center point of the local boundary line, which is a local boundary line in this case.

[0078] Step 404: Determine the shaking horizontal angle based on the local center point.

[0079] The horizontal angle of shaking is the angle of shaking in the horizontal direction, that is, the angle and amplitude of rotation around the length direction of the lighter itself. Here, since when one bubble rises, another bubble will also rise, the method of rotating around the transport axis is not necessary, or the vertical angle can be directly rotated, that is, the two are at the same height. The method determined here can be a database reading method, and the database stores the mapping relationship between the local center point and the horizontal angle of shaking. The establishment of the database here is obtained by the staff in this field based on the test data, that is, shaking different amplitudes at different distances from the center point, and recording the amplitude with the best shaking effect. When the system receives the local center point, it automatically finds the corresponding horizontal angle of shaking from the database and outputs it.

[0080] Step 405: Control the lighter corresponding to the lighter number to rotate back and forth in the direction corresponding to the shaking horizontal angle and accumulate the number of back and forth movements.

[0081] The number of round trips is the number of repeated shaking. The acquisition method can be a data recognition method. The purpose of accumulation is to avoid the situation where the number of checks is too high and the efficiency is low due to checking every time the shaking occurs.

[0082] Step 406: When the number of round trips is equal to the preset number of detections, the lighter corresponding to the lighter number is controlled to flip to a horizontal angle in the circumferential vertical plane and obtain a calibrated detection image.

[0083] The detection times are manually set for the shaking times, in order to reduce the situation where the results are checked for each shaking. The calibration detection image is an image of the lighter that stops when the lighter corresponding to the lighter number rotates back and forth in the direction corresponding to the shaking horizontal angle for the number of times that reaches the detection times.

[0084] Step 407: Analyze the corrected detection image based on the horizontal boundary feature to determine the corrected bubble boundary line.

[0085] Correcting the bubble boundary line is to correct the bubble boundary line of the detection image. The analysis method is the same as that of the bubble boundary line, so it will not be repeated here.

[0086] Step 408: When the number of boundary lines corresponding to the corrected bubble boundary line is 1, output the corrected detection image as the estimated horizontal detection image and output the corrected bubble boundary line as the estimated bubble boundary line.

[0087] When the number of boundary lines corresponding to the correction bubble boundary line is 1, it means that the shaking is completed and all the bubbles have been mixed into one.

[0088] Step 409: When the number of boundary lines corresponding to the correction bubble boundary line is greater than 1, continue to control the lighter corresponding to the lighter number to rotate back and forth in the direction corresponding to the shaking horizontal angle until the number of boundary lines corresponding to the correction bubble boundary line is 1.

[0089] Reference Figure 6 When the number of boundary lines is greater than 1, the method of controlling the lighter corresponding to the lighter number to rotate back and forth in the direction corresponding to the shaking horizontal angle includes: Step 500: Analyze the predicted horizontal detection image based on the preset partition plate features to obtain the lighter areas on both sides, define one of the lighter areas with a larger area as the first lighter area, and define the other lighter area with a smaller area as the second lighter area.

[0090] The separator plate feature is the feature of the separator plate, such as Figure 7 As shown, in order to enhance the structural strength of the lighter, a long partition plate is set in the middle of the lighter. Then, the straight line where the partition plate is located is used as a dividing line to divide the areas on both sides to obtain a first lighter area and a second lighter area.

[0091] Step 501: When the bubble boundary lines are expected to fall into any lighter area on the same side, the lighter corresponding to the lighter number is controlled to rotate back and forth in the direction corresponding to the shaking horizontal angle.

[0092] When both fall in, it means that the two bubbles can be mixed in one area by rotating around the length direction of the lighter itself, and they are mixed directly.

[0093] Step 502: When the bubble boundary lines are expected to fall into the lighter areas on different sides, the lighters corresponding to the lighter numbers are controlled to flip to a preset upright angle in the circumferential vertical plane, and then the lighters corresponding to the lighter numbers are controlled to rotate slowly in the preset axial vertical plane in the direction of the preset large area and obtain a vertical movement detection image.

[0094] The vertical angle is the angle at which the lighter is vertically erected. Figure 2 The placement shown, that is, Figure 7 The inverted angle. The axial vertical plane is a vertical plane parallel to the length direction of the transport axis, that is, the plane where the lighter rotates around the transport axis. The direction of the large area is the direction of movement to the large area, such as Figure 7 The left side is downward and the right side is upward. Since the placement on the transport axis is consistent, the direction of the large area is fixed and can be set manually after placement. The vertical movement detection image is a real-time image when the lighter corresponding to the lighter number is rotated in the preset circumferential vertical plane according to the preset direction of the large area.

[0095] When the bubble boundary lines are expected to fall into the lighter areas on different sides, it means that no matter how the lighter is rotated, it cannot reach the other side because of the partition. Therefore, the bubbles need to be moved to the top and then circulate through the gap between the partition and the lighter. Therefore, it is necessary to determine whether to move the bubbles into one area.

[0096] Step 503: Analyze the vertical movement detection image based on the partition plate feature to obtain the moving first lighter area.

[0097] The moving first lighter area is the first lighter area in the rotating process. The analysis method is similar to step 500 and will not be described in detail here.

[0098] Step 504: When the estimated bubble boundary lines all fall into the moving first lighter area, the lighter corresponding to the lighter number is controlled to flip to a horizontal angle, and then the estimated horizontal detection image is reacquired.

[0099] Reference Figure 8 The method of controlling the lighter corresponding to the lighter number to rotate in the axial vertical plane includes: Step 600: Define the lighter number that needs to be rotated in the axial vertical plane as the action lighter number.

[0100] Step 601: Obtain the serial number of a qualified lighter that outputs a qualified detection signal.

[0101] The qualified lighter number is the number of the lighter that outputs a qualified detection signal. The method of obtaining it here is to automatically define the corresponding lighter number as the qualified lighter number and output it when the qualified detection signal is output.

[0102] Step 602: When the sum of the numbers corresponding to the action lighter numbers and the qualified lighter numbers is the preset total number of lighters, the lighters corresponding to the lighter numbers are controlled to rotate in the axial vertical plane until the expected bubble boundary lines corresponding to all the action lighter numbers fall into the corresponding moving first lighter area.

[0103] The total number of lighters is the total number of lighters on a transport shaft. Since the entire transport shaft and the entire group of lighters need to rotate together to control the rotation of the lighter corresponding to the lighter number in the axial vertical plane, it is necessary to consider whether other lighters are affected. When the sum of the number of numbers corresponding to the action lighter number and the qualified lighter number is the total number of lighters, it means that there are no unqualified lighters except for the lighter corresponding to the lighter number that needs to rotate in the axial vertical plane. Therefore, the lighter corresponding to the lighter number can be directly controlled to rotate in the axial vertical plane. At this time, those qualified lighters have been tested and no shaking will affect their qualification, so they are not affected by the rotation of the lighter corresponding to the lighter number in the axial vertical plane.

[0104] Step 603: When the sum of the numbers corresponding to the operational lighter numbers and the qualified lighter numbers is less than the total number of lighters, the remaining lighter numbers are determined based on the total number of lighters, the sum of the numbers corresponding to the operational lighter numbers and the qualified lighter numbers.

[0105] The remaining lighter number is the number of lighters that have been determined to be unqualified. When it is less than , it means that there are still unqualified lighters at this time, and the unqualified situation here is the situation that it is not full, so the remaining lighter number is output.

[0106] Step 604: When the number of numbers corresponding to the remaining lighter numbers is greater than the number of numbers corresponding to the action lighter numbers, pull out the lighter corresponding to the action lighter number.

[0107] When the number corresponding to the remaining lighter numbers here is greater than the number corresponding to the action lighter numbers, it means that the number of lighters that need to be shaken is small, so they can be pulled out and shaken individually.

[0108] Step 605: When the number of numbers corresponding to the remaining lighter numbers is less than the number of numbers corresponding to the action lighter numbers, the lighters corresponding to the remaining lighter numbers are unplugged.

[0109] When the number corresponding to the remaining lighter numbers here is less than the number corresponding to the action lighter numbers, it means that there are more lighters that need to be shaken, so the lighters corresponding to the remaining lighter numbers can be unplugged and then shaken together.

[0110] Step 606: Control the lighter corresponding to the lighter number to rotate in the axial vertical plane until the estimated bubble boundary lines corresponding to all the action lighter numbers fall into the corresponding moving first lighter area.

[0111] Reference Fig. 9 , and also includes a method of unplugging and then reinserting the lighter corresponding to the remaining lighter number or the action lighter number, the method comprising: Step 700: Determine the starting transport axis number based on the unplugged remaining lighter number or the action lighter number.

[0112] The starting transport axis number is the number of the transport axis of the lighter from which the remaining lighter number or the action lighter number is unplugged. The method of determination is that when unplugged, it can be directly marked.

[0113] Step 701: Determine a transport axis number after the starting transport axis number based on the starting transport axis number, and define the transport axis number as an adapted transport axis number.

[0114] The purpose here is to determine the subsequent transport axis. Wherein, because it is on a production line, it is not just a row of lighters, but a continuous group of lighters, so in order to avoid confusion, only the unplugged lighters are plugged into the subsequent transport axis.

[0115] Step 702: When the number of numbers corresponding to the action lighter number corresponding to the adapted transport axis number is less than the number of numbers corresponding to the remaining lighter numbers, but there is a qualified lighter number, no operation is performed.

[0116] The number of action lighter numbers corresponding to the transport axis number here is less than the number of remaining lighter numbers, but when there are qualified lighter numbers, it means that they cannot be inflated at the same time. Therefore, although the corresponding transport axis unplugs the lighter corresponding to the action lighter number above, there are still qualified lighters and they will not return to the original inflation area for inflation. Therefore, the operation of inserting the remaining lighter numbers into the transport axis will not be performed.

[0117] Step 703: When the number of numbers corresponding to the action lighter numbers corresponding to the adapted transport axis number is less than the number of numbers corresponding to the remaining lighter numbers and there is no qualified lighter number, define the adapted transport axis number as the replenished transport axis number.

[0118] When there is no qualified lighter number, it means that all the action lighter numbers are unplugged according to steps 600-606, and only the remaining lighter numbers are left, so they can all be replenished.

[0119] Step 704: Insert the lighter corresponding to the remaining lighter number into the position corresponding to the action lighter number in the replenishment transport axis number.

[0120] The action of inserting back here is to unplug the lighter corresponding to the lighter number, and then insert it again.

[0121] Step 705: When the number of numbers corresponding to the action lighter numbers corresponding to the adapted transport axis number is greater than the number of numbers corresponding to the remaining lighter numbers, define the adapted transport axis number as the re-shaking transport axis number.

[0122] When it is greater than, it means that after the lighters corresponding to the remaining lighter numbers are removed in accordance with steps 600-606, all lighters can be shaken in the axial vertical plane.

[0123] Step 706: Insert the lighter corresponding to the action lighter number into the position corresponding to the remaining lighter number in the re-shaking transport shaft number.

[0124] Based on the same inventive concept, an embodiment of the present invention provides a lighter inflation detection system.

[0125] Reference Fig.10 , a lighter inflation detection system, comprising: An acquisition module is used to acquire a vertical detection image, a lighter number, a horizontal detection image and a round trip number; A memory for storing a program of a control method of a lighter inflation detection method; The program in the memory can be loaded and executed by the processor to implement a control method for a lighter inflation detection method.

[0126] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0127] An embodiment of the present invention provides a computer-readable storage medium storing a computer program capable of being loaded and executed by a processor for a lighter inflation detection method.

[0128] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0129] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed by a lighter inflation detection method.

[0130] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A lighter inflation detection method, characterized in that: include: The entire group of lighters are placed in an inflated state and a vertical detection image is acquired, wherein the lighters are all mounted on a transport shaft and arranged along the length direction of the transport shaft; Analyzing the demarcation height based on the vertical detection image and the preset demarcation image features; When the boundary height is less than the preset specified height, a detection failure signal is output; When the boundary height is greater than or equal to the specified height, a detection pass signal is output.

2. A lighter inflation detection method according to claim 1, characterized in that: The method also includes an inflation detection method when the boundary height is not obtained, the method comprising: Get the lighter number for which the demarcation height is not analyzed; Controlling the lighter corresponding to the lighter number to flip to a preset horizontal angle in a preset circumferential vertical plane and acquiring a horizontal detection image, wherein the circumferential vertical plane is a vertical plane perpendicular to the length direction of the transport axis; Analyzing the horizontal detection image based on preset horizontal boundary features to determine the bubble boundary line; Based on the preset bubble center, the preset demarcation standard boundary line and the bubble boundary line are connected to calculate the standard line segment length and the actual line segment length corresponding to any preset connection angle; When the actual line segment length corresponding to any connecting angle is greater than the standard line segment length, a detection failure signal is output; When the actual line segment length corresponding to any connecting angle is less than the standard line segment length, a detection qualified signal is output.

3. A lighter inflation detection method according to claim 2, characterized in that: Methods for obtaining a horizontal detection image include: Obtaining an estimated horizontal detection image; Analyzing the predicted horizontal detection image based on the horizontal boundary feature to determine the predicted bubble boundary line; Determine the estimated center point based on the estimated bubble boundary line; Determine the offset direction based on the estimated center point and the bubble center; The lighter corresponding to the lighter number is controlled to flip in the offset direction until the expected center point is consistent with the bubble center, and the expected horizontal detection image is output as the horizontal detection image.

4. A lighter inflation detection method according to claim 3, characterized in that: The method for analyzing the estimated horizontal detection image based on the horizontal boundary feature to determine the estimated bubble boundary line includes: Determining the number of boundary lines based on the expected bubble boundary lines; When the number of boundary lines is 1, the estimated horizontal detection image is analyzed based on the horizontal boundary line features to determine the estimated bubble boundary line; When the number of boundary lines is greater than 1, the estimated bubble boundary line is defined as a local boundary line. Determine the local center point based on the local boundary line; Determine the horizontal angle of sway based on the local center point; Control the lighter corresponding to the lighter number to rotate back and forth in the direction corresponding to the shaking horizontal angle and accumulate the number of back and forth times; When the number of round trips is equal to the preset number of detections, the lighter corresponding to the lighter number is controlled to flip to a horizontal angle in the circumferential vertical plane and obtain a correction detection image; Analyzing the correction detection image based on the horizontal boundary feature to determine the correction bubble boundary line; When the number of boundary lines corresponding to the correction bubble boundary line is 1, the correction detection image is output as the estimated horizontal detection image and the correction bubble boundary line is output as the estimated bubble boundary line; When the number of boundary lines corresponding to the correction bubble boundary line is greater than 1, the lighter corresponding to the lighter number continues to be controlled to rotate back and forth in the direction corresponding to the shaking horizontal angle until the number of boundary lines corresponding to the correction bubble boundary line is 1.

5. A lighter inflation detection method according to claim 4, characterized in that: When the number of boundary lines is greater than 1, the method of controlling the lighter corresponding to the lighter number to rotate back and forth in the direction corresponding to the shaking horizontal angle includes: Analyze the predicted horizontal detection image based on the preset partition plate feature to obtain the lighter areas on both sides, define one of the lighter areas with a larger area as a first lighter area, and define the other lighter area with a smaller area as a second lighter area; When the bubble boundary lines are all expected to fall into any lighter area on the same side, the lighter corresponding to the lighter number is controlled to rotate back and forth in the direction corresponding to the shaking horizontal angle; When the bubble boundary lines are expected to fall into the lighter areas on different sides, the lighters corresponding to the lighter numbers are controlled to flip to a preset upright angle in the circumferential vertical plane, and then the lighters corresponding to the lighter numbers are controlled to rotate slowly in a preset axial vertical plane in a preset direction toward the large area and obtain a vertical movement detection image, wherein the axial vertical plane is a vertical plane parallel to the length direction of the transport axis; Analyzing the vertical movement detection image based on the partition plate feature to obtain a moving first lighter area; When the predicted bubble boundary lines all fall into the moving first lighter area, the lighter corresponding to the lighter number is controlled to flip to a horizontal angle, and then the predicted horizontal detection image is reacquired.

6. A lighter inflation detection method according to claim 5, characterized in that: The method for controlling the lighter corresponding to the lighter number to rotate in an axial vertical plane includes: The lighter number that needs to be rotated in the axial vertical plane is defined as the action lighter number; Obtain the number of the qualified lighter that outputs the qualified detection signal; When the sum of the numbers corresponding to the action lighter numbers and the qualified lighter numbers is equal to the preset total number of lighters, the lighters corresponding to the lighter numbers are controlled to rotate in the axial vertical plane until the predicted bubble boundary lines corresponding to all the action lighter numbers fall into the corresponding moving first lighter area; When the sum of the numbers corresponding to the action lighter numbers and the qualified lighter numbers is less than the total number of lighters, the remaining lighter numbers are determined based on the total number of lighters, the sum of the numbers corresponding to the action lighter numbers and the qualified lighter numbers; When the number of numbers corresponding to the remaining lighter numbers is greater than the number of numbers corresponding to the action lighter numbers, the lighter corresponding to the action lighter number is pulled out; When the number of numbers corresponding to the remaining lighter numbers is less than the number of numbers corresponding to the action lighter numbers, the lighter corresponding to the remaining lighter numbers is pulled out; The lighters corresponding to the lighter numbers are controlled to rotate in the axial vertical plane until the predicted bubble boundary lines corresponding to all the action lighter numbers fall into the corresponding moving first lighter area.

7. A lighter inflation detection method according to claim 6, characterized in that: The method also includes a method of unplugging and then reinserting the lighter corresponding to the remaining lighter number or the action lighter number, the method comprising: Determine the starting transport axis number based on the unplugged remaining lighter number or the action lighter number; Determine a transport axis number after the starting transport axis number based on the starting transport axis number, and define the transport axis number as an adapted transport axis number; When the number of numbers corresponding to the action lighter number corresponding to the adapted transport axis number is less than the number of numbers corresponding to the remaining lighter numbers, but there is a qualified lighter number, no operation is performed; When the number of numbers corresponding to the action lighter numbers corresponding to the adapted transport axis number is less than the number of numbers corresponding to the remaining lighter numbers, and there is no qualified lighter number, the adapted transport axis number is defined as the replenished transport axis number; Insert the lighter corresponding to the remaining lighter number into the position corresponding to the corresponding action lighter number in the replenishing transport axis number; When the number corresponding to the action lighter number corresponding to the adapted transport axis number is greater than the number corresponding to the remaining lighter number, the adapted transport axis number is defined as the re-shaking transport axis number; Insert the lighter corresponding to the action lighter number into the position corresponding to the remaining lighter number in the re-shaking transport axis number.

8. A lighter inflation detection system, characterized in that: include: An acquisition module is used to acquire a vertical detection image, a lighter number, a horizontal detection image and a round trip number; A memory for storing a program of a control method of a lighter inflation detection method according to any one of claims 1 to 7; The program in the memory can be loaded and executed by the processor to implement a control method for a lighter inflation detection method as described in any one of claims 1 to 7.

9. Intelligent terminal, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes a lighter inflation detection method as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that A computer program is stored which can be loaded by a processor and executes a lighter inflation detection method according to any one of claims 1 to 7.