A coil material anti-drop control method and system based on image processing

Image processing technology is used to identify the boundaries and movement trends of coils on forklifts and calculate the risk of falling, achieving accurate risk determination and early warning during the transportation of coils, and solving the problem of the inability to timely and accurately determine dropped goods in the existing technology. problems, improving the level of automation and production efficiency.

CN118365670BActive Publication Date: 2024-09-17杉金光电(广州)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410773128.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-17
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

When forklifts transport goods, it is impossible to timely and accurately determine the risk of goods falling. Existing technologies rely on manual or image recognition methods with low accuracy and cannot effectively prevent coils from falling.

Method used

Using an image processing-based method, by acquiring the image on the fork arm of the forklift, the boundary of the roll is identified and the distance between the fork arm and the boundary is calculated. The trained contour recognition model is used to determine the boundary of the roll, combined with morphological operations and history. Image analysis, calculates the moving speed and direction of the roll, determines the risk of falling, and performs alarms and position adjustments when the risk is less than the threshold.

Benefits of technology

It achieves timely and accurate determination of the risk of falling during coil transportation, reduces manual monitoring, improves automation levels, reduces calculations, improves monitoring efficiency, reduces material loss, and ensures stable production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365670B
    Figure CN118365670B
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology. Specifically, the present invention relates to a coil anti-drop control method and system based on image processing, the method comprising acquiring a first image at a fork arm of a forklift; identifying the boundaries of the fork arm and the coil in the first image, and calculating a first distance and a second distance between the fork arm and the adjacent boundaries; in response to the first distance being less than a spacing threshold or the second distance being less than a spacing threshold, taking the smaller of the first distance and the second distance as the current distance value; acquiring a set of images at a plurality of consecutive sampling moments before the first image, and determining the moving speed and moving direction of the first boundary and / or the second boundary in the image set; determining a coil drop risk value based on the current distance value and the moving speed; and in response to the drop risk value being less than a limit threshold, issuing a drop risk alarm. According to the solution of the present invention, the problem that the risk of cargo drop cannot be determined in a timely and accurate manner when a forklift is transporting cargo is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and more specifically, to a coil material anti-dropping control method and system based on image processing. Background Art

[0002] With the improvement of production automation, materials are basically transported by conveyor belts, robotic arms, forklifts, etc. Among them, forklifts include forks (forks), lifting structures, and vehicle bodies. By designing the forks to be easy to load and unload, forklifts place the goods on the forks and transport them to the target location. However, when using forklifts to transport goods, it is usually necessary to go through a long conveying path, and turns and other situations are inevitable during transportation. At this time, the goods may shift on the forks, causing the goods to fall. In addition, when the goods are shipped to the forks, it cannot be guaranteed that the goods will be accurately placed in the middle of the two forks every time. During the movement, factors such as road conditions and vehicle body vibration may cause the goods to shift, resulting in the risk of falling.

[0003] At present, in order to prevent materials from falling, forklift drivers or workshop managers are usually on duty, but this method is highly dependent on manual labor, which reduces the degree of automation of the loading process. There are also existing methods that use image recognition to determine the location of the goods, thereby judging whether the materials have fallen. However, this method depends on factors such as the color, shape, and key features of the forklift and the goods, and the recognition accuracy is not high and cannot be estimated. For example, the Chinese invention patent application with publication number CN115578452A and invention name is a method and system for recognizing the position of a forklift pallet based on AI vision. The scheme discloses the use of images to obtain the target point of the forklift pallet area and calculate the distance between the center of the pallet and the fork. However, this method uses the image registration process to realize the detection of the center point of the pallet, and uses the existing .rknn model for image detection, without adjusting the model for the particularity of the goods, resulting in the scheme being only applicable to general cargo handling and transportation. For the handling process of coiled materials, there is still a risk of not being able to accurately determine the cargo falling.

[0004] Based on this, how to solve the problem that forklifts cannot promptly and accurately determine the risk of cargo falling when transporting cargo is the focus of current research. Summary of the invention

[0005] In order to solve the technical problems such as the inability to timely and accurately determine the risk of cargo falling when the forklift is transporting cargo, the present invention provides solutions in the following aspects.

[0006] In a first aspect, the present invention provides a coil anti-drop control method based on image processing, comprising: obtaining a first image at a fork arm of a forklift, wherein the first image includes the fork arm and the coil on the fork arm; identifying the boundary between the fork arm and the coil in the first image, and calculating a first distance and a second distance between the fork arm and the adjacent boundary; wherein the first image is detected using a trained contour recognition model to determine the boundary of the coil, and the loss function of the contour recognition model during training is: , where W represents the loss function of the contour recognition model, argmin It represents the parameter value of a function that takes the minimum value in its domain, μ represents the coil property adjustment parameter, represents the side output layer loss function, Represents the fusion layer loss function; in response to the first distance being less than the spacing threshold or the second distance being less than the spacing threshold, the smaller of the first distance and the second distance is taken as the current distance value; an image set of a plurality of consecutive sampling moments before the first image is acquired, and the moving speed and moving direction of the boundary in the image set are determined; a coil drop risk value is determined according to the current distance value and the moving speed; in response to the drop risk value being less than the limit threshold, a drop hazard alarm is issued.

[0007] The beneficial effect of the present invention is that: according to the scheme of the present invention, the transportation status of the coil can be determined timely and accurately during the transportation of the coil, and the coil can be prevented from falling, which effectively saves manpower and improves the automation level of the coil handling process. Furthermore, only the risk of falling of the coil whose distance between the boundary and the fork arm is less than the spacing threshold is evaluated, which effectively reduces the amount of calculation and improves the monitoring efficiency. Furthermore, the present invention also introduces the coil property adjustment parameter into the loss function in the training process, thereby effectively improving the accuracy of the coil recognition process.

[0008] In one embodiment, identifying the boundary of the fork arm and the coil in the first image includes: inputting the first image into a trained contour recognition model to extract the contour of the coil; determining the first boundary and the second boundary on both sides of the coil by the contour of the coil, and determining the first fork arm and the second fork arm by the position where the fork arm contacts the coil.

[0009] The beneficial effect of the present invention is that the contour recognition model is used to identify the coil contour and the fork arm position, so that the coil boundary can be accurately known, thereby facilitating the calculation of the current state of the coil to achieve accurate judgment of the coil movement trend.

[0010] In one embodiment, the input of the contour recognition model includes an image including the fork arm and the coil, the output of the contour recognition model includes the contour of the coil and the contact position between the fork arm and the coil, and the contour recognition model adopts an overall nested edge detection HED model.

[0011] In one embodiment, the method further includes: performing morphological erosion, morphological dilation and morphological opening operations on the image output by the contour recognition model to eliminate environmental interference.

[0012] The beneficial effect of the present invention is that by performing corresponding morphological operations on the image, the interference to the detection result can be reduced, and it is convenient to obtain a more accurate coil boundary, thereby improving the accuracy of the discrimination process.

[0013] In one embodiment, calculating the first distance and the second distance between the fork arm and the adjacent boundary includes: determining a first intersection point between the first boundary and the first fork arm, and calculating the distance between the first intersection point and the first fork arm as the first distance; determining a second intersection point between the second boundary and the second fork arm, and calculating the distance between the second intersection point and the second fork arm as the second distance.

[0014] In one embodiment, an image set of multiple consecutive sampling moments before a first image is obtained, and a moving speed and a moving direction of a boundary in the image set are determined, including: obtaining images of multiple sampling moments adjacent to the first image from historical images to obtain an image set; determining a coil profile and corresponding position information in each image in the image set, and calculating a moving speed at a corresponding moment according to changes in the coil profile and position information in images at adjacent moments; calculating a weighted average of the moving speeds at all moments, wherein a moment closer to the first image has a greater weight; using the weighted average as the moving speed of the first boundary and / or the second boundary, and using the moving direction of the coil profile as the moving direction of the first boundary and / or the second boundary.

[0015] The beneficial effect of the present invention is that through continuous image analysis, the corresponding movement state can be analyzed according to the contour changes of the coil in adjacent images, thereby realizing accurate analysis of the movement trend of the coil, thereby facilitating accurate judgment of whether there is a risk of the coil falling.

[0016] In one embodiment, the calculation formula of the coil drop risk value is: , where S represents the risk value of coil falling, x represents the current distance value, Indicates the moving speed, Indicates standard time.

[0017] The beneficial effect of the present invention is that by setting a quantitative formula for the drop risk value, the risk state of the coil on the fork arm can be intuitively and accurately reflected, thereby effectively preventing the coil from falling, reducing material loss, and ensuring the orderly and stable operation of the production process.

[0018] In one embodiment, the method further includes: adjusting the position of the coil in the opposite direction according to the current distance value and the moving direction to prevent the coil from falling.

[0019] In a second aspect, the present invention also provides a coil material anti-falling control system based on image processing, comprising a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the coil material anti-falling control method based on image processing described in one or more of the above embodiments is implemented.

[0020] Through the above scheme, the image processing process can be used to timely and accurately judge the transportation status of the coil and determine the risk of the coil falling, which reduces the labor cost of manual monitoring and improves the automation level of the coil handling process. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0022] Figure 1 is a flow chart schematically illustrating a coil material anti-dropping control method based on image processing according to an embodiment of the present invention;

[0023] Figure 2 Schematically shows the structure of the web anti-falling control system based on image processing in this embodiment. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0026] Figure 1 FIG. 1 is a flow chart schematically showing a web material anti-dropping control method 100 based on image processing according to an embodiment of the present invention.

[0027] like Figure 1As shown, at step S101, a first image at the fork arm of a forklift is obtained, and the first image includes the fork arm and the coil on the fork arm. In some embodiments, the forklift can lift the goods by its two forks to transport them to a designated location. In this embodiment, the transportation of coils is mainly used as an example for explanation. A sensing device can be set at each of the two forks of the forklift to obtain the fork arm position and the edge image of the coil. It is also possible to obtain the overall image of the coil and the two forks through a sensing device. The sensing device can include various types of image acquisition devices, such as industrial cameras, video cameras, etc., to obtain real-time images or videos.

[0028] At step S102, the fork arm and the boundary of the coil in the first image are identified, and the first distance and the second distance between the fork arm and the adjacent boundary are calculated. In some embodiments, the first image is binarized to obtain a binarized image. The binarized image is input into a trained contour recognition model to extract the contour of the coil. The input of the contour recognition model includes an image containing the fork arm and the coil, and the output of the contour recognition model includes the contour of the coil and the position where the fork arm contacts the coil. The first boundary and the second boundary on both sides of the coil are determined by the contour of the coil.

[0029] The above contour recognition model adopts the Holistically-Nested Edge Detection (HED) model. The loss function of the contour recognition model during training is:

[0030] ,

[0031] Where W represents the loss function of the contour recognition model, argmin It represents the parameter value of a function that takes the minimum value in its domain, μ represents the coil property adjustment parameter, represents the side output layer loss function, Represents the fusion layer loss function. The side output layer loss function and the fusion layer loss function both use existing loss functions, so they will not be repeated here. Due to the influence of the material, thickness and other properties of the coil edge, the contour boundaries of the two side edges of the coil are not obvious compared to other areas. During the model training process, the coil attribute adjustment parameters are introduced to improve the accuracy of coil contour recognition. The HED edge detection algorithm based on overall nesting can perform multi-scale and multi-level learning on the image and directly operate on the entire image. Through deep supervision in the side output layer, the side output results of different scales are fused, and finally a relatively good edge detection result is obtained.

[0032] Furthermore, after using the above model to extract the contour and obtain the corresponding boundary, the output image can also be subjected to morphological erosion, morphological dilation and morphological opening operations to eliminate environmental interference.

[0033] When calculating the first distance and the second distance between the fork arm and the adjacent boundary, it is necessary to calculate the first distance between the first fork arm and the adjacent first boundary, and the second distance between the second fork arm and the adjacent second boundary. In some embodiments, a first intersection point of the first boundary and the first fork arm is determined, and the distance between the first intersection point and the first fork arm is calculated as the first distance. A second intersection point of the second boundary and the second fork arm is determined, and the distance between the second intersection point and the second fork arm is calculated as the second distance.

[0034] In step S103, in response to the first distance being less than the spacing threshold or the second distance being less than the spacing threshold, the smaller of the first distance and the second distance is used as the current distance value. In some embodiments, the first distance and the second distance can be compared with the spacing threshold respectively. When either of them is less than the spacing threshold, it indicates that there may be a tendency of falling. At this time, the smaller distance can be used as the current distance value to perform a movement trend analysis of the coil.

[0035] In step S104, an image set at a plurality of consecutive sampling moments before the first image is acquired, and a moving speed and a moving direction of a boundary in the image set are determined.

[0036] In some embodiments, images of multiple sampling moments adjacent to the first image are obtained from historical images to obtain an image set. The coil profile and corresponding position information in each image in the image set are determined, and the moving speed at the corresponding moment is calculated according to the change of the coil profile and position information in the image at the adjacent moment. The weighted average of the moving speeds at all moments is calculated, wherein the weight of the moment closer to the first image is greater. The weighted average is used as the moving speed of the first boundary and / or the second boundary, and the moving direction of the coil profile is used as the moving direction of the first boundary and / or the second boundary.

[0037] In step S105, the coil falling risk value is determined according to the current distance value and the moving speed.

[0038] The calculation formula for the coil drop risk value is: , where S represents the risk value of coil falling, x represents the current distance value, Indicates the moving speed, Indicates standard time.

[0039] In step S106, in response to the falling risk value being less than the limit threshold, a falling danger alarm is issued. Furthermore, the coil position can be adjusted in the opposite direction according to the current distance value and the moving direction. Specifically, the coil can be adjusted to a position opposite to the moving direction by adjusting the fork arm, and the distance between the two sides of the coil and the fork arm can be determined in real time to prevent the coil from falling.

[0040] Next, the scheme of the present invention will be further described by taking the conveying process of TAC (triacetyl cellulose film, Triacetyl Cellulose) roll as an example.

[0041] An industrial camera is arranged above the forklift to obtain the image of the coil on the fork arm. The image on the fork arm of the forklift can also be photographed by the industrial camera on site to obtain a first image including the coil and the fork arm.

[0042] In some embodiments, when using images taken by industrial cameras for anti-drop warning control, images taken by industrial cameras at multiple positions can be selected, and images that can clearly show the coil on the fork arm can be selected. It should be noted that in the present invention, an industrial camera is used to take real-time images of the fork arm transporting the coil, and the captured images are recorded. After completing the following preliminary judgment of the presence of a drop trend, the collected image history data will be used to analyze the movement state of the coil to achieve accurate warning.

[0043] Next, the overall nested edge detection HED model is used to perform edge contour detection on the contour of the coil and the position of the fork arm in the first image. In some embodiments, the overall nested edge detection HED model can be trained using a large number of historical images as samples to achieve recognition and contour detection of the coil. The input of the contour recognition model includes an image containing the fork arm and the coil, and the output of the contour recognition model includes the contour of the coil and the position where the fork arm contacts the coil.

[0044] In the present invention, based on the properties of the coil, an improved loss function is used to train the overall nested edge detection HED model, which can better adapt to the characteristics of the coil edge and achieve accurate detection of the coil contour.

[0045] Specifically, a color or grayscale image containing the fork arm and the coil can be converted into a binary image using an appropriate threshold method, such as the Otsu threshold method, so that the coil and the fork arm form an obvious black and white contrast with the background.

[0046] The binary image can be used as input to the trained contour recognition model. The model should be able to output the category (coil, fork arm or other) and specific location information (such as the contact point between the fork arm and the coil) corresponding to each contour. You can also apply a contour detection algorithm (such as OpenCV's findContours() function) to the binary image to extract all contours. Then all the extracted contours are used as input to the trained contour recognition model. The model should be able to output the category (coil, fork arm or other) and specific location information (such as the contact point between the fork arm and the coil) corresponding to each contour.

[0047] For the identified coil contour, the first boundary and the second boundary on both sides thereof can be determined by calculating the minimum circumscribed rectangle of the contour, fitting a straight line or using key points on the contour. In some embodiments, the position of the fork arm can be obtained through an image recognition process or by performing connected region detection on the image.

[0048] The first distance between the first fork arm and the first boundary, and the second distance between the second fork arm and the second boundary are calculated. The corresponding distances can be determined by establishing a corresponding coordinate system in the image.

[0049] The first distance and the second distance are compared with the spacing threshold respectively. When any one of them is less than the spacing threshold, it indicates that there may be a tendency of falling. For example, if the first distance is less than the spacing threshold, it means that the first fork arm is close to the first boundary of the coil at this time, and the first boundary of the coil may fall, which will trigger the subsequent movement trend judgment process. The smaller distance can be used as the current distance value to analyze the movement trend of the coil.

[0050] When analyzing the movement trend of the coil, it is necessary to use the changes of the coil in the historical images before the current moment to evaluate the movement speed and direction.

[0051] Specifically, taking the first boundary as an example, the weighted average of the moving speeds of the first boundary at all times can be calculated, and the weight of the time closer to the first image is greater. The weighted average is used as the moving speed of the first boundary, and the moving direction of the coil profile is used as the moving direction of the first boundary. In other embodiments, the movement of the entire profile can also be calculated, for example, by calculating the center of gravity of the entire profile and detecting the moving speed and moving direction through the offset position of the center of gravity.

[0052] When calculating the moving speed, the current moving speed may be determined by the average of the moving speeds at adjacent moments, or by weighted average. Further, for simple calculation, the speed corresponding to the sampling moment between the first images may be directly used as the current moving speed.

[0053] The drop risk value is calculated based on the calculated moving speed and the current distance value. When the drop risk value is less than the limit threshold, a drop danger alarm will be issued. At this time, the forklift can be stopped to readjust the coil position, or the fork arm can be controlled to move in the opposite direction of the movement direction so that the distance between the boundaries on both sides and the fork arm is appropriate.

[0054] Through the scheme of the present invention, the coil on the fork arm can be detected in real time. When the distance between the coil boundary and the fork arm is less than the spacing threshold, the warning risk calculation condition will be triggered. By analyzing the moving speed and moving direction in the historical image of the coil, the risk value of the coil falling is determined, thereby realizing the early warning of the coil falling. In this way, the state of the coil can be detected quickly and accurately, and an early warning can be issued in time to remind the staff to handle it, so as to avoid the coil falling during the conveying process, resulting in waste of resources, and at the same time effectively improve the efficiency of coil conveying and improve production efficiency.

[0055] In addition, the present invention also uses an improved time function to perform model training in the edge detection model, thereby better adapting to the characteristics of unclear contour features of the coil edge, and effectively improving the accuracy of coil contour recognition.

[0056] Figure 2 Schematically shows the structure of the web anti-falling control system based on image processing in this embodiment.

[0057] The present invention also provides a coil anti-drop control system based on image processing. Figure 2 As shown, the system includes a processor and a memory, wherein the memory stores computer program instructions. When the computer program instructions are executed by the processor, a web anti-falling control system based on image processing as described above is implemented.

[0058] The system also includes other components familiar to those skilled in the art, such as a communication bus and a communication interface, whose configuration and functions are known in the art and thus will not be described in detail here.

[0059] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.

[0060] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0061] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A coil anti-drop control method based on image processing, characterized in that: include: Acquire a first image at a fork arm of a forklift, wherein the first image includes the fork arm and the coil on the fork arm; Identify the boundary of the fork arm and the coil in the first image, and calculate the first distance and the second distance between the fork arm and the adjacent boundary; wherein the first image is detected using the trained contour recognition model to determine the boundary of the coil, and the loss function of the contour recognition model during training is: Where W represents the loss function of the contour recognition model, argmin represents the parameter value of a function that achieves the minimum value in its domain, μ represents the coil property adjustment parameter, represents the side output layer loss function, represents the fusion layer loss function; In response to the first distance being less than the spacing threshold or the second distance being less than the spacing threshold, taking the smaller of the first distance and the second distance as the current distance value; Acquire an image set at a plurality of consecutive sampling moments before the first image, and determine a moving speed and a moving direction of a boundary in the image set; Determine the coil falling risk value according to the current distance value and the moving speed; The calculation formula for the coil drop risk value is: In the formula, S represents the risk value of coil falling, x represents the current distance value, represents the moving speed, Δt represents the standard time; In response to the falling risk value being less than a limit threshold, a falling danger alarm is issued.

2. The coil material anti-dropping control method based on image processing according to claim 1 is characterized in that: The step of identifying the boundary between the fork arm and the coil in the first image comprises: Inputting the first image into a trained contour recognition model to extract the contour of the coil; The first boundary and the second boundary on both sides of the coil are determined by the contour of the coil, and the first fork arm and the second fork arm are determined by the contact position between the fork arm and the coil.

3. The coil material anti-dropping control method based on image processing according to claim 2 is characterized in that: The input of the contour recognition model includes an image containing a fork arm and a coil, and the output of the contour recognition model includes the contour of the coil and the contact position between the fork arm and the coil. The contour recognition model adopts an overall nested edge detection HED model.

4. The coil material anti-dropping control method based on image processing according to claim 3 is characterized in that: Also includes: The image output by the contour recognition model is subjected to morphological erosion, morphological dilation and morphological opening operations to eliminate environmental interference.

5. The coil material anti-dropping control method based on image processing according to claim 2, characterized in that: Calculating the first distance and the second distance between the fork arm and the adjacent boundary, including: Determine a first intersection point between the first boundary and the first fork arm, and calculate a distance between the first intersection point and the first fork arm as a first distance; A second intersection point between the second boundary and the second fork arm is determined, and a distance between the second intersection point and the second fork arm is calculated as a second distance.

6. The coil material anti-dropping control method based on image processing according to claim 2 or 5, characterized in that: Acquiring an image set at a plurality of consecutive sampling moments before a first image, and determining a moving speed and a moving direction of a boundary in the image set, including: Acquire images at multiple sampling moments adjacent to the first image from historical images to obtain an image set; Determine the coil profile and corresponding position information in each image in the image set, and calculate the moving speed at the corresponding moment according to the changes in the coil profile and position information in the images at adjacent moments; Calculate the weighted average of the moving speeds at all times, where the closer the time is to the first image, the greater the weight; The weighted average value is used as the moving speed of the first boundary and / or the second boundary, and the moving direction of the coil profile is used as the moving direction of the first boundary and / or the second boundary.

7. The coil material anti-dropping control method based on image processing according to claim 1, characterized in that: Also includes: The coil position is adjusted in the opposite direction according to the current distance value and moving direction to prevent the coil from falling.

8. A coil anti-drop control system based on image processing, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the method for preventing a web from falling off based on image processing according to any one of claims 1 to 7 is implemented.