Conveyor belt information detection method and device and storage medium
By verifying and adjusting the field of view of the image acquisition equipment, combined with object recognition technology, the accuracy and efficiency of conveyor belt fault detection are improved, the problem of low conveyor belt fault detection rate and safety hazards is solved, and early warning and accurate detection are achieved.
Patent Information
- Application Number
- CN202410767075.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-27
AI Technical Summary
Conveyor belts often fail during the mining and transportation of mineral resources. Traditional manual inspections are difficult to detect abnormalities in time, resulting in low failure detection rates, poor timeliness, and potential safety hazards.
Acquire surveillance video frames of the conveyor belt through image acquisition equipment, verify whether the field of view deviates from the preset range, if not, perform object recognition to determine whether there is an abnormal state on the conveyor belt, adjust the field of view to match the calibration area, and improve detection accuracy and efficiency.
It achieves early detection and early warning of conveyor belt abnormality, improves the accuracy and efficiency of fault detection, and reduces safety hazards and production losses caused by manual inspections.
Smart Images

Figure CN118701637A
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and in particular to a method, device and storage medium for detecting information of a conveyor belt. Background Art
[0002] Conveyor belts are the most common way to transport mineral resources over short distances during mining and processing operations. Most underground operations of minerals use conveyor belts to transport materials. In the deep processing of minerals (such as coal mines, cement plants, etc.), conveyor belts are also widely used to transport materials. The normal operation of the conveyor belt is the key to ensuring the safe operation of the entire business line. Once any problem occurs, it will seriously affect production, causing equipment damage at the least and production line shutdown at the worst. In actual operations, failure on the conveyor belt is also one of the most common failures. The traditional guarantee method is to conduct inspections through manual patrols, but this method is difficult to do all day, and the frequency of successful detection of abnormalities in the conveyor belt is low and the timeliness is poor. It is often discovered only after the failure has occurred, which makes it difficult to achieve the purpose of early warning and early loss recovery. For closed transport corridors, the environment is humid, dark, noisy, and dusty, and manual inspections still have certain safety hazards.
[0003] At present, large-scale mining production lines have achieved a considerable level of digital transformation, and security monitoring based on cameras has become the mainstream means. In conveyor belt operation workshops or tunnels, multiple cameras are usually deployed to monitor the production environment. However, most of the current inspection methods are still carried out by staff in the central control room for human visual observation, with a low fault detection rate and untimely actions, making it difficult to effectively avoid the occurrence of faults. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to provide a conveyor belt information detection method, device and storage medium, which realizes the matching of the calibrated area of the conveyor belt with the field of view corresponding to the monitoring video frame by verifying the current field of view of the image acquisition device, thereby improving the accuracy and efficiency of conveyor belt abnormal state detection.
[0005] In a first aspect, an embodiment of the present application provides a method for detecting information of a conveyor belt, comprising: in response to a detection instruction for the conveyor belt, obtaining a monitoring video frame about the conveyor belt, the monitoring video frame being acquired by a preset image acquisition device, the conveyor belt being configured with a calibration area, and the calibration area being determined according to a preset field of view range of the image acquisition device; detecting, according to the monitoring video frame, whether a current field of view range of the image acquisition device deviates from the preset field of view range; if the current field of view range of the image acquisition device does not deviate from the preset field of view range, performing object recognition on the monitoring video frame to determine the object category existing in the monitoring video frame; and determining whether the conveyor belt is in an abnormal state according to the object category and the calibration area in the monitoring video frame.
[0006] In one embodiment, the method further includes: if the current field of view of the image acquisition device deviates from the preset field of view, adjusting the calibration area of the conveyor belt according to the current field of view.
[0007] In one embodiment, detecting whether the current field of view of the image acquisition device deviates from the preset field of view based on the surveillance video frame includes: extracting matching key point pairs between the current frame image and the preset reference image in the surveillance video frame; determining the transformation matrix between the current frame image and the preset reference image based on the matching key point pairs; calculating the offset of a preset reference point between the current frame image and the preset reference image based on the transformation matrix; if the offset is greater than a preset offset threshold, determining that the current field of view of the image acquisition device deviates from the preset field of view; otherwise, if the offset is less than or equal to the preset offset threshold, determining that the current field of view of the image acquisition device does not deviate from the preset field of view.
[0008] In one embodiment, the extracting of matching key point pairs between the current frame image and the preset reference image in the surveillance video frame includes: respectively calculating a first key point set of the preset reference image and a second key point set of the current frame image, and respectively determining scale-invariant features of the first key points and the second key points; for each of the first key points, searching the second key point set for a target key point having the greatest similarity to the first key point according to the corresponding scale-invariant feature, and the matching key point pair includes the first key point and the matched target key point.
[0009] In one embodiment, the number of the matching key point pairs is at least three; determining the transformation matrix between the current frame image and the preset reference image based on the matching key point pairs includes: calculating the radial transformation matrix between the current frame image and the preset reference image based on at least three of the matching key point pairs.
[0010] In one embodiment, the preset reference points are four corner points in the preset reference image; calculating the offset of the preset reference points between the current frame image and the preset reference image according to the transformation matrix includes: projecting the four corner points into the current frame image according to the transformation matrix, respectively, to obtain the projection points of the four corner points in the current frame image, respectively; calculating the relative offsets between the four corner points and the corresponding projection points, and determining the maximum value of the relative offsets among the four corner points as the offset of the preset reference point between the current frame image and the preset reference image.
[0011] In one embodiment, before performing object recognition on the surveillance video frame to determine the object category existing in the surveillance video frame, it also includes: acquiring two frames of images with a preset time interval in the surveillance video frame; calculating the similarity between the calibrated areas in the two frames of images; determining whether the similarity is less than a preset similarity threshold; if the similarity is less than the preset similarity threshold, executing the step of performing object recognition on the surveillance video frame to determine the object category existing in the surveillance video frame; and / or, if the similarity is greater than or equal to the preset similarity threshold, determining that the conveyor belt is not turned on.
[0012] In one embodiment, the performing object recognition on the surveillance video frame to determine the object category present in the surveillance video frame includes: performing semantic segmentation on the surveillance video frame using a preset image segmentation model to determine the object category present in the surveillance video frame, wherein the object category includes: one or more of a conveyor belt, material, foreign matter and background.
[0013] In one embodiment, before using the preset image segmentation model to perform semantic segmentation on the surveillance video frame, it also includes: obtaining a preset sample image set, in which different sample object categories are marked, and the sample object categories include one or more of conveyor belts, materials, foreign objects and backgrounds; using the preset sample image set to train a preset neural network model to obtain the image segmentation model.
[0014] In one embodiment, the calibrated area includes an area enclosed by preset borders of the conveyor belt; and determining whether the conveyor belt is in an abnormal state based on the object category in the monitoring video frame and the calibrated area includes: if the object category in the monitoring video frame includes the background, and all the preset borders are in the background area, determining that the conveyor belt is in an abnormal deviation state.
[0015] In one embodiment, the calibration area includes the pressure-bearing surface area of the conveyor belt; the determining whether the conveyor belt is in an abnormal state according to the object category and the calibration area in the monitoring video frame includes: detecting whether the object category of the pressure-bearing surface area includes materials; if the object category of the pressure-bearing surface area does not include materials, and the first duration of the state that the object category of the pressure-bearing surface area does not include materials in the monitoring video frame is greater than a first preset duration, determining that the conveyor belt is in an abnormal idling state; if the object category of the pressure-bearing surface area includes materials, calculating the proportion of materials in the pressure-bearing surface area in each frame of the monitoring video frame; if the proportion of materials is less than a preset proportion, and the second duration of the state that the proportion of materials is less than the preset proportion in the monitoring video frame is greater than a second preset duration, determining that the conveyor belt is in an abnormal material shortage state; and / or, if the object category of the pressure-bearing surface area includes materials, recording the material occupancy rate of the conveyor belt at each moment according to the monitoring video frame, and determining the material flow rate of the conveyor belt according to the material occupancy rate and the operating parameters of the conveyor belt.
[0016] In one embodiment, determining whether the conveyor belt is in an abnormal state based on the object category and the calibration area includes: if the object category includes foreign matter, calculating the area of the foreign matter in the monitoring video frame; if the area of the foreign matter exceeds a preset area, and foreign matter is detected in consecutive preset frame images in the monitoring video frame, determining that the conveyor belt is in a safety abnormal state.
[0017] In a second aspect, an embodiment of the present application provides an information detection device for a conveyor belt, comprising:
[0018] An acquisition module, configured to acquire a monitoring video frame about the conveyor belt in response to a detection instruction for the conveyor belt, wherein the monitoring video frame is acquired by a preset image acquisition device, and the conveyor belt is configured with a calibration area, and the calibration area is determined according to a preset visual range of the image acquisition device;
[0019] A detection module, used for detecting whether the current viewing range of the image acquisition device deviates from the preset viewing range according to the monitoring video frame;
[0020] An identification module, configured to perform object identification on the monitoring video frame and determine the category of the object present in the monitoring video frame if the current viewing range of the image acquisition device does not deviate from the preset viewing range;
[0021] A determination module is used to determine whether the conveyor belt is in an abnormal state according to the object category and the calibration area in the monitoring video frame.
[0022] In one embodiment, the apparatus further includes: an adjustment module, configured to adjust the calibration area of the conveyor belt according to the current viewing range if the current viewing range of the image acquisition device deviates from the preset viewing range.
[0023] In one embodiment, the detection module is used to extract matching key point pairs between the current frame image and the preset reference image in the surveillance video frame; determine the transformation matrix between the current frame image and the preset reference image based on the matching key point pairs; calculate the offset of the preset reference point between the current frame image and the preset reference image based on the transformation matrix; if the offset is greater than a preset offset threshold, determine that the current field of view of the image acquisition device deviates from the preset field of view range; otherwise, if the offset is less than or equal to the preset offset threshold, determine that the current field of view of the image acquisition device does not deviate from the preset field of view range.
[0024] In one embodiment, the detection module is used to respectively calculate the first key point set of the preset reference image and the second key point set of the current frame image, and respectively determine the scale-invariant features of the first key point and the second key point; for each of the first key points, according to the corresponding scale-invariant features, search the second key point set for the target key point with the greatest similarity to the first key point, and the matching key point pair includes the first key point and the matched target key point.
[0025] In one embodiment, the number of the matching key point pairs is at least three; and the detection module is used to calculate the radial transformation matrix between the current frame image and the preset reference image based on at least three matching key point pairs.
[0026] In one embodiment, the preset reference points are four corner points in the preset benchmark image; the detection module is used to project the four corner points into the current frame image according to the transformation matrix, respectively, to obtain the projection points of the four corner points in the current frame image, respectively; calculate the relative offsets between the four corner points and the corresponding projection points, and determine the maximum value of the relative offsets among the four corner points as the offset of the preset reference point between the current frame image and the preset benchmark image.
[0027] In one embodiment, it also includes: a judgment module, which is used to obtain two frames of images with a preset time interval in the surveillance video frame before performing object recognition on the surveillance video frame and determining the object category existing in the surveillance video frame; calculate the similarity between the calibrated areas in the two frames of images; determine whether the similarity is less than a preset similarity threshold; if the similarity is less than the preset similarity threshold, execute the step of performing object recognition on the surveillance video frame and determining the object category existing in the surveillance video frame; and / or, if the similarity is greater than or equal to the preset similarity threshold, determine that the conveyor belt is not turned on.
[0028] In one embodiment, the recognition module is used to perform semantic segmentation on the surveillance video frame using a preset image segmentation model to determine the object category present in the surveillance video frame, and the object category includes: one or more of: conveyor belt, material, foreign matter and background.
[0029] In one embodiment, it also includes: a training module, which is used to obtain a preset sample image set before using the preset image segmentation model to perform semantic segmentation on the surveillance video frame, and different sample object categories are marked in the preset sample images, and the sample object categories include one or more of conveyor belts, materials, foreign objects and backgrounds; and use the preset sample image set to train a preset neural network model to obtain the image segmentation model.
[0030] In one embodiment, the calibration area includes an area enclosed by preset borders of the conveyor belt; a determination module is used to determine that the conveyor belt is in an abnormal deviation state if the object category in the monitoring video frame includes a background and all of the preset borders are in the background area.
[0031] In one embodiment, the calibration area includes the pressure-bearing surface area of the conveyor belt; a determination module is used to detect whether the object category of the pressure-bearing surface area includes materials, and if the object category of the pressure-bearing surface area does not include materials, and the first duration of the state that the object category of the pressure-bearing surface area does not include materials in the monitoring video frame is greater than a first preset duration, it is determined that the conveyor belt is in an abnormal idling state; the determination module is also used to, if the object category of the pressure-bearing surface area includes materials, respectively calculate the proportion of materials in the pressure-bearing surface area in each frame of the monitoring video frame; if the material proportion is less than a preset proportion, and the second duration of the state that the material proportion is less than the preset proportion in the monitoring video frame is greater than a second preset duration, it is determined that the conveyor belt is in an abnormal material shortage state; and / or, the determination module is also used to, if the object category of the pressure-bearing surface area includes materials, record the material occupancy rate at each moment on the conveyor belt according to the monitoring video frame, and determine the material flow rate of the conveyor belt according to the material occupancy rate and the operating parameters of the conveyor belt.
[0032] In one embodiment, the determination module is also used to calculate the area of the foreign object existing in the monitoring video frame if the object category includes foreign matter; if the area of the foreign object exceeds a preset area, and foreign matter is detected in consecutive preset frame images in the monitoring video frame, it is determined that the conveyor belt is in a safety abnormal state.
[0033] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0034] at least one processor; and
[0035] a memory communicatively coupled to the at least one processor;
[0036] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the electronic device to execute the method described in any one of the above aspects.
[0037] In a fourth aspect, an embodiment of the present application provides a cloud device, including:
[0038] at least one processor; and
[0039] a memory communicatively coupled to the at least one processor;
[0040] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the cloud device to execute the method described in any one of the above aspects.
[0041] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the method described in any one of the above aspects is implemented.
[0042] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the method described in any of the above aspects when executed by a processor.
[0043] The information detection method, device and storage medium of the conveyor belt provided in the embodiments of the present application obtain monitoring video frames of the conveyor belt captured by the image acquisition device when receiving a detection instruction for the conveyor belt. The conveyor belt is pre-configured with a calibration area according to the preset field of view of the image device. Before analyzing the monitoring video, the current field of view of the image acquisition device is first verified to determine whether the current field of view deviates from the preset field of view. If the current field of view of the image acquisition device does not deviate from the preset field of view, it means that the calibration area of the conveyor belt is accurate. In this case, the monitoring video frame is analyzed and identified to determine the object category existing in the monitoring video, and based on the object category and the calibration area of the conveyor belt, it is determined whether the conveyor belt is abnormal. In this way, by verifying the current field of view of the image acquisition device, it is ensured that the calibration area of the conveyor belt matches the field of view corresponding to the monitoring video frame, thereby improving the accuracy and efficiency of detecting abnormal conditions of the conveyor belt. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0045] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of an application scenario of a conveyor belt information detection system provided in an embodiment of the present application;
[0047] Figure 3 A schematic diagram of an information detection system for a conveyor belt provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of a flow chart of a conveyor belt information detection method provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of a conveyor belt calibration area provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of semantic segmentation provided in an embodiment of the present application;
[0051] Figure 7 A schematic diagram of a flow chart of a conveyor belt information detection method provided in an embodiment of the present application;
[0052] Figure 8A schematic diagram of a flow chart of a conveyor belt information detection method provided in an embodiment of the present application;
[0053] Fig. 9 A schematic diagram of a flow chart of a conveyor belt information detection method provided in an embodiment of the present application;
[0054] Fig.10 A schematic diagram of the structure of a conveyor belt information detection device provided in an embodiment of the present application;
[0055] Fig.11 A schematic diagram of the structure of a cloud device provided in an embodiment of the present application.
[0056] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0057] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.
[0058] The term "and / or" in this article is used to describe the association relationship of associated objects, specifically indicating that there may be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0059] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0060] In order to clearly describe the technical solution of the embodiment of the present application, the terms involved in the present application are first defined:
[0061] AI: Artificial Intelligence.
[0062] Intelligent inspection: Using artificial intelligence technology, regular or periodic inspections are performed on objects of concern to detect possible anomalies in a timely manner.
[0063] Roller: It is an important component of belt conveyor. The function of roller is to support the weight of conveyor belt and materials.
[0064] SIFT: scale-invariant feature transform, scale-invariant feature transformation.
[0065] HRNet: High-Resolution Net, high-resolution network.
[0066] DeepLabV3: A state-of-the-art deep learning model for semantic image segmentation, i.e. classifying each pixel in an image into predefined categories.
[0067] U-Net: U-shaped Network, a convolutional neural network for image segmentation, because its network architecture presents a symmetrical U-shaped structure, which consists of an encoder (downsampling path) and a decoder (upsampling path), and the corresponding layers of the encoder and decoder are connected by jump connections in the middle. This design enables U-Net to effectively capture and utilize the multi-scale features of images, thereby performing well in image segmentation tasks.
[0068] SegFormer: Segmentation Transformer, a deep learning model for image segmentation.
[0069] The conveyor belt information detection method of the embodiment of the present application can be applied to any field that requires abnormal monitoring of the conveyor belt.
[0070] Conveyor belts are the most common way to transport mineral resources over short distances during mining and processing operations. Most underground operations of minerals use conveyor belts to transport materials. In the deep processing of minerals (such as coal mines, cement plants, etc.), conveyor belts are also widely used to transport materials. The normal operation of the conveyor belt is the key to ensuring the safe operation of the entire business line. Once any problem occurs, it will seriously affect production, causing equipment damage at the least and production line shutdown at the worst. In actual operations, failure on the conveyor belt is also one of the most common failures. The traditional guarantee method is to conduct inspections through manual patrols, but this method is difficult to do all day, and the frequency of successful detection of abnormalities in the conveyor belt is low and the timeliness is poor. It is often discovered only after the failure has occurred, which makes it difficult to achieve the purpose of early warning and early loss recovery. For closed transport corridors, the environment is humid, dark, noisy, and dusty, and manual inspections still have certain safety hazards.
[0071] At present, large-scale mining production lines have achieved a considerable level of digital transformation, and security monitoring based on cameras has become the mainstream means. In conveyor belt operation workshops or tunnels, multiple cameras are usually deployed to monitor the production environment. However, most of the current inspection methods are still carried out by staff in the central control room for human visual observation, with a low fault detection rate and untimely actions, making it difficult to effectively avoid the occurrence of faults.
[0072] In related technologies, the use of artificial intelligence technology to detect the working condition of the conveyor belt in real time can effectively avoid many of the problems mentioned above. By replacing human eyes with surveillance cameras and using artificial intelligence visual technology to intelligently analyze surveillance videos, it is possible to detect and warn of various conveyor belt anomalies early and maximize the avoidance of possible production losses. It can also be combined with the digital central control platform to achieve digital upgrades for safe production. With the in-depth implementation of industrial digitalization and intelligence, the use of artificial intelligence technology to empower traditional industries, improve production efficiency, and ensure production safety has become a major trend in intelligent manufacturing. Automatically analyzing production conditions through AI visual technology, turning risk discovery from passive to active, and giving full play to the data value of video surveillance are of great significance for improving risk discovery rates and reducing personnel workload.
[0073] Taking the mining industry as an example, as the most commonly used conveying tool in mineral mining and processing, the inspection of conveyor belts is one of the important concerns of production companies. There are many different technical routes in the relevant technology to meet the needs of automated inspection.
[0074] The first solution is to use customized sensors and customize corresponding sensing equipment according to each functional point, such as using infrared high-frequency scanning technology to detect conveyor belt tearing and using alternating magnetic field detection technology to detect conveyor belt deviation. This solution can achieve high detection accuracy, but the implementation cost is high. Every time a function is added, a new device must be added. The equipment installation and maintenance requirements are high, and it is difficult to promote on a large scale.
[0075] The second solution uses a track-type sliding camera to shoot the conveyor belt. It supports remote control of the sliding camera and can take directional photos at any position on the conveyor belt, which has good flexibility. The position sensor built into the camera can realize autonomous positioning of the fault point, and the intelligent analysis algorithm in the background can realize automatic detection of fault risks. This solution requires the construction of a track above the conveyor belt, and cannot use existing traditional surveillance cameras, which has a high implementation cost. The maintenance of the mechanical track is also a difficult point, and mechanical failures such as freezing are prone to occur.
[0076] The third solution is to use AI vision technology to inspect the status of the conveyor belt based on a fixed camera, and to automatically detect the conveyor belt status that needs attention based on video intelligent analysis technology, such as operating status, belt deviation, large coal blocks, foreign objects, tears, coal quantity detection, etc. However, the relevant technologies are generally based on detection solutions, and the corresponding target detection algorithms are customized and developed for specific needs. For example, if the belt deviates, the belt target frame and edge lines are detected, and if foreign objects are detected, a foreign object detection model is customized and developed. If coal flow detection is detected, a coal detection segmentation model is developed. The customization degree is high, the calculation amount is large, and the implementation logic is complex. For belt risk requirements, the frequency of abnormal situations is low, and it is difficult to collect enough samples for customized model training. The sample collection cycle is long, and the generalization of the model is difficult to guarantee.
[0077] In order to solve at least one of the above problems, an embodiment of the present application provides an information detection scheme for a conveyor belt. When a detection instruction for the conveyor belt is received, a monitoring video frame of the conveyor belt captured by an image acquisition device is obtained. The conveyor belt is pre-configured with a calibration area according to a preset field of view of the image device. Before analyzing the monitoring video, the current field of view of the image acquisition device is first verified to determine whether the current field of view deviates from the preset field of view. If the current field of view of the image acquisition device does not deviate from the preset field of view, it means that the calibration area of the conveyor belt is accurate. In this case, the monitoring video frame is analyzed and identified to determine the object category existing in the monitoring video, and based on the object category and the calibration area of the conveyor belt, it is determined whether the conveyor belt is abnormal. In this way, by verifying the current field of view of the image acquisition device, it is ensured that the calibration area of the conveyor belt matches the field of view corresponding to the monitoring video frame, thereby improving the accuracy and efficiency of detecting abnormal conditions of the conveyor belt.
[0078] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other. In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.
[0079] like Figure 1 As shown, this embodiment provides an electronic device 1, including: at least one processor 11 and a memory 12, Figure 1 A processor is taken as an example. The processor 11 and the memory 12 are connected via a bus 10. The memory 12 stores instructions that can be executed by the processor 11, and the instructions are executed by the processor 11 so that the electronic device 1 can execute all or part of the process of the method in the following embodiment, so as to achieve the matching of the calibrated area of the conveyor belt with the field of view corresponding to the monitoring video frame by checking the current field of view of the image acquisition device, thereby improving the accuracy and efficiency of the abnormal state detection of the conveyor belt.
[0080] In one embodiment, the electronic device 1 may be a mobile phone, a tablet computer, a laptop computer, a desktop computer, or a large computing system composed of multiple computers.
[0081] Figure 2 A schematic diagram of an application scenario 200 of a conveyor belt information detection system provided in an embodiment of the present application. Figure 2 As shown, the system includes: a server 210 and a terminal 220, wherein:
[0082] The server 210 may be a data platform that provides information detection services for conveyor belts, such as a video surveillance cloud platform. In actual scenarios, a video surveillance cloud platform may have multiple servers 210. Figure 2 In the figure, one server 210 is taken as an example.
[0083] The terminal 220 may be a computer, mobile phone, tablet or other device used by the user to log in to the video surveillance cloud platform. There may be multiple terminals 220. Figure 2 Two terminals 220 are taken as an example for illustration.
[0084] The terminal 220 and the server 210 can transmit information via the Internet, so that the terminal 220 can access the data on the server 210. The terminal 220 and / or the server 210 can be implemented by the electronic device 1.
[0085] The conveyor belt information detection solution of the embodiment of the present application can be deployed on the server 210, can also be deployed on the terminal 220, or can be deployed partially on the server 210 and partially on the terminal 220. In actual scenarios, it can be selected based on actual needs, and this embodiment does not limit it.
[0086] When the information detection solution of the conveyor belt is fully or partially deployed on the server 210 , a calling interface can be opened to the terminal 220 to provide algorithm support to the terminal 220 .
[0087] The method provided in the embodiment of the present application can be implemented by executing the corresponding software code by the electronic device 1, and can be implemented by exchanging data with the server. The electronic device 1 can be a local terminal device. When the method is run on the server, the method can be implemented and executed based on the cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0088] In a possible implementation, the method provided in the embodiment of the present application provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be the client device in the cloud interaction system mentioned above.
[0089] like Figure 3As shown, it is a schematic diagram of a conveyor belt monitoring system provided in an embodiment of the present application, the system mainly includes: a camera, a conveyor belt, a conveyor belt controller, an AI-based processing server, a central console and a message system, wherein:
[0090] The conveyor belt is used to transport materials, and the conveyor belt controller is used to control the operation of the conveyor belt according to the control signal of the central console.
[0091] The camera is installed at a position where the conveyor belt can be photographed according to actual needs. It is used to collect the monitoring video stream of the conveyor belt. The monitoring video stream is transmitted to the processing server, and the processing server transmits the relevant information stream to the central console. The monitoring personnel can trigger instructions through the central console according to needs, such as triggering a detection instruction for the conveyor belt.
[0092] In actual scenarios, after the video stream captured by the camera reaches the processing server, various status information in the video stream can be extracted according to the intelligent analysis algorithm, and the resulting message stream can be reported to the central console. The central console sends alarm information to the monitoring personnel according to the message type. The monitoring personnel assess the risk level and its severity and send operation instructions to the central console. After receiving the instructions, the central console sends a control signal to the conveyor belt controller and shuts down the conveyor belt if necessary to avoid equipment damage or other serious consequences.
[0093] Please see Figure 4 , which is a conveyor belt information detection method according to an embodiment of the present application, the method can be Figure 1 The electronic device 1 shown is used to perform and can be applied to Figure 2-3 In the monitoring application scenario of the conveyor belt shown in , the current field of view of the image acquisition device is verified to ensure that the calibration area of the conveyor belt matches the field of view corresponding to the monitoring video frame, thereby improving the accuracy and efficiency of abnormal state detection of the conveyor belt. In this embodiment, the terminal 220 is used as an execution end as an example, and the method includes the following steps:
[0094] Step 401: In response to a detection instruction for a conveyor belt, a monitoring video frame about the conveyor belt is obtained, the monitoring video frame is acquired by a preset image acquisition device, and the conveyor belt is configured with a calibration area, which is determined according to a preset field of view of the image acquisition device.
[0095] In this step, the detection instruction for the conveyor belt can be triggered by the user, for example, the user logs in to the central console through a mobile phone to trigger the detection instruction for the conveyor belt. The detection instruction can also be automatically triggered by the system according to preset conditions, such as periodic triggering, or triggering when a preset event is met. The monitoring video frame is acquired by a preset image acquisition device. The preset image acquisition device can be a camera installed in a fixed position near the conveyor belt. After the camera is installed, it has limited calibration parameters. The preset field of view range can be determined according to the calibration parameters, or when the camera is installed, one or more video frame snapshots are collected as reference images. The preset field of view range of the camera can be determined through the reference image. The calibration area can be configured for the conveyor belt in advance according to the preset field of view range when the camera is installed, to ensure that the calibration area of the conveyor belt matches the preset field of view range of the monitoring camera, and provide accurate benchmark data for subsequent image detection. The calibration area can be expressed in the form of edge coordinates.
[0096] like Figure 5 As shown, it is a schematic diagram of a calibrated area of a conveyor belt provided in an embodiment of the present application. The calibrated area may include the movable range area of the conveyor belt. In actual scenarios, when the conveyor belt is working normally, it is required to operate according to a predetermined track path. If the conveyor belt deviates, it will bring safety risks to the operation of the conveyor belt. Conveyor belt deviation means that when the conveyor belt is unevenly stressed or partially stuck, it exceeds the range limited by the rollers, and there is a risk of material leakage or even deviating from the track. Therefore, the core of detecting whether the conveyor belt is deviated is to determine whether the conveyor belt is within the reasonable range limited by the rollers. Since the conveyor belt rollers are fixed on the base and will not change at will, the embodiment of the present application can determine the reasonable area of the conveyor belt by pre-calibrating the edge line, such as defining the position limited by the edge of the roller with the edge line ( Figure 5 If the conveyor belt is detected to touch the edge line, it means that the conveyor belt is deviating.
[0097] On the other hand, the calibration area can also include a specific area on the pressure-bearing surface of the conveyor belt. The material occupancy rate refers to the ratio of the material spread surface on the conveyor belt to the cross-section of the conveyor belt, which is used to determine whether the material on the conveyor belt is fully covered. "Material occupancy rate x speed x time" is also a direct measure of coal flow. In the embodiment of the present application, a polygonal area (such as Figure 5 The material occupancy rate is evaluated according to the area ratio of the material in the polygonal area.
[0098] In one embodiment, regarding the determination of the boundary line of the movable range of the conveyor belt, considering that the conveyor belt is usually fixed and basically will not be moved, the embodiment of the present application can be implemented by manual marking. For conveyor belts that need to be moved, it is also possible to consider using an automated calibration method, such as using an independent detection model to detect the position of the roller, and then automatically determining the boundary line of the movable range of the conveyor belt based on the position of the roller. Or based on a statistical method, maintain a thermal map of the segmented area of the conveyor belt in a normal operating state, and then compare the current segmented area of the conveyor belt with the thermal map area. If there is an obvious deviation, it is determined that the conveyor belt is deviating.
[0099] Step 402: Detecting whether the current viewing range of the image acquisition device deviates from the preset viewing range based on the monitoring video frame.
[0100] In this step, the calibration area in step 401 is determined according to the preset field of view of the image acquisition device, for example, it is determined for a fixed surveillance camera position and angle. If the surveillance camera moves, the original calibration area will not match the field of view of the surveillance camera, and accurate detection results cannot be obtained. In order to ensure the effectiveness of the existing calibration area, it is necessary to ensure that the shooting angle and field of view of the surveillance camera have not changed significantly. Therefore, before analyzing the surveillance video, it is first detected whether the camera has moved, which can be achieved by using image registration technology. By monitoring the video frame, the current field of view of the image acquisition device can be determined, and then the current field of view is compared with the preset field of view determined by the reference image to determine whether the current field of view deviates from the preset field of view. If so, proceed to step 405, otherwise proceed to step 403.
[0101] In actual scenarios, the system can periodically call the camera motion detection algorithm during runtime to detect whether the current field of view of the camera deviates from the preset field of view. For example, the camera motion detection algorithm can be periodically called on a daily or hourly basis, which can be set according to actual needs.
[0102] In one embodiment, step 402 may specifically include: extracting matching key point pairs between the current frame image and the preset reference image in the surveillance video frame. Determining the transformation matrix between the current frame image and the preset reference image based on the matching key point pairs. Calculating the offset of the preset reference point between the current frame image and the preset reference image based on the transformation matrix. If the offset is greater than a preset offset threshold, it is determined that the current field of view of the image acquisition device deviates from the preset field of view range; otherwise, if the offset is less than or equal to the preset offset threshold, it is determined that the current field of view of the image acquisition device does not deviate from the preset field of view range.
[0103] In this embodiment, the preset reference image may refer to the image acquisition device after installation and calibration, for example, the surveillance camera may be installed and one or more video frame snapshots are collected as the preset reference image when the conveyor belt is divided into the calibration area. For the preset reference image and the current frame image in the surveillance video frame, the matching key point pairs of the two images are extracted respectively, and then the transformation matrix between the two images is calculated according to the matching key point pairs, and then the offset of the preset reference point between the current frame image and the preset reference image is calculated according to the transformation matrix. Here, the preset reference point can be selected according to actual needs, and there can be multiple preset reference points to improve the calculation accuracy. For example, the four corner points of the image can be selected as the preset reference points. The offset between the four corner points of the current frame image and the four corner points in the preset reference image is calculated. If the offset is less than or equal to the preset offset threshold, it means that the offset between the current frame image and the preset reference image is small enough, indicating that the lens angle of the surveillance camera has not changed significantly, and the corresponding calibration area is accurate. If the offset is greater than the preset offset threshold, it means that the offset between the current frame image and the preset reference image is too large, and the current field of view of the surveillance camera deviates from the preset field of view. It is likely that the surveillance camera has moved. At this time, the original conveyor belt calibration area is not accurate enough, and the conveyor belt calibration area needs to be readjusted to ensure the accuracy of the data.
[0104] In one embodiment, extracting matching key point pairs between a current frame image and a preset reference image in a surveillance video frame includes: calculating a first key point set of the preset reference image and a second key point set of the current frame image, and determining scale-invariant features of the first key point and the second key point, respectively. For each first key point, according to the corresponding scale-invariant feature, searching the second key point set for a target key point with the greatest similarity to the first key point, and the matching key point pair includes the first key point and the matched target key point.
[0105] In this embodiment, an image registration algorithm based on SIFT features can be selected to extract matching key points between the current frame image and the preset reference image in the surveillance video frame, thereby improving the accuracy of the calculation result. Specifically, the following steps can be included:
[0106] Step 1: SIFT feature extraction: Calculate the SIFT key points <x, y> of the preset reference image A and the current frame image B, as well as the SIFT features of each key point.
[0107] Step 2: SIFT feature matching: For each first key point <x, y> in the preset reference image A, according to the SIFT feature of each key point, find the top 2 key points (the points ranked in the top 2 after sorting in descending order of similarity) that are most similar to the first key point in the second key point of the current frame image B. The similarity between the first key point and the second key point can be measured by the Euclidean distance of the SIFT features of the corresponding key points. The first key point A can be calculated by the following formula (1): keypoint With the second key point B keypoint The similarity between (Akeypoint,Bkeypoint) :
[0108] dist(A keypoint , B keypoint )=||A descriptor -B descriptor ||2 (1)
[0109] Among them, A descriptor The first key point A keypoint SIFT feature vector, B descriptor The first key point B keypoint The SIFT feature vector of .
[0110] Assume that, in the current frame image B, find the first key point A keypoint The top2 most similar key points are the key point top1 ranked first in similarity and the key point top2 ranked second in similarity. If the key point top1 and the key point top2 satisfy formula (2):
[0111] dist top1 <η*dist top2 (2)
[0112] Then determine the first key point A in the preset reference image A keypoint Match the key point top1 in the current frame image B. The key point top1 is the target key point to be found. The first key point A keypoint It forms a matching key point pair with the key point top1. top1 For the key point top1 and the first key point A keypoint The similarity between top2 For the key point top2 and the first key point A keypoint The similarity between them can be taken as a constant η=0.8, or it can be set according to actual needs.
[0113] In one embodiment, the number of matching key point pairs is at least three. Determining the transformation matrix between the current frame image and the preset reference image according to the matching key points includes: calculating the radial transformation matrix between the current frame image and the preset reference image according to at least three matching key point pairs.
[0114] In this embodiment, an affine transformation matrix may be used to represent the transformation matrix between the current frame image and the preset reference image. Affine transformation refers to a transformation in geometry where a vector space is transformed into another vector space by a linear transformation followed by a translation. The calculation is simple and fast.
[0115] When solving the radial transformation matrix, at least the number of matching key point pairs between the preset reference image A and the current frame image B must be greater than or equal to 3. The affine transformation matrix from the preset reference image A to the current frame image B can be solved according to the following formula (3) to obtain the affine transformation matrix of A->B:
[0116]
[0117] Wherein, (x, y) is the coordinate of the first key point in the preset reference image A in the matching key point pair, (x′, y′) is the coordinate of the second key point in the current frame image B in the matching key point pair, m1, m2, m3, m4, b1, b2 are the parameters to be solved in the affine transformation matrix respectively. By substituting the corresponding coordinates of at least three matching key point pairs into the above formula (3), the specific values of m1, m2, m3, m4, b1, b2 can be solved, and the affine transformation matrix from the preset reference image A to the current frame image B can be obtained.
[0118] In one embodiment, calculating the offset of the preset reference point between the current frame image and the preset reference image according to the transformation matrix includes: projecting four corner points into the current frame image according to the transformation matrix to obtain projection points of the four corner points in the current frame image respectively. Calculating the relative offsets between the four corner points and the corresponding projection points respectively, and determining the maximum value of the relative offsets among the four corner points as the offset of the preset reference point between the current frame image and the preset reference image.
[0119] In this embodiment, the preset reference points may be four corner points in the preset reference image A. For the coordinates of the four corner points of image A (0, 0), (W, 0), (W, H), (0, H), the transformation matrix between image A and image B may be used to project them to the coordinate points in image B. Assuming that the change matrix is an affine transformation matrix, the four corner points in the preset reference image A may be affine transformed and projected to the current frame image B using the radial transformation matrix between the preset reference image A and the current frame image B to obtain new projection point coordinates, and then the relative offsets between the four corner points and the corresponding projection points are calculated respectively, and the relative offsets are used to characterize the offset relationship between the preset reference image A and the current frame image B. The relative offset may be calculated using the following formula (4):
[0120]
[0121] Wherein, m is the maximum value of the corresponding relative offset among the four corner points. W is the width of the preset reference image A, and H is the height of the preset reference image A. (x i ,y i ) is the coordinate of the i-th corner point in the preset reference image A before affine transformation, (x i ′,y i ′) is the coordinate of the projection point corresponding to the i-th corner point after affine transformation.
[0122] If the maximum relative offset m is less than the preset offset threshold, for example, the preset offset threshold can be set to 0.05, and if m is less than or equal to 0.05, it is considered that the surveillance camera has not experienced a large angular offset. If m is greater than 0.05, it is determined that the surveillance camera has experienced a large angular offset. In order to ensure the accuracy of the calculation results, the subsequent processing steps can be terminated and the lens movement abnormality can be reported to facilitate adjustment of the camera or adjustment of the conveyor belt calibration area.
[0123] Step 403: Perform object recognition on the surveillance video frame to determine the object category existing in the surveillance video frame.
[0124] In this step, if the current field of view of the image acquisition device does not deviate from the preset field of view, it means that the calibrated area of the conveyor belt is accurate. In this case, the monitoring video frame is analyzed and identified to determine the category of the object in the monitoring video. By verifying the current field of view of the image acquisition device, it is ensured that the calibrated area of the conveyor belt matches the field of view corresponding to the monitoring video frame, thereby improving the accuracy and efficiency of detecting abnormal conditions of the conveyor belt.
[0125] In one embodiment, before performing object recognition on the surveillance video frame in step 403 and determining the object category in the surveillance video frame, the method further includes: obtaining two frames of images with a preset time interval in the surveillance video frame. Calculating the similarity between the calibrated areas in the two frames of images. Determining whether the similarity is less than a preset similarity threshold. If the similarity is less than the preset similarity threshold, executing step 403. And / or, if the similarity is greater than or equal to the preset similarity threshold, determining that the conveyor belt is not turned on.
[0126] In this embodiment, in order to ensure the effectiveness of monitoring identification, before identifying the monitoring video, the conveyor belt start and stop detection can be performed first, and the inter-frame difference method of the video stream can be used to determine whether the conveyor belt is in the open state. When it is determined that the conveyor belt is in the open state, the video stream is identified to improve the recognition efficiency. The essence of the inter-frame difference method is to determine whether the same area of two frames of images with a certain time interval has changed. For the judgment of whether the conveyor belt is turned on, the aforementioned pre-demarcated conveyor belt calibration area can be used as the image comparison area, such as the quadrilateral calibration frame on the pressure surface of the conveyor belt for material occupancy assessment as the comparison area. The preset time interval can be set according to actual needs, for example, the preset time interval can be set to 1s. The similarity between the calibration areas in the two frames of the image can be characterized by the normalized grayscale cross-correlation value. The preset similarity threshold can be set according to actual needs, for example, it can be 0.95.
[0127] Specifically, for two frames of images (the first frame and the second frame) with a 1s interval in the surveillance video frame, the image content of the area where the quadrilateral calibration frame is located in the two frames of images is intercepted, and the normalized grayscale cross-correlation value R of the image content in the two quadrilateral calibration frames is calculated using the following formula (5):
[0128]
[0129] Among them, S (p, n) is the normalized gray value of the image content of the area where the quadrilateral calibration box is located in the first frame image, T (p, n) is the normalized gray value of the image content of the area where the quadrilateral calibration box is located in the second frame image, and p and n are pixel coordinates respectively. The larger the normalized cross-correlation value R is, the higher the similarity between the two quadrilateral calibration box areas is, assuming that the preset similarity threshold is 0.95. If R is greater than or equal to 0.95, it indicates that there is basically no change between the two areas corresponding to the first frame image and the second needle image, indicating that the conveyor belt is not turned on. If the conveyor belt is not turned on, there is no safety risk, and the subsequent processing steps can be terminated. Otherwise, if R is less than 0.95, it indicates that there is a large change between the two areas corresponding to the first frame image and the second needle image, indicating that the conveyor belt has been turned on and running. At this time, step 403 can be continued to ensure that image recognition is performed when the conveyor belt is turned on, reduce unnecessary calculations, and improve detection efficiency.
[0130] Optionally, the conveyor belt opening detection may also be processed using other similar frame difference methods, such as a grayscale difference-based method.
[0131] In one embodiment, step 403 may specifically include: using a preset image segmentation model to perform semantic segmentation on the surveillance video frame, and determining the object category present in the surveillance video frame, the object category including: one or more of conveyor belts, materials, foreign objects and background.
[0132] In this embodiment, semantic segmentation is a computer vision technology that aims to assign each pixel in an image to a corresponding category, thereby achieving pixel-level image classification. This method divides the image into regions belonging to different semantic categories. Semantic segmentation can identify and understand the content of each pixel in the image and provide granular information about various entities in the image. A pre-trained image segmentation model can be used to perform semantic segmentation on surveillance video frames to identify the object categories present in the surveillance video frames and improve the accuracy of object recognition.
[0133] Specifically, Figure 6 As shown in FIG. 1 , a semantic segmentation diagram provided in an embodiment of the present application is provided. The input surveillance video image is input into an image segmentation model (taking the HRnet segmentation model as an example), and a recognition result image is output. In the recognition result image, the content in the surveillance video frame can be classified into different categories of objects of interest, including but not limited to: conveyor belts, materials, foreign objects, and background. The conveyor belt category refers to the exposed conveyor belt itself that is not occupied by materials ( Figure 6 As shown in Q1), the material refers to the coal or stone on the conveyor belt ( Figure 6 Foreign matter is any object other than normal material on the conveyor belt ( Figure 6 As shown in Q3 in the figure, there are large rocks, large coal blocks, anchor rods, channel steel, etc. These foreign objects may scratch or break the conveyor belt or damage the downstream mechanical equipment, and are risk objects that need attention. Other areas can be classified as background. The task of the image segmentation model is to accurately semantically divide the surveillance video frame according to the above definition to extract the basic elements of concern.
[0134] In one embodiment, before using a preset image segmentation model to perform semantic segmentation on surveillance video frames, a step of training the preset image segmentation model is also included, which may specifically include: obtaining a preset sample image set, wherein different sample object categories are annotated in the preset sample image, and the sample object category includes one or more of conveyor belts, materials, foreign objects, and backgrounds. Using the preset sample image set to train a preset neural network model to obtain an image segmentation model.
[0135] In this embodiment, the image segmentation model can be pre-trained according to the actual object category requirements. First, a preset sample image set is collected. The sample object categories that exist in the preset sample images can be annotated. The sample object categories include but are not limited to one or more of conveyor belts, materials, foreign objects and backgrounds. For example, if the image segmentation model is required to have the function of identifying conveyor belts and / or materials in the image, the sample image set needs to include sample images with conveyor belts and / or materials, and the sample images are annotated with the area where the conveyor belts and / or materials are located. Then, the preset neural network model is trained using the annotated sample image set to obtain an image segmentation model that has the function of identifying conveyor belts and / or materials in the image. In actual scenarios, the specific recognition capability of the image segmentation model can be set according to actual needs, and the sample image set is set according to the object category that needs to be recognized to meet the needs of the scene.
[0136] In actual scenarios, the preset neural network model can be selected according to actual needs, such as HRnet, DeepLabV3, U-Net, Segformer, etc. For example, the HRnet model can be used in the embodiment of the present application. For real-time monitoring video frames, the trained HRnet model can parse the image content into four types of areas: conveyor belt, material, foreign matter and background. According to these semantic areas, various status information of the conveyor belt can be parsed.
[0137] In addition, the image segmentation model can also be processed through acceleration technologies such as model cropping and compression to improve the efficiency of the image segmentation model.
[0138] Step 404: Determine whether the conveyor belt is in an abnormal state based on the object category and the calibrated area in the monitoring video frame.
[0139] In this step, by comparing the various object categories and the areas where they are located in the monitoring video frame with the calibrated area of the conveyor belt, it can be determined whether the current conveyor belt is in an abnormal state. If there is an abnormal state, an alarm message can be issued in time, which makes it easier for the central control system to handle the abnormality in time and improve the safety of the conveyor belt.
[0140] In one embodiment, step 404 may specifically include: if the object category in the monitoring video frame includes background, and all the preset edges are in the background area, determining that the conveyor belt is in an abnormal deviation state.
[0141] In this embodiment, the calibration area may include an area surrounded by a preset edge line of the conveyor belt. The preset edge line of the conveyor belt may refer to the boundary line of the movable range of the conveyor belt. The movable range boundary line of the conveyor belt may be automatically determined according to the position of the roller as described above, and the area surrounded by the boundary line of the movable range of the conveyor belt is used as the calibration area of the conveyor belt to limit the movable range of the conveyor belt. Based on this, it can be combined with the image segmentation result of the monitoring video frame to detect whether the conveyor belt is deviating. Specifically, it can be determined whether the edge line determined by the roller position belongs to the background category according to the image segmentation result in step 403. If the entire edge line is located in the background category, it means that the conveyor belt has not touched the boundary line of the movable range, that is, it is within a reasonable range of movement. On the contrary, if there is a segment of the edge line that does not belong to the background category, it means that the position of the edge line is covered by the conveyor belt, that is, it is determined that the conveyor belt has deviated, which is an abnormal state. An alarm can be issued, or the conveyor belt can be controlled to stop running to avoid unnecessary dangerous accidents.
[0142] In one embodiment, step 404 specifically also includes: detecting whether the object category of the pressure-bearing surface area includes materials; if the object category of the pressure-bearing surface area does not include materials, and the first duration of the state that the object category of the pressure-bearing surface area does not include materials in the monitoring video frame is greater than a first preset duration, it is determined that the conveyor belt is in an abnormal idling state.
[0143] In this embodiment, if the calibration area includes the pressure-bearing surface area of the conveyor belt, for example, a polygonal area can be demarcated in the pressure-bearing surface area of the conveyor belt as a detection area. The pressure-bearing surface area of the conveyor belt is generally used to hold materials to be transported. When the conveyor belt is turned on, there are materials on the normally operating conveyor belt. Idle transmission belt refers to the phenomenon that there is no material on the pressure-bearing surface of the conveyor belt and the belt runs empty. This situation will cause resource waste and is an abnormal state. It can be combined with the image segmentation result in step 403 and the polygonal area pre-calibrated for the conveyor belt to determine whether there is an object of material category in the polygonal area. If there is no material object in the semantic segmentation result of the polygonal area, it means that there is no material on the conveyor belt. If there is no material for a long time, it means that the conveyor belt is in an idling state. The first duration refers to the duration of the state of no material on the conveyor belt, which can be obtained by statistically analyzing the semantic segmentation results of each frame of the monitoring video frame. The first preset duration can be a threshold value set according to actual needs. If the first duration is greater than the first preset duration, it is determined that the conveyor belt is in an abnormal state, and abnormal information can be reported, or the conveyor belt can be controlled to stop running to save resources.
[0144] In one embodiment, step 404 specifically further includes: if the object category of the pressure surface area includes materials, respectively calculating the material proportion in the pressure surface area in each frame of the monitoring video frame. If the material proportion is less than the preset proportion, and the second duration of the state that the material proportion is less than the preset proportion in the monitoring video frame is greater than the second preset duration, it is determined that the conveyor belt is in a material-breaking abnormal state.
[0145] In this embodiment, the conveyor belt is broken, which means that the material on the conveyor belt is insufficient and intermittent, resulting in insufficient productivity, affecting the output and productivity. This is also an abnormal situation that needs to be prevented in actual scenes. If the object category of the pressure surface area of the conveyor belt in the semantic segmentation result of the monitoring video frame includes materials, it means that the conveyor belt is not idling. For each frame of the monitoring video stream, the material proportion of the polygonal area marked on the pressure surface of the conveyor belt can be calculated. The material proportion is an indicator of the filling degree of the material on the conveyor belt. It can generally be measured by the coverage ratio of the material on the conveyor belt. Here, it can be measured by calculating the material coverage ratio of the polygonal area marked on the pressure surface. Record the second continuous time when the material proportion is lower than the preset proportion. If the second continuous time is longer than the second preset time, it means that the cumulative time of the low occupancy rate of the conveyor belt exceeds the set time threshold, or the cumulative time proportion of the low occupancy rate exceeds a certain proportion, then it is determined that the conveyor belt is in a broken state, which can be reported as a conveyor belt broken abnormality, and the conveyor belt can be controlled to slow down or stop to save resources.
[0146] In one embodiment, step 404 specifically also includes: if the object category of the pressure surface area includes materials, recording the material occupancy rate of the conveyor belt at each moment according to the monitoring video frame, and determining the material flow rate of the conveyor belt according to the material occupancy rate and the operating parameters of the conveyor belt.
[0147] In this embodiment, the material flow on the conveyor belt can also be detected by monitoring the semantic segmentation results of the video frames. If the object category of the pressure surface area of the conveyor belt in the semantic segmentation results of the monitoring video frames includes materials, the material occupancy rate at each moment on the conveyor belt can be further recorded. Here, the material occupancy rate can be measured by calculating the material coverage ratio of the polygonal area marked on the pressure surface. Then, the material flow rate is determined in combination with the operating parameters of the transmission. The operating parameters of the conveyor belt include but are not limited to the speed, rotation time and other parameters of the conveyor belt motor. Taking the coal mine conveyor belt scene as an example, the material occupancy rate at each moment on the conveyor belt is recorded, and the formula "occupancy rate * speed * time" is used to evaluate the coal flow or output.
[0148] In one embodiment, step 404 specifically further includes: if the object category includes foreign matter, calculating the area of the foreign matter in the monitoring video frame. If the area of the foreign matter exceeds a preset area, and foreign matter is detected in consecutive preset frame images in the monitoring video frame, it is determined that the conveyor belt is in a safety abnormal state.
[0149] In this embodiment, if the object category of the pressure surface area of the conveyor belt in the semantic segmentation results of the monitoring video frame includes a foreign object category, the area of the foreign object in each frame image can be recorded. If the area of the foreign object exceeds the preset area, it means that the foreign object may be relatively large and there is a greater safety risk. Foreign object detection can be performed continuously on multiple frames of images. If the area of the foreign object exceeds the preset area and foreign objects are continuously detected in multiple consecutive frames, it means that there are large foreign objects on the conveyor belt and it needs to be reported immediately as a foreign object risk so as to promptly deal with the dangerous state and improve safety performance.
[0150] Step 405: Adjust the calibration area of the conveyor belt according to the current field of view.
[0151] In this step, if it is determined that the current field of view of the image acquisition device deviates from the preset field of view, the conveyor belt can be re-divided into a calibration area according to the current field of view, such as re-calibrating the boundary line of the active range of the conveyor belt and the boundary line of the polygonal area on the pressure surface. This ensures that the adjusted calibration area matches the current field of view of the image acquisition device, and ensures the validity and accuracy of subsequent calculations. Then, steps 403 to 404 can be executed according to the adjusted calibration area.
[0152] The above-mentioned conveyor belt information detection method is used to realize intelligent inspection of the working status of the conveyor belt, such as start and stop, foreign matter, material occupancy rate, material breakage, idling, etc., through functional components such as video acquisition, video analysis, data integration and system control. First, the installed fixed camera is used to collect real-time monitoring video, and the returned video frames are intelligently analyzed based on the AI visual processing algorithm to extract the real-time status information of the conveyor belt. Then, the data in the time dimension is integrated based on the status information of each frame to obtain the current working status of the conveyor belt. Finally, the working status is fed back to the control center system to trigger the corresponding processing operation. For the specific object of concern, a set of targeted AI visual algorithms has been constructed. It uses image segmentation technology as the core to effectively extract various basic information of concern in conveyor belt operations. It has the characteristics of simplicity, generality, low cost and high reliability. It can be used in conveyor belt transportation operation scenarios of various mining industries to realize intelligent inspection of safe production.
[0153] Compared with the related technical solutions, the embodiments of the present application have at least the following advantages:
[0154] 1. Simple implementation
[0155] The solution proposed in the embodiment of the present application can only use surveillance cameras, without the need to install any other equipment. It is a complete reuse and can greatly reduce the implementation cost of the manufacturer. In terms of technology selection, this solution can solve multiple task requirements related to the conveyor belt with only one segmentation model. There is no need to train separate models for conveyor belts, foreign objects, materials, etc., reducing the cost of data collection, model development and deployment iteration. In addition, the embodiment of the present application can also realize the functions of material occupancy rate and coal flow statistics. The solution of the embodiment of the present application can involve only one model in the development, deployment and iteration of the model, which significantly reduces the investment cost and is also convenient for rapid iteration and large-scale promotion.
[0156] 2. Good generalization
[0157] In actual scenarios, abnormal situations on conveyor belts are all low-frequency risks, and data collection is a pain point in model development. Sufficient training data, especially sufficient abnormal samples, are the key to ensuring the generalization of the model and the stability of the prediction results. Related AI vision solutions mostly adopt target detection solutions, which require the collection of a large number of abnormal samples for various types of targets, and the data collection cycle is long. The embodiment of the present application adopts an image segmentation solution. Compared with the target detection solution, the segmentation model requires less data, the prediction results are more stable, and the research and development cycle can be significantly reduced. At the same time, the embodiment of the present application treats foreign matter as a unified category. All objects on the conveyor belt that do not belong to materials are attributed to the category of foreign matter. This also enriches the sample size of the foreign matter category, further reducing the demand for data. Even if new types of foreign matter appear, they can be directly dealt with, so the generalization is more guaranteed.
[0158] Please see Figure 7 , which is a flow chart of a method for detecting information of a conveyor belt according to an embodiment of the present application, Figure 3 Taking the system scenario shown in the figure as an example, the method includes the following steps:
[0159] First, the conveyor belt area is marked according to the camera's installation parameters. Then, the camera movement is detected based on the surveillance video frames, and the conveyor belt opening detection is performed. When the camera is not offset and the conveyor belt is turned on, the surveillance video frames are semantically segmented to achieve conveyor belt semantic segmentation. The conveyor belt status is analyzed based on the semantic segmentation results, and finally the conveyor belt risk is reported.
[0160] The embodiments of the present application aim to solve the problem of monitoring the operating status of the conveyor belt through a fixed camera, including the start and stop status, belt deviation, foreign object detection, idling, material breakage, material occupancy rate and coal flow, etc.
[0161] The various steps of the above-mentioned conveyor belt information detection method can be found in detail in the relevant description of the above-mentioned embodiment, and will not be repeated here.
[0162] Please see Figure 8 , which is a flow chart of a method for detecting information of a conveyor belt according to an embodiment of the present application, Figure 3 Taking the scenario where the system shown is used to monitor a conveyor belt for mineral mining as an example, the method includes the following steps:
[0163] For the monitoring video stream of the conveyor belt collected by the camera, the camera movement detection based on image registration is first performed, and then for the real-time video stream, the conveyor belt opening judgment based on the difference between video frames is performed. Specifically, the conveyor belt opening and stopping status can be judged based on the change detection of the video frame difference in combination with the calibration area marked in advance. If the camera does not move and the conveyor belt is in the on state, the conveyor belt semantic extraction process based on image semantic segmentation is executed to distinguish three types of targets: conveyor belt, normal materials and foreign objects. Then, combined with the marking and marking of the calibration area of the conveyor belt, the conveyor belt operation risk is analyzed according to the results of semantic segmentation to analyze whether the conveyor belt deviation, foreign object detection, idling, material breakage, material occupancy rate and coal flow have occurred. Finally, the analysis results are reported to the central control system to prompt the monitoring personnel to take corresponding emergency measures.
[0164] Conveyor belt deviation, material occupancy rate and coal flow rate can be analyzed in combination with the pre-delineated calibration area frame. In order to ensure the effectiveness of the calibration area boundary marking, it is necessary to ensure that the camera angle has not changed compared to the angle when the line was drawn. This requires the judgment of the camera angle movement to improve the calculation accuracy.
[0165] The scheme of the embodiment of the present application realizes the fully automatic analysis and risk discovery of the safety production status of the conveyor belt during the mining and processing of minerals. In terms of hardware configuration, only the existing ordinary monitoring lens can be used, without involving the purchase and installation of any other hardware equipment, achieving complete reuse, which can greatly reduce the implementation cost. In terms of technical solutions, the intelligent analysis method with image segmentation as the core, by defining four types of targets such as conveyor belts, materials, foreign objects and backgrounds, combined with simple manual calibration, can realize the accurate extraction of various state information such as belt deviation, foreign object detection, idling, material breakage, material occupancy rate and coal flow, and meet the real-time inspection needs of conveyor belt safety production. In terms of application landing, the scheme of the embodiment of the present application can only involve the research and development and deployment of a single segmentation model, which has obvious advantages in terms of data demand, model generalization and computing power requirements, and can achieve rapid research and development, integration and promotion. Therefore, the scheme of the embodiment of the present application has the outstanding characteristics of low cost, high availability, small and fine, which can effectively assist the intelligent upgrade of the mineral mining and processing industry, improve production efficiency, and ensure production safety.
[0166] The various steps of the above-mentioned conveyor belt information detection method can be found in detail in the relevant description of the above-mentioned embodiment, and will not be repeated here.
[0167] Please see Fig. 9 , which is a flow chart of a method for detecting information of a conveyor belt according to an embodiment of the present application, Figure 3 Taking the system shown in the figure as an example, which is used to monitor the coal mine conveyor belt, the solution can include two links: early system installation and deployment and online system operation. Among them:
[0168] System installation and deployment: mainly to adjust the installation position and angle of the camera, save the video frame snapshot of the best installation position as the preset reference image, and delineate the boundary line of the conveyor belt activity area and the material carrying area polygon. In actual scenarios, the installation of the camera requires the field of view to cover a long conveyor belt range and good lighting conditions. If necessary, lighting can be added to supplement the light. The location of the demarcation area requires good lighting conditions to avoid affecting the accuracy of subsequent analysis.
[0169] During the actual operation of the system, first of all, we can regularly detect whether the lens has moved based on the monitoring video stream and video frame snapshots. If it has moved, it will be directly reported to the central control system to request to reset the lens angle and re-mark the calibration area. If the lens angle is normal, it is determined whether the conveyor belt is turned on. If the current conveyor belt is not turned on, there is no need to perform risk inspections and the intelligent analysis process is terminated. If the current conveyor belt is turned on, for the normal operation status, image semantic segmentation is performed on each video frame. According to the segmentation results and combined with the demarcated conveyor belt activity area boundary line and material carrying area polygon, the conveyor belt status information is extracted. The status information is analyzed for abnormalities, and the extracted conveyor belt status information and abnormal conditions are uploaded to the central control system to trigger corresponding processing actions.
[0170] The various steps of the above-mentioned conveyor belt information detection method can be found in detail in the relevant description of the above-mentioned embodiment, and will not be repeated here.
[0171] Please see Fig.10 , which is a conveyor belt information detection device 1000 according to an embodiment of the present application, and the device can be applied to Figure 1 The electronic device 1 shown can be applied to Figure 2-3 In the monitoring application scenario of the conveyor belt shown in , the current field of view of the image acquisition device is verified to ensure that the calibration area of the conveyor belt matches the field of view corresponding to the monitoring video frame, thereby improving the accuracy and efficiency of abnormal state detection of the conveyor belt. The device includes: an acquisition module 1001, a detection module 1002, an identification module 1003 and a determination module 1004, and the functional principles of each module are as follows:
[0172] The acquisition module 1001 is used to respond to the detection instruction of the conveyor belt and obtain the monitoring video frame about the conveyor belt. The monitoring video frame is acquired by a preset image acquisition device. The conveyor belt is configured with a calibration area, and the calibration area is determined according to the preset field of view range of the image acquisition device.
[0173] The detection module 1002 is used to detect whether the current viewing range of the image acquisition device deviates from the preset viewing range according to the monitoring video frame.
[0174] The identification module 1003 is used to perform object identification on the monitoring video frame and determine the object category existing in the monitoring video frame if the current viewing range of the image acquisition device does not deviate from the preset viewing range.
[0175] The determination module 1004 is used to determine whether the conveyor belt is in an abnormal state according to the object category and the marked area in the monitoring video frame.
[0176] In one embodiment, the apparatus further includes: an adjustment module, configured to adjust the calibration area of the conveyor belt according to the current viewing range if the current viewing range of the image acquisition device deviates from the preset viewing range.
[0177] In one embodiment, the detection module 1002 is used to extract the matching key point pairs between the current frame image and the preset reference image in the surveillance video frame. The transformation matrix between the current frame image and the preset reference image is determined based on the matching key point pairs. The offset of the preset reference point between the current frame image and the preset reference image is calculated based on the transformation matrix. If the offset is greater than a preset offset threshold, it is determined that the current field of view range of the image acquisition device deviates from the preset field of view range. Otherwise, if the offset is less than or equal to the preset offset threshold, it is determined that the current field of view range of the image acquisition device does not deviate from the preset field of view range.
[0178] In one embodiment, the detection module 1002 is used to respectively calculate a first key point set of a preset reference image and a second key point set of a current frame image, and respectively determine scale-invariant features of the first key point and the second key point. For each first key point, according to the corresponding scale-invariant feature, a target key point with the greatest similarity to the first key point is searched in the second key point set, and the matching key point pair includes the first key point and the matched target key point.
[0179] In one embodiment, the number of the matching key point pairs is at least three. The detection module 1002 is configured to calculate a radial transformation matrix between the current frame image and a preset reference image according to at least three matching key point pairs.
[0180] In one embodiment, the preset reference points are four corner points in a preset reference image. The detection module 1002 is used to project the four corner points into the current frame image according to the transformation matrix, and obtain the projection points of the four corner points in the current frame image respectively. The relative offsets between the four corner points and the corresponding projection points are calculated respectively, and the maximum value of the relative offsets among the four corner points is determined as the offset between the preset reference point in the current frame image and the preset reference image.
[0181] In one embodiment, it also includes: a judgment module, which is used to obtain two frames of images with a preset time interval in the surveillance video frame before performing object recognition on the surveillance video frame and determining the object category existing in the surveillance video frame. Calculate the similarity between the calibrated areas in the two frames of images. Determine whether the similarity is less than a preset similarity threshold. If the similarity is less than the preset similarity threshold, perform the step of performing object recognition on the surveillance video frame and determining the object category existing in the surveillance video frame. And / or, if the similarity is greater than or equal to the preset similarity threshold, determine that the conveyor belt is not turned on.
[0182] In one embodiment, the recognition module 1003 is used to perform semantic segmentation on the surveillance video frame using a preset image segmentation model to determine the object category present in the surveillance video frame, and the object category includes: one or more of conveyor belts, materials, foreign objects and background.
[0183] In one embodiment, it further includes: a training module, which is used to obtain a preset sample image set before using a preset image segmentation model to perform semantic segmentation on the surveillance video frame, wherein different sample object categories are marked in the preset sample image, and the sample object category includes one or more of conveyor belts, materials, foreign objects, and backgrounds. The preset sample image set is used to train a preset neural network model to obtain an image segmentation model.
[0184] In one embodiment, the calibration area includes an area surrounded by preset borders of the conveyor belt. The determination module 1004 is used to determine that the conveyor belt is in an abnormal deviation state if the object category in the monitoring video frame includes background and the preset borders are all in the background area.
[0185] In one embodiment, the calibration area includes the pressure surface area of the conveyor belt. The determination module 1004 is used to detect whether the object category of the pressure surface area includes materials. If the object category of the pressure surface area does not include materials, and the first duration of the state that the object category of the pressure surface area does not include materials in the monitoring video frame is greater than the first preset duration, it is determined that the conveyor belt is in an abnormal idling state. The determination module 1004 is also used to calculate the proportion of materials in the pressure surface area in each frame of the monitoring video frame if the object category of the pressure surface area includes materials. If the proportion of materials is less than the preset proportion, and the second duration of the state that the proportion of materials is less than the preset proportion in the monitoring video frame is greater than the second preset duration, it is determined that the conveyor belt is in an abnormal material shortage state. And / or, the determination module 1004 is also used to record the material occupancy rate of the conveyor belt at each moment according to the monitoring video frame if the object category of the pressure surface area includes materials, and determine the material flow rate of the conveyor belt according to the material occupancy rate and the operating parameters of the conveyor belt.
[0186] In one embodiment, the determination module 1004 is further configured to calculate the area of the foreign object in the monitoring video frame if the object category includes foreign objects. If the area of the foreign object exceeds a preset area, and foreign objects are detected in consecutive preset frame images in the monitoring video frame, it is determined that the conveyor belt is in a safety abnormal state.
[0187] For a detailed description of the above-mentioned conveyor belt information detection device 1000, please refer to the description of the relevant method steps in the above-mentioned embodiment. Its implementation principle and technical effect are similar, and will not be repeated here in this embodiment.
[0188] Fig.11 The following is a schematic diagram of a cloud device 110 provided in an exemplary embodiment of the present application. The cloud device 110 can be used to run the method provided in any of the above embodiments. Fig.11 As shown, the cloud device 110 may include: a memory 1104 and at least one processor 1105, Fig.11 A processor is taken as an example.
[0189] The memory 1104 is used to store computer programs and can be configured to store various other data to support operations on the cloud device 110. The memory 1104 can be an object storage service (OSS).
[0190] Memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0191] The processor 1105 is coupled to the memory 1104 and is used to execute the computer program in the memory 1104 to implement the solution provided by any of the above method embodiments. The specific functions and technical effects that can be achieved are not repeated here.
[0192] Furthermore, if Fig.11 The cloud device also includes: a firewall 1101, a load balancer 1102, a communication component 1106, a power supply component 1103 and other components. Fig.11 Only some components are shown schematically, which does not mean that the cloud device only includes Fig.11 Components shown.
[0193] In one embodiment, the above Fig.11 The communication component 1106 in is configured to facilitate wired or wireless communication between the device where the communication component 1106 is located and other devices. The device where the communication component 1106 is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, LTE (Long Term Evolution, Long Term Evolution, referred to as LTE), 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component 1106 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1106 also includes a near field communication (Near Field Communication, referred to as NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (Radio Frequency Identification, referred to as RFID) technology, Infrared Data Association (Infrared Data Association, referred to as IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (bluetooth, referred to as BT) technology and other technologies to achieve.
[0194] In one embodiment, the above Fig.11 The power supply component 1103 provides power to various components of the device where the power supply component 1103 is located. The power supply component 1103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.
[0195] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method of any of the aforementioned embodiments is implemented.
[0196] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method of any of the aforementioned embodiments when executed by a processor.
[0197] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0198] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0199] It should be understood that the above-mentioned processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The memory may include a high-speed RAM (Random Access Memory) memory, and may also include non-volatile storage NVM (Nonvolatile memory, NVM for short), such as at least one disk storage, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.
[0200] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special computer.
[0201] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.
[0202] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, clothing or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, clothing or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, clothing or device including the element.
[0203] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0204] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0205] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of user data and other information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0206] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for detecting information of a conveyor belt, It is characterized in that include: In response to a detection instruction for a conveyor belt, a monitoring video frame about the conveyor belt is acquired, the monitoring video frame is acquired by a preset image acquisition device, the conveyor belt is configured with a calibration area, and the calibration area is determined according to a preset visual range of the image acquisition device; Detecting, according to the monitoring video frame, whether the current viewing range of the image acquisition device deviates from the preset viewing range; If the current field of view of the image acquisition device does not deviate from the preset field of view, performing object recognition on the surveillance video frame to determine the category of the object present in the surveillance video frame; Determine whether the conveyor belt is in an abnormal state according to the object category and the calibrated area in the monitoring video frame.
2. The method according to claim 1, It is characterized in that Also includes: If the current viewing range of the image acquisition device deviates from the preset viewing range, the calibration area of the conveyor belt is adjusted according to the current viewing range.
3. The method according to claim 1, It is characterized in that The detecting, according to the monitoring video frame, whether the current viewing range of the image acquisition device deviates from the preset viewing range includes: Extracting matching key point pairs between the current frame image and the preset reference image in the surveillance video frame; Determine a transformation matrix between the current frame image and the preset reference image according to the matching key point pair; Calculate the offset of a preset reference point between the current frame image and the preset reference image according to the transformation matrix; If the offset is greater than a preset offset threshold, it is determined that the current field of view of the image acquisition device deviates from the preset field of view; otherwise, if the offset is less than or equal to the preset offset threshold, it is determined that the current field of view of the image acquisition device does not deviate from the preset field of view.
4. The method according to claim 3, It is characterized in that The extracting matching key point pairs between the current frame image and the preset reference image in the surveillance video frame includes: Calculating a first key point set of the preset reference image and a second key point set of the current frame image respectively, and determining scale-invariant features of the first key points and the second key points respectively; For each of the first key points, according to the corresponding scale-invariant feature, a target key point with the greatest similarity to the first key point is searched in the second key point set, and the matching key point pair includes the first key point and the matched target key point.
5. The method according to claim 3, It is characterized in that The number of the matching key point pairs is at least three; and determining the transformation matrix between the current frame image and the preset reference image according to the matching key point pairs includes: A radial transformation matrix between the current frame image and the preset reference image is calculated based on at least three matching key point pairs.
6. The method according to claim 3, It is characterized in that The preset reference points are four corner points in the preset reference image; and calculating the offset of the preset reference points between the current frame image and the preset reference image according to the transformation matrix includes: Projecting the four corner points into the current frame image respectively according to the transformation matrix to obtain projection points of the four corner points in the current frame image respectively; The relative offsets between the four corner points and the corresponding projection points are calculated respectively, and the maximum value of the relative offsets among the four corner points is determined as the offset of the preset reference point between the current frame image and the preset reference image.
7. The method according to claim 1, It is characterized in that Before performing object recognition on the surveillance video frame to determine the object category in the surveillance video frame, the method further includes: Acquire two frames of images with a preset time interval in the surveillance video frame; Calculating the similarity between the calibrated areas in the two frames of images; Determining whether the similarity is less than a preset similarity threshold; If the similarity is less than the preset similarity threshold, performing the step of performing object recognition on the surveillance video frame to determine the object category existing in the surveillance video frame; and / or, If the similarity is greater than or equal to the preset similarity threshold, it is determined that the conveyor belt is not turned on.
8. The method according to claim 1, It is characterized in that The performing object recognition on the surveillance video frame to determine the category of the object present in the surveillance video frame includes: A preset image segmentation model is used to perform semantic segmentation on the surveillance video frame to determine the object category present in the surveillance video frame, wherein the object category includes one or more of a conveyor belt, materials, foreign matter and background.
9. The method according to claim 8, It is characterized in that Before the preset image segmentation model is used to perform semantic segmentation on the surveillance video frame, the method further includes: Acquire a preset sample image set, wherein different sample object categories are marked in the preset sample images, and the sample object categories include one or more of a conveyor belt, a material, a foreign object, and a background; The preset sample image set is used to train a preset neural network model to obtain the image segmentation model.
10. The method according to claim 1, It is characterized in that The calibrated area includes an area surrounded by a preset boundary line of the conveyor belt; and determining whether the conveyor belt is in an abnormal state according to the object category in the monitoring video frame and the calibrated area includes: If the object category in the monitoring video frame includes the background, and the preset borders are all in the background area, it is determined that the conveyor belt is in an abnormal deviation state.
11. The method according to claim 1, It is characterized in that The calibrated area includes a pressure-bearing surface area of the conveyor belt; and determining whether the conveyor belt is in an abnormal state according to the object category and the calibrated area in the monitoring video frame includes: Detecting whether the object category of the pressure-bearing surface area includes materials, if the object category of the pressure-bearing surface area does not include materials, and the first duration of the state that the object category of the pressure-bearing surface area does not include materials in the monitoring video frame is greater than a first preset duration, determining that the conveyor belt is in an abnormal idling state; If the object category of the pressure-bearing surface area includes materials, respectively calculating the proportion of materials in the pressure-bearing surface area in each frame of the monitoring video frame; If the material proportion is less than the preset proportion, and the second duration of the state that the material proportion is less than the preset proportion in the monitoring video frame is greater than the second preset duration, it is determined that the conveyor belt is in a material shortage abnormal state; and / or, If the object category of the pressure surface area includes materials, the material occupancy rate of the conveyor belt at each moment is recorded according to the monitoring video frame, and the material flow rate of the conveyor belt is determined according to the material occupancy rate and the operating parameters of the conveyor belt.
12. The method according to claim 1, It is characterized in that The determining, according to the object category and the calibration area, whether the conveyor belt is in an abnormal state comprises: If the object category includes foreign matter, calculating the area of the foreign matter present in the surveillance video frame; If the area of the foreign object exceeds a preset area, and foreign objects are detected in consecutive preset frame images in the monitoring video frame, it is determined that the conveyor belt is in a safety abnormal state.
13. An electronic device, It is characterized in that include: at least one processor; as well as a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the electronic device to perform the method described in any one of claims 1 to 12.
14. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Deviation detection method for monitoring range of camera on highway
CN103400112A
Nuclear power operation abnormity monitoring method and device, computer equipment and storage medium
CN112364715A
Conveying belt monitoring method, device and equipment and computer readable storage medium
CN112919050A
Escalator behavior detection method and device, terminal and computer readable storage medium
CN114463841A
Belt offset detection algorithm based on semantic segmentation
CN115082403A
Cited By
Tobacco material out-of-cabinet conveying monitoring system, monitoring method, medium and product
CN120681516A
