Slope detection method, device, drone and storage medium

By setting up monitoring piles in the slope area of ​​the open-pit mine and using drones to collect images to identify corner points, the problems of inaccurate and high-cost slope monitoring in the existing technology are solved, real-time and accurate monitoring of the slope is achieved, and the cost is reduced reduce costs and expand monitoring coverage.

CN118628941BActive Publication Date: 2024-10-11ZHONGKE YUNGU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411075770.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-11
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

The existing technology for open-pit mine slope monitoring is not accurate enough and costly, and cannot monitor underground rock formation displacement, making it difficult to meet real-time and accurate monitoring needs.

Method used

By setting up monitoring piles in the slope area, using drones to collect regional images, identifying the corners of the monitoring piles, and determining slope threat data, real-time and accurate monitoring of the slope can be achieved, reducing costs and expanding the monitoring scope.

Benefits of technology

It achieves accurate threat detection of slopes, meets real-time and accuracy requirements, is low cost, easy to maintain, has a wide measurement range, and has no regional restrictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628941B_ABST
    Figure CN118628941B_ABST
Patent Text Reader

Abstract

The present application discloses a slope detection method, device, drone and storage medium, which relates to the technical field of slope detection. The slope area to be detected is provided with monitoring piles, and the method includes: taking the first pixel point of the regional image of the collected slope area as the center, the pixel point on the boundary of the area where it is located is determined as the second pixel point, and the light and dark type is determined; searching for the first target pixel point in the second pixel point whose light and dark type is the same and all are preset light and dark types, and whose connecting line passes through the first pixel point; then searching for the second target pixel point in the second pixel point whose connecting line is perpendicular to the connecting line of the two first target pixel points and whose connecting line passes through the first pixel point; determining whether the first pixel point is the corner point of the monitoring pile according to the light and dark type of the second target pixel point corresponding to the first pixel point; and determining the slope threat data of the slope area at the target time point according to the corner points of all monitoring piles of the entire regional image. The above scheme can accurately detect the threat situation of the slope.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of slope detection, and specifically to a slope detection method, device, drone and storage medium. Background Art

[0002] The stability of the open-pit mine slope affects the production safety and production efficiency of the mine. The slope hazards in the actual production process pose a threat to the life safety of the mine workers. The mine slope sliding disaster is affected by many factors such as weather, groundwater flow, underground stress, blasting vibration, etc., and is often highly hidden. Once it occurs, it is extremely destructive. Therefore, it is necessary to monitor the slope conditions of the open-pit mine in real time and accurately warn of possible dangerous landslides in the mine, so as to take avoidance measures as soon as possible to ensure the safety of workers and reduce the losses caused by mine disasters.

[0003] In the prior art, open-pit mine slope monitoring technologies mainly include GNSS monitoring systems and slope radar monitoring systems. The GNSS monitoring system calculates the position of the GNSS receiver in the WSG84 geocentric coordinate system based on the satellite signals received by the GNSS, and then monitors the surface displacement of the open-pit mine slope. However, the GNSS monitoring system is a single-point monitoring system with a small monitoring range and low efficiency. It can only monitor the surface movement of the slope, but cannot monitor the displacement of underground rock formations. The effective monitoring area is affected by the signal quality. Moreover, the slope radar monitoring system is expensive and cannot be widely used in mines. The installation method is inconvenient, and it can only monitor the surface movement of the slope. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a slope detection method, device, drone and storage medium to solve the technical problems of inaccurate slope monitoring and high cost in the prior art.

[0005] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a slope detection method, wherein a monitoring pile is provided in a slope area to be detected, and the method comprises:

[0006] Acquire regional images of the slope region at each preset time point before the target time point and at the target time point;

[0007] For each first pixel point included in each regional image, a pixel point in the regional image that is on a boundary with a region where the first pixel point is located is determined as a second pixel point corresponding to the first pixel point, wherein the region where the first pixel point is located refers to a region defined with the first pixel point as the center;

[0008] Determine the brightness type of each second pixel point corresponding to each first pixel point;

[0009] For each first pixel point, searching for a first target pixel point among second pixel points corresponding to the first pixel point, which has the same brightness and darkness type as the preset brightness and darkness type and whose connecting line passes through the first pixel point;

[0010] For each first pixel point, find out a second target pixel point whose connecting line is perpendicular to a connecting line of two first target pixel points and whose connecting line passes through the first pixel point among the second pixel points corresponding to the first pixel point;

[0011] For each first pixel point, determine whether the first pixel point is a corner point of the monitoring pile according to the light and dark type of the second target pixel point corresponding to the first pixel point;

[0012] In the case that there is a first pixel point in at least one regional image that is a corner point of a monitoring pile, the slope threat data of the slope region at the target time point is determined according to the corner points of all the monitoring piles.

[0013] A second aspect of the present application provides a slope detection device, comprising:

[0014] a memory configured to store instructions; and

[0015] The processor is configured to call instructions from the memory and implement the above slope detection method when executing the instructions.

[0016] A third aspect of the present application provides a drone, comprising:

[0017] An image acquisition device, used for acquiring regional images of the slope area;

[0018] According to the above slope detection device.

[0019] A fourth aspect of the present application provides a machine-readable storage medium, characterized in that the machine-readable storage medium stores instructions, which are used to enable a machine to execute the above-mentioned slope detection method.

[0020] According to the above technical scheme, a monitoring pile is provided in the slope area to be detected, and the regional images of the slope area at each preset time point and the target time point before the target time point are obtained; for each first pixel point included in each regional image, the pixel point on the boundary of the area where the first pixel point is located in the regional image is determined as the second pixel point corresponding to the first pixel point, wherein the area where the first pixel point is located refers to the area delineated with the first pixel point as the center; the light and dark type of each second pixel point corresponding to each first pixel point is determined; for each first pixel point, the light and dark type of the second pixel point corresponding to the first pixel point is searched. The first target pixel point has the same type and is a preset light and dark type, and its connecting line passes through the first pixel point; for each first pixel point, find out the second target pixel point whose connecting line is perpendicular to the connecting line of the two first target pixel points and whose connecting line passes through the first pixel point in the second pixel point corresponding to the first pixel point; for each first pixel point, determine whether the first pixel point is a corner point of the monitoring pile according to the light and dark type of the second target pixel point corresponding to the first pixel point; in the case that there is a first pixel point that is a corner point of the monitoring pile in at least one regional image, determine the slope threat data of the slope area at the target time point according to the corner points of all monitoring piles. The above scheme can accurately detect the threat situation of the slope, can meet the real-time and accuracy requirements of slope monitoring, and the method is low-cost, easy to maintain, has a wide measurement range and is not restricted by region.

[0021] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0023] Figure 1 A schematic diagram of a process flow of a slope detection method according to an embodiment of the present application is schematically shown;

[0024] Figure 2 A schematic diagram schematically shows corner point detection according to an embodiment of the present application;

[0025] Figure 3 The schematic diagram of the process of inversely solving the world coordinates according to the embodiment of the present application is shown;

[0026] Figure 4 The following is a schematic diagram showing a flow chart of a slope detection method according to a specific embodiment of the present application;

[0027] Figure 5 The following is a schematic diagram showing a flow chart of a slope detection method according to another specific embodiment of the present application;

[0028] Figure 6 A structural block diagram of a slope detection device according to an embodiment of the present application is schematically shown;

[0029] Figure 7 The schematic diagram shows a structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0031] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), such directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0032] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0033] The stability of the slope of an open-pit mine affects the production safety and production efficiency of the mine. The hidden dangers of the slope in the actual production process pose a threat to the life safety of the miners. The sliding disaster of the slope of the mine is affected by many factors such as weather, groundwater flow, underground stress, blasting vibration, etc., and is often highly concealed, and once it occurs, it is extremely destructive. Therefore, it is necessary to monitor the slope conditions of the open-pit mine in real time and accurately warn of possible dangerous landslides in the mine, so as to take avoidance measures as soon as possible to ensure the safety of workers' lives and reduce the losses caused by mine disasters. Therefore, in an embodiment of the present application, by burying monitoring piles in the slope area of ​​the mine, the monitoring piles should be buried in the stable area of ​​the slope to avoid burying them in the loose surface layer. In addition, the burial should be reasonably distributed in the slope area of ​​the mine to avoid excessive concentration or dispersion.

[0034] Figure 1 The following schematically shows a flow chart of a slope detection method according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a slope detection method, which may include the following steps.

[0035] S102, acquiring regional images of the slope region at each preset time point before the target time point and at the target time point.

[0036] It can be understood that the target time point refers to the time point at which the slope area is detected and the detection results are obtained. There are multiple preset time points, which are historical time points at which the slope area is measured multiple times before the target time point. For example, the target time point is March 10, and the preset time points can be March 9, March 8, March 7, etc. In order to measure the slope threat situation of the slope area at the target time point, image acquisition can be performed on the slope area to collect regional images of the slope area at each preset time point before the target time point and the target time point. The regional image can be an image of a partial area of ​​the slope area, or it can be an image of the entire slope area. Preferably, the image of a partial area of ​​the slope area is acquired with high resolution, and then the regional image is subjected to image recognition to confirm the location of the monitoring pile in the image, so that the recognition result obtained is more accurate.

[0037] In one embodiment, a plurality of regional images of a slope area are collected by a drone, and the corresponding overlap ratio between the plurality of regional images is greater than or equal to a preset overlap ratio threshold. Specifically, the slope area can be covered by a drone, while ensuring that the regional images captured in the heading direction meet the overlap ratio requirement. The preset overlap ratio threshold refers to the minimum value pre-set for the overlap ratio between the plurality of regional images. The overlap ratio can be calculated according to the following formula (3):

[0038] (3)

[0039] in, refers to the overlap ratio between regional images, is the side length of the overlapping part of the region image, is the length of the region image in the overlapping direction.

[0040] S104, for each first pixel point included in each regional image, determine the pixel point in the regional image that is on the boundary of the region where the first pixel point is located as the second pixel point corresponding to the first pixel point, wherein the region where the first pixel point is located refers to the region defined with the first pixel point as the center.

[0041] The regional image includes a plurality of pixels, and the first pixel refers to any pixel in the regional image. For any first pixel in the regional image, a preset image region is defined based on the first pixel as the center, and the pixel on the boundary of the preset image region is the second pixel corresponding to the first pixel. It can be understood that the preset image region can be a region of any shape such as a circle, a square, a rectangle, etc. Specifically, refer to Figure 2 The preset image area may be a circle with the selected first pixel point p as the center, and the radius may be set to 3 pixels, so there are 16 second pixels on the boundary of the circle.

[0042] S106, determining the brightness type of each second pixel point corresponding to each first pixel point.

[0043] The brightness type of a pixel refers to the brightness of the pixel, and the brightness types include bright, dark, and neutral. The brightness type of each second pixel can be determined according to the brightness values ​​of the first pixel and the second pixel.

[0044] In an embodiment of the present application, determining the light and dark type of each second pixel point corresponding to each first pixel point includes: determining the brightness value of each first pixel point included in each regional image; for each first pixel point, determining the light and dark type of each second pixel point corresponding to the first pixel point based on the brightness value of the first pixel point, the brightness value corresponding to each second pixel point corresponding to the first pixel point, and the brightness threshold.

[0045] Specifically, the RGB color attributes of each first pixel point included in each regional image are converted into HIS color attributes according to the geometric relationship of the color space to determine the brightness value of each first pixel point, so that the influence of factors such as lighting and shooting time on the image can be converted into HIS color attributes and reflected through brightness values. Then, for each first pixel point, the brightness type of each second pixel point corresponding to the first pixel point can be determined based on the brightness value of the first pixel point, the brightness value corresponding to each second pixel point corresponding to the first pixel point, and the brightness threshold. The brightness threshold can be pre-set or calculated based on the brightness values ​​of the first pixel point and the second pixel point.

[0046] In one embodiment, determining the brightness value of each first pixel included in each regional image includes converting the regional image from the RGB color space to the HSI color space according to the following formulas (4), (5), and (6):

[0047] (4)

[0048] (5)

[0049] (6)

[0050] in, , H, S, and I refer to the hue, saturation, and brightness of the HSI color model respectively, and R, G, and B refer to the brightness values ​​corresponding to red, green, and blue respectively.

[0051] In an embodiment of the present application, the method also includes a step of determining a brightness threshold corresponding to each first pixel point, the steps including: for each first pixel point, determining a maximum brightness value, a minimum brightness value, and an average brightness value of the brightness values ​​of all second pixel points corresponding to the first pixel point, except for the maximum brightness value and the minimum brightness value, among the brightness values ​​of all second pixel points corresponding to the first pixel point; for each first pixel point, determining a brightness threshold corresponding to the first pixel point based on the maximum brightness value, the minimum brightness value, and the average brightness value.

[0052] In the case of drone aerial photography, the brightness I of the regional image may change with the different regions being photographed. By combining the brightness values ​​of the first pixel and each second pixel, an adaptive image threshold is obtained to reduce the occurrence of false detection of corner points in the image. Specifically, the brightness threshold corresponding to each first pixel is determined according to the following formula (1):

[0053] (1)

[0054] in, , Refers to the brightness value of the second pixel corresponding to each first pixel. It refers to the sum of the brightness values ​​of all second pixels corresponding to each first pixel. refers to the brightness threshold corresponding to each first pixel, i refers to the i-th second pixel corresponding to each first pixel, It refers to the maximum value of the brightness value of all the second pixels corresponding to each first pixel. It refers to the minimum brightness value of all second pixels corresponding to each first pixel. It means that all the second pixels corresponding to each first pixel are removed , The average brightness value of the remaining second pixel, Refers to the adaptive threshold coefficient.

[0055] In an embodiment of the present application, for each first pixel, determining the brightness type of each second pixel corresponding to the first pixel according to the brightness value of the first pixel, the brightness value corresponding to each second pixel corresponding to the first pixel, and the brightness threshold includes determining the brightness type of each second pixel corresponding to the first pixel according to the following formula (7):

[0056] (7)

[0057] in, It refers to the brightness type of the i-th second pixel corresponding to the first pixel p. It refers to the brightness value of the i-th second pixel corresponding to the first pixel p. refers to the brightness value of the first pixel p, is the brightness threshold corresponding to the first pixel p, d indicates that the brightness type is dark, a means the light and shade type is similar (centered), and b means the light and shade type is bright (bright).

[0058] S108, for each first pixel point, searching for a first target pixel point among second pixel points corresponding to the first pixel point, which has the same brightness type as the first pixel point and is a preset brightness type, and whose connecting line passes through the first pixel point.

[0059] S110, for each first pixel point, find out, among the second pixel points corresponding to the first pixel point, a second target pixel point whose connecting line is perpendicular to a connecting line between two first target pixel points and whose connecting line passes through the first pixel point.

[0060] S112: for each first pixel point, determine whether the first pixel point is a corner point of the monitoring pile according to the brightness type of the second target pixel point corresponding to the first pixel point.

[0061] It can be understood that the description can be made for any first pixel point. The preset light and dark type means that the light and dark types of the two second pixels are both light or both dark. When the preset image area corresponding to the first pixel point is a circular area and the first pixel point is the center of the circle, the line between the two first target pixel points is the diameter of the circular area. Further, when the above conditions are met, a perpendicular line is drawn to the diameter 1 between the two first target pixel points to obtain another diameter 2 perpendicular to the diameter in the circular area, and the second pixel point on the diameter 2 is determined as the second target pixel point. At this time, it can be determined whether the first pixel point is the corner point corresponding to the monitoring pile according to the light and dark type of the second target pixel point. It can be understood that the monitoring pile is usually a rectangular columnar object, and the outline of the monitoring pile photographed in the regional image. Corner points are very important features in the image. They represent the intersection of the edge or outline of the object in the image, or the point where the curvature is locally maximum. Corner point features have the characteristics of low computational complexity, simple matching, and rotation, translation, and scaling invariance. This means that even if the image is rotated, scaled or translated, corner detection can still accurately identify key points in the image, thereby maintaining the stability of image matching and recognition. By identifying corner points in the area image, the image position of the monitoring pile can be quickly and accurately determined.

[0062] refer to Figure 2 In one embodiment, the FAST corner detection algorithm can be used to select a circular area around the candidate point for each first pixel point p as the center point, and 16 equally spaced pixels are usually selected on the circumference of the circular area as second pixels. These second pixels are also called test points. A suitable brightness threshold T is set, and the brightness threshold is usually set to a preset percentage of the brightness I. The brightness value of the first pixel point p and the brightness threshold are used as references, and the light and dark type of each second pixel point is determined in combination with the above formula (7), so as to quickly detect the 16 second pixel points on the circumference.

[0063] Furthermore, in a specific embodiment, if there are N consecutive second pixel points whose brightness values ​​are all higher than the sum of the brightness value of the first pixel point p and the brightness threshold, or are all lower than the difference between the brightness value of the first pixel point p and the brightness threshold, then the first pixel point p is considered to be a corner point. In the original FAST algorithm, N is set to 12. In the above-mentioned traditional FAST detection algorithm, detection is performed in sequence in the manner of 1~9, 2~10, 8~16 until 9 consecutive pixels belong to dark or bright, it can be determined that the first pixel point p is a corner point. If there are still no 9 consecutive pixels belonging to dark or bright, then the first pixel point p is not a corner point. This method has a large amount of calculation, takes up a lot of computing resources, and has low efficiency.

[0064] Preferably, in another specific embodiment, after determining the light and dark type of each second pixel point in combination with the above formula (7), assuming that the first target pixel points are 1 and 9, the second target pixel points are 5 and 13. In the case where the sensitive types of pixel points 1 and 9 are both bright or both dark, the light and dark types of pixel points 5 and 13 can be further determined to determine whether the first pixel point is a corner point of the monitoring pile.

[0065] Specifically, in an embodiment of the present application, for each first pixel point, determining whether the first pixel point is a corner point of the monitoring pile according to the light and dark type of the second target pixel point corresponding to the first pixel point includes: for each first pixel point, if the light and dark type of any second target pixel point corresponding to the first pixel point is light or dark, and the light and dark types of other second pixel points between the second target pixel point and any first target pixel point among all the second pixel points corresponding to the first pixel point are all light or dark, then the first pixel point is determined to be a corner point of the monitoring pile.

[0066] It can be understood that, assuming that the preset image area is a circular area, then, for any first pixel point, to determine whether the first pixel point is a corner point of the monitoring pile, the following conditions need to be met:

[0067] Condition 1: There are two first target pixel points in the second pixel point corresponding to the first pixel point, the brightness and darkness types of both are bright or dark, and the line connecting the two is the diameter of the circular area;

[0068] Condition 2: When condition 1 is met, two second target pixel points are further searched among the second pixel points, the brightness type of any one of the second target pixel points is bright or dark, and the line connecting the two is the diameter of the circular area, and the diameter corresponding to the second target pixel point is perpendicular to the diameter corresponding to the first target pixel point;

[0069] Condition 3: When conditions 1 and 2 are met, further determine other second pixel points between any first target pixel point and two second target pixel points. When the light and dark types of these other second pixel points are all light or all dark, determine the first pixel point as the corner point of the monitoring pile.

[0070] Otherwise, if any of the above conditions is not met, the first pixel point is considered not to be a corner point of the monitoring pile, and no further conditions need to be confirmed, so that the next first pixel point corner point detection process can be directly performed. For example, if the first pixel point A does not meet condition 1, there is no need to perform the detection process of conditions 2 and 3. The above scheme can quickly screen the second pixel point and reduce the amount of calculation.

[0071] refer to Figure 2 As a specific implementation of the present application, the second pixel points 5 and 13 may be detected first. If 5 and 13 do not satisfy the condition of being both bright or both dark, two second pixel points on other diameters are selected for detection until there is a diameter where two second pixel points satisfy the condition of being both bright or both dark, and then the two second pixel points on another diameter perpendicular to the diameter are detected. If the two second pixel points on all diameters cannot satisfy the condition of being both bright or both dark, it can be directly confirmed that the first pixel point p is not a corner point. If 5 and 13 are both bright or both dark, the second pixel points 1 and 9 are detected. If the brightness and darkness type of any one of 1 or 9 is bright or dark, the six second pixel points 2, 3, 4, 14, 15, and 16 wrapped between 1~5 and 1~13 may be further detected. If these six are all bright or all dark, the first pixel point p is a corner point. Alternatively, the six second pixel points 6, 7, 8, 10, 11, and 12 included between 5-9 and 9-13 may be further detected. If these six second pixel points are all bright or all dark, the first pixel point p may also be determined to be a corner point.

[0072] S114: When there is a first pixel point in at least one regional image that is a corner point of a monitoring pile, determine the slope threat data of the slope region at a target time point according to the corner points of all monitoring piles.

[0073] It can be understood that by performing image recognition on the regional image, the corner points in the regional image can be detected. Then, the image coordinate system of the corner points in each regional image can be converted into the world coordinate system, and the world coordinates of the corner points can be used to determine whether the monitoring pile corresponding to the corner point has moved. Therefore, the slope threat data of the slope area at the target time point can be determined based on the corner points of the monitoring piles in all regional images. Slope threat data refers to data used to evaluate the threat situation of the slope. Slope threat data includes slope stability coefficient, slope displacement, average displacement velocity, etc.

[0074] According to the above technical scheme, a monitoring pile is provided in the slope area to be detected, and the regional images of the slope area at each preset time point and the target time point before the target time point are obtained; for each first pixel point included in each regional image, the pixel point on the boundary of the area where the first pixel point is located in the regional image is determined as the second pixel point corresponding to the first pixel point, wherein the area where the first pixel point is located refers to the area delineated with the first pixel point as the center; the light and dark type of each second pixel point corresponding to each first pixel point is determined; for each first pixel point, the light and dark type of the second pixel point corresponding to the first pixel point is searched. The first target pixel point has the same type and is a preset light and dark type, and its connecting line passes through the first pixel point; for each first pixel point, find out the second target pixel point whose connecting line is perpendicular to the connecting line of the two first target pixel points and whose connecting line passes through the first pixel point in the second pixel point corresponding to the first pixel point; for each first pixel point, determine whether the first pixel point is a corner point of the monitoring pile according to the light and dark type of the second target pixel point corresponding to the first pixel point; in the case that there is a first pixel point that is a corner point of the monitoring pile in at least one regional image, determine the slope threat data of the slope area at the target time point according to the corner points of all monitoring piles. The above scheme can accurately detect the threat situation of the slope, can meet the real-time and accuracy requirements of slope monitoring, and the method is low-cost, easy to maintain, has a wide measurement range and is not restricted by region.

[0075] In an embodiment of the present application, the slope threat parameters include a slope stability coefficient and an average displacement velocity. When there is a first pixel point in at least one regional image that is a corner point of a monitoring pile, determining the slope threat parameters in the slope area at a target time point based on the corner points of all monitoring piles includes: when there is a first pixel point in at least one regional image that is a corner point of a monitoring pile, determining the target image position of the center point of the monitoring pile in each regional image based on all the corner points of the monitoring pile in the regional image at each preset time point or target time point; determining the first world coordinates of the center point of the monitoring pile at each preset time point or target time point based on the target image position of the regional image at each preset time point or target time point; obtaining the initial world coordinates of the monitoring pile; for any time point of all preset time points and the target time point, determining the displacement change of the monitoring pile at the time point based on the first world coordinates and the initial world coordinates corresponding to the time point; determining the slope stability coefficient corresponding to the slope area at the target time point based on the displacement change of all time points; and determining the average displacement velocity of the monitoring pile at the target time point based on the displacement change corresponding to the target time point.

[0076] It can be understood that the outline of the monitoring pile captured in the regional image may have multiple corner points, and the center point of the monitoring pile can be determined by the corner points in the regional image as the reference point for measuring the displacement of the monitoring pile. Specifically, there may be more than one monitoring pile captured by the regional image, so a preset distance threshold can be set according to the scaling ratio of the regional image and the actual size of the monitoring pile. In addition, the reasonable laying of the monitoring pile can determine the corner points whose distance between the corner points is less than or equal to the preset distance threshold as the corner points belonging to the same monitoring pile. If only one corner point is detected in the regional image for the same monitoring pile, the corner point can be determined as the center point of the monitoring pile in the regional image. If two corner points are detected in the regional image, the midpoint of the line connecting the two corner points can be determined as the center point of the monitoring pile. If three or more intersections are detected in the regional image, all the corner points corresponding to the monitoring pile can be connected end to end, and the center point of the geometric shape obtained after the connection is determined as the midline point of the monitoring pile. It can be understood that the target image position refers to the image position of the center point of each monitoring pile in the regional image.

[0077] Furthermore, for the regional image of any preset time point or target time point, the image coordinate system can be converted into the world coordinate system according to the center point in the regional image, so as to determine the world coordinates of the center point based on the target image position of the center point, thereby determining the actual geographical location of the monitoring pile at each time point when the image was taken.

[0078] Then, for each regional image, determining the first world coordinates of the center point of the monitoring pile according to the target image position includes: obtaining the camera parameters of the image acquisition device that acquires each regional image; for each regional image, determining the first world coordinates of the center point of the monitoring pile according to the camera parameters and the target image position. Specifically, refer to Figure 3 , the center point of the pixel coordinate system can be converted to the world coordinate system by inversely solving the world coordinate system. Specifically, the center point can be converted to the image coordinate system through coordinate discretization, and the image coordinate system is converted to the camera coordinate system through perspective projection, and further converted to the world coordinate system through rigid body transformation to determine the first world coordinate of the center point. Specifically, the function expression of the conversion is shown in formula (8):

[0079] (8)

[0080] in, Refers to the Z-axis coordinate value of the center point of the monitoring pile in the image coordinate system. , , They refer to the coordinate values ​​of the first world coordinates of the center point of the monitoring pile in the world coordinate system, R refers to the rotation matrix, T refers to the displacement vector, and f refers to the focal length of the camera. , They refer to the unit distance of a single pixel on the x and y axes in the image coordinate system, respectively. , They respectively refer to the coordinate values ​​of the origin of the image coordinate system in the pixel coordinate system.

[0081] Since the camera parameters remain unchanged when the shooting device remains unchanged, the above formula can be simplified as shown in formula (9):

[0082] (9)

[0083] in, , means , Refers to the Z-axis coordinate value of the center point of the monitoring pile in the image coordinate system. , , They refer to the coordinate values ​​of the first world coordinates of the center point of the monitoring pile in the world coordinate system, R refers to the rotation matrix, T refers to the displacement vector, and f refers to the focal length of the camera. , They refer to the unit distance of a single pixel on the x and y axes in the image coordinate system, respectively. , They respectively refer to the coordinate values ​​of the origin of the image coordinate system in the pixel coordinate system.

[0084] Furthermore, the coordinate calculation of the monitoring point world coordinate system is the reverse calculation of the above calculation process, so the first world coordinate of the center point of the monitoring pile can be calculated according to the following formula (10):

[0085] (10)

[0086] in, , means , Refers to the Z-axis coordinate value of the center point of the monitoring pile in the image coordinate system. , , They refer to the coordinate values ​​of the first world coordinates of the center point of the monitoring pile in the world coordinate system, R refers to the rotation matrix, T refers to the displacement vector, and f refers to the focal length of the camera. , They refer to the unit distance of a single pixel on the x and y axes in the image coordinate system, respectively. , They respectively refer to the coordinate values ​​of the origin of the image coordinate system in the pixel coordinate system.

[0087] Furthermore, after determining the first world coordinates of the center point of the monitoring pile at each preset time point or target time point, it is necessary to obtain the initial world coordinates of the monitoring pile, so that the displacement change of the monitoring pile at any time point of image capture can be calculated. Among them, the initial world coordinates refer to the world coordinates when the monitoring pile is buried. Then, for any time point of all preset time points and target time points, determining the displacement change of the monitoring pile at the time point according to the first world coordinates and the initial world coordinates corresponding to the time point includes calculating the displacement change according to the following formula (11):

[0088] (11)

[0089] in, , , They are the first world coordinates of the center point k of the monitoring pile measured at the nth time, , , is the initial world coordinate of the center point k of the monitoring pile, is the displacement change of the center point k of the monitoring pile in the nth measurement.

[0090] In an embodiment of the present application, determining the slope stability coefficient corresponding to the target time point according to the displacement change at all time points includes determining the slope stability coefficient according to the following formulas (12) and (13):

[0091] (12)

[0092] (13)

[0093] Wherein, j refers to the total number of all preset time points and target time points. It refers to the mean square error of the monitoring pile center point k. It refers to the standard deviation of the displacement measurement value of the monitoring pile center point k, It refers to the slope stability coefficient of the monitoring pile center point k at the target time point. They respectively refer to the displacement change of the center point k of the monitoring pile at the i+1th preset time point and the displacement change of the center point k of the monitoring pile at the i-th preset time point, and n refers to the total number of preset time points.

[0094] In an embodiment of the present application, the average displacement speed of the monitoring pile at the target time point is determined according to the displacement change corresponding to the target time point, including calculating the average displacement speed according to the following formula (14):

[0095] (14)

[0096] in, It refers to the time interval between the nth measurement and the burial of the monitoring pile. It refers to the average displacement velocity of the center point k of the monitoring pile in the nth measurement. It refers to the displacement change of the center point k of the monitoring pile measured for the nth time.

[0097] In an embodiment of the present application, the method includes: determining a threat reference value in the area at a target time point according to the average displacement velocity and the slope stability coefficient; determining a threat level according to the threat reference value;

[0098] The threat reference value is determined according to the following formula (2):

[0099] (2)

[0100] in, is the threat reference value, is the slope displacement velocity weight, refers to the slope stability coefficient weight, It refers to the displacement velocity of the center point of the monitoring pile at the target time point n. It refers to the slope stability coefficient of the monitoring pile center point k at the target time point.

[0101] Then, the threat level can be divided according to the threat reference value. The threat level includes general, serious, severe, etc. The technicians can divide the actual threat level according to factors such as geographical environment, weather conditions, population density, etc. Specifically, The threat level is normal. The threat level is high. The threat level is severe. are the preset values ​​for the threat reference values, , Refers to the calculated threat reference value.

[0102] In an embodiment of the present application, the method also includes: when the threat level is a severe level, obtaining multiple slope influence parameters; combining any two slope influence parameters into a slope influence parameter group; determining the similarity corresponding to each slope influence parameter group; eliminating any slope influence parameter in the slope influence parameter group whose similarity is greater than a preset similarity threshold; and inputting all remaining slope influence parameters into a preset classification model to output the threat type of the slope area at the target time point through the preset classification model.

[0103] It can be understood that the slope influencing parameters refer to the parameters that affect the safety of the slope. The slope influencing parameters include but are not limited to pore water pressure ratio, slope height, slope gradient, rock and soil cohesion, bulk density, weathering degree, slope displacement and other parameters. According to the above scheme, the slope threat level is determined. For the heavier level, the early warning system of multi-source data slope threat is introduced, and the monitoring intensity of the relevant area is improved through the deep learning network model. Specifically, in order to reduce the redundancy of training data and improve the efficiency and accuracy of prediction, any two slope influencing parameters can be constructed into a slope influencing parameter group. The Euclidean distance can be used to measure the similarity between the two slope influencing parameters, so that any slope influencing parameter in the slope influencing parameter group with a similarity greater than a preset similarity threshold can be eliminated. Among them, the preset similarity threshold can be preset by the technician. After the slope influencing parameters with higher similarity are eliminated, all the remaining slope influencing parameters are input into the preset classification model, so that the threat type of the slope area at the target time point is output through the preset classification model. Specifically, the threat type includes but is not limited to landslide, collapse, slope collapse, rock collapse, ground subsidence, etc.

[0104] For dynamic monitoring of open-pit mine slopes, during the mining process, various internal and external factors such as worker operations, weather, groundwater flow, underground stress, blasting vibration, etc. will affect the changes in the slopes. Traditional slope radar and underground sensor systems have the problems of high cost and inconvenient installation, but they have high monitoring accuracy and can monitor changes in the deep geology of the slopes. Figure 4 As shown, as a specific implementation method, in the embodiment of the present application, the method of monitoring displacement by drone inspection can be combined with the traditional slope radar and underground sensor system to enhance the dynamic management capability of the slope, so that it can achieve complementary advantages, avoid unnecessary monitoring resources and waste of manpower and material resources, and prevent disasters caused by slope sliding to the greatest extent. The specific implementation method is to use a drone to take aerial photos of the slope area to collect regional images at the target time point and each preset time point before the target time point, extract and match features for each regional image, thereby determining the target image position of the center point of the monitoring pile in the regional image, and further determining the first world coordinate of the center point by inversely solving the world coordinates, thereby calculating the displacement of the monitoring pile at the target time point based on the first world coordinate of the center point calculated from the target time point and each preset time point, combined with the initial world coordinate of the center point of the monitoring pile, thereby evaluating the stability of the slope through the threat reference value of the slope, and further determining the threat level of the slope according to the above scheme, the general level is not processed, the severe level immediately issues an early warning, and notifies the relevant units to evacuate the early warning operation area, and the heavier level introduces a multi-source data slope threat early warning system to enhance the monitoring intensity of the relevant area.

[0105] Specifically, multi-source data is obtained by installing slope radar and underground sensing systems in relevant monitoring areas. Specifically, the slope influencing parameters such as pore water pressure ratio, slope height, slope gradient, rock and soil cohesion, bulk density, weathering degree, slope displacement, etc. in the slope area at the target time point are mainly monitored. Among them, the weathering degree is divided into four levels: unweathered, weakly weathered, moderately weathered, and strongly weathered. The pore water pressure g ratio is calculated according to the following formula (15):

[0106] (15)

[0107] Furthermore, any two slope influencing parameters can be constructed into a slope influencing parameter group. The Euclidean distance can be used to measure the similarity between the two slope influencing parameters, so that any slope influencing parameter in the slope influencing parameter group whose similarity is greater than a preset similarity threshold can be eliminated. The preset similarity threshold can be preset by a technician. Specifically, the similarity can be calculated according to the following formula (16):

[0108] (16)

[0109] in, is the i-th slope influence parameter, is the jth slope influence parameter, It refers to the similarity between the i-th slope influencing parameter and the j-th slope influencing parameter, n refers to the number of slope influencing parameter groups, and k refers to the k-th slope influencing parameter group.

[0110] Furthermore, after eliminating the slope influence parameters with high similarity, all the remaining slope influence parameters are input into the preset classification model, so that the threat type of the slope area at the target time point is output through the preset classification model, and the slope is accurately warned of threat. The preset classification model can be a support vector machine, and the method also includes the construction and training of an improved support vector machine. Specifically, refer to Figure 5 , through the slope radar and underground sensor system, we obtain multi-source data of historical time, including pore water pressure ratio, slope height, slope, rock and soil cohesion, bulk density, weathering degree, slope displacement and other slope influencing parameters, as well as the corresponding slope threat type, and train the improved support vector machine to obtain the trained improved support vector machine. Then, after inputting the real-time data into the improved support vector machine, we can get the real-time output slope threat type.

[0111] On the other hand, the construction of the improved support vector machine includes: constructing the objective function of the support vector machine; converting the objective function into a dual function based on the Lagrange multiplier method; determining the extreme value corresponding to the dual function based on the constraint conditions; substituting the extreme value into the objective function to determine the hyperplane parameters in the objective function; and obtaining the classification decision function of the support vector machine based on the hyperplane parameters. Specifically, the traditional SVM is a convex quadratic optimization problem, and the functional expression of its objective function is as follows (17):

[0112] (17)

[0113] Among them, m refers to the weight vector, It refers to the objective function of the support vector machine.

[0114] In order to weaken the influence of isolated points and noise on the prediction results of the support vector machine and optimize the above problems, the embodiment of the present application adopts a fuzzy method to improve the support vector machine. The function expression of the improved objective function is (18):

[0115] (18)

[0116] Among them, m refers to the weight vector, is the improved objective function, refers to the membership degree of sample i, C is the penalty coefficient, is the slack variable for sample i, It refers to the degree to which different samples i are misclassified, and l refers to the total number of samples.

[0117] Figure 1 FIG. 1 is a flow chart of a slope detection method in one embodiment. It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0118] Figure 6 The structure block diagram of a slope detection device according to an embodiment of the present application is schematically shown. Figure 6 As shown, the embodiment of the present application provides a slope detection method, which may include:

[0119] Memory 610, configured to store instructions; and

[0120] The processor 620 is configured to call instructions from the memory 610 and implement the above-mentioned slope detection method when executing the instructions.

[0121] Specifically, in the embodiment of the present application, the processor 620 may be configured to:

[0122] Acquire regional images of the slope area at each preset time point and the target time point before the target time point respectively; for each first pixel point included in each regional image, determine the pixel point on the boundary of the area where the first pixel point is located in the regional image as the second pixel point corresponding to the first pixel point, wherein the area where the first pixel point is located refers to the area demarcated with the first pixel point as the center; determine the light and dark type of each second pixel point corresponding to each first pixel point; for each first pixel point, search for the first target pixel point whose light and dark type is the same as the preset light and dark type among the second pixel points corresponding to the first pixel point, and whose connecting line passes through the first pixel point; for each first pixel point, search for the second target pixel point whose connecting line is perpendicular to the connecting line of the two first target pixel points and whose connecting line passes through the first pixel point among the second pixel points corresponding to the first pixel point; for each first pixel point, determine whether the first pixel point is a corner point of the monitoring pile according to the light and dark type of the second target pixel point corresponding to the first pixel point; in the case where there is a first pixel point that is a corner point of the monitoring pile in at least one regional image, determine the slope threat data of the slope area at the target time point according to the corner points of all the monitoring piles.

[0123] In the embodiment of the present application, the processor 620 may also be configured to:

[0124] For each first pixel point, if the light and dark type of any second target pixel point corresponding to the first pixel point is light or dark, and the light and dark types of other second pixel points between the second target pixel point and any first target pixel point among all the second pixel points corresponding to the first pixel point are all light or dark, the first pixel point is determined to be the corner point of the monitoring pile.

[0125] In the embodiment of the present application, the processor 620 may also be configured to:

[0126] Determine the brightness value of each first pixel point included in each regional image; for each first pixel point, determine the light and dark type of each second pixel point corresponding to the first pixel point based on the brightness value of the first pixel point, the brightness value corresponding to each second pixel point corresponding to the first pixel point, and the brightness threshold.

[0127] In the embodiment of the present application, the processor 620 may also be configured to:

[0128] For each first pixel point, determine the maximum brightness value and the minimum brightness value among the brightness values ​​of all the second pixel points corresponding to the first pixel point, as well as the average brightness value of the brightness values ​​of all the second pixel points corresponding to the first pixel point except the maximum brightness value and the minimum brightness value; for each first pixel point, determine the brightness threshold corresponding to the first pixel point based on the maximum brightness value, the minimum brightness value and the average brightness value.

[0129] In the embodiment of the present application, the processor 620 may also be configured to:

[0130] The brightness threshold corresponding to each first pixel is determined according to the following formula (1):

[0131] (1)

[0132] in, , Refers to the brightness value of the second pixel corresponding to each first pixel. It refers to the sum of the brightness values ​​of all second pixels corresponding to each first pixel. refers to the brightness threshold corresponding to each first pixel, i refers to the i-th second pixel corresponding to each first pixel, It refers to the maximum value of the brightness value of all the second pixels corresponding to each first pixel. It refers to the minimum brightness value of all second pixels corresponding to each first pixel. It means that all the second pixels corresponding to each first pixel are removed , The average brightness value of the remaining second pixel, Refers to the adaptive threshold coefficient.

[0133] In the embodiment of the present application, the slope threat parameters include the slope stability coefficient and the average displacement velocity. The processor 620 may also be configured as follows:

[0134] In the case where there is a first pixel point in at least one regional image that is a corner point of the monitoring pile, the target image position of the center point of the monitoring pile in each regional image is determined according to all corner points of the monitoring pile in the regional image at each preset time point or target time point; the first world coordinates of the center point of the monitoring pile at each preset time point or target time point are determined according to the target image position of the regional image at each preset time point or target time point; the initial world coordinates of the monitoring pile are obtained; for any time point of all the preset time points and the target time point, the displacement change of the monitoring pile at the time point is determined according to the first world coordinates and the initial world coordinates corresponding to the time point; the slope stability coefficient corresponding to the slope area at the target time point is determined according to the displacement change of all the time points; and the average displacement velocity of the monitoring pile at the target time point is determined according to the displacement change corresponding to the target time point.

[0135] In the embodiment of the present application, the processor 620 may also be configured to:

[0136] Determine the threat reference value in the target time point area according to the average displacement velocity and the slope stability coefficient; determine the threat level according to the threat reference value;

[0137] The threat reference value is determined according to the following formula (2):

[0138] (2)

[0139] in, is the threat reference value, is the slope displacement velocity weight, refers to the slope stability coefficient weight, It refers to the displacement velocity of the center point of the monitoring pile at the target time point n. It refers to the slope stability coefficient of the monitoring pile center point k at the target time point.

[0140] In the embodiment of the present application, the processor 620 may also be configured to:

[0141] When the threat level is a severe level, multiple slope influence parameters are obtained; any two slope influence parameters are combined into a slope influence parameter group; the similarity corresponding to each slope influence parameter group is determined; any slope influence parameter in the slope influence parameter group whose similarity is greater than a preset similarity threshold is eliminated; all remaining slope influence parameters are input into a preset classification model to output the threat type of the slope area at the target time point through the preset classification model.

[0142] Through the above technical scheme, the mining operation in the mine leads to dynamic changes in the slope. Based on the results of drone inspection, the monitoring radar and underground sensor system introduced in the mine provide reference for the deployment of slope radar and underground sensor system to improve the flexibility of dynamic monitoring of mine slope. By taking the results of drone inspection as a reference, for the area with large slope displacement after drone inspection, the slope area threat warning method based on multi-sensor fusion is introduced to monitor the slope displacement, pore water pressure ratio, rock and soil cohesion and other parameters in the relevant area, strengthen the monitoring of areas with high slope sliding warning level, and improve the accuracy and real-time performance of slope warning. Based on the inspection results, the slope threat warning is carried out for the relevant area, and the monitoring resources and manpower and material resources are more rationally used to prevent disasters caused by slope sliding. The improved feature detection algorithm is adopted, and the redundant data in the warning system is eliminated to improve the speed of algorithm detection. At the same time, the fuzzy processing method is used to improve the robustness of the warning system to noise data. In addition, the warning of slope sliding threats based on multi-source heterogeneous data improves the response efficiency and robustness of the warning system. In this way, the threat situation of the slope can be accurately detected, which can meet the real-time and accuracy requirements of slope monitoring. In addition, this method is low-cost, easy to maintain, has a wide measurement range and is not restricted by region.

[0143] An embodiment of the present application also provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the above-mentioned slope detection method.

[0144] An embodiment of the present application provides a drone, comprising:

[0145] An image acquisition device, used for acquiring regional images of the slope area;

[0146] According to the above-mentioned slope detection device, it is configured to execute the above-mentioned slope detection method.

[0147] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store slope detection data. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a slope detection method is implemented.

[0148] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0149] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0150] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0151] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0152] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0153] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0154] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0155] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0156] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0157] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A slope detection method, characterized in that: The slope area to be detected is provided with monitoring piles, and the method comprises: Acquire regional images of the slope region at each preset time point before the target time point and at the target time point; For each first pixel point included in each regional image, determine a pixel point in the regional image that is on a boundary with a region where the first pixel point is located as a second pixel point corresponding to the first pixel point, wherein the region where the first pixel point is located refers to a region defined with the first pixel point as the center; Determine the brightness type of each second pixel point corresponding to each first pixel point; For each first pixel point, searching for a first target pixel point among second pixel points corresponding to the first pixel point, which has the same brightness and darkness type as the preset brightness and darkness type and whose connecting line passes through the first pixel point; For each first pixel point, find out, among the second pixel points corresponding to the first pixel point, a second target pixel point whose connecting line is perpendicular to a connecting line of two first target pixel points and whose connecting line passes through the first pixel point; For each first pixel point, determining whether the first pixel point is a corner point of the monitoring pile according to the light and dark type of the second target pixel point corresponding to the first pixel point; In the case that there is a first pixel point in at least one regional image that is a corner point of the monitoring pile, the slope threat parameter of the slope region at the target time point is determined according to the corner points of all the monitoring piles.

2. The slope detection method according to claim 1, characterized in that: The step of determining, for each first pixel point, whether the first pixel point is a corner point of a monitoring pile according to the light and dark type of a second target pixel point corresponding to the first pixel point comprises: For each first pixel point, if the light and dark type of any second target pixel point corresponding to the first pixel point is light or dark, and the light and dark types of other second pixel points between the second target pixel point and any first target pixel point among all the second pixel points corresponding to the first pixel point are all light or dark, the first pixel point is determined to be the corner point of the monitoring pile.

3. The slope detection method according to claim 1, characterized in that: Determining the brightness type of each second pixel point corresponding to each first pixel point includes: Determine the brightness value of each first pixel point included in each regional image; For each first pixel point, the brightness type of each second pixel point corresponding to the first pixel point is determined according to the brightness value of the first pixel point, the brightness value corresponding to each second pixel point corresponding to the first pixel point, and a brightness threshold.

4. The slope detection method according to claim 3, characterized in that: The method further includes a step of determining a brightness threshold corresponding to each first pixel point, the step comprising: For each first pixel, determine a maximum brightness value and a minimum brightness value among the brightness values ​​of all second pixels corresponding to the first pixel, and an average brightness value of the brightness values ​​of other second pixels among all second pixels corresponding to the first pixel except the maximum brightness value and the minimum brightness value; For each first pixel point, a brightness threshold corresponding to the first pixel point is determined according to the maximum brightness value, the minimum brightness value and the average brightness value.

5. The slope detection method according to claim 4, characterized in that: The step of determining the brightness threshold corresponding to each first pixel point according to the maximum brightness value, the minimum brightness value, and the average brightness value includes determining the brightness threshold corresponding to each first pixel point according to the following formula (1): (1) in, , Refers to the brightness value of the second pixel corresponding to each first pixel. It refers to the sum of the brightness values ​​of all second pixels corresponding to each first pixel. refers to the brightness threshold corresponding to each first pixel, i refers to the i-th second pixel corresponding to each first pixel, It refers to the maximum value of the brightness value of all the second pixels corresponding to each first pixel. It refers to the minimum brightness value of all second pixel points corresponding to each first pixel point. It means that all the second pixels corresponding to each first pixel are removed , The average brightness value of the remaining second pixel, Refers to the adaptive threshold coefficient.

6. The slope detection method according to claim 1, characterized in that: The slope threat parameters include a slope stability coefficient and an average displacement velocity. When there is a first pixel point in at least one regional image that is a corner point of the monitoring pile, the slope threat parameters determined at the target time point in the slope region according to the corner points of all monitoring piles include: In the case where there is a first pixel point in at least one regional image that is a corner point of the monitoring pile, determining the target image position of the center point of the monitoring pile in each regional image according to all corner points of the monitoring pile in the regional image at each preset time point or the target time point; Determine the first world coordinates of the center point of the monitoring pile at each preset time point or the target time point according to the target image position of the regional image at each preset time point or the target time point; Obtaining the initial world coordinates of the monitoring pile; For any one of all preset time points and the target time point, determine the displacement change of the monitoring pile at the time point according to the first world coordinate corresponding to the time point and the initial world coordinate; Determine the slope stability coefficient corresponding to the slope area at the target time point according to the displacement changes at all time points; The average displacement speed of the monitoring pile at the target time point is determined according to the displacement change corresponding to the target time point.

7. The slope detection method according to claim 6, characterized in that: The method comprises: Determine a threat reference value of the area at the target time point according to the average displacement velocity and the slope stability coefficient; Determining the threat level according to the threat reference value; The threat reference value is determined according to the following formula (2): (2) in, is the threat reference value, is the slope displacement velocity weight, refers to the slope stability coefficient weight, It refers to the displacement speed of the center point of the monitoring pile at the target time point n. It refers to the slope stability coefficient of the monitoring pile center point k at the target time point.

8. The slope detection method according to claim 7, characterized in that: The method further comprises: When the threat level is a severe level, obtaining a plurality of slope impact parameters; Combine any two slope influencing parameters into a slope influencing parameter group; Determine the similarity corresponding to each slope influencing parameter group; Eliminate any slope influencing parameter in the slope influencing parameter group whose similarity is greater than a preset similarity threshold; All remaining slope impact parameters are input into a preset classification model, so as to output the threat type of the slope area at the target time point through the preset classification model.

9. A slope detection device, characterized in that: include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the slope detection method according to any one of claims 1 to 8 when executing the instructions.

10. A drone, characterized in that: include: An image acquisition device, used for acquiring regional images of the slope area; A slope detection device according to claim 9.

11. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions, which are used to enable a machine to execute the slope detection method according to any one of claims 1 to 8.