A belt longitudinal tear detection method and device
Through real-time video data collection and image preprocessing, combined with the video encoding and decoding and image comparison of the Deepstream platform, the problem of inaccurate belt tear detection in the existing technology is solved, achieving higher detection accuracy and real-time performance, and reducing False positives and false negatives.
Patent Information
- Application Number
- CN202210642460.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-06-08
AI Technical Summary
Existing belt tear detection technology is not accurate enough, resulting in false positives and false negatives, resulting in industrial shutdowns and economic losses.
Using real-time video data collection and image preprocessing, the digital label position box information is extracted through the bounding box function, feature comparison and template matching are performed, and the Deepstream platform is combined for video encoding, decoding and image comparison. Three-frame image comparison is performed at fixed intervals to reduce calculations. quantity and ensure detection accuracy.
It improves the accuracy and real-time performance of belt tear detection, reduces false positives and false negatives, saves computing time and data storage space, and ensures the detection of subtle cracks.
Smart Images

Figure CN114890090B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of belt tear detection, and in particular to a method and device for detecting longitudinal belt tear. Background Art
[0002] With the continuous development of automation technology and the continuous expansion of the coal mining industry, the application of belt conveyor belt transportation is becoming more and more extensive. Belt conveyors not only have the advantages of fast transportation speed and long transmission distance, but their high reliability makes more mining companies favor belt conveyors. However, during the application process, due to the excessive weight of coal or encountering sharp objects, the belt may be torn longitudinally, resulting in shutdowns and even casualties. At present, most of the detection methods on the market cause false alarms due to non-crack factors such as impurities on the belt, resulting in frequent shutdowns in the industry and causing great economic losses to companies.
[0003] At present, the main causes of belt tears are belt deviation, core pulling tearing, material jamming and tearing, and scratches from hard coal blocks. The existing detection technologies are contact and non-contact. The contact method mainly uses a certain sensor to directly or indirectly contact the belt to achieve belt tear detection. Although this method is simple to operate and easy to install, the sensor will have certain wear and tear after long-term use, shortening its life and reducing its reliability. The non-contact method mainly uses non-destructive testing or machine vision to achieve belt tear detection, which mainly involves image processing, or the detection algorithm is not accurate enough to cause false alarms or missed alarms. Summary of the invention
[0004] The invention provides a belt longitudinal tear detection method and device, aiming to solve the problem that the existing detection method is not accurate enough.
[0005] The technical solution used in the present invention is as follows: A method for detecting longitudinal tearing of a belt comprises the following steps:
[0006] Step 1: real-time video data collection of the belt;
[0007] Step 2: converting the real-time video data into real-time picture data, performing image preprocessing on the real-time picture, and obtaining a binary image of the real-time picture;
[0008] Step 3: Filter out the images whose labels are consistent with the marked images from the real-time images and store them in the corresponding image storage bucket;
[0009] Step 4: extract the current real-time image and the real-time image at the previous moment with the same label from the image storage bucket, as well as the marked image with the corresponding digital label, and perform feature comparison through the image comparison algorithm;
[0010] Step 5: When the features of the real-time image and the compared image are inconsistent, an alarm is issued.
[0011] Further, step three specifically includes the following steps:
[0012] Through the bounding box function, the location box information of the real-time image label is output ( ), and extract the location box area at the same time;
[0013] Location frame information extracted from real-time images ( ) is compared with the standard position frame information. If the position frame information of the input image is within the range of the standard position frame information, the next step is retained, and the ones that are not within the range of the standard position frame information are deleted;
[0014] Perform image preprocessing on the regional images extracted from the filtered real-time images to obtain corresponding binary images;
[0015] The binary image of the area image extracted in real time uses the bounding box function to find the outer boundary of the number and output the location box information ( ); Compare the width with the standard position box information;
[0016] If the obtained If it is smaller than the minimum width of two digits of the standard location box information, it is defined as a one-digit label; if it is greater than or equal to the minimum width of two digits of the standard location box information, and smaller than the minimum width of three digits of the standard location box information, it is defined as a two-digit label; if it is greater than or equal to the minimum width of three digits of the standard location box information, it is defined as a three-digit label;
[0017] A single-digit label goes directly to the next step; a two-digit label has a width Divide by 2 to split the two-digit position box into two position boxes; three-digit labels are divided into two widths. Divide by 3 to split the three-digit position frame into three position frames, and extract these position frames at the same time;
[0018] The extracted part is matched with the template image by matching the relevant function, and then the real-time image is placed in the image storage bucket with the corresponding label.
[0019] Specifically, the standard location frame information is determined through the following steps:
[0020] The first step is belt marking video data collection;
[0021] The second step is to convert the real-time video data into labeled image data, perform image preprocessing on the labeled image, and obtain a binary image of the labeled image;
[0022] In the third step, the binary image generated by the marked image is passed through the bounding box function to output the standard position box information (x1, y1, w1, h1) with a single digit label; the standard position box information (x2, y2, w2, h2) with a two-digit label; and the standard position box information (x3, y3, w3, h3) with a three-digit label; where x, y are the coordinates of the upper left corner of the position box in the image, w is the width of the position box, and h is the height of the position box.
[0023] Specifically, the image preprocessing is to sequentially perform grayscale processing on the image, bilateral filtering image smoothing, and image binarization processing to convert the color real-time image into a binary image.
[0024] Specifically, step four includes the following steps:
[0025] First, the image comparison algorithm is used to perform a feature comparison of the three frames of images; the feature comparison is performed on the current real-time image acquired in real time and the real-time image of the previous moment at the same location, and then the three frames of images are compared again after a fixed time interval.
[0026] Furthermore, real-time video is transmitted to a multi-channel real-time video analysis system (such as the Deepstream platform) for streaming processing, which accelerates the video encoding and decoding process.
[0027] The present application also proposes a belt longitudinal tear detection device, comprising:
[0028] Acquisition module, used for real-time video data acquisition of the belt;
[0029] A preprocessing module is used to convert real-time video data into real-time image data, perform image preprocessing on the real-time image, and obtain a binary image of the real-time image;
[0030] A screening and storage module is used to screen out pictures with the same label as the marked picture from the real-time pictures and store them in the corresponding image storage bucket;
[0031] The image comparison module is used to extract the current real-time image and the real-time image of the previous moment with the same label from the image storage bucket, as well as the marked image with the corresponding digital label, and perform feature comparison through the image comparison algorithm;
[0032] The alarm module is used to issue an alarm when the features of the real-time image and the compared image are inconsistent.
[0033] The present application also proposes a computer-readable storage medium on which computer-executable instructions are stored. When the computer-executable instructions are executed by a computing device, the method described in the present invention can be implemented.
[0034] The present application also proposes a mobile terminal, comprising a mobile terminal body and a controller, characterized in that the controller comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the steps of the method described in the present invention are implemented when the processor executes the program.
[0035] The beneficial effects achieved by the present invention are as follows: the present invention converts real-time video data into real-time picture data for image preprocessing, and sequentially performs grayscale processing on the marked picture, bilateral filtering image smoothing, and image binarization processing. The purpose of image preprocessing is to convert the color image into a binary image, in which the noise in the image is filtered out, and the digital labels in the marked picture data are more obvious;
[0036] At the same time, when it is applied for the first time, the current frame image acquired in real time is compared with the real-time picture of the same position at the previous moment stored in the storage bucket and the marked picture of the belt in good condition. After that, only the current real-time picture acquired in real time and the real-time picture of the same position at the previous moment are compared. After a fixed time interval (such as an interval of 4 hours), three-frame image comparison is performed again, and the cycle is repeated. While reducing the amount of calculation, the accuracy and real-time performance of belt tear detection are also guaranteed; only the current real-time picture acquired in real time and the real-time picture of the same position at the previous moment are compared, and there is no need to compare the current real-time picture with the second-generation real-time picture at the previous moment and the marked picture, which saves the calculation time and data storage space required for image comparison; at the same time, performing a three-frame image comparison again after a period of time (such as an interval of 4 hours) can avoid the problem of underreporting caused by the inability to detect subtle crack changes by only comparing the current image and the image at the previous moment, making the result more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a hardware connection block diagram of the present invention.
[0038] Figure 2 It is a schematic diagram of the hardware part of the present invention being arranged on a narrow belt conveyor structure.
[0039] Figure 3 It is a structural schematic diagram of the hardware part of the present invention being arranged on a wide belt conveyor.
[0040] Figure 4 It is a software processing structure diagram of the present invention.
[0041] Figure 5 It is a flow chart of the image screening method of the present invention.
[0042] Figure 6 It is a schematic diagram of a digital template picture of the present invention.
[0043] Figure 7Schematic diagram of the image storage bucket of the present invention.
[0044] Figure 8 It is a block diagram of the image comparison algorithm of the present invention.
[0045] Among them, 1 is the light source; 2 is the industrial camera; 3 is the label; 4 is the belt; 5 is the coal block; 6 is the lens blower; 7 is the protective cover; 8 is the roller. DETAILED DESCRIPTION
[0046] To facilitate those skilled in the art to understand the present invention, specific implementations of the present invention are described below with reference to the accompanying drawings.
[0047] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal connection of two elements; for ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood through specific circumstances.
[0048] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that these embodiments are discussed only to enable those skilled in the art to better understand and implement the subject matter described herein, and are not intended to limit the scope of protection, applicability or examples set forth in the claims. The functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the present invention. Various examples may omit, replace or add various processes or components as needed. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted or combined. In addition, features described relative to some examples may also be combined in other examples.
[0049] Figure 1 It is a hardware connection block diagram of the present invention, which is described in detail as follows:
[0050] The hardware part of this patent includes image acquisition hardware and image processing platform; the quality of image acquisition hardware also affects the subsequent image processing, so the image acquisition hardware is specifically an industrial camera, such as 1 / 1.8" Progressive ScanCMOS, with a resolution of 3840*2160 and starlight night vision function. The image processing platform can be an image computing server, which is equivalent to a multi-functional container, with functions such as multi-channel parallel processing of video streams, image preprocessing, image comparison algorithm operation, issuance of alarm signals, and issuance of control signals; the communication connection between the industrial camera and the image computing server: according to the existing industrial camera IP address, the image computing server can directly pull the video stream from the industrial camera through the RTSP protocol, thereby realizing the management and playback of the video stream on the image computing server.
[0051] The image operation server in the above embodiment can be replaced by a microprocessor. The difference is that the microprocessor is installed behind each industrial camera and realizes the same function as the image operation server.
[0052] Belt conveyors are mostly used in dusty workplaces. The on-site dust, light and other environmental factors have an impact on video acquisition, including auxiliary hardware: protective cover, lens blower, LED light source; the industrial camera is installed in the protective cover to collect and shoot the identification information at the bottom of the belt; the LED light source is also installed in the protective cover to provide light source for night shooting and provide a stable lighting environment for the site; the lens blower is installed on the frame of the belt conveyor, and its purge port faces the upper side of the protective cover; the upper side of the protective cover is sprayed to prevent dust from adhering to the protective cover and to prevent dust in the on-site environment from contaminating the lens, thereby improving the quality of the video collected on-site.
[0053] Figure 2-3 This is a schematic diagram of the structure of the hardware part of the device installed on the belt conveyor, as detailed below:
[0054] Figure 2 This is a schematic diagram of the hardware part of the device being set up in a narrow belt conveyor structure, for example, for testing a 50-meter narrow belt; a marking machine is used to mark the lower surface of the belt approximately every half a meter, as shown in the figure. The marking number is 15, which is located in the center of the belt. The purpose is to facilitate positioning when the belt has a tendency to tear; a set of hardware devices (i.e., an industrial camera, two ring-shaped LED light sources, a transparent protective cover, and a lens blower) are installed approximately every 5 meters on the lower surface of the belt.
[0055] Figure 3This is a schematic diagram of the hardware part of the device being installed on a wide belt conveyor. For example, a 50-meter wide belt is tested. The lower surface of the belt is marked with a marking machine approximately every half a meter, and there are two marking numbers on one marking line. A set of industrial cameras, protective covers, and lens blowers are installed below each of the two sides of the belt. The installation distance is determined according to the distance between the rollers, and whether to install an auxiliary light source is determined based on the actual situation on site. Considering that the belt is wide, a camera may have a blind spot, so the equipment and marking numbers are designed into two symmetrical groups.
[0056] The invention provides a belt longitudinal tear detection method
[0057] The present invention first needs to make a matching template image to prepare for subsequent image storage; the specific template making method is: use a clear picture of the numbers 0-9 as a template (such as Figure 6 As shown in the figure), the numbers on the template image correspond to the template picture name one by one. The image is converted into a digital image (in the form of a matrix) and stored in a list for subsequent template matching.
[0058] Furthermore, the belt is divided into areas, that is, the lower surface of the belt conveyor belt (the side not carrying materials) is marked, and the color of the mark should be different from the color of the belt; the existing belts are generally black, so the lower surface of the belt is marked with red digital labels (for example, 1-999, etc.) at certain intervals with a marking machine, and the single-digit labels, double-digit labels and triple-digit labels have different widths.
[0059] First, the standard position frame is extracted, and the video data with digital labels when the belt is not torn is obtained through an industrial camera; the acquisition speed of the industrial camera is 25 frames per second, and multiple cameras shoot at the same time, and the video when the belt is not torn is used as the marked video.
[0060] The collected original marked video is transmitted to a multi-channel real-time video analysis system (such as the Deepstream platform) for streaming processing to accelerate the video encoding and decoding process.
[0061] Use OpenCV (Open Source Computer Vision Library) to convert the labeled video data into labeled image data. OpenCV refers to the open source computer vision library.
[0062] The image preprocessing of the marked image of the video frame is performed through OpenCV, wherein the image preprocessing is specifically to grayscale the color image, smooth the image with bilateral filtering, and binarize the image in sequence. The purpose of image preprocessing is to convert the color image into a binary image. In this process, the noise in the image is filtered out, and the digital labels in the marked image data are more obvious.
[0063] The bounding box function in OpenCV is used for the binary image generated by the marked image, and the position frame information of one-digit labels, two-digit labels and three-digit labels is output separately. Specifically, the marked image with a one-digit label (the digital label is located in the center of the marked image) is framed by the bounding box function and the position frame information (x1, y1, w1, h1) is output at the same time. The two-digit label and the three-digit label are respectively passed through the bounding box function to output the position frames (x2, y2, w2, h2) and (x3, y3, w3, h3). Among them, x and y are the coordinates of the upper left corner of the position frame in the image, w is the width of the position frame, and h is the height of the position frame. The position frame information (x1, y1, w1, h1), (x2, y2, w2, h2) and (x3, y3, w3, h3) are the standard position frame information for subsequent comparison.
[0064] The process of storing the labeled image into the image bucket is as follows:
[0065] The collected original marked video is transmitted to a multi-channel real-time video analysis system (such as the Deepstream platform) for streaming processing to accelerate the video encoding and decoding process.
[0066] Use OpenCV to convert the original marked video into marked image data, and use OpenCV to perform image preprocessing on the marked images of the video frames. The image preprocessing specifically includes graying the color image, smoothing the image with bilateral filtering, and binarizing the image in sequence to convert the color marked image into a binary image.
[0067] Furthermore, the bounding box function in OpenCV is used to find the outer boundary of the number in the marked image, and the number is framed with a position frame, and the position frame information is output at the same time ( ).
[0068] Mark the location box information extracted from the image ( Compare with the standard position box information (x1, y1, w1, h1), (x2, y2, w2, h2) and (x3, y3, w3, h3). If the position box information of the input image is within the range of the standard position box information (i.e., i = 1 or 2 or 3), perform subsequent operations on this picture. If it is not within the range of the standard position box information, directly delete the picture; realize screening out pictures corresponding to the digital labels with the center in the video frame marked pictures.
[0069] Extract the outer boundary of the number along the position box for the screened marked pictures (equivalent to intercepting the area of the position box in the image); then perform image preprocessing on the extracted image (grayscale conversion of color images, bilateral filtering for image smoothing, image binarization).
[0070] For the binary image extracted from the marked picture, use the bounding box function in OpenCV to find the outer boundary of the number and output the position box information; ( ); The purpose this time is to determine the information of the position box, and compare this with the standard position box information w2 of the two-digit label and the standard position box information w3 of the digital label;
[0071] When < w2 for one-digit label
[0072] w2 ≤ < w3 for two-digit label
[0073] ≥ w3 for three-digit label
[0074] Specifically, if the obtained is less than the minimum width w2 of two digits, it is defined as a one-digit number. If it is greater than or equal to the minimum width w2 of two digits and less than the minimum width w3 of three digits, it is defined as a two-digit number. If it is greater than or equal to the minimum width w3 of three digits, it is defined as a three-digit number.
[0075] If it is defined as a one-digit label, no splitting is required. If it is defined as a two-digit label, the width needs to be divided by 2 to split the position box of the two digits into two position boxes. If it is defined as a three-digit label, the width needs to be divided by 3 to split the position box of the three digits into three position boxes, and at the same time extract these position boxes (equivalent to intercepting each digital area and intercepting the pictures of single digits);
[0076] The extracted part is matched with the template image imported at the beginning through the matching correlation function. The function compares the image of the number extracted from the position box with the image in the template one by one, outputs the number with the largest correlation coefficient, and saves the marked image with this number as the folder name.
[0077] For example, the number is 25. After the previous processing, the number is now divided into two parts, one part is the area where the number 2 is located, and the other part is the area where the number 5 is located. Next, template matching is performed on the number (the template image is as follows Figure 6 As shown, the template is made before, the template image number is 0-9, and the corresponding image number is also 0-9). First, the first number 2 is template matched, and it is realized by matching the correlation function. The function compares the image of the first part 2 with the image in the template one by one. The result shows that the correlation coefficient with the image 2 in the template is the largest, so 2 is saved in a list as the first digit, and then matched to 5 in the same way, and 5 is also saved in this list as the second digit. Multiply the first digit by ten and add the second digit to get the number 25. The picture is stored in the form of a stack. In the image storage bucket with a folder name of 25, the image storage buckets with other labels are also set up in the same way as above. If the belt is numbered 1-999, the image storage buckets with folder names of 1-999 are also set up accordingly. The above operation realizes the extraction of the marked image with the number marked in the center, and stores the marked image with the number marked in the center in the image storage bucket corresponding to the marked number. For example, if the number is 1, it is stored in the image storage bucket with a folder name of 1. Similarly, if the number is 25, the corresponding marked image is stored in the image storage bucket with a folder name of 25.
[0078] During the specific detection, the real-time images with digital labels in the center are selected and stored in the storage bucket. The specific process is as follows:
[0079] First, an industrial camera is used to obtain real-time video data with digital labels when the belt is not torn.
[0080] The collected real-time video is transmitted to a multi-channel real-time video analysis system (such as the Deepstream platform) for streaming processing to accelerate the video encoding and decoding process.
[0081] Use OpenCV to convert real-time video data into real-time image data, and use OpenCV to perform image preprocessing on the real-time images of video frames. Specifically, the image preprocessing includes graying the color image, smoothing the image with bilateral filtering, and binarizing the image in sequence on the marked image to convert the color real-time image into a binary image.
[0082] Furthermore, the bounding box function in OpenCV is used to find the outer boundary of the numbers in the real-time image and frame the numbers with a position frame; the position frame information is output ( ), and at the same time extract the location box area (equivalent to cutting out the location box area in the image).
[0083] Location frame information extracted from real-time images ( ) is compared with the standard position frame information (x1, y1, w1, h1), (x2, y2, w2, h2) and (x3, y3, w3, h3). If the position frame information of the input image is within the range of the standard position frame information (i.e., i=1 or 2 or 3), subsequent operations are performed on this image. If it is not within the range of the standard position frame information, the image is directly deleted; the image is screened out in the real-time image of the video frame, where the digital label corresponds to the marked image in the center.
[0084] Extract the outer boundary of the digital image along the position frame from the filtered real-time image; then perform image preprocessing (grayscale conversion of color image, bilateral filtering image smoothing, image binarization) on the extracted image;
[0085] Use the bounding box function in OpenCV to find the outer boundary of the digital image and output the position box information; ( ); This time the purpose is to determine the position box Information, this Compare with the standard position frame information w2 of the two-digit number and the standard position frame information w3 of the digital number;
[0086] If it is defined as a single-digit label, no splitting is required. If it is defined as a double-digit label, the width needs to be adjusted. Divide by 2 to split the two-digit position box into two position boxes. If it is defined as a three-digit label, the width needs to be adjusted. Divide by 3 to split the three-digit position box into three position boxes, and extract these position boxes at the same time (equivalent to cutting out each digital area and cutting out a single-digit picture).
[0087] Perform template matching on the extracted part, and then put the real-time image into the corresponding labeled image storage bucket.
[0088] For example, if the label number is 25, the images are stored in the image bucket with the folder name 25 in the form of a stack.
[0089] In the image computing server, an image comparison algorithm is used to extract the current real-time image and the real-time image at the previous moment (i.e., the previous photo of the current real-time image) with the same label from the image storage bucket, as well as the marked image with the corresponding digital label, and compare them on the image processing platform; an image processing platform such as OpenCV uses an algorithm such as SIFT scale-invariant feature change to extract the features of the three images for comparison. When the features are inconsistent, it is determined whether the belt is torn based on the image morphological characteristics (when the extracted real-time image is inconsistent with the real-time image at the previous moment and the marked image with the corresponding digital label, it means that the belt has a crack).
[0090] Furthermore, in order to save the amount of calculation while ensuring the accuracy of detection, the current frame image acquired in real time is feature-compared with the real-time picture of the same position at the previous moment stored in the storage bucket and the marked picture of the belt in good condition when it is applied for the first time. After that, only the current real-time picture acquired in real time and the real-time picture of the same position at the previous moment are compared. After a fixed time interval (such as an interval of 4 hours), three-frame image comparison is performed again, and the cycle is repeated. While reducing the amount of calculation, the accuracy and real-time performance of belt tear detection are also ensured. Only the current real-time picture acquired in real time and the real-time picture of the same position at the previous moment are compared. There is no need to compare the current real-time picture with the second-generation real-time picture at the previous moment and the marked picture, which saves the calculation time and data storage space required for image comparison. At the same time, performing a three-frame image comparison again after a period of time (such as an interval of 4 hours) can avoid the problem of underreporting caused by the inability to detect subtle crack changes by only comparing the current image with the image at the previous moment, making the result more accurate.
[0091] When the extracted real-time image is inconsistent with the real-time image of the previous moment and the features of the marked image with the corresponding digital label, an alarm is processed. The alarm function of this method mainly refers to transmitting the image feature information extracted by the operation server to the alarm system, and the alarm system controls the alarm information to be sent to the on-site equipment, thereby realizing the alarm function. The specific implementation is as follows: For example, Java is used to process Kafka messages to realize the alarm function; image features are extracted in OpenCV, and the features are transmitted to the deepstream framework of the multi-channel real-time video analysis system. Deepstream sends the features of each frame in the form of a Kafka message sequence to Java for subsequent reasoning. Java processes and feeds back two commands based on the feature information: one is to feed back to deepstream to save the problematic image; the other is to prompt the on-site equipment whether to alarm.
[0092] Finally, after hearing the alarm, the remote operation control system sends a shutdown signal, and the control system controls the belt conveyor to shut down, which is conducive to subsequent fault maintenance.
[0093] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0094] The above-described embodiments of the present invention do not constitute a limitation on the protection scope of the present invention. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.
Claims
1. A belt longitudinal tear detection method, characterized in that: The steps include: Step 1: real-time video data collection of the belt; Step 2: converting the real-time video data into real-time picture data, performing image preprocessing on the real-time picture, and obtaining a binary image of the real-time picture; Step 3: Filter out the images whose labels are consistent with the marked images from the real-time images and store them in the corresponding image storage bucket; Step three specifically includes the following steps: Through the bounding box function, the location box information of the real-time image label is output ( ), and extract the location box area at the same time; Location frame information extracted from real-time images ( ) is compared with the standard position frame information. If the position frame information of the input image is within the range of the standard position frame information, the next step is retained, and the ones that are not within the range of the standard position frame information are deleted; The standard position frame information is determined by the following steps: The first step is belt marking video data collection; The second step is to convert the real-time video data into labeled image data, perform image preprocessing on the labeled image, and obtain a binary image of the labeled image; In the third step, the binary image generated by the labeled image is passed through the bounding box function to output the standard position box information (x1, y1, w1, h1) with a single digit label; the standard position box information (x2, y2, w2, h2) with a two-digit label; the standard position box information (x3, y3, w3, h3) with a three-digit label; where x, y are the coordinates of the upper left corner of the position box in the image, w is the width of the position box, and h is the height of the position box; Perform image preprocessing on the regional images extracted from the filtered real-time images to obtain corresponding binary images; The binary image of the area image extracted in real time uses the bounding box function to find the outer boundary of the number and output the location box information ( ); Compare the width with the standard position box information; Obtained If it is smaller than the minimum width of two digits of the standard location box information, it is defined as a one-digit label; if it is greater than or equal to the minimum width of two digits of the standard location box information, and smaller than the minimum width of three digits of the standard location box information, it is defined as a two-digit label; if it is greater than or equal to the minimum width of three digits of the standard location box information, it is defined as a three-digit label; A single-digit label goes directly to the next step; a two-digit label has a width Divide by 2 to split the two-digit position box into two position boxes; three-digit labels are divided into two widths. Divide by 3 to split the three-digit position frame into three position frames, and extract these position frames at the same time; The extracted part is matched with the template image by matching the relevant function, and then the real-time image is placed in the image storage bucket with the corresponding label; Step 4: extract the current real-time image and the real-time image at the previous moment with the same label from the image storage bucket, as well as the marked image with the corresponding digital label, and perform feature comparison through the image comparison algorithm; Step 5: When the features of the real-time image and the compared image are inconsistent, an alarm is issued and the belt tearing position is obtained based on the digital label.
2. A belt longitudinal tear detection method according to claim 1, characterized in that: The image preprocessing specifically includes, in sequence, graying the color image, smoothing the image by bilateral filtering, and binarizing the image to convert the color real-time image into a binary image.
3. A belt longitudinal tear detection method according to claim 1, characterized in that: Step 4 specifically includes the following steps: First, the image comparison algorithm is used to perform a feature comparison of the three frames of images; the feature comparison is performed on the current real-time image acquired in real time and the real-time image of the previous moment at the same location, and then the three frames of images are compared again after a fixed time interval.
4. A belt longitudinal tear detection method according to claim 1, characterized in that: The real-time video is transmitted to a multi-channel real-time video analysis system for streaming processing to accelerate the video encoding and decoding process. The multi-channel real-time video analysis system can be a Deepstream platform.
5. A belt longitudinal tear detection device, comprising a belt longitudinal tear detection method according to any one of claims 1 to 4, characterized in that: Acquisition module, used for real-time video data acquisition of the belt; A preprocessing module is used to convert real-time video data into real-time image data, perform image preprocessing on the real-time image, and obtain a binary image of the real-time image; A screening and storage module is used to screen out pictures with the same label as the marked picture from the real-time pictures and store them in the corresponding image storage bucket; The image comparison module is used to extract the current real-time image and the real-time image of the previous moment with the same label from the image storage bucket, as well as the marked image with the corresponding digital label, and perform feature comparison through the image comparison algorithm; The alarm module is used to issue an alarm when the features of the real-time image and the compared image are inconsistent.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A mobile terminal, comprising a mobile terminal body and a controller, characterized in that: The controller includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Machine vision belt tear detection and protective device
CN101986143A
Conveying belt longitudinal tearing online detecting method based on line laser images
CN106276132A
Machine vision based anchor rod foreign matter and belt tearing detection system
CN107176432A
Device and method for detecting longitudinal tearing of large conveyor belt
CN109335575A
Real-time mining rubber belt tearing early warning and detecting method based on infrared image
CN109850518A
