Construction site drone intelligent inspection route planning method and system

Through three-dimensional reconstruction of image data and point cloud registration, combined with BIM information, refined planning of drone inspection routes is achieved, which solves the low efficiency and safety problems in traditional inspection solutions and improves the accuracy and accuracy of inspection results. Security.

CN118424295BActive Publication Date: 2024-10-11SHENZHEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410846012.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-11
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

The traditional construction inspection plan consumes a lot of labor, has low inspection efficiency, prominent safety issues, and rough drone path planning, resulting in reduced accuracy of inspection results.

Method used

The UAV intelligent inspection route planning method based on three-dimensional reconstruction of image data is used to determine the inspection targets and waypoints through point cloud registration and model segmentation to form an accurate inspection path. It combines BIM and three-dimensional reconstruction information to achieve precise inspection. oriented route planning.

Benefits of technology

It improves the accuracy and efficiency of drone inspection results, reduces labor consumption, enhances inspection safety, and ensures the accuracy of route planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118424295B_ABST
    Figure CN118424295B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and system for planning a route for intelligent inspection of a construction site drone. The method includes: obtaining image data collected by a drone containing information about a building to be inspected and the environment, and obtaining a three-dimensional model based on three-dimensional reconstruction of the image data; converting the outer surface of the BIM of the building to be inspected into a first point cloud, and converting the three-dimensional model into a second point cloud; performing rough registration and fine registration on the first point cloud and the second point cloud; determining a bounding box of the outer surface of the BIM, rotating the bounding box through a preset transformation matrix and importing the bounding box into the three-dimensional model from which the building monomer model of the building is segmented; determining an inspection target based on the building monomer model, determining an inspection space area based on the inspection target, determining a group of waypoints in the inspection space area, determining the access order of a group of waypoints to form an inspection path, performing path smoothing processing on the inspection path to obtain inspection route parameters, and sending the inspection route parameters to the drone so that the drone performs the inspection task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The disclosed embodiments relate to the technical field of intelligent inspection of building construction, and more particularly to a method and system for planning a route for intelligent inspection of unmanned aerial vehicles at a construction site. Background Art

[0002] With the continuous development of the construction industry, the inspection requirements during construction and operation and maintenance are also constantly increasing, with higher requirements for inspection safety, inspection efficiency and automation. However, the current traditional inspection solutions are mainly based on manual inspections or manually operated drones, which consume a lot of labor, have low inspection efficiency, and prominent safety issues that need to be solved.

[0003] Among the related technologies, drones and building information model (BIM) technology can realize automated inspection of buildings, which has high inspection efficiency and few safety issues. However, when planning the route of drones, the route planning of some inspection areas is rough and inaccurate, and there are even omissions in inspections, which reduces the accuracy of drone inspection results. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a method and system for planning intelligent inspection routes of drones at construction sites.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for planning a construction site drone intelligent inspection route, including:

[0006] Acquire image data collected by a drone containing information about a building to be detected and the environment, and obtain a three-dimensional model based on the three-dimensional reconstruction of the image data; acquire a building information model (BIM) of the building to be detected, convert an outer surface of the BIM into first point cloud data, and convert the three-dimensional model into second point cloud data;

[0007] Performing rough registration of the first point cloud data and the second point cloud data based on a sampling consistency initial registration algorithm, and then performing fine registration of the rough registration result of the point cloud using a fine registration algorithm;

[0008] Determine a first bounding box of the outer surface represented by the first point cloud data, and import the first bounding box into the three-dimensional model by rotating it through a preset transformation matrix, so as to segment the three-dimensional model to obtain a first building model corresponding to the building to be detected; wherein the preset transformation matrix is ​​a transformation matrix after precise registration of the point cloud;

[0009] An inspection target is determined based on the first building model, an inspection space area is determined based on the inspection target, a group of waypoints are determined in the inspection space area, an access order of the group of waypoints is determined to form an inspection path, the inspection path is smoothed to obtain inspection route parameters, and the inspection route parameters are sent to the drone to enable the drone to perform the inspection task.

[0010] In one embodiment, the method further comprises:

[0011] Reconstructing the image data in two dimensions to obtain an orthophoto image, segmenting the orthophoto image to obtain a segmentation result, wherein the segmentation result at least includes a two-dimensional image of the building to be detected;

[0012] Projecting the outer surface of the BIM onto the XY plane to obtain first plane contour data; determining second plane contour data of the building to be detected based on the first plane contour data and the segmentation result;

[0013] Segmenting the three-dimensional model based on the second plane contour data to obtain a second building monomer model corresponding to the building to be detected; merging the second building monomer model and the first building monomer model to obtain a final building monomer model;

[0014] The first building monomer model in the step of determining the inspection target based on the first building monomer model is replaced by the final building monomer model.

[0015] In one embodiment, the method further comprises:

[0016] Acquire digital surface model DSM data corresponding to the building to be detected;

[0017] The determining the second plane contour data of the building to be detected based on the first plane contour data and the segmentation result comprises:

[0018] Registering the DSM data with the segmentation result to obtain a first registration result; registering the first plane contour data with the first registration result to obtain registered second plane contour data;

[0019] The step of segmenting the three-dimensional model based on the second plane contour data to obtain a second building monomer model corresponding to the building to be detected includes:

[0020] The plane contour represented by the second plane contour data is projected into the three-dimensional model, and the projected plane contour is increased by a given threshold on the Z axis to obtain a three-dimensional second bounding box, and the second building monomer model is obtained by segmenting the three-dimensional model based on the second bounding box.

[0021] In one embodiment, the method further comprises:

[0022] The first bounding box and the second bounding box are aligned and merged, and the union of the first bounding box and the second bounding box is taken, and when it is determined that the model range represented by the union meets the preset requirements, the second building monomer model and the first building monomer model are merged to obtain a final building monomer model;

[0023] or,

[0024] Acquire single-layer outer contour data of the BIM, where the single-layer outer contour data represents the outer contour shape of any single floor of the building to be detected;

[0025] The plane contour represented by the single-layer outer contour data is projected onto the XY plane and scaled according to a preset ratio to obtain a single-layer bounding box, and the final building monomer model is segmented based on the single-layer bounding box to obtain single-layer models of each floor.

[0026] In one embodiment, the rough registration of the first point cloud data and the second point cloud data based on the sampling consistency initial registration algorithm includes:

[0027] Calculating a fast point feature histogram FPFH descriptor of the first point cloud data and the second point cloud data, and matching the point clouds between the first point cloud data and the second point cloud data based on the FPFH descriptor;

[0028] Randomly select at least three pairs of matching point clouds from all matched point clouds, calculate transformation matrices based on the at least three pairs of matching point clouds, repeat this step until the error value meets a preset condition, and output the target transformation matrix;

[0029] The first point cloud data and the second point cloud data are roughly aligned based on the target transformation matrix.

[0030] In one embodiment, determining an inspection target based on the first building model and determining an inspection space area based on the inspection target includes:

[0031] Receive input inspection parameters, and segment and determine corresponding inspection targets from the first building monomer model based on the inspection parameters; wherein the inspection parameters include identification information of the inspection targets, different inspection parameters correspond to different inspection targets, and the inspection targets are at least a partial area in the first building monomer model;

[0032] An initial inspection space region is obtained based on the normal vector expansion of the surface of the inspection target, the initial inspection space region is discretized based on voxelization, and then the discretized initial inspection space region is downsampled using the farthest point sampling method to obtain the inspection space region.

[0033] In one embodiment, determining a group of waypoints in the inspection space area and determining the visit order of the group of waypoints to form an inspection path includes:

[0034] A set of waypoints required for inspection is calculated through a greedy algorithm, and the visible range and heading of each waypoint are determined;

[0035] Based on the surrounding environment information of the inspection target, an A* algorithm is used to find the flight path between the set of waypoints, thereby obtaining a distance matrix of the set of waypoints; wherein the surrounding environment information at least includes obstacle location information;

[0036] The access sequence of the set of waypoints is calculated using a simulated annealing algorithm according to the distance matrix to form an inspection path.

[0037] In a second aspect, the present disclosure provides a construction site drone intelligent inspection route planning system, including:

[0038] A data processing module is used to obtain image data collected by the drone containing information about the building to be detected and the environment, and to obtain a three-dimensional model based on the three-dimensional reconstruction of the image data; obtain a building information model BIM of the building to be detected, convert the outer surface of the BIM into first point cloud data, and convert the three-dimensional model into second point cloud data;

[0039] A point cloud registration module, used for performing a rough registration of the first point cloud data and the second point cloud data based on a sampling consistency initial registration algorithm, and then performing a fine registration of the rough registration result of the point cloud using a fine registration algorithm;

[0040] A model segmentation module is used to determine a first bounding box of the outer surface represented by the first point cloud data, and import the first bounding box into the three-dimensional model by rotating it through a preset transformation matrix, so as to segment the first building monomer model corresponding to the building to be detected from the three-dimensional model; wherein the preset transformation matrix is ​​a transformation matrix after point cloud precise registration;

[0041] An inspection execution module is used to determine an inspection target based on the first building model, determine an inspection space area based on the inspection target, determine a group of waypoints in the inspection space area, determine the access order of the group of waypoints to form an inspection path, perform path smoothing on the inspection path to obtain inspection route parameters, and send the inspection route parameters to the drone to enable the drone to perform the inspection task.

[0042] In a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for planning a construction site drone intelligent inspection route as described in any of the above embodiments is implemented.

[0043] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, including:

[0044] Processor; and

[0045] Memory for storing computer programs;

[0046] Wherein, the processor is configured to execute the construction site drone intelligent inspection route planning method described in any of the above embodiments by executing the computer program.

[0047] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0048] The method and system for planning the route of a construction site drone intelligent inspection provided by the disclosed embodiment obtain image data collected by a drone containing information about a building to be inspected and the environment, and obtain a three-dimensional model based on the three-dimensional reconstruction of the image data; obtain a building information model (BIM) of the building to be inspected, convert the outer surface of the BIM into first point cloud data, and convert the three-dimensional model into second point cloud data; perform point cloud coarse registration of the first point cloud data and the second point cloud data based on a sampling consistency initial registration algorithm, and then perform fine registration of the point cloud coarse registration result using a fine registration algorithm; determine a first envelope of the outer surface represented by the first point cloud data A bounding box is introduced into the three-dimensional model by rotating the first bounding box through a preset transformation matrix, so as to segment the first building model corresponding to the building to be inspected from the three-dimensional model; wherein the preset transformation matrix is ​​the transformation matrix after the point cloud is precisely aligned; an inspection target is determined based on the first building model, an inspection space area is determined based on the inspection target, a group of waypoints are determined in the inspection space area, a visit order of the group of waypoints is determined to form an inspection path, the inspection path is smoothed to obtain inspection route parameters, and the inspection route parameters are sent to the drone to enable the drone to perform the inspection task. In this way, the solution of this embodiment not only considers single BIM information when planning the path, but also considers the three-dimensional model information obtained by three-dimensional reconstruction of environmental images collected by drone aerial photography, and adopts the sampling consistency initial registration algorithm for coarse registration and then combines it with fine registration during point cloud registration, so that the point cloud registration result is more accurate, thereby making the building monomer model based on the bounding box segmentation of the BIM outer surface, i.e., the outer contour more accurate. The inspection target is segmented and the planned path is determined based on this, which can make the inspection area route planning more accurate. Therefore, the solution of this embodiment can realize refined drone inspection route planning based on BIM-3D reconstruction segmentation, thereby improving the accuracy of drone inspection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0051] Figure 1 This is a flow chart of a method for planning a construction site drone intelligent inspection route according to an embodiment of the present disclosure;

[0052] Figure 2This is a flow chart of a method for planning a construction site drone intelligent inspection route according to another embodiment of the present disclosure;

[0053] Figure 3 This is a flowchart of the inspection path planning process according to an embodiment of the present disclosure;

[0054] Figure 4 This is a schematic diagram of a construction site drone intelligent inspection route planning system according to an embodiment of the present disclosure;

[0055] Figure 5 Schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0056] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0057] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0058] It should be understood that, in the following, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0059] Figure 1 The following is a flow chart of a method for planning a construction site drone intelligent inspection route according to an embodiment of the present disclosure. The method for planning a construction site drone intelligent inspection route can be executed by a computing device and may specifically include the following steps:

[0060] Step S101: Obtain image data collected by a drone containing information about a building to be inspected and the environment, and obtain a three-dimensional model based on the three-dimensional reconstruction of the image data; obtain a building information model BIM of the building to be inspected, convert the outer surface of the BIM into first point cloud data, and convert the three-dimensional model into second point cloud data.

[0061] Exemplarily, a fixed route can be set at a fixed height, and the drone can fly along the fixed route to quickly obtain environmental information such as image data containing buildings to be inspected and environmental information. Three-dimensional reconstruction and two-dimensional reconstruction are completed based on multiple images collected by the drone to obtain a three-dimensional model and an orthophoto map. For the orthophoto map, please refer to the specific description below. Among them, the three-dimensional model can be a mesh model. In addition, the BIM model of the building or construction object at the construction site is obtained, the BIM model shell is extracted, the BIM model shell is converted into the first point cloud data, i.e., the source point cloud data, and the reconstructed three-dimensional model is converted into the second point cloud data, i.e., the target point cloud data. The building to be inspected can be a building that has been built and put into use, such as a building, or it can be a building under construction, without limitation.

[0062] Step S102: performing a rough point cloud registration on the first point cloud data and the second point cloud data based on a sampling consistency initial registration algorithm (SAC_IA algorithm), and then performing a fine registration on the rough point cloud registration result using a fine registration algorithm.

[0063] Exemplarily, the SAC_IA algorithm can improve the accuracy and robustness of the registration. The precise registration algorithm can be, but is not limited to, the ICP (Iterative Closest Point) algorithm, which uses the ICP algorithm to perform precise registration on the point cloud data, and minimizes the distance between the closest points in the source point cloud and the target point cloud by repeatedly adjusting the transformation until the average distance between the point pairs is less than a set threshold.

[0064] Step S103: Determine a first bounding box of the outer surface represented by the first point cloud data, and import the first bounding box into the three-dimensional model by rotating it through a preset transformation matrix, so as to segment the three-dimensional model to obtain a first building monomer model corresponding to the building to be detected; wherein the preset transformation matrix is ​​the transformation matrix after the point cloud is precisely aligned.

[0065] Exemplarily, the first bounding box is the outer contour bounding box extracted based on the BIM model. The bounding box is rotated by the transformation matrix finally obtained by point cloud registration, that is, the preset transformation matrix. The rotated bounding box is imported into the three-dimensional model to determine whether, for example, more than 50% of the triangular facets of the three-dimensional model are within the bounding box. If so, the triangular facet is a facet of a single building or a building in the construction area. This judgment process is repeated until all triangular facets of the three-dimensional model are cycled. In this way, the part of the three-dimensional model that belongs to the bounding box can be segmented to obtain the first building single model corresponding to the building to be detected.

[0066] Step S104: Determine an inspection target based on the first building model, determine an inspection space area based on the inspection target, determine a group of waypoints in the inspection space area, determine the access order of the group of waypoints to form an inspection path, perform path smoothing on the inspection path to obtain inspection route parameters, and send the inspection route parameters to the drone to enable the drone to perform the inspection task.

[0067] Exemplarily, the inspection target can be a part of the building to be inspected, such as the front, back, side, or one or more floors. The inspection target can be accurately segmented and determined by establishing the first building monomer model, and then the inspection space area, i.e., the drone inspection flight area, is determined. A set of waypoints, i.e., the inspection points where the drone hovers to collect data during the inspection, are determined in the inspection space area. Then, the access sequence of a set of waypoints is determined to form an inspection path. The inspection path is smoothed to obtain the inspection route parameters, and the inspection route parameters are exported to the drone. The drone can then perform inspection tasks based on the inspection route parameters, such as collecting building data such as image transmission for maintenance inspection or quality supervision.

[0068] The above scheme of this embodiment not only considers single BIM information when planning the path, but also considers the three-dimensional model information obtained by three-dimensional reconstruction of environmental images collected by drone aerial photography, and adopts the sampling consistency initial registration algorithm for coarse registration and then combines it with fine registration when aligning the point cloud, so that the point cloud registration result is more accurate, thereby making the building monomer model based on the bounding box segmentation of the BIM outer surface, i.e., the outer contour, more accurate. The inspection target is segmented and the planning path is determined accordingly, which can make the route planning of the inspection area more accurate. Therefore, the scheme of this embodiment can realize refined drone inspection route planning based on BIM-three-dimensional reconstruction segmentation, thereby improving the accuracy of drone inspection results. In addition, the first point cloud, i.e., the BIM point cloud, uses the outer surface point cloud instead of the overall point cloud to reduce the amount of data processed, which can improve the efficiency of drone inspection path planning as a whole.

[0069] Based on the above embodiments, Figure 2 As shown, in one embodiment, the method may further include the following steps:

[0070] Step S201: obtaining an orthophoto image based on two-dimensional reconstruction of the image data, and segmenting the orthophoto image to obtain a segmentation result, wherein the segmentation result at least includes a two-dimensional image of the building to be detected.

[0071] For example, a pre-trained UNet network can be used to accurately segment the orthophoto image generated by two-dimensional reconstruction, achieve accurate segmentation of buildings or construction scenes, and obtain a two-dimensional image of the building to be detected.

[0072] Step S202: Projecting the outer surface of the BIM onto the XY plane to obtain first plane contour data; and determining second plane contour data of the building to be detected based on the first plane contour data and the segmentation result.

[0073] Exemplarily, the outer surface, i.e., the outer contour, of the BIM model is projected onto the XY plane to obtain first plane contour data, and the building boundary contour data can be determined based on the two-dimensional image of the building to be detected in the segmentation result. The first plane contour data and the building boundary contour data can be fused to obtain more accurate second plane contour data.

[0074] Step S203: obtaining a second building monomer model corresponding to the to-be-detected building by segmenting the three-dimensional model based on the second plane contour data; and obtaining a final building monomer model by merging the second building monomer model with the first building monomer model.

[0075] After determining the second plane contour data, the second building monomer model corresponding to the building to be detected can be segmented from the reconstructed three-dimensional model. For example, the plane contour represented by the second plane contour data is moved to the bottom surface of the three-dimensional model, and a prism is obtained by moving a certain height in the height direction. The prism is subjected to a Boolean intersection operation with the three-dimensional model, and the intersection part is extracted to obtain the second building monomer model. Of course, the segmentation method is not limited to this.

[0076] Accordingly, in step S104, the first building monomer model in the step of determining the inspection target based on the first building monomer model may be replaced by the final building monomer model. The remaining steps in step S104 may then be executed.

[0077] In this embodiment, segmentation is performed based on the two-dimensional reconstructed orthophoto image and the BIM model to obtain an accurate building monomer model, and the building monomer model obtained based on the three-dimensional reconstruction segmentation is merged with the building monomer model obtained based on the three-dimensional reconstruction segmentation to obtain a more accurate final building monomer model, thereby realizing the determination of the inspection target and planning the inspection path of the drone, which can make the route planning of the inspection area more accurate. Therefore, the scheme of this embodiment is based on the three-dimensional model monomerization method based on the combination of two-dimensional reconstruction segmentation and three-dimensional reconstruction segmentation, which can achieve more refined drone inspection route planning, thereby further improving the accuracy of drone inspection results.

[0078] In one embodiment, the method may further include: obtaining digital surface model DSM (Digital Surface Model) data corresponding to the building to be detected. Specifically, the DSM data may be a simulation of the surface of a ground object, including a vegetation surface and a building surface, with elevation information. The DSM data may be regarded as a top-down depth map of the building.

[0079] In step S202, the second plane contour data of the building to be detected is determined based on the first plane contour data and the segmentation result, which can specifically include: aligning the DSM data with the segmentation result to obtain a first alignment result; aligning the first plane contour data with the first alignment result to obtain aligned second plane contour data.

[0080] For example, based on the building data identified by the DSM data, the SURF (Speed ​​Up Robust Features) algorithm can be used to align the two-dimensional segmentation result, i.e., the two-dimensional image of the building to be detected, with the DSM data to obtain a first alignment result, and output a alignment matrix. Then, based on the BIM outer contour of the BIM model projected onto the XY plane, the first plane contour represented by the first plane contour data is re-aligned with the first alignment result, and the aligned contour data, i.e., the second plane contour data, is output.

[0081] Correspondingly, in step S203, the second building monomer model corresponding to the building to be detected is obtained by segmenting from the three-dimensional model based on the second plane contour data, which may specifically include: projecting the plane contour represented by the second plane contour data into the three-dimensional model, and increasing the projected plane contour by a given threshold on the Z axis to obtain a three-dimensional second bounding box, and segmenting from the three-dimensional model based on the second bounding box to obtain the second building monomer model.

[0082] Exemplarily, the two-dimensional plane contour represented by the second plane contour data is projected into the three-dimensional model, and the two-dimensional plane contour is increased by a given threshold on the Z axis to obtain a three-dimensional bounding box. Based on the bounding box, all the facets of the three-dimensional model are judged to determine whether, for example, more than 50% of the triangular facets of the three-dimensional model are within the bounding box. If so, the triangular facet is a facet of a single building or a building in a construction area. This judgment process is repeated until all the triangular facets of the three-dimensional model are cycled through. In this way, the part of the three-dimensional model that belongs to the bounding box can be segmented out to obtain the second building monomer model corresponding to the building to be detected. Afterwards, the final building monomer model can be obtained based on the combination of the second building monomer model and the first building monomer model.

[0083] In this embodiment, the DSM data of the building is further combined with the BIM-2D reconstruction segmentation result to obtain an accurate second building monomer model, which is then merged with the first building monomer model segmented by BIM-3D reconstruction to obtain the final building monomer model. Based on this, the inspection target is determined and the inspection path of the drone is planned. This can make the route planning of the inspection area more accurate. Therefore, the solution of this embodiment can achieve further refined drone inspection route planning, thereby further improving the accuracy of the drone inspection results.

[0084] Based on the above embodiments, in one embodiment, the method may further include: aligning and fusing the first bounding box and the second bounding box, taking the union of the first bounding box and the second bounding box, and when it is determined that the model range represented by the union meets preset requirements, merging the second building monomer model and the first building monomer model to obtain a final building monomer model.

[0085] In this embodiment, the fusion and matching of the two-dimensional and three-dimensional reconstruction segmentation results are realized. Specifically, the first bounding box is fused with the second bounding box, the two bounding boxes are aligned and fused, the union of the two bounding boxes is taken, and it is determined that if the error of the union range of the two bounding boxes or the corresponding number of triangles does not meet the requirements, the segmentation is determined to be invalid, and the two steps of two-dimensional segmentation and three-dimensional segmentation are performed again. When the error meets the requirements, the two models, i.e., the second building monomer model and the first building monomer model, are merged to obtain the final final building monomer model. The scheme of this example can make the merged final building monomer model more accurate, thereby realizing the determination of the inspection target and planning the inspection path of the drone, which can make the route planning of the inspection area more accurate. Therefore, the scheme of this embodiment can realize further refined drone inspection route planning, thereby further improving the accuracy of the drone inspection results.

[0086] In one embodiment, the method may further include: obtaining single-layer outer contour data of the BIM, the single-layer outer contour data representing the outer contour shape of any single floor of the building to be detected; projecting the plane contour represented by the single-layer outer contour data onto the XY plane and scaling it according to a preset ratio to obtain a single-layer bounding box, and segmenting the final building monomer model based on the single-layer bounding box to obtain single-layer models of each floor.

[0087] Exemplarily, in this embodiment, the segmentation result, i.e., the single-layer matching of the final building monomer model, can be achieved. Specifically, a hierarchical bounding box, i.e., a single-layer bounding box, of the BIM point cloud is extracted based on the BIM model. For example, the single-layer outer contour of the BIM model is projected on the XY plane and appropriately scaled to obtain a hierarchical bounding box. The triangular facets of the final building monomer model are cyclically judged based on the hierarchical bounding box. If 50% of the triangular facets are within the hierarchical bounding box, the triangular facets belong to the floor corresponding to the hierarchical bounding box. In this way, the floor monomers of the final building monomer model can be achieved to obtain a single-layer model. The upper and lower bottom surfaces of the hierarchical bounding box can also be materialized, cross-checked with the hierarchical model, i.e., the single-layer model, and the faces within the hierarchical model are saved to optimize the visualization of the single-layer model. After the single-layer matching process, when the inspection target is determined based on the inspection parameters below, the inspection target can be quickly determined, thereby improving the efficiency of the inspection path planning. At the same time, each single-layer model after stratification serves as part of the final building monomer model, making the final building monomer model more refined, such as being refined to the floor level, so that the inspection target can be determined and the inspection path of the drone can be planned, making the inspection area route planning more accurate. Therefore, the solution of this embodiment can achieve further refined drone inspection route planning, thereby further improving the accuracy of drone inspection results.

[0088] Based on any one of the above embodiments, in one embodiment, the first point cloud data and the second point cloud data are roughly aligned based on the sampling consistency initial alignment algorithm in step S102, which may specifically include: calculating the fast point feature histogram FPFH (Fast Persistent Feature Histograms) descriptors of the first point cloud data and the second point cloud data, and matching the point clouds between the first point cloud data and the second point cloud data based on the FPFH descriptors; randomly selecting at least three pairs of matching point clouds from all matched point clouds, calculating transformation matrices based on the at least three pairs of matching point clouds, repeating this step until the error value meets the preset conditions, and outputting the target transformation matrix; and roughly aligning the first point cloud data and the second point cloud data based on the target transformation matrix.

[0089] Exemplarily, the SAC_IA method is used to achieve coarse alignment of point cloud data, and the fast point feature histogram (FPFH) feature descriptor, i.e., descriptor, of the source point cloud (the first point cloud of the BIM) and the target point cloud (the second point cloud of the three-dimensional reconstructed model) is calculated. The FPFH descriptor captures local geometric information and provides a robust representation of point cloud features. The correspondence between the source point cloud and the target point cloud can be established through the FPFH descriptor. The points between the source point cloud and the target point cloud are matched based on the FPFH, and then x (x>=3) pairs of matching points are randomly selected. The transformation matrix between the source point cloud and the target point cloud is calculated based on the matching points. The above process is repeated until the error value, such as the error between the point pairs, meets the preset conditions, such as the error value is less than or equal to the preset threshold. At this time, the transformation matrix, i.e., the target transformation matrix, is output, thereby achieving a rigid transformation from the source point cloud to the target point cloud, that is, achieving coarse alignment. In this way, random sampling tries to select those point pairs that are consistent with other point pairs to reduce errors, and selects the transformation matrix with the smallest error to achieve registration, which improves the accuracy and robustness of the registration, thereby making the UAV route planning more precise and improving the accuracy of the UAV inspection results.

[0090] Based on any one of the above embodiments, in one embodiment, determining the inspection target based on the first building monomer model and determining the inspection space area based on the inspection target may specifically include:

[0091] Receive input inspection parameters, and segment and determine corresponding inspection targets from the first building monomer model based on the inspection parameters; wherein the inspection parameters include identification information of the inspection targets, different inspection parameters correspond to different inspection targets, and the inspection targets are at least a partial area in the first building monomer model;

[0092] An initial inspection space region is obtained based on the normal vector expansion of the surface of the inspection target, the initial inspection space region is discretized based on voxelization, and then the discretized initial inspection space region is downsampled using the farthest point sampling method to obtain the inspection space region.

[0093] As an example, refer to Figure 3As shown in , according to the input parameters, such as the foundation pit, science and technology building, and the 3-10th floor area of ​​the A-1 building, the corresponding inspection targets are automatically segmented, that is, the inspection range is extracted. In addition, the surrounding environment information can be expanded and segmented based on the bounding box of the inspection target. The initial inspection space area of ​​the inspection drone is obtained by expanding the normal vector of the mesh model surface of the inspection target, that is, the viewpoint space based on the space expansion. The initial inspection space area is discretized based on the voxelization method, and then the initial inspection space area is downsampled again using the farthest point sampling method to obtain the inspection space area. This can reduce the amount of data, improve the efficiency of the drone's path planning, and maintain the accuracy of the planned path. In this scheme, the corresponding local inspection target can be segmented and determined more finely from the entire building monomer model or multiple layered models, and the inspection range can be automatically extracted according to the inspection parameters. The inspection path planning is carried out for the inspection target, so that a more refined path planning can be achieved, making the drone's route planning more refined and improving the accuracy of the drone's inspection results.

[0094] Based on any one of the above embodiments, in one embodiment, determining a group of waypoints (also called viewpoints) in the inspection space area and determining the access order of the group of waypoints to form an inspection path may specifically include: calculating a group of waypoints required for inspection through a greedy algorithm, determining the visible range and waypoint heading of each waypoint; based on the surrounding environment information of the inspection target, using an A* algorithm to find the flight path between the group of waypoints, and then obtaining a distance matrix of the group of waypoints; wherein the surrounding environment information includes at least obstacle location information; and using a simulated annealing algorithm to calculate the access order of the group of waypoints according to the distance matrix to form an inspection path.

[0095] Exemplarily, the visible range of the waypoints can be calculated by ray casting, and the improved artificial potential field method (Artificial Potential Field) with the area of ​​the triangular facets of the model as the potential field strength can be used to determine the heading of the drone waypoints. After determining the heading, the actual visibility of the waypoints is calculated. The waypoints required for inspection are calculated using a greedy algorithm. Based on the extracted environmental information, the A* algorithm is used to find the flight path between the waypoints, and the distance matrix of the waypoints is calculated. The distance matrix is ​​a matrix containing a set of distances between waypoints. According to the distance matrix of the waypoints, the simulated annealing algorithm is used to calculate the inspection points, that is, the order of waypoint visits, to obtain the inspection path. Based on the obtained inspection path, the path can also be smoothed using, for example, a cubic Bezier curve to obtain the final inspection route parameters. Finally, the inspection route parameters can be exported to the drone to perform the inspection task.

[0096] It should be noted that, although the steps of the method in the present disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc. In addition, it is also easy to understand that these steps may be, for example, executed synchronously or asynchronously in multiple modules / processes / threads.

[0097] like Figure 4 As shown, the embodiment of the present disclosure provides a construction site drone intelligent inspection route planning system, including:

[0098] The data processing module 401 is used to obtain image data collected by the drone containing information about the building to be detected and the environment, and to obtain a three-dimensional model based on the three-dimensional reconstruction of the image data; obtain a building information model BIM of the building to be detected, convert the outer surface of the BIM into first point cloud data, and convert the three-dimensional model into second point cloud data;

[0099] A point cloud registration module 402 is used to perform a rough registration of the first point cloud data and the second point cloud data based on a sampling consistency initial registration algorithm, and then perform a fine registration of the rough registration result of the point cloud using a fine registration algorithm;

[0100] The model segmentation module 403 is used to determine a first bounding box of the outer surface represented by the first point cloud data, and import the first bounding box into the three-dimensional model by rotating it through a preset transformation matrix, so as to segment the first building monomer model corresponding to the building to be detected from the three-dimensional model; wherein the preset transformation matrix is ​​the transformation matrix after the point cloud is precisely registered;

[0101] The inspection execution module 404 is used to determine the inspection target based on the first building model, determine the inspection space area based on the inspection target, determine a group of waypoints in the inspection space area, determine the access order of the group of waypoints to form an inspection path, perform path smoothing on the inspection path to obtain inspection route parameters, and send the inspection route parameters to the drone to enable the drone to perform the inspection task.

[0102] In one embodiment, the system may further include a two-dimensional segmentation module for:

[0103] Reconstructing the image data in two dimensions to obtain an orthophoto image, segmenting the orthophoto image to obtain a segmentation result, wherein the segmentation result at least includes a two-dimensional image of the building to be detected;

[0104] Projecting the outer surface of the BIM onto the XY plane to obtain first plane contour data; determining second plane contour data of the building to be detected based on the first plane contour data and the segmentation result;

[0105] Segmenting the three-dimensional model based on the second plane contour data to obtain a second building monomer model corresponding to the building to be detected; merging the second building monomer model and the first building monomer model to obtain a final building monomer model;

[0106] The inspection execution module can also be used to replace the first building monomer model with the final building monomer model when executing the step of determining the inspection target based on the first building monomer model.

[0107] In one embodiment, the system may further include a data acquisition module for: acquiring digital surface model DSM data corresponding to the building to be detected;

[0108] The two-dimensional segmentation module determines the second plane contour data of the building to be detected based on the first plane contour data and the segmentation result, specifically comprising:

[0109] Registering the DSM data with the segmentation result to obtain a first registration result; registering the first plane contour data with the first registration result to obtain registered second plane contour data;

[0110] The two-dimensional segmentation module segments the three-dimensional model based on the second plane contour data to obtain a second building monomer model corresponding to the building to be detected, specifically comprising:

[0111] The plane contour represented by the second plane contour data is projected into the three-dimensional model, and the projected plane contour is increased by a given threshold on the Z axis to obtain a three-dimensional second bounding box, and the second building monomer model is obtained by segmenting the three-dimensional model based on the second bounding box.

[0112] In one embodiment, the system may further include a segmentation and fusion module, which is used to:

[0113] The first bounding box and the second bounding box are aligned and fused, and the union of the first bounding box and the second bounding box is taken. When it is determined that the model range represented by the union meets the preset requirements, the second building monomer model and the first building monomer model are merged to obtain the final building monomer model.

[0114] In one embodiment, the system may further include a single-layer segmentation module for:

[0115] Acquire single-layer outer contour data of the BIM, where the single-layer outer contour data represents the outer contour shape of any single floor of the building to be detected;

[0116] The plane contour represented by the single-layer outer contour data is projected onto the XY plane and scaled according to a preset ratio to obtain a single-layer bounding box, and the final building monomer model is segmented based on the single-layer bounding box to obtain single-layer models of each floor.

[0117] In one embodiment, the point cloud registration module is specifically used to:

[0118] Calculating a fast point feature histogram FPFH descriptor of the first point cloud data and the second point cloud data, and matching the point clouds between the first point cloud data and the second point cloud data based on the FPFH descriptor;

[0119] Randomly select at least three pairs of matching point clouds from all matched point clouds, calculate transformation matrices based on the at least three pairs of matching point clouds, repeat this step until the error value meets a preset condition, and output the target transformation matrix;

[0120] The first point cloud data and the second point cloud data are roughly aligned based on the target transformation matrix.

[0121] In one embodiment, the inspection execution module determines an inspection target based on the first building model, and determines an inspection space area based on the inspection target, specifically including:

[0122] Receive input inspection parameters, and segment and determine corresponding inspection targets from the first building monomer model based on the inspection parameters; wherein the inspection parameters include identification information of the inspection targets, different inspection parameters correspond to different inspection targets, and the inspection targets are at least a partial area in the first building monomer model;

[0123] An initial inspection space region is obtained based on the normal vector expansion of the surface of the inspection target, the initial inspection space region is discretized based on voxelization, and then the discretized initial inspection space region is downsampled using the farthest point sampling method to obtain the inspection space region.

[0124] In one embodiment, the inspection execution module determines a group of waypoints in the inspection space area, and determines the access order of the group of waypoints to form an inspection path, specifically including:

[0125] A set of waypoints required for inspection is calculated through a greedy algorithm, and the visible range and heading of each waypoint are determined;

[0126] Based on the surrounding environment information of the inspection target, an A* algorithm is used to find the flight path between the set of waypoints, thereby obtaining a distance matrix of the set of waypoints; wherein the surrounding environment information at least includes obstacle location information;

[0127] The access sequence of the set of waypoints is calculated using a simulated annealing algorithm according to the distance matrix to form an inspection path.

[0128] Regarding the system in the above embodiment, the specific manner in which each module performs operations and the corresponding technical effects brought about have been described in detail in the embodiment of the method, and will not be elaborated here.

[0129] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units for concretization. The components displayed as modules or units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. Those of ordinary skill in the art can understand and implement it without paying creative work.

[0130] The embodiments of the present disclosure also provide a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for planning a construction site drone intelligent inspection route as described in any of the above embodiments is implemented.

[0131] Exemplarily, the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0132] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0133] The present disclosure also provides an electronic device, including a processor and a memory, wherein the memory is used to store a computer program, wherein the processor is configured to execute the method for planning a construction site drone intelligent inspection route in any of the above embodiments by executing the computer program.

[0134] Refer to the following Figure 5 The electronic device 600 according to this embodiment of the present invention is described. Figure 5 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0135] like Figure 5 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0136] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above method embodiment section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 The steps of the method shown in .

[0137] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0138] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0139] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0140] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 650. In addition, the electronic device 600 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 through a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0141] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the steps of the method for planning the route for the intelligent inspection of a construction site drone according to the above-mentioned embodiments of the implementation method of the present disclosure.

[0142] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0143] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for planning a construction site drone intelligent inspection route, characterized in that: include: Acquire image data collected by a drone containing information about a building to be detected and the environment, and obtain a three-dimensional model based on the three-dimensional reconstruction of the image data; acquire a building information model (BIM) of the building to be detected, convert an outer surface of the BIM into first point cloud data, and convert the three-dimensional model into second point cloud data; Performing rough registration of the first point cloud data and the second point cloud data based on a sampling consistency initial registration algorithm, and then performing fine registration of the rough registration result of the point cloud using a fine registration algorithm; Determine a first bounding box of the outer surface represented by the first point cloud data, and import the first bounding box into the three-dimensional model by rotating it through a preset transformation matrix, so as to segment the three-dimensional model to obtain a first building monomer model corresponding to the building to be detected; The preset transformation matrix is ​​the transformation matrix after point cloud precise registration; Reconstructing the image data in two dimensions to obtain an orthophoto image, segmenting the orthophoto image to obtain a segmentation result, wherein the segmentation result at least includes a two-dimensional image of the building to be detected; Projecting the outer surface of the BIM onto the XY plane to obtain first plane contour data; Determine second plane outline data of the building to be detected based on the first plane outline data and the segmentation result; Segmenting the three-dimensional model based on the second plane contour data to obtain a second building monomer model corresponding to the building to be detected; Combining the second building monomer model and the first building monomer model to obtain a final building monomer model; An inspection target is determined based on the final building model, an inspection space area is determined based on the inspection target, a group of waypoints are determined in the inspection space area, an access order of the group of waypoints is determined to form an inspection path, the inspection path is smoothed to obtain inspection route parameters, and the inspection route parameters are sent to the drone to enable the drone to perform the inspection task.

2. The method according to claim 1, characterized in that The method further includes: Acquire digital surface model DSM data corresponding to the building to be detected; The determining the second plane contour data of the building to be detected based on the first plane contour data and the segmentation result comprises: Registering the DSM data with the segmentation result to obtain a first registration result; registering the first plane contour data with the first registration result to obtain registered second plane contour data; The step of segmenting the three-dimensional model based on the second plane contour data to obtain a second building monomer model corresponding to the building to be detected includes: The plane contour represented by the second plane contour data is projected into the three-dimensional model, and the projected plane contour is increased by a given threshold on the Z axis to obtain a three-dimensional second bounding box, and the second building monomer model is obtained by segmenting the three-dimensional model based on the second bounding box.

3. The method according to claim 2, characterized in that The method further includes: The first bounding box and the second bounding box are aligned and merged, and the union of the first bounding box and the second bounding box is taken, and when it is determined that the model range represented by the union meets the preset requirements, the second building monomer model and the first building monomer model are merged to obtain a final building monomer model; or, Acquire single-layer outer contour data of the BIM, where the single-layer outer contour data represents the outer contour shape of any single floor of the building to be detected; The plane contour represented by the single-layer outer contour data is projected onto the XY plane and scaled according to a preset ratio to obtain a single-layer bounding box, and the final building monomer model is segmented based on the single-layer bounding box to obtain single-layer models of each floor.

4. The method according to any one of claims 1 to 3, characterized in that The method of roughly registering the first point cloud data and the second point cloud data based on the sampling consistency initial registration algorithm includes: Calculating a fast point feature histogram FPFH descriptor of the first point cloud data and the second point cloud data, and matching the point clouds between the first point cloud data and the second point cloud data based on the FPFH descriptor; Randomly select at least three pairs of matching point clouds from all matched point clouds, calculate transformation matrices based on the at least three pairs of matching point clouds, repeat this step until the error value meets a preset condition, and output the target transformation matrix; The first point cloud data and the second point cloud data are roughly aligned based on the target transformation matrix.

5. The method according to any one of claims 1 to 3, characterized in that: The determining of the inspection space area based on the inspection target includes: Receive input inspection parameters, and segment and determine corresponding inspection targets from the final building monomer model based on the inspection parameters; wherein the inspection parameters include identification information of the inspection targets, different inspection parameters correspond to different inspection targets, and the inspection targets are at least a partial area in the final building monomer model; An initial inspection space region is obtained based on the normal vector expansion of the surface of the inspection target, the initial inspection space region is discretized based on voxelization, and then the discretized initial inspection space region is downsampled using the farthest point sampling method to obtain the inspection space region.

6. The method according to any one of claims 1 to 3, characterized in that: The step of determining a group of waypoints in the inspection space area and determining a visit order of the group of waypoints to form an inspection path includes: A set of waypoints required for inspection is calculated through a greedy algorithm, and the visible range and heading of each waypoint are determined; Based on the surrounding environment information of the inspection target, an A* algorithm is used to find the flight path between the set of waypoints, thereby obtaining a distance matrix of the set of waypoints; wherein the surrounding environment information at least includes obstacle location information; The access sequence of the set of waypoints is calculated using a simulated annealing algorithm according to the distance matrix to form an inspection path.

7. A construction site drone intelligent inspection route planning system, characterized in that: include: A data processing module is used to obtain image data collected by the drone containing information about the building to be detected and the environment, and to obtain a three-dimensional model based on the three-dimensional reconstruction of the image data; obtain a building information model BIM of the building to be detected, convert the outer surface of the BIM into first point cloud data, and convert the three-dimensional model into second point cloud data; A point cloud registration module, used for performing a rough registration of the first point cloud data and the second point cloud data based on a sampling consistency initial registration algorithm, and then performing a fine registration of the rough registration result of the point cloud using a fine registration algorithm; A model segmentation module, used to determine a first bounding box of the outer surface represented by the first point cloud data, and import the first bounding box into the three-dimensional model by rotating the first bounding box through a preset transformation matrix, so as to segment the first building monomer model corresponding to the building to be detected from the three-dimensional model; The preset transformation matrix is ​​the transformation matrix after point cloud precise registration; A two-dimensional segmentation module is used to obtain an orthophoto image based on the two-dimensional reconstruction of the image data, segment the orthophoto image to obtain a segmentation result, and the segmentation result at least includes a two-dimensional image of the building to be detected; and project the outer surface of the BIM onto an XY plane to obtain first plane contour data; Determine second plane outline data of the building to be detected based on the first plane outline data and the segmentation result; Segmenting the three-dimensional model based on the second plane contour data to obtain a second building monomer model corresponding to the building to be detected; Combining the second building monomer model and the first building monomer model to obtain a final building monomer model; An inspection execution module is used to determine an inspection target based on the final building unit model, determine an inspection space area based on the inspection target, determine a group of waypoints in the inspection space area, determine the access order of the group of waypoints to form an inspection path, perform path smoothing on the inspection path to obtain inspection route parameters, and send the inspection route parameters to the drone to enable the drone to perform the inspection task.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the construction site drone intelligent inspection route planning method according to any one of claims 1 to 6 is implemented.

9. An electronic device, characterized in that: include: processor; as well as Memory for storing computer programs; Wherein, the processor is configured to execute the construction site drone intelligent inspection route planning method as described in any one of claims 1 to 6 by executing the computer program.