Sealing detection method, device and equipment for liquid skin care product filling and sealing machine
By using image acquisition and fuzzy detection methods, accurate detection of the seal of liquid skin care product bags was achieved, solving the problem of insufficient detection accuracy in existing technologies and improving detection efficiency and sealing quality.
Patent Information
- Application Number
- CN202511419735.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-30
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2045-09-30
AI Technical Summary
Existing technologies for detecting the sealing of liquid skincare product pouches suffer from poor accuracy, leading to sealing defects and potential product leakage during transportation.
The initial image is acquired by an image acquisition device, the bag image is filtered using an image filtering template, the sealing area image is cropped, the image size is judged to match and ambiguity is detected, and the quality is verified by combining the speed information of the transmission detector, so as to achieve accurate detection of the seal.
It improves the accuracy and efficiency of sealing detection for liquid skincare product pouches, enabling timely detection and classification of sealing defects, and reducing the risk of product leakage.
Smart Images

Figure CN120912595A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent detection, and in particular to a sealing detection method, device and equipment for a liquid skin care product filling and sealing machine. BACKGROUND
[0002] In order to store and transport liquid skin care products, the liquid skin care products need to be filled into a bag and sealed. However, during the automatic sealing process of the filling and sealing machine, there may be sealing defects, which may result in a bag that is not tightly sealed or not completely sealed, and the skin care product may leak during subsequent packaging and transportation, causing great losses to the enterprise. In order to avoid sealing defects, the existing technology usually detects the sealed bag of the skin care product on one side of the bag by a detection personnel, and detects whether the sealing is qualified by comparing the appearance of the sealing area with that of other areas of the bag. However, the detection personnel may experience visual fatigue after a long time of detection, which affects the reliability of the detection and thus results in inaccurate sealing detection. Therefore, the existing technical method has the problem of poor detection accuracy when detecting the sealing of the liquid skin care product bag. SUMMARY
[0003] The present application provides a sealing detection method, device and equipment for a liquid skin care product filling and sealing machine, which aims to solve the problem of poor detection accuracy when detecting the sealing of the liquid skin care product bag in the existing technical method.
[0004] In a first aspect, the present application provides a sealing detection method for a liquid skin care product filling and sealing machine. The method is applied to a detection terminal, which is communicatively connected to an image acquisition device and a transmission detector to realize transmission of data information. The method comprises the following steps: obtaining an initial image acquired by the image acquisition device, and screening a bag image corresponding to each sealed bag from the initial image according to a preset image screening template; obtaining a sealing area image corresponding to the bag image according to a preset image intercepting rule; determining whether the image size of the sealing area image matches a preset sealing parameter to obtain a matching determination result; if the matching determination result is matched, performing blur detection on the sealing area image and a transmission speed acquired by the transmission detector according to a preset detection strategy to obtain a quality detection value; verifying whether the quality detection value matches a preset matching verification rule to obtain a verification result; if the verification result is matched, determining that the detection result of the current bag image is passed; If the matching result or the verification result is not matched, it is determined that the detection result of the current bag image is not passed.
[0005] In a second aspect, the embodiment of the present application provides a sealing detection device of a liquid skin care product filling and sealing machine, wherein the device is arranged in a detection terminal, the detection terminal is in communication connection with an image acquisition equipment and a transmission detector respectively to realize transmission of data information, the sealing detection device of the liquid skin care product filling and sealing machine is used for executing the sealing detection method of the liquid skin care product filling and sealing machine as described in the first aspect, and the device comprises: An image screening unit is configured to acquire an initial image acquired by the image acquisition equipment, and screen a bag image corresponding to each sealing bag from the initial image according to a preset image screening template; An image intercepting unit is configured to intercept a sealing area image corresponding to the bag image according to a preset image intercepting rule; A matching result acquisition unit is configured to judge whether the image size of the sealing area image matches a preset sealing parameter, and obtain a corresponding matching result; A quality detection value acquisition unit is configured to, if the matching result is matched, perform a blur detection on the sealing area image and a transmission speed acquired by the transmission detector according to a preset detection strategy, and obtain a corresponding quality detection value; A verification result acquisition unit is configured to verify whether the quality detection value matches a preset matching verification rule, and obtain a corresponding verification result; A first determination unit is configured to, if the verification result is matched, determine that the detection result of the current bag image is passed; A second determination unit is configured to, if the matching result or the verification result is not matched, determine that the detection result of the current bag image is not passed.
[0006] In a third aspect, the embodiment of the present application further provides a sealing detection equipment of a liquid skin care product filling and sealing machine, wherein the sealing detection equipment comprises a machine table, a detection terminal, a transmission assembly, an illuminating lamp, an image acquisition equipment, a transmission detector, a rotary motor, a dial piece and a guide groove; The transmission assembly is arranged on the machine table, the guide groove is arranged on the transmission assembly, the illuminating lamp and the image acquisition equipment are arranged on the two sides of the transmission assembly, the transmission detector is in transmission connection with one transmission shaft in the transmission assembly, the dial piece is arranged in the center of the guide groove, the output shaft of the rotary motor is fixedly connected with a gear, the lower end of the dial piece is in sliding connection with a rack, and the rack is in meshing connection with the gear; The detection terminal comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus. The memory is used for storing a computer program. The processor is used for executing the program stored on the memory to realize the sealing detection method of the liquid skin care product filling and sealing machine according to the first aspect.
[0007] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the sealing detection method of the liquid skin care product filling and sealing machine according to the first aspect is realized.
[0008] The embodiments of the present application provide a sealing detection method, device and equipment of a liquid skin care product filling and sealing machine. The method comprises the following steps: obtaining an initial image collected by an image collection device and screening a bag body image corresponding to each sealing bag body from the initial image; according to a preset image cutting rule, a corresponding sealing area image is cut from the bag body image, and it is judged whether the image size of the sealing area image matches the sealing parameter, to obtain a matching judgment result; if the matching judgment result is matched, according to a preset detection strategy, a quality detection value is obtained by performing a blur detection on the sealing area image and a transmission speed collected by a transmission detector; a check result is obtained by checking whether the quality detection value matches a matching check rule; and it is judged according to the check result whether the detection result of the bag body image is passed. Through the above method, the initial image is collected and the bag body image is screened, the image size matching judgment and the quality detection value matching check are performed respectively, and the detection result of whether the bag body image is passed is obtained; the sealing of the bag body can be accurately detected, and the efficiency and accuracy of the sealing detection of the liquid skin care product bag body are greatly improved. BRIEF DESCRIPTION OF DRAWINGS
[0009] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creating laborious work.
[0010] Figure 1 The method flow chart of the sealing detection method of the liquid skin care product filling and sealing machine provided by the embodiments of the present application; Figure 2 The application scenario schematic diagram of the sealing detection method of the liquid skin care product filling and sealing machine provided by the embodiments of the present application; Figure 3 The structural diagram of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiments of the present application; Figure 4 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; Figure 5 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; Figure 6 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; Figure 7 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; Figure 8 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; Figure 9 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; Figure 10 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; Figure 11 Another structural view of the sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application; The drawings show that: 1, machine; 10, detection terminal; 101, transmission assembly; 21, illuminating lamp; 20, image acquisition device; 30, transmission detector; 40, rotary motor; 102, dial piece; 103, guide groove; 104, gear; 105, rack; 106, connecting column; 107, circular convex; 108, long strip-shaped groove. DETAILED DESCRIPTION
[0011] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0012] It should be understood that when used in the specification and the appended claims, the terms "comprise" and "include" indicate the presence of described features, integers, steps, operations, elements, and / or components, but do not exclude one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0013] It should also be understood that the terms used herein are for the purpose of describing particular embodiments and are not intended to limit the application. As used in the specification and the appended claims, the singular forms "a," "an" and "the" are intended to include plural forms unless the context clearly dictates otherwise.
[0014] It should be further understood that the term "and / or" used in the specification and the appended claims means one or the other or both of the associated listed items as well as all possible combinations of the items.
[0015] Please refer to Figure 1 and Figure 2 , Figure 1 The method flowchart of the sealing detection method of the liquid skin care product filling and sealing machine provided by the embodiment of the application, Figure 2 The application scenario schematic diagram of the sealing detection method of the liquid skin care product filling and sealing machine provided by the embodiment of the application; the sealing detection method of the liquid skin care product filling and sealing machine is applied in a detection terminal 10, the detection terminal 10 is in communication connection with an image acquisition device 20 and a transmission detector 30 respectively to realize transmission of data information, and the detection terminal 10 is also in communication connection with a rotary motor 40; the sealing detection method of the liquid skin care product filling and sealing machine is executed through application software installed in the detection terminal 10; the detection terminal 10 is a terminal device for executing the sealing detection method of the liquid skin care product filling and sealing machine to detect the sealing quality of the sealing bag body, and the detection terminal 10 can be a desktop computer, a notebook computer, a tablet computer or a server terminal. The image acquisition device 20 is used for image acquisition of the sealing bag body moving in parallel to obtain a bag body image, and the image acquisition device 20 can be a high-definition camera; the transmission detector 30 is used for detecting the speed of the sealing bag body moving in parallel to obtain a transmission speed; and the rotary motor 40 drives a paddle to move to realize classification of the sealing bag body. As shown in Figure 1 The method includes steps S110-S170.
[0016] S110, acquiring an initial image acquired by the image acquisition device, and screening a bag body image corresponding to each sealing bag body from the initial image according to a preset image screening template.
[0017] The image acquisition device can continuously acquire the initial images, and the adjacent two initial images have a certain interval time. For example, the interval time can be set to 0.2 seconds. The number of acquired initial images is large, and there is a large amount of repeated content in the images. In order to reduce the number of images for subsequent analysis, a bag body image corresponding to each bag body can be selected from the initial images by using the image screening template. The remaining images are directly screened out and not analyzed subsequently. In the present application, the bag body for filling skin care products is a translucent bag body, so the bag body itself has a certain light transmittance.
[0018] In an embodiment, step S110 includes the following steps: determining whether the front end edge of the upstream bag body in the initial image reaches the starting position set in the image screening template; if the front end edge of the bag body reaches the starting position, acquiring the initial image as a bag body image corresponding to the bag body and determining that the bag body is a downstream bag body; if the front end edge of the bag body does not reach the starting position, continuing to acquire the next image as an initial image and returning to execute the step of determining whether the front end edge of the upstream bag body in the initial image reaches the starting position set in the image screening template; determining whether the rear end edge of the downstream bag body in each subsequent acquired initial image passes through the starting position; if the rear end edge of the downstream bag body in the subsequently acquired initial image passes through the starting position, continuing to acquire the next image as an initial image and returning to execute the step of determining whether the front end edge of the upstream bag body in the initial image reaches the starting position set in the image screening template; if the rear end edge of the downstream bag body in the subsequently acquired initial image does not pass through the starting position, continuing to acquire the subsequent initial image and returning to execute the step of determining whether the rear end edge of the downstream bag body in each subsequent acquired initial image passes through the starting position.
[0019] Specifically, the starting position is set in the image screening template, and a vertical reference line can be drawn in the initial image according to the starting position. Taking the case where the bag body is conveyed from right to left as an example, the bag body corresponding to the right side of the initial image is an upstream bag body, and the bag body corresponding to the left side of the initial image is a downstream bag body. It can be determined whether the reference line left side contains part of the image of the upstream bag body, so as to determine whether the front end edge of the upstream bag body reaches the starting position. If the reference line left side contains part of the image of the upstream bag body, it is determined that the front end edge of the upstream bag body reaches the starting position. Since a plurality of initial images are continuously acquired, if it is determined that the front end edge of the upstream bag body reaches the starting position, the front end edge of the upstream bag body will not exceed the starting position for a long distance (the front end edge of the upstream bag body will only slightly exceed the starting position).
[0020] If the front end edge of the bag upstream reaches the starting position, the initial image currently collected is obtained as the bag image corresponding to the bag, and the current bag is calibrated as the bag downstream. If the front end edge of the bag does not reach the starting position, the next initial image is collected and the judgment process is performed on the initial image.
[0021] After the bag image of the bag is collected, the bag is marked as the bag downstream, and the subsequent initial image is collected and it is judged whether the rear end edge of the bag downstream passes the starting position, that is, whether the right side of the reference line corresponding to the starting position still contains the partial image of the bag downstream. If not, it indicates that the rear end edge of the bag downstream has passed the starting position. If yes, it indicates that the rear end edge of the bag downstream has not passed the starting position. If the rear end edge of the bag downstream has passed the starting position in the initial image collected subsequently, the subsequent image is collected as the initial image, and the step of judging whether the front end edge of the bag upstream reaches the starting position is performed. If the rear end edge of the bag downstream has not passed the starting position in the initial image collected subsequently, the subsequent initial image is collected and it is again judged whether the rear end edge of the bag downstream passes the starting position. Only the bag image determined as the bag is retained, and the remaining images are screened out.
[0022] S120, according to the preset image cutting rule, the corresponding sealing area image is cut from the bag image.
[0023] Further, according to the image cutting rule, the corresponding sealing area image is cut from the bag image, and the sealing area image only contains the image information of the sealed area.
[0024] In an embodiment, the step S120 includes the following steps: according to the cutting area in the image cutting rule, the bag image is cut to obtain the corresponding initial cutting image; according to the identification parameter in the image cutting rule, the boundary of the initial cutting image is identified to obtain the corresponding sealing boundary; and according to the sealing boundary, the initial cutting image is cut to obtain the sealing area image corresponding to the sealing boundary.
[0025] Specifically, the bag image can be cut according to the cutting area in the image cutting rule. Since the height of the sealing area is generally located in a height interval, and the two side edges of the bag can be accurately determined, the cutting area in the image cutting rule can be set according to the height interval corresponding to the sealing area and the two side edges of the bag. According to the cutting area, the initial cutting image is cut, and the initial cutting image contains the image information of the sealing area and the surrounding area of the sealing area.
[0026] To further obtain the image containing only the sealing area, boundary recognition can be performed on the initial cropped image according to the recognition parameter in the image cropping rule. Specifically, the pixel difference value between each pixel point in the initial cropped image and the edge pixel point can be calculated, and it is determined whether the pixel difference value is greater than the recognition parameter, so as to perform boundary recognition; if the pixel difference value of the pixel point is greater than the recognition parameter, it is determined that the pixel point is a pixel point corresponding to the sealing area; if the pixel difference value of the pixel point is not greater than the recognition parameter, it is determined that the pixel point is a pixel point in the periphery of the sealing area. The boundary between the pixel points in the sealing area and the pixel points in the periphery of the sealing area is determined as the sealing boundary through the above method.
[0027] According to the sealing boundary, the initial cropped image is cropped to obtain an image inside the sealing boundary, thereby obtaining the sealing area image.
[0028] In S130, it is determined whether the image size of the sealing area image matches the preset sealing parameter, and a corresponding matching determination result is obtained.
[0029] Further, the image size of the sealing area image can be obtained, and it is determined whether the image size matches the sealing parameter.
[0030] In an embodiment, S130 includes the following steps: obtaining the horizontal length and the sealing width of the sealing area image as the corresponding image size; and determining whether the image size matches the sealing parameter to obtain a corresponding matching determination result.
[0031] The horizontal length and the sealing width of the sealing area image can be obtained as the corresponding image size. The horizontal length is the length of the sealing area image in the horizontal transportation direction of the sealing bag body, and the sealing width is the vertical width of the sealing area image. The sealing parameter includes a length parameter range and a width parameter range. It is determined whether the horizontal length in the image size is within the length parameter range and whether the sealing width is within the width parameter range; if the horizontal length is within the length parameter range and the sealing width is within the width parameter range, a matching matching determination result is obtained; if the horizontal length or the sealing width is not within the corresponding parameter range, a non-matching matching determination result is obtained.
[0032] In S140, if the matching determination result is matching, the sealing area image and the transmission speed collected by the conveying detector are subjected to blur detection according to a preset detection strategy, and a corresponding quality detection value is obtained.
[0033] If the matching determination result is matching, the sealing area image and the transmission speed collected by the conveying detector are subjected to blur detection according to the detection strategy, thereby obtaining a quality detection value reflecting the blur of the sealing area.
[0034] In an embodiment, step S140 comprises the following steps: obtaining a luminance coefficient corresponding to the sealing area image and a reference image according to a luminance analysis rule in the detection strategy; the reference image is a local image in the initial intercepted image corresponding to a reference region set in the detection strategy; obtaining a blur coefficient corresponding to the sealing area image according to a blur analysis rule in the detection strategy; and detecting the luminance coefficient, the blur coefficient and the transmission speed according to a comprehensive quality detection rule in the detection strategy to obtain a corresponding quality detection value.
[0035] The detection strategy includes a luminance analysis rule, and a luminance coefficient corresponding to the sealing area image and a reference image can be obtained according to the luminance analysis rule. Based on industrial production practice, the light transmittance of the sealing area is lower than that of the non-sealing area after the multi-layer plastic film (usually not less than two layers of plastic film) in the sealing area is bonded due to heat sealing, so the luminance of the sealing area is lower than that of the surrounding area of the sealing area. The relevant physical principle is that the plastic film on both sides is bonded due to heat sealing and pressing, and the regular arrangement of molecules in the plastic film is destroyed due to heating (the regular motion of molecules is intensified due to heat motion, and the regular motion returns to static after cooling, resulting in irregular arrangement of molecules in the plastic film, thereby reducing the luminance of the sealing area and increasing the blur). According to the reference region set in the detection strategy, a local image corresponding to the reference region can be obtained from the initial intercepted image, and the reference region is located at a specific position in the surrounding area of the sealing area. The average value of the luminance values of each pixel point in the reference image is taken as the reference luminance average value corresponding to the reference image.
[0036] Further, the luminance values of each pixel point in the sealing area image can be obtained, and the ratio between the luminance values of each pixel point in the sealing area image and the reference luminance average value is calculated to obtain the luminance coefficient corresponding to each pixel point.
[0037] Further, a blur coefficient of the sealing area image is obtained according to a blur analysis rule in the detection strategy; the blur coefficient is used to reflect the blur degree of the sealing area image; the larger the blur coefficient, the more blurred the image; the smaller the blur coefficient, the clearer the image.
[0038] Specifically, the sealing area image is subjected to grayscale processing to obtain a corresponding grayscale image; since the long axis direction of the sealing area image is the horizontal direction, the upper side edge parallel to the horizontal direction is obtained (the analysis method of the lower side edge is the same, and the left side edge and the right side edge are similar, only the direction changes), and the extension direction of the upper side edge is also the horizontal direction; a sampling line is taken in the vertical direction of the upper side edge, and the grayscale values of each pixel are read in order from "dark area to bright area" along the sampling line I ( x i), wherein x i is the coordinate of the sampling point (unit: pixel, such as x 1=0, x 2=1,..., x n = n- 1). The pixel points contained in the sampling line can be set in the blur analysis rule, for example, it is set that the sampling line contains 11 pixel points in the blur analysis rule; then 11 pixel gray values can be obtained by corresponding sampling.
[0039] In order to count the detection contrast standards of different bag images, the sampled gray values are normalized to the interval [0, 1], and the normalization processing can be expressed by formula (1): (1); wherein, I min is the average gray value of one end of the dark area of the sampling line (such as the average gray value of the first 2 pixels obtained by sampling), I max is the average gray value of one end of the bright area of the sampling line (such as the average gray value of the last 2 pixels obtained by sampling); I norm (x i ) is the pixel x i corresponding to the normalized value.
[0040] The sampling I norm (x i ) is a discrete pixel point, and a continuous blur function is obtained by interpolation or curve fitting. A commonly used fitting model can be an error function (erf): because the blur of the imaging system (such as Gaussian blur) often conforms to the normal distribution, the integral of the blur is the error function; then the fitting function in the blur analysis rule can be set as shown in formula (2): (2); wherein, x 0 is the "center position" of the edge (and the midpoint of the gray transition, corresponding to E(x 0 ) =0.5); σ is a parameter of the blur degree (which can be obtained by performing normal distribution statistics on the gray values of the pixel points in the sampling line), erf(t) is an error function, and its definition can be expressed as formula (3): (3); erf(t) Without solving, the fitting function can be obtained by numerical calculation.
[0041] Based on the calculated fitting function E(x) Further derivation is carried out, so as to obtain the blur coefficient for embodying the blur degree of the image, and the blur coefficient is the derivative of the above fitting function E(x) The corresponding relationship can be expressed by formula (4): (4); The blur detection interval can be set in the blur analysis rule, such as 10 for the blur detection interval, and for the same edge of the sealing area image, a sampling line is set every 10 pixel points; That is, the distance between the adjacent two sampling lines (the adjacent two sampling lines of the same edge are parallel) is 10 pixels. According to the above method, a plurality of sampling lines can be set in the upper edge, lower edge, left edge and right edge of the sealing area image, and the blur coefficient corresponding to each sampling line is obtained.
[0042] Further, according to the comprehensive quality detection set in the detection strategy, the luminance coefficient, the blur coefficient and the transmission speed are detected to obtain the corresponding quality detection value. The transmission speed is used to reflect the speed of the sealing bag body advancing along the transportation direction; In the case of a certain camera exposure time, the greater the transmission speed, the higher the blur degree of the sealing area image. Specifically, the luminance coefficient values of the pixel points in the corresponding sampling line of each blur coefficient are obtained, and the average value of the luminance coefficient values of the plurality of pixel points contained in the same sampling line is calculated to obtain the average value of the luminance coefficient. According to the detection function set in the comprehensive quality detection rule, the average value of the luminance coefficient of the same sampling line, the blur coefficient and the transmission speed are detected, and the detection function can be expressed by formula (5): (5); Wherein, J is the detection value corresponding to a certain blur coefficient (each blur coefficient corresponds to a sampling line), S is the average value of the luminance coefficient corresponding to the blur coefficient, P is the blur coefficient, e is the natural logarithm base, V r is the transmission speed, V 0 is the basic speed parameter. The detection value calculated corresponding to each blur coefficient is obtained as the quality detection value of the sealing area image.
[0043] S150, whether the quality detection value matches the preset matching verification rule is verified, and the corresponding verification result is obtained.
[0044] Further, whether the quality detection value matches the pre-set matching check rule is checked, so as to obtain a corresponding check result; the matching check rule can check whether the sealing area has defects; if the sealing area has defects, it is determined that the sealing has quality problems, and the check result is not passed; if the sealing area has no defects, it is determined that the sealing has no quality problems, and the check result is passed.
[0045] In an embodiment, step S150 comprises the following steps: obtaining a detection difference value corresponding to each detection value in the quality detection value; judging whether the detection difference value is located in a difference interval set by the matching check rule; judging whether each detection value in the quality detection value is located in a detection interval set by the matching check rule; if each detection difference value is located in the difference interval and each detection value is located in the detection interval, a matching check result is obtained; if a certain detection difference value is not located in the difference interval or a certain detection value is not located in the detection interval, a non-matching detection result is obtained.
[0046] Specifically, the mean of each detection value in the quality detection value can be obtained, and the absolute value of the difference between each detection value and the mean is calculated as the detection difference value corresponding to each detection value, so that each detection value can correspond to a calculated detection difference value. Whether each detection difference value is located in a difference interval set by the matching check rule is judged; at the same time, whether each detection value in the quality detection value is located in a detection interval set by the matching check rule is judged. If each detection value is located in the difference interval and each detection value is also located in the detection interval, a matching check result is obtained; otherwise, a non-matching check result is obtained.
[0047] S160, if the check result is matching, it is determined that the detection result of the current bag body image is passed.
[0048] S170, if the matching judgment result or the check result is non-matching, it is determined that the detection result of the current bag body image is not passed.
[0049] The detection result of the bag body image can be determined by the obtained check result and matching judgment result. If the check result is matching, the detection result of the bag body image is passed, that is, the sealing of the bag body image has no defects. If the check result is non-matching, or the matching judgment result is non-matching, the detection result of the bag body image is not passed, that is, the sealing of the bag body image has defects.
[0050] In an embodiment, the method further comprises: generating a corresponding rotation control instruction according to the detection result and sending it to the rotation motor, so as to drive the paddle to move and realize classification of the sealing bag corresponding to the detection result by the rotation motor.
[0051] According to the detection result, a rotation control instruction can be generated and sent to the driving motor. If the detection result is pass, a positive rotation instruction can be generated to the rotating motor; the rotating motor drives the paddle to move, thereby adjusting the channel corresponding to the detection result for the downstream conveying of the sealed bag body, so as to realize the classification processing of the sealed bag body. If Figure 5 and Figure 6 the guiding groove is a main channel on the upstream side and forms a double channel on the downstream side, the sealed bag body that has completed detection on the upstream continues to transport to the downstream; the channel above the downstream corresponds to the sealed bag body classified as no defect, and the channel below the downstream corresponds to the sealed bag body classified as having defects, and the subsequent processing procedures of the two channels are different. If the detection result is pass, a positive rotation control instruction can be generated to the rotating motor, so that the front end of the paddle is deflected downward by the rotating motor, and with the rotation of the roller shaft in the transmission assembly, the sealed bag body is conveyed to the channel above, as shown in Figure 5 If the detection result is not pass, a reverse rotation control instruction can be generated to the rotating motor, so that the front end of the paddle is deflected upward by the rotating motor, and with the rotation of the roller shaft in the transmission assembly, the sealed bag body is conveyed to the channel below, as shown in Figure 6 The method not only can realize intelligent detection of the seal, but also can realize intelligent classification processing of the sealed bag body according to the detection result of the seal.
[0052] In the seal detection method of the liquid skin care product filling and sealing machine provided in the embodiment of the application, the method comprises the following steps: obtaining an initial image collected by an image collection device and screening a bag body image corresponding to each sealed bag body from the initial image; according to a preset image cutting rule, a corresponding seal area image is cut from the bag body image, and it is judged whether the image size of the seal area image matches the seal parameter, to obtain a matching judgment result; if the matching judgment result is matching, according to a preset detection strategy, a fuzzy degree detection is performed on the seal area image and the transmission speed collected by the transmission detector to obtain a quality detection value; a check is performed on whether the quality detection value matches the matching check rule to obtain a check result; and it is judged according to the check result whether the detection result of the bag body image is pass. Through the above method, the initial image is collected and the bag body image is screened, the image size matching judgment and the quality detection value matching check are performed respectively, and the detection result of whether the bag body image is pass is obtained; the accurate detection of whether the bag body seal is qualified can be realized, and the efficiency and accuracy of the seal detection of the liquid skin care product bag body are greatly improved.
[0053] The embodiment of the present application also provides a sealing detection device of a liquid skin care product filling and sealing machine, which can be arranged in a detection terminal 10, which is in communication connection with an image acquisition device 20 and a transmission detector 30 to realize transmission of data information, and is used for executing any one of the sealing detection methods of the liquid skin care product filling and sealing machine. Specifically, refer to Figure 10 , Figure 10 The sealing detection device of the liquid skin care product filling and sealing machine provided by the embodiment of the present application is shown in a schematic block diagram.
[0054] As shown in Figure 10 , the sealing detection device of the liquid skin care product filling and sealing machine 100 comprises an image screening unit 110, an image intercepting unit 120, a matching judgment result acquisition unit 130, a quality detection value acquisition unit 140, a verification result acquisition unit 150, a first judgment unit 160 and a second judgment unit 170.
[0055] The image screening unit 110 is used for acquiring an initial image acquired by the image acquisition device, and screening a bag body image corresponding to each sealing bag body from the initial image according to a preset image screening template.
[0056] The image intercepting unit 120 is used for intercepting a corresponding sealing area image from the bag body image according to a preset image intercepting rule.
[0057] The matching judgment result acquisition unit 130 is used for judging whether the image size of the sealing area image matches a preset sealing parameter, and obtaining a corresponding matching judgment result.
[0058] The quality detection value acquisition unit 140 is used for, if the matching judgment result is matched, performing blur detection on the sealing area image and a transmission speed acquired by the transmission detector according to a preset detection strategy, and obtaining a corresponding quality detection value.
[0059] The verification result acquisition unit 150 is used for verifying whether the quality detection value matches a preset matching verification rule, and obtaining a corresponding verification result.
[0060] The first judgment unit 160 is used for, if the verification result is matched, judging that the detection result of the current bag body image is passed.
[0061] The second judgment unit 170 is used for, if the matching judgment result or the verification result is not matched, judging that the detection result of the current bag body image is not passed.
[0062] The sealing detection device of the liquid skin care product filling and sealing machine provided in the embodiment of the present application applies the sealing detection method of the liquid skin care product filling and sealing machine, and the method comprises the following steps: obtaining an initial image collected by an image collection device and screening a bag body image corresponding to each sealing bag body from the initial image; according to a preset image intercepting rule, a corresponding sealing area image is intercepted from the bag body image, and it is judged whether the image size of the sealing area image matches the sealing parameter, so as to obtain a matching judgment result; if the matching judgment result is matched, the sealing area image and the transmission speed collected by the transmission detector are subjected to fuzzy degree detection according to a preset detection strategy, so as to obtain a quality detection value; the quality detection value is checked according to the matching check rule, so as to obtain a check result; and it is judged according to the check result whether the detection result of the bag body image is passed. Through the above method, the initial image is collected and the bag body image is screened, the image size matching judgment and the quality detection value matching check are performed respectively, and the detection result of whether the bag body image is passed is obtained; the sealing quality of the bag body can be accurately detected, and the efficiency and accuracy of the sealing detection of the liquid skin care product bag body are greatly improved.
[0063] The embodiment of the present application also provides a sealing detection device of a liquid skin care product filling and sealing machine, as shown in Figure 3 and Figure 4 , the sealing detection device comprises a machine table 1, a detection terminal 10, a transmission assembly 101, an illuminating lamp 21, an image collection device 20, a transmission detector 30, a rotary motor 40, a dial piece 102 and a guide groove 103; the transmission assembly 101 is arranged on the machine table 1, the guide groove 103 is arranged on the transmission assembly 101, the illuminating lamp 21 and the image collection device 20 are arranged on the two sides of the transmission assembly 101 oppositely; the transmission detector 30 is in transmission connection with one transmission shaft in the transmission assembly 101; the dial piece 102 is arranged in the center of the guide groove 103; the output shaft of the rotary motor 40 is fixedly connected with a gear 104, the lower end of the dial piece 102 is in sliding connection with a rack 105, and the rack 105 is in meshing connection with the gear 104; the detection terminal 10 is used for executing the sealing detection method of the liquid skin care product filling and sealing machine.
[0064] The transmission assembly 101 is composed of a plurality of parallel roller shafts and a transmission motor, the transmission motor can drive the parallel roller shafts to roll in the same direction, so as to transport the sealing bag bodies on the parallel roller shafts downstream. The mutual cooperation relationship among the rotary motor 40, the gear 104 and the rack 105 is as shown in Figure 7 and Figure 8As shown. The long axis of the rack 105 is parallel to the deflection direction of the paddle 102. The paddle 102 can be made of a flexible material. The rotary motor 40, gear 104, and rack 105 are all located below the parallel roller shaft. To achieve the deflection of the paddle 102's front end via the translation of the rack 105, a connecting post 106 can be fixedly mounted on the rack 105. One end of the connecting post 106 is perpendicularly connected to the rack 105, and the other end of the connecting post 106 has a circular protrusion 107. A long groove 108 is provided on the side of the paddle 102 opposite to the connecting post 106, and the circular protrusion 107 is embedded in the long groove 108. The specific structure is as follows. Figure 9 As shown. When the rack 105 drives the connecting post 106 to move longitudinally, the front end of the paddle 102 deflects with the connecting post 106; and the circular protrusion 107 slides in the elongated groove 108 to accommodate the offset of the contact point between the paddle 102 and the connecting post 106 caused by the bending during the deflection of the paddle 102, so that the rack 105 can drive the paddle 102 to deflect more smoothly.
[0065] The sealing detection device of the aforementioned liquid skincare product filling and sealing machine can be implemented in the form of a computer program, which can be used in, for example... Figure 11 The computer device shown runs on the computer. The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the computer device executes the computer program, it implements the sealing detection method for the liquid skincare product filling and sealing machine as described in the above embodiments.
[0066] Please see Figure 11 , Figure 11 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device can be a detection terminal used to perform a sealing detection method for a liquid skincare product filling and sealing machine to detect the sealing quality of the sealed bag.
[0067] See Figure 11 The computer device 500 includes a processor 502, a memory, and a communication interface 505 connected via a system bus 501. The memory may include a storage medium 503 and internal memory 504.
[0068] The storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute a sealing detection method for a liquid skin care product filling and sealing machine. The storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
[0069] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0070] The memory 504 provides an environment for the running of the computer program 5032 in the storage medium 503, and the computer program 5032, when executed by the processor 502, can make the processor 502 execute the sealing detection method of the liquid skin care product filling and sealing machine.
[0071] The communication interface 505 is configured to perform network communication, such as providing transmission of data information, and the like. Figure 11 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device 500 to which the scheme of the present application is applied. Specifically, the computer device 500 can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0072] The processor 502 is configured to run the computer program 5032 stored in the memory to realize the corresponding functions in the sealing detection method of the liquid skin care product filling and sealing machine.
[0073] Those skilled in the art can understand that Figure 11 The embodiment of the computer device shown in the figure does not constitute a limitation on the specific structure of the computer device. In other embodiments, the computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the computer device can only include a memory and a processor. In such embodiments, the structure and functions of the memory and the processor are consistent with those of the memory 504 and the processor 502 shown in the embodiment, and will not be described here. Figure 11
[0074] It should be understood that, in the embodiments of the present application, the processor 502 can be a central processing unit (CPU), and the processor 502 can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), ready programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0075] In another embodiment of the present application, a computer readable storage medium is provided. The computer readable storage medium can be a volatile or non-volatile computer readable storage medium. The computer readable storage medium stores a computer program which, when executed by a processor, implements the steps of the above-mentioned method for detecting the sealing of a liquid skin care product filling and sealing machine.
[0076] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, apparatuses and units can refer to the corresponding processes in the foregoing method embodiments, which will not be described here. Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been described in a general manner in the foregoing description. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0077] In several embodiments provided by the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, another division manner can be used, or units with the same function can be combined into one unit, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0078] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present application.
[0079] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or software functional unit.
[0080] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or say the part of the prior art that contributes, or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a computer readable storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. And the aforementioned computer readable storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0081] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements shall be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for detecting the sealing of a liquid skin care product filling and sealing machine, characterized in that, The method is applied to a detection terminal, the detection terminal is connected with an image acquisition device and a transmission detector respectively to realize transmission of data information, and the method comprises: An initial image collected by the image acquisition device is acquired, and a bag body image corresponding to each sealed bag body is screened from the initial image according to a preset image screening template; A sealing area image corresponding to the bag body image is obtained by cutting according to a preset image cutting rule; It is judged whether the image size of the sealing area image matches a preset sealing parameter, and a matching judgment result is obtained; If the matching judgment result is matched, a fuzzy degree detection is performed on the sealing area image and a transmission speed collected by the transmission detector according to a preset detection strategy, and a quality detection value is obtained; It is checked whether the quality detection value matches a preset matching check rule, and a check result is obtained; If the check result is matched, it is determined that the detection result of the current bag body image is passed; If the matching judgment result or the check result is not matched, it is determined that the detection result of the current bag body image is not passed.
2. The method of claim 1, wherein the method further comprises: The bag body image corresponding to each sealed bag body is screened from the initial image according to the preset image screening template, which comprises: It is judged whether the front end edge of the upstream bag body in the initial image reaches a starting position set in the image screening template; If the front end edge of the bag body reaches the starting position, the initial image is acquired as the bag body image corresponding to the bag body, and the bag body is determined as a downstream bag body; If the front end edge of the bag body does not reach the starting position, the next image is continuously collected as an initial image, and the step of judging whether the front end edge of the upstream bag body in the initial image reaches the starting position set in the image screening template is returned to be executed; It is judged whether the rear end edge of the downstream bag body in each initial image collected subsequently passes the starting position; If the rear end edge of the downstream bag body in the initial image collected subsequently passes the starting position, the next image is continuously collected as an initial image, and the step of judging whether the front end edge of the upstream bag body in the initial image reaches the starting position set in the image screening template is returned to be executed; If the rear end edge of the downstream bag body in the initial image collected subsequently does not pass the starting position, the subsequent initial image is continuously collected, and the step of judging whether the rear end edge of the downstream bag body in each initial image collected subsequently passes the starting position is returned to be executed.
3. The method of claim 1, wherein the method further comprises: The sealing area image corresponding to the bag body image is obtained by cutting according to the preset image cutting rule, which comprises: The bag body image is cut according to a cutting area in the image cutting rule, and an initial cutting image is obtained; A sealing boundary is obtained by boundary recognition of the initial cutting image according to an identification parameter in the image cutting rule; The initial cutting image is cut according to the sealing boundary, and a sealing area image corresponding to the sealing boundary is obtained.
4. The method of claim 1, wherein the method further comprises: The judgment whether the image size of the sealing area image matches the preset sealing parameter obtains a corresponding matching judgment result, comprising: Obtaining the transverse length and sealing width of the sealing area image as the corresponding image size; Judging whether the image size matches the sealing parameter to obtain the corresponding matching judgment result.
5. The method of claim 3, wherein the step of detecting the seal of the liquid skin care product filling and sealing machine is characterized by, The blur detection of the sealing area image and the transmission speed collected by the transmission detector according to the preset detection strategy obtains the corresponding quality detection value, comprising: Obtaining the luminance coefficient corresponding to the sealing area image and the reference image according to the luminance analysis rule in the detection strategy; The reference image is the local image corresponding to the reference area set in the detection strategy in the initial intercepted image; Obtaining the blur coefficient corresponding to the sealing area image according to the blur analysis rule in the detection strategy; According to the comprehensive quality detection rule in the detection strategy, the luminance coefficient, the blur coefficient and the transmission speed are detected to obtain the corresponding quality detection value.
6. The method of claim 1, wherein the method further comprises: The quality detection value is matched with the preset matching verification rule to obtain the corresponding verification result, comprising: Obtaining the detection difference value corresponding to each detection value in the quality detection value; Judging whether the detection difference value is in the difference interval set by the matching verification rule; Judging whether each detection value in the quality detection value is in the detection interval set by the matching verification rule; If each detection difference value is in the difference interval and each detection value is in the detection interval, a matching verification result is obtained; If a detection difference value is not in the difference interval or a detection value is not in the detection interval, a non-matching detection result is obtained.
7. The method of closure detection of a liquid skin care product filling and sealing machine according to any one of claims 1 to 6, characterized in that, The detection terminal is also in communication connection with the rotating motor, and after obtaining the detection result of the bag image, it further comprises: According to the detection result, the corresponding rotation control instruction is generated and sent to the rotating motor, so as to drive the dial piece to move and realize the classification of the sealing bag corresponding to the detection result.
8. A sealing detection device of a liquid skin care product filling and sealing machine, characterized in that, The device is configured in the detection terminal, and the detection terminal is in communication connection with the image acquisition equipment and the transmission detector respectively to realize the transmission of data information. The sealing detection device of the liquid skin care product filling and sealing machine is used to execute the sealing detection method of the liquid skin care product filling and sealing machine according to any one of claims 1-7. The device comprises: Image screening unit, for obtaining the initial image collected by the image acquisition equipment, and screening the bag body image corresponding to each sealing bag from the initial image according to the preset image screening template; Image intercepting unit, for intercepting the corresponding sealing area image from the bag body image according to the preset image intercepting rule; Matching judgment result acquisition unit, for judging whether the image size of the sealing area image matches the preset sealing parameter, obtaining the corresponding matching judgment result; The quality detection value acquisition unit is configured to, if the matching determination result is matched, perform ambiguity detection on the sealing area image and the transmission speed collected by the transmission detector according to a preset detection strategy, and obtain a corresponding quality detection value; The verification result acquisition unit is configured to verify whether the quality detection value matches a preset matching verification rule, and obtain a corresponding verification result; The first determination unit is configured to determine that the detection result of the current bag body image is passed if the verification result is matched. The second determination unit is configured to determine that the detection result of the current bag body image is not passed if the matching determination result or the verification result is not matched.
9. A sealing detection apparatus of a liquid skin care product filling and sealing machine, characterized by, The sealing detection device comprises a machine table, a detection terminal, a transmission assembly, a lighting lamp, an image acquisition device, a transmission detector, a rotary motor, a dial piece and a guide groove. The transmission assembly is arranged on the machine table, the guide groove is arranged on the transmission assembly, and the lighting lamp and the image acquisition device are arranged on the two sides of the transmission assembly. The transmission detector is in transmission connection with one transmission shaft in the transmission assembly. The dial piece is arranged in the center of the guide groove. The output shaft of the rotary motor is fixedly connected with a gear, and the lower end of the dial piece is in sliding connection with a rack.
10. A computer-readable storage medium, characterized in that, The detection terminal comprises a processor, a communication interface, a memory and a communication bus. The memory is used to store a computer program. The processor is used to execute the program stored in the memory, and realize the sealing detection method of the liquid skin care product filling and sealing machine. The computer readable storage medium stores a computer program. When the computer program is executed by the processor, the sealing detection method of the liquid skin care product filling and sealing machine is realized.
Citation Information
Patent Citations
Transparent packaging bag sealing identification method and device, storage medium and electronic equipment
CN113658141A
Medicine package sealing detection method, device and equipment and storage medium
CN117152088A
Cosmetic production process-based quality management control method and system
CN119692878A
Tinplate can continuous non-stop sealing detection device and detection method thereof
CN120275290A