Glass curtain wall safety detection method, device and computer equipment

By collecting and splicing partial images of the glass curtain wall with drones, combined with image processing technology, the existing technology problems of low glass curtain wall detection efficiency and high safety hazards are solved, achieving fast and accurate safety hazard detection, replacing artificial high-altitude Operation.

CN114708195BActive Publication Date: 2024-08-27HUNAN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210239041.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2024-08-27
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

In the existing technology, the detection efficiency of high-altitude operation of glass curtain walls is low and the safety hazards are high. It is difficult for manual inspection to fully cover high-area glass curtain walls, and there are safety problems such as glass deformation, self-explosion, falling off, and thermal explosion.

Method used

UAVs are used for global image collection and three-dimensional route planning of the glass curtain wall. Through local shooting image splicing processing, combined with image preprocessing, feature extraction and stereo matching, the damage location and type of the glass curtain wall are determined, replacing manual high-altitude operations.

Benefits of technology

It achieves fast, accurate and efficient safety hazard detection of glass curtain walls, reduces the risk of manual high-altitude operations, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114708195B
    Figure CN114708195B
Patent Text Reader

Abstract

The present invention proposes a glass curtain wall safety detection method, device and computer equipment, which relates to the field of safety detection technology, including: step S101, obtaining a global image of the glass curtain wall taken by a drone to establish a global model of the glass curtain wall; step S102, planning a three-dimensional route for the drone to take local shots of the glass curtain wall based on the global model, so that the drone takes local shots at a predetermined distance to obtain a group of local shots of the glass curtain wall; step S103, obtaining the local shots, and splicing the local shots to obtain a complete image containing a single curtain wall glass block; step S104, determining whether the glass curtain wall is damaged based on the complete image of each curtain wall glass block; step S105, when it is determined that the glass curtain wall is damaged, determining the damaged position of the glass curtain wall. The present application proposes a glass curtain wall safety detection method, which can avoid the problems of extremely high risk and low efficiency of manual high-altitude operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of safety detection technology, and in particular to a glass curtain wall safety detection method, device and computer equipment. Background Art

[0002] At present, my country's economy is developing rapidly, the urbanization process is accelerating, and building curtain walls are common in cities. my country has become one of the world's largest curtain wall producers and users. However, with the passage of time, the curtain walls built in the early days often have safety problems such as glass deformation, self-explosion, falling off, and thermal cracking. These problems always endanger the safety of people's lives and property. In the existing technology, in order to eliminate safety hazards, workers need to rely on high-altitude brackets to conduct a comprehensive inspection of the surface of the glass curtain wall. Due to the high height and large area of ​​the curtain wall, this brings more safety problems and inconvenience to the workers' high-altitude operations. Manual inspection of safety hazards of glass curtain walls is too dangerous and inefficient. Summary of the invention

[0003] The technical problem to be solved by the present application is to propose a glass curtain wall safety detection method, device and computer equipment in view of the above-mentioned deficiencies in the prior art.

[0004] The glass curtain wall safety detection method includes:

[0005] Step S101, obtaining a global image of the glass curtain wall taken by a drone to establish a global model of the glass curtain wall;

[0006] Step S102, planning a three-dimensional route for the drone to partially photograph the glass curtain wall based on the global model, so that the drone can partially photograph the glass curtain wall at a predetermined distance according to the three-dimensional route and the set acquisition frequency to obtain a group of partial photographed images of the glass curtain wall;

[0007] Step S103, acquiring the partial captured images, and performing stitching processing on the partial captured images to obtain a complete image containing a single curtain wall glass block; wherein the complete image of each curtain wall glass block is stitched from a plurality of partial captured images;

[0008] Step S104, determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block;

[0009] Step S105, when it is determined that the glass curtain wall is damaged, the damaged position of the glass curtain wall is determined.

[0010] In some improved technical solutions, the stitching process of the partial captured images to obtain a complete image containing a single curtain wall glass block is specifically as follows:

[0011] Numbering each curtain wall glass block on the global model of the glass curtain wall, recording it as the first number;

[0012] According to the acquisition frequency of the local image shooting by the drone, the distance between the drone and the glass curtain wall, and the flight speed of the drone, the measurement area corresponding to each local image shot by the drone in the global model is determined, and the measurement area corresponding to each local image is numbered and recorded as the second number; the second number is recorded as XY, where X is the first number of the curtain wall glass block corresponding to the corresponding local image in the global model; Y is the third number of the local image in the corresponding curtain wall glass block;

[0013] Determine all the local captured images corresponding to each curtain wall glass block according to the first number of the curtain wall glass block on the global model and the second number of the measurement area corresponding to the local captured image;

[0014] All the partial images corresponding to each curtain wall glass block are used to stitch the complete image corresponding to each curtain wall glass block.

[0015] In some improved technical solutions, the method of determining the damaged position of the glass curtain wall is specifically:

[0016] Obtaining a first number X corresponding to the damaged curtain wall glass block;

[0017] Locate the damaged position on the damaged curtain wall glass block, and determine a third number Y of the local captured image corresponding to the damaged position on the curtain wall glass block;

[0018] Generate a second number XY according to the first number X and the third number Y;

[0019] The location of the damage position in the global model is determined according to the second number XY.

[0020] In some improved technical solutions, determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block includes:

[0021] Preprocessing the complete image of each curtain wall glass block; the preprocessing includes: uniform light processing, grayscale, and filtering and denoising;

[0022] Segmenting the complete image and extracting the frame of the curtain wall glass block;

[0023] Perform feature extraction, feature recognition, and stereo matching on the image to obtain a depth map and obtain the precise three-dimensional coordinates of the frame corners of the curtain wall glass blocks;

[0024] Draw the coordinate points of the frame corner points of all curtain wall glass blocks in a preset coordinate system, and generate an overall three-dimensional map of the glass curtain wall surface based on the coordinate points;

[0025] Determine the deflection of the glass curtain wall based on the overall three-dimensional diagram of the glass curtain wall surface;

[0026] The deflection of the glass curtain wall is compared with the deflection threshold to determine whether the glass curtain wall has undergone significant deformation.

[0027] In some improved technical solutions, determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block further includes:

[0028] Determine whether the grayscale value distribution corresponding to the complete image of each curtain wall glass block is uniform;

[0029] Compare the grayscale value corresponding to the complete image of each curtain wall glass block with the grayscale value of the undamaged glass;

[0030] When the grayscale value distribution is uneven and the difference between the grayscale value corresponding to the complete image and the grayscale value of the undamaged glass exceeds the damage grayscale threshold, it is determined that the corresponding position on the corresponding curtain wall glass block has damage.

[0031] In some improved technical solutions, the light homogenization process adopts a Mask light homogenization algorithm.

[0032] In some improved technical solutions, segmenting the complete image and extracting the frame of the curtain wall glass block specifically includes:

[0033] The Otsu algorithm is used to segment the image and extract the area of ​​the curtain wall glass block frame;

[0034] Hough line detection is used to extract the border of the glass curtain wall image.

[0035] In some improved technical solutions, the feature recognition adopts the Canny edge detection algorithm; the stereo matching adopts the Harris algorithm.

[0036] On the other hand, the present application also proposes a glass curtain wall safety detection device, comprising:

[0037] An acquisition module is used to acquire a global image of the glass curtain wall taken by a drone to establish a global model of the glass curtain wall;

[0038] a planning module, configured to plan a three-dimensional route for the drone to perform partial photography of the glass curtain wall based on the global model, so that the drone performs partial photography of the glass curtain wall at a predetermined distance according to the three-dimensional route and a set acquisition frequency to obtain a group of partial photography images of the glass curtain wall;

[0039] A stitching module, used to obtain the partial captured images, and stitch the partial captured images to obtain a complete image containing a single curtain wall glass block; wherein the complete image of each curtain wall glass block is stitched from a plurality of partial captured images;

[0040] A determination module, used for determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block;

[0041] The determination module is used to determine the damaged position of the glass curtain wall when determining that the glass curtain wall is damaged.

[0042] On the other hand, the present application also proposes a computer device, comprising: a processor; and a memory, on which executable code is stored, and when the executable code is executed, the processor executes the glass curtain wall safety detection method proposed in the above part.

[0043] The present application proposes a glass curtain wall safety detection method, which can avoid the extremely high risk and low efficiency of manual high-altitude operations, while improving the accuracy of safety hazard detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 This is one of the flow charts of a glass curtain wall safety detection method in an embodiment of the present application.

[0045] Figure 2 This is the second flow chart of a glass curtain wall safety detection method in an embodiment of the present application.

[0046] Figure 3 This is the third flow chart of a glass curtain wall safety detection method in an embodiment of the present application.

[0047] Figure 4 This is the fourth flow chart of a glass curtain wall safety detection method in an embodiment of the present application.

[0048] Figure 5 It is a schematic block diagram of a glass curtain wall safety detection device in an embodiment of the present application.

[0049] Figure 6 It is a schematic diagram of the application scenario of the glass curtain wall safety detection method in the embodiment of the present application.

[0050] Figure 7 It is a schematic diagram of the curtain wall glass block numbering on the global model in the embodiment of the present application.

[0051] Figure 8 It is a schematic diagram of the process of collecting local images by a drone along a three-dimensional route in an embodiment of the present application.

[0052] Fig. 9It is a schematic diagram of the computer equipment numbering the glass curtain wall in the embodiment of the present application. DETAILED DESCRIPTION

[0053] The following is the specific embodiment of the present application and in conjunction with the accompanying drawings, the technical scheme of the present application is further described, but the present application is not limited to these embodiments. In the following description, specific details such as specific configuration and assembly are provided only to help fully understand the embodiments of the present application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. In addition, for clarity and brevity, the description of known functions and structures has been omitted.

[0054] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other.

[0055] refer to Figure 1 The embodiment of the present application proposes a glass curtain wall safety detection method, which uses a drone to detect surface defects of the curtain wall, and can achieve rapid, efficient and accurate detection of curtain wall safety hazards. The method specifically includes steps S101 to S105, and these steps are specifically explained in conjunction with the accompanying drawings.

[0056] refer to Figure 6 The glass curtain wall safety detection method proposed in the embodiment of the present application is applied to a computer device 601, which can communicate with a drone 602. The drone 602 uploads the captured image data to the computer device 601, and the computer device 601 performs damage detection on the glass curtain wall by processing the image data.

[0057] The UAV has a flight positioning module, a data acquisition module, and a wireless communication module. The flight positioning module includes a positioning device and a motion sensor, which can ensure that the UAV completes the image data acquisition work accurately according to the prescribed route at a stable and appropriate speed. The positioning device includes a mobile base station receiver and a mobile station receiver. The mobile base station receiver continuously observes the satellite and transmits its observation data and station coordinate information to the mobile station receiver, thereby reducing the positioning error by comparing the real-time measured coordinates and the control point coordinates, so that the dynamic positioning accuracy of the multi-rotor UAV reaches the centimeter level. The mobile station receiver is installed on the multi-rotor UAV. The motion sensor includes an acceleration sensor and a speed sensor; the acceleration sensor and the speed sensor can observe the acceleration and speed of the UAV flight in real time, providing a guarantee for the UAV to fly smoothly at high altitude. The data acquisition module is composed of a four-rotor UAV and two cameras mounted on the UAV. The four-rotor UAV is flexible in taking off and landing, and can hover freely in the air to realize accurate and stable collection of system data. The binocular photogrammetry system composed of two industrial cameras can stably collect image information of the local area of ​​each glass according to the set frequency, obtain the local high-resolution image of the glass curtain wall and send it to the computer device. The wireless communication module is a communication module using a mobile network or WIFI.

[0058] The computer equipment includes data processing and analysis for global measurement and local damage detection of glass curtain walls. The drone transmits the collected image data to the computer, which can automatically model the glass curtain wall based on the captured images, and then plan the route based on the established rough model. The drone transmits the collected data to the computer equipment, which uses image recognition algorithms to process and analyze the image data, analyzes the damage type and location of the glass curtain wall based on the displacement of the corner points of the glass curtain wall frame and the change of the image grayscale value, and completes the control of the drone flight according to the mission requirements.

[0059] In some technical solutions, two cameras can be installed on the drone to form a binocular photogrammetry system, so as to accurately restore the three-dimensional model of the glass curtain wall.

[0060] Step S101, obtaining a global image of the glass curtain wall taken by a drone to establish a global model of the glass curtain wall.

[0061] In some technical solutions, a drone takes a wide-view photo of a glass curtain wall of a building from a long distance, and then transmits the data to a computer device, which then roughly models the overall shape of the glass curtain wall, thereby forming a global model of the glass curtain wall. Next, the computer device plans the route of the drone based on the global model. Here, the global model is a rough model of the overall shape of the glass exterior wall.

[0062] Step S102, planning a three-dimensional route for the drone to take partial photos of the glass curtain wall based on the global model, so that the drone takes partial photos of the glass curtain wall at a predetermined distance according to the three-dimensional route and the set acquisition frequency to obtain a group of partial photos of the glass curtain wall.

[0063] The computer equipment plans the three-dimensional route of the drone on the global model, and the drone flies according to the three-dimensional route planned by the computer equipment. The drone starts to collect local images of the glass curtain wall according to the set flight speed, distance from the curtain wall glass, and image data collection frequency.

[0064] The way the drone reaches the starting point of the route is as follows: the drone uses the image recognition algorithm to identify the corner point of the first glass in the upper left corner of the curtain wall glass, which is recorded as the origin of the glass curtain wall coordinate system, with the coordinates M(0,0,0); according to the distance between the drone and the curtain wall glass and the size of the glass, the starting coordinate point of the flight route is set, recorded as W0(X0,Y0,Z0), and the drone reaches the starting position based on the starting coordinate point. The subsequent coordinates of the drone in the glass curtain wall coordinate system can be expressed as Ws(Xs,Ys,Zs). The starting point and end point of the route are: the starting point is the center point of the local shooting area of ​​X=1, Y=1, and the end point is the center point of the last local area of ​​the last glass.

[0065] Step S103, acquiring the partial captured images, and performing stitching processing on the partial captured images to obtain a complete image containing a single curtain wall glass block; wherein the complete image of each curtain wall glass block is stitched from a plurality of partial captured images.

[0066] In step S103, the computer device receives the partial images uploaded by the drone and stitches the partial images to obtain a complete image containing a single curtain wall glass block. When the drone is shooting, the images captured by the partial images with adjacent fields of view overlap, that is, the two adjacent partial images have the glass curtain wall image in the middle at the same time, so that the image information of the entire glass curtain wall can be included without omission.

[0067] refer to Figure 2 In some embodiments, the stitching process of the local captured images to obtain a complete image containing a single curtain wall glass block is specifically as follows:

[0068] Step S103a: number each curtain wall glass block on the global model of the glass curtain wall and record it as the first number.

[0069] Step S103b, according to the acquisition frequency of the local image shooting by the drone, the distance between the drone and the glass curtain wall, and the flight speed of the drone, determine the measurement area corresponding to each local image shot by the drone in the global model, and number the measurement area corresponding to each local image shot, which is recorded as the second number; the second number is recorded as XY, where X is the first number of the curtain wall glass block corresponding to the corresponding local image in the global model; Y is the third number of the local image shot in the corresponding curtain wall glass block.

[0070] Step S103c: determining all the local captured images corresponding to each curtain wall glass block according to the first number of the curtain wall glass block on the global model and the second number of the measurement area corresponding to the local captured image.

[0071] Step S103d: using all the local captured images corresponding to each curtain wall glass block, stitching the complete image corresponding to each curtain wall glass block.

[0072] refer to Figure 7 , the computer equipment numbers each curtain wall glass block on the global model. Figure 7 The computer device numbers the curtain wall glass blocks in a serpentine line along the horizontal direction on the global model to form a first numbering sequence, numbered 1-42.

[0073] refer to Figure 8 The drone uses the set flight speed, distance from the curtain wall glass, and image data acquisition frequency, and then uses the image recognition algorithm to identify the corner point of the first glass in the upper left corner of the curtain wall glass as the origin of the glass curtain wall coordinate system, recorded as M(0,0,0). According to the distance between the drone and the curtain wall glass and the size of the glass, the starting coordinate point of the flight route is set, recorded as W0(X0,Y0,Z0). Then the drone route is planned, and the coordinates of the subsequent drone in the glass curtain wall coordinate system can be expressed as Ws(Xs,Ys,Z0).

[0074] refer to Fig. 9 The computer equipment can determine the area measured by each picture of the drone based on the data collection frequency, the distance between the drone and the curtain wall glass, and the flight speed of the drone, and the picture of a piece of glass can be composed of multiple parts. Fig. 9A curtain wall glass block is composed of nine pictures. The shooting range of the first picture of the drone is ABCD, the second picture is EFGH, and the subsequent pictures are similar. The first picture can be recorded as 1.1, the first 1 represents the first piece of glass in the glass curtain wall, the second 1 represents the first area of ​​the first piece of glass, and the second picture is recorded as 1.2, 1 represents the first piece of glass in the glass curtain wall, 2 represents the second area above the first piece of glass, and so on. The picture starting with the number X refers to the Xth piece of glass, and the second number is Y, which is the Yth part of this piece of glass. Fig. 9 The curtain wall glass block shown in the figure consists of 9 parts, namely 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, and 1.9. Due to the different data collection frequencies and the distances between the drone and the curtain wall glass, the number of images of a complete glass composed of many partial images will also vary. This numbering method combined with the rough model of the glass curtain wall can quickly and vividly locate the position of the curtain wall glass with safety hazards.

[0075] Step S104, determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block.

[0076] refer to Figure 4 , based on the complete image of each curtain wall glass block, determine whether the glass curtain wall is damaged, including:

[0077] Step S104a, preprocessing the complete image of each curtain wall glass block; the preprocessing includes: uniform light processing, grayscale processing, and filtering and denoising.

[0078] Step S104b, segmenting the complete image and extracting the frames of the curtain wall glass blocks.

[0079] Step S104c, performing feature extraction, feature recognition, and stereo matching on the image to obtain a depth map, and obtain accurate three-dimensional coordinates of the frame corners of the curtain wall glass blocks.

[0080] Step S104d, plotting the coordinate points of the frame corner points of all curtain wall glass blocks in a preset coordinate system, and generating an overall three-dimensional map of the glass curtain wall surface according to the coordinate points.

[0081] Step S104e, determining the deflection of the glass curtain wall according to the overall three-dimensional graph of the glass curtain wall surface.

[0082] Step S104f, comparing the deflection of the glass curtain wall with the deflection threshold to determine whether the glass curtain wall has undergone significant deformation.

[0083] Furthermore, in step S104, determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block further includes:

[0084] Determine whether the grayscale value distribution corresponding to the complete image of each curtain wall glass block is uniform.

[0085] The grayscale value corresponding to the complete image of each curtain wall glass block is compared with the grayscale value of the undamaged glass.

[0086] When the grayscale value distribution is uneven and the difference between the grayscale value corresponding to the complete image and the grayscale value of the undamaged glass exceeds the damage grayscale threshold, it is determined that the corresponding position on the corresponding curtain wall glass block has damage.

[0087] In some implementations, the light homogenization process uses a Mask light homogenization algorithm.

[0088] In some implementations, segmenting the complete image and extracting the frame of the curtain wall glass block specifically includes:

[0089] The Otsu algorithm is used to segment the image and extract the area of ​​the curtain wall glass block frame;

[0090] Hough line detection is used to extract the border of the glass curtain wall image.

[0091] In some implementations, the feature recognition uses a Canny edge detection algorithm; and the stereo matching uses a Harris algorithm.

[0092] The computer equipment numbers and classifies the images, and then splices the partial images of the curtain wall glass to obtain the complete image of each curtain wall glass. The computer equipment then preprocesses the spliced ​​complete image, including light uniformity processing, grayscale, filtering and denoising. The image is then subjected to feature extraction, feature recognition, and stereo matching to obtain a depth map, and the precise three-dimensional coordinates of the corner points of the glass curtain wall frame are restored. The light uniformity processing uses the Mask light uniformity method, which can eliminate the interference of light, fog, etc. on the image. Image grayscale can improve the image quality and make the image details clear. Filtering and denoising eliminates noise interference in the image. Before feature extraction, the Otsu algorithm is first used to segment the image to extract the border area to reduce the interference of other areas on feature recognition. Then, Hough line detection is used to extract the border in the glass curtain wall image. Feature recognition uses the Canny edge detection algorithm to detect and identify the segmented border area and non-border area respectively, and extract the outline of the border and the outline of the glass curtain wall panel damage. The Harris algorithm used in stereo matching performs stereo matching on the corner points of the glass frame of the left and right views, restores the depth information of the corner points of the curtain wall glass frame, and records it. For example, the coordinates of the first corner point of the frame can be recorded as D1 (0, 0, Zd1), and along the direction of the drone's navigation, the coordinates of the second corner point are marked as D2 (0, 0, Zd2), and so on. The coordinates of the nth corner point can be recorded as Dn (0, 0, Zdn). After all image data are processed, the coordinate points of all glass frame corner points are drawn in the glass curtain wall coordinate system, and the coordinate points are connected to form a three-dimensional map of the entire glass curtain wall surface, which is reflected on the rough model. Then compare the deflection threshold of the curtain wall glass. If it is greater than the threshold, it means that the curtain wall glass has been deformed and there is a safety hazard. Glass is a transparent product with a uniform texture and grayscale. However, the grayscale of damaged glass is uneven and very different from that of intact glass. Therefore, the grayscale value of the processed image can be detected, and the glass can be identified based on the threshold range of the cracks to determine whether it has cracks. In addition, the glass with safety hazards can be quickly found on the rough model based on the image number, and the specific location of the damage on the glass can be located.

[0093] After reaching a conclusion, the computer equipment will reflect the glass with potential safety hazards on the glass curtain wall model, and attach a text description of its specific location. Users can arrange manual inspection and replacement of the glass with potential safety hazards as soon as possible based on the conclusion.

[0094] Step S105, when it is determined that the glass curtain wall is damaged, the damaged position of the glass curtain wall is determined.

[0095] refer to Figure 3 , the damage position of the glass curtain wall is determined specifically as follows:

[0096] Step S105a, obtaining a first number X corresponding to the damaged curtain wall glass block.

[0097] Step S105b, locating the damaged position on the damaged curtain wall glass block, and determining a third number Y of the local captured image corresponding to the damaged position on the curtain wall glass block.

[0098] Step S105c: Generate a second number XY according to the first number X and the third number Y.

[0099] Step S105d: determining the location of the damage position in the global model according to the second number XY.

[0100] When the computer device detects that the glass curtain wall is damaged, it searches for the second number corresponding to the damaged position, first determines the first number X corresponding to the curtain wall glass block, and then locates the third number of the damaged position on the curtain wall glass block. Next, the second number XY is generated according to the first number X and the third number Y, and then the damaged position is located by the second number XY.

[0101] This application proposes a glass curtain wall safety detection method, which can be used to quickly detect safety issues such as glass deformation, self-explosion, falling off, and thermal cracking on the glass curtain wall. The technical solution of this application replaces manual detection operations, which can avoid the extremely high risk and low efficiency of manual high-altitude operations, and at the same time improve the accuracy of safety hazard detection.

[0102] refer to Figure 5 The present application proposes a glass curtain wall safety detection device, which corresponds to the glass curtain wall safety detection method proposed in the above part, and includes: an acquisition module 501, a planning module 502, a splicing module 503, a determination module 504, and a judgment module 505.

[0103] The acquisition module 501 is used to acquire a global image of the glass curtain wall taken by the drone to establish a global model of the glass curtain wall.

[0104] The planning module 502 is used to plan a three-dimensional route for the drone to perform partial photography of the glass curtain wall based on the global model, so that the drone performs partial photography of the glass curtain wall at a predetermined distance according to the three-dimensional route and the set acquisition frequency to obtain a group of partial photography images of the glass curtain wall.

[0105] The stitching module 503 is used to obtain the partial captured images and stitch the partial captured images to obtain a complete image containing a single curtain wall glass block; wherein the complete image of each curtain wall glass block is stitched from multiple partial captured images.

[0106] The determination module 504 is used to determine whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block.

[0107] The determination module 505 is used to determine the damaged position of the glass curtain wall when it is determined that the glass curtain wall is damaged.

[0108] In some implementations, the splicing module 503 includes:

[0109] A first numbering submodule is used to number each curtain wall glass block on the global model of the glass curtain wall, which is recorded as a first number;

[0110] The second numbering submodule is used to determine the measurement area corresponding to each local image taken by the drone in the global model according to the acquisition frequency of the local image shooting by the drone, the distance between the drone and the glass curtain wall, and the flight speed of the drone, and to number the measurement area corresponding to each local image, which is recorded as a second number; the second number is recorded as XY, where X is the first number of the curtain wall glass block corresponding to the corresponding local image in the global model; and Y is the third number of the local image in the corresponding curtain wall glass block;

[0111] An image determination submodule, for determining all the local captured images corresponding to each curtain wall glass block according to the first number of the curtain wall glass block on the global model and the second number of the measurement area corresponding to the local captured image;

[0112] The splicing submodule is used to splice the complete image corresponding to each curtain wall glass block using all the local captured images corresponding to each curtain wall glass block.

[0113] In some implementations, the determination module 505 specifically includes:

[0114] An acquisition submodule, used to acquire a first number X corresponding to a damaged curtain wall glass block;

[0115] A first positioning submodule is used to locate the damaged position on the damaged curtain wall glass block and determine a third number Y of the local captured image corresponding to the damaged position on the curtain wall glass block;

[0116] A number generation submodule, used to generate a second number XY according to the first number X and the third number Y;

[0117] The second positioning submodule is used to determine the position of the damage position in the global model according to the second number XY.

[0118] In some implementations, the determination module 504 includes:

[0119] A preprocessing submodule is used to preprocess the complete image of each curtain wall glass block; the preprocessing includes: uniform light processing, grayscale, and filtering and denoising;

[0120] An extraction submodule, used to segment the complete image and extract the frame of the curtain wall glass block;

[0121] The feature extraction submodule is used to extract features, identify features, and perform stereo matching on the image to obtain a depth map and obtain the precise three-dimensional coordinates of the frame corners of the curtain wall glass blocks;

[0122] A three-dimensional graph generation submodule is used to draw the coordinate points of the frame corner points of all curtain wall glass blocks in a preset coordinate system, and generate an overall three-dimensional graph of the glass curtain wall surface according to the coordinate points;

[0123] A deflection determination submodule, used to determine the deflection of the glass curtain wall according to the overall three-dimensional map of the glass curtain wall surface;

[0124] The threshold comparison submodule is used to compare the deflection of the glass curtain wall with the deflection threshold to determine whether the glass curtain wall has undergone significant deformation.

[0125] In some implementations, the determination module 504 further includes:

[0126] A judgment submodule is used to judge whether the grayscale value distribution corresponding to the complete image of each curtain wall glass block is uniform;

[0127] Grayscale comparison submodule, used to compare the grayscale value corresponding to the complete image of each curtain wall glass block with the grayscale value of the undamaged glass;

[0128] The damage determination submodule is used to determine that the corresponding position on the corresponding curtain wall glass block has damage when the grayscale value distribution is uneven and the difference between the grayscale value corresponding to the complete image and the grayscale value of the undamaged glass exceeds the damage grayscale threshold.

[0129] In some implementations, the light homogenization process uses a Mask light homogenization algorithm.

[0130] In some implementations, the extraction submodule is specifically used to segment the image using the Otsu algorithm to extract the region of the curtain wall glass block frame; and to extract the frame in the glass curtain wall image using Hough line detection.

[0131] In some implementations, the feature recognition uses a Canny edge detection algorithm; and the stereo matching uses a Harris algorithm.

[0132] The glass curtain wall safety detection device can be used to quickly detect safety problems such as glass deformation, self-explosion, falling off, thermal cracking, etc. on the glass curtain wall. The technical solution of the present application replaces manual inspection operations, which can avoid the extremely high risk and low efficiency of manual high-altitude operations, and at the same time improves the accuracy of safety hazard detection.

[0133] The embodiment of the present application further proposes a computer device, comprising: a processor; and a memory, on which executable code is stored. When the executable code is executed, the processor executes the glass curtain wall safety detection method proposed above.

[0134] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0135] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0136] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0137] The specific embodiments described herein are merely examples of the spirit of the present application. A person skilled in the art of the present application may make various modifications or additions to the specific embodiments described or replace them in a similar manner, but this will not deviate from the spirit of the present application or exceed the scope defined by the attached claims.

Claims

1. A glass curtain wall safety detection method, characterized in that: include: Step S101, obtaining a global image of the glass curtain wall taken by a drone to establish a global model of the glass curtain wall; Step S102, planning a three-dimensional route for the drone to partially photograph the glass curtain wall based on the global model, so that the drone can partially photograph the glass curtain wall at a predetermined distance according to the three-dimensional route and the set acquisition frequency to obtain a group of partial photographed images of the glass curtain wall; Step S103, acquiring the partial captured images, and performing stitching processing on the partial captured images to obtain a complete image containing a single curtain wall glass block; wherein the complete image of each curtain wall glass block is stitched from a plurality of partial captured images; The stitching process of the partial captured images to obtain a complete image containing a single curtain wall glass block is specifically as follows: Numbering each curtain wall glass block on the global model of the glass curtain wall, recording it as the first number; According to the acquisition frequency of the local image shooting by the drone, the distance between the drone and the glass curtain wall, and the flight speed of the drone, the measurement area corresponding to each local image shot by the drone in the global model is determined, and the measurement area corresponding to each local image is numbered and recorded as the second number; the second number is recorded as XY, where X is the first number of the curtain wall glass block corresponding to the corresponding local image in the global model; Y is the third number of the local image in the corresponding curtain wall glass block; Determine all the local captured images corresponding to each curtain wall glass block according to the first number of the curtain wall glass block on the global model and the second number of the measurement area corresponding to the local captured image; Using all the partial images corresponding to each curtain wall glass block, stitching the complete image corresponding to each curtain wall glass block; Step S104, determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block; Step S105, when it is determined that the glass curtain wall is damaged, determining the damaged position of the glass curtain wall; The method for determining the damage position of the glass curtain wall is as follows: Obtaining a first number X corresponding to the damaged curtain wall glass block; Locate the damaged position on the damaged curtain wall glass block, and determine a third number Y of the local captured image corresponding to the damaged position on the curtain wall glass block; Generate a second number XY according to the first number X and the third number Y; The location of the damage position in the global model is determined according to the second number XY.

2. The glass curtain wall safety detection method according to claim 1, characterized in that: Determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block includes: Preprocessing the complete image of each curtain wall glass block; the preprocessing includes: uniform light processing, grayscale, and filtering and denoising; Segmenting the complete image and extracting the frame of the curtain wall glass block; Perform feature extraction, feature recognition, and stereo matching on the image to obtain a depth map and obtain the precise three-dimensional coordinates of the frame corners of the curtain wall glass blocks; Draw the coordinate points of the frame corner points of all curtain wall glass blocks in a preset coordinate system, and generate an overall three-dimensional map of the glass curtain wall surface based on the coordinate points; Determine the deflection of the glass curtain wall based on the overall three-dimensional diagram of the glass curtain wall surface; The deflection of the glass curtain wall is compared with the deflection threshold to determine whether the glass curtain wall has undergone significant deformation.

3. The glass curtain wall safety detection method according to claim 2, characterized in that: The determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block further comprises: Determine whether the grayscale value distribution corresponding to the complete image of each curtain wall glass block is uniform; Compare the grayscale value corresponding to the complete image of each curtain wall glass block with the grayscale value of the undamaged glass; When the grayscale value distribution is uneven and the difference between the grayscale value corresponding to the complete image and the grayscale value of the undamaged glass exceeds the damage grayscale threshold, it is determined that the corresponding position on the corresponding curtain wall glass block has damage.

4. The glass curtain wall safety detection method according to claim 2, characterized in that: The light homogenization process adopts the Mask light homogenization algorithm.

5. The glass curtain wall safety detection method according to claim 2, characterized in that: The step of segmenting the complete image and extracting the frame of the curtain wall glass block specifically includes: The Otsu algorithm is used to segment the image and extract the area of ​​the curtain wall glass block frame; Hough line detection is used to extract the border of the glass curtain wall image.

6. The glass curtain wall safety detection method according to claim 2, characterized in that: The feature recognition adopts the Canny edge detection algorithm; the stereo matching adopts the Harris algorithm.

7. A glass curtain wall safety detection device, characterized in that: include: An acquisition module is used to acquire a global image of the glass curtain wall taken by a drone to establish a global model of the glass curtain wall; a planning module, configured to plan a three-dimensional route for the drone to perform partial photography of the glass curtain wall based on the global model, so that the drone performs partial photography of the glass curtain wall at a predetermined distance according to the three-dimensional route and a set acquisition frequency to obtain a group of partial photography images of the glass curtain wall; A stitching module, used to obtain the partial captured images, and stitch the partial captured images to obtain a complete image containing a single curtain wall glass block; wherein the complete image of each curtain wall glass block is stitched from a plurality of partial captured images; The splicing module is also used for: numbering each curtain wall glass block on the global model of the glass curtain wall, recorded as a first number; determining the measurement area corresponding to each local image taken by the drone in the global model according to the acquisition frequency of the local image shooting by the drone, the distance between the drone and the glass curtain wall, and the flight speed of the drone, and numbering the measurement area corresponding to each local image taken by the drone, recorded as a second number; the second number is recorded as XY, where X is the first number of the curtain wall glass block corresponding to the corresponding local image in the global model; Y is the third number of the local image in the corresponding curtain wall glass block; determining all local images corresponding to each curtain wall glass block according to the first number of the curtain wall glass block on the global model and the second number of the measurement area corresponding to the local image; using all the local images corresponding to each curtain wall glass block, splicing the complete image corresponding to each curtain wall glass block; A determination module, used for determining whether the glass curtain wall is damaged according to the complete image of each curtain wall glass block; A determination module, used for determining the damaged position of the glass curtain wall when it is determined that the glass curtain wall is damaged; The determination module is further used for: obtaining a first number X corresponding to the damaged curtain wall glass block; locating the damaged position on the damaged curtain wall glass block, and determining a third number Y of the local captured image corresponding to the damaged position on the curtain wall glass block; generating a second number XY according to the first number X and the third number Y; and determining the location of the damaged position in the global model according to the second number XY.

8. A computer device, characterized in that: include: processor; and a memory having executable codes stored thereon, which, when the executable codes are executed, enable the processor to execute the glass curtain wall safety detection method according to any one of claims 1 to 6.