A method and system for building information modeling reconstruction and apparent disease modeling of existing buildings based on unmanned aerial vehicles and deep learning

By integrating point cloud reconstruction, instance segmentation, and BIM modeling through drones and deep learning technologies, the problem of disconnect between defect data and BIM has been solved, enabling efficient and accurate building information model reconstruction and defect location, and supporting building safety diagnosis and digital twin operation and maintenance.

CN123160792APending Publication Date: 2026-11-24SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611521312.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-29
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies struggle to deeply integrate drone imagery, 3D point cloud instance segmentation, and disease semantic recognition with BIM component modeling, resulting in a disconnect between disease data and operation and maintenance BIM, making it impossible to form a traceable digital twin.

Method used

A method based on UAVs and deep learning was adopted. Point cloud reconstruction was performed using the Nerfacto model, and instance segmentation was performed by combining OneFormer3D and Mask2Former models. Dynamo was used for BIM parametric modeling, and the defect information was automatically mapped to the BIM model.

Benefits of technology

It enables high-precision 3D reconstruction of building facades and automatic generation of component-level BIM, accurate location and structured expression of defect information, and improves the efficiency and accuracy of building safety assessment and operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160792A_ABST
    Figure CN123160792A_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for BIM reconstruction and surface defect modeling of existing buildings based on UAVs and deep learning. Relating to the fields of civil engineering and computer vision interaction technology, the method includes: using a UAV to acquire building images from multiple angles and closely capturing defect images; reconstructing the building point cloud through neural radiation fields, segmenting the building envelope (roof, walls, windows, etc.) using OneFormer 3D instances, and establishing a Revit model using Dynamo; using Mask2Former to segment defect images to obtain defect dimensions and locations, and locating the defects in the Revit model based on UAV RTK coordinate transformation for modeling. This method can quickly reconstruct the Revit model of the existing building envelope and achieve surface defect modeling, which is of great significance for the maintenance and upgrading of existing buildings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of civil engineering and computer vision interaction technology, specifically relating to a method and system for reconstructing existing building information models and modeling apparent defects based on unmanned aerial vehicles and deep learning. Background Technology

[0002] Over long-term use, existing buildings often develop visible defects on their facades, such as cracks, peeling, and exposed rebar. Comprehensive and accurate acquisition of the spatial distribution and dimensions of these defects is a crucial prerequisite for building safety assessments and precise maintenance. Traditional manual inspections are inefficient, costly, and inaccessible, making it difficult to systematically record the precise location and morphology of defects. Furthermore, existing buildings often lack digital models, and relying on manual surveying to create Building Information Models (BIMs) is time-consuming, difficult to update, and cannot effectively correlate with defect information.

[0003] In recent years, the development of drones and deep learning technologies has provided new methods for building facade inspection. Drones can quickly acquire highly overlapping images, 3D reconstruction methods such as neural radiation fields can generate dense point clouds, instance segmentation models can identify building components, and 2D defect segmentation networks can extract defects from images. However, existing methods are mostly limited to standalone 3D reconstruction or independent 2D defect identification, lacking a systematic solution that automatically maps building facade point cloud instance segmentation, component-level BIM parametric modeling, and apparent defect information into the same model. This results in a disconnect between defect data and maintenance BIM, making it difficult to form a traceable digital twin.

[0004] Therefore, there is an urgent need for an integrated method that deeply integrates UAV imagery, 3D point cloud instance segmentation, defect semantic recognition, and BIM component modeling to achieve high-precision reconstruction of existing building facades and automated modeling and positioning of apparent defects in BIM, providing efficient and accurate information support for building operation and maintenance and repair. Summary of the Invention

[0005] This invention addresses the problems existing in the prior art by providing a method and system for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning. This enables high-precision 3D reconstruction of building facades and automatic generation of component-level BIM, while automatically mapping the size and location information of apparent defects such as cracks and spalling into the model. This solves the problem of separating reconstruction and defect data in traditional methods, and provides integrated information support for building safety diagnosis and digital twin operation and maintenance.

[0006] To address the above technical problems, this invention provides the following technical solution: a method for reconstructing existing building information models and modeling apparent defects based on unmanned aerial vehicles (UAVs) and deep learning, comprising the following steps:

[0007] S1. Collect images of the building's exterior and images of surface defects;

[0008] S2. Using the Nerfacto deep learning model based on neural rendering, with the building exterior image as input and the point cloud of the reconstructed building exterior as output, a point cloud model of the reconstructed building exterior is constructed to realize the three-dimensional reconstruction of the building facade.

[0009] The reconstructed point cloud is denoised and segmented with annotations to create a dataset suitable for instance segmentation.

[0010] OneFormer 3D point cloud instance segmentation model is used to segment the point cloud of the reconstructed building exterior to obtain the spatial location of the building envelope; Dynamo is used to perform parametric BIM reconstruction of the building facade to obtain the BIM reconstructed building model.

[0011] S3. Use an automatic data annotation platform to process and annotate images of building surface defects, create a dataset for defect instance segmentation, and use Mask2Former to perform instance segmentation on the building's surface images to obtain the size and location information of the defects.

[0012] S4. Establish a semantic information database of defects, and use Dynamo to locate the size and location information of defects obtained in S3 into the building model reconstructed by BIM obtained in S2, so as to obtain a BIM model containing surface defect information.

[0013] Furthermore, in step S2 mentioned above, before reconstructing the facade point cloud, feature extraction and matching are performed on the building exterior images. The best initial image is selected to reconstruct the sparse point cloud and relative pose. Then, new images are registered one by one. The camera pose is estimated by back intersection using 2D-3D matching, and new points are continuously triangulated. During this process, local and global bundle adjustment are repeatedly performed with the core optimization objective of minimizing the reprojection error of all 3D points on the visible image. Finally, the accurate pose of each image is obtained. Subsequently, these poses and sparse point clouds are aligned in coordinate system and normalized in scene using a data transformation tool to generate a transforms.json file, which serves as the input to the Nerfacto deep learning model.

[0014] Furthermore, the aforementioned core optimization objective is expressed as:

[0015] ,

[0016] in Let i be the camera pose of the i-th image. For the j-th 3D point, For the corresponding observed two-dimensional pixel coordinates, For projection function, It is a robust kernel function to suppress the influence of outliers.

[0017] Furthermore, in step S2 above, the building facade instance segmentation dataset is divided according to a 5:1 ratio of training set to test set, and the classification categories are flat roof, pitched roof, wall, door and window.

[0018] Furthermore, the hyperparameters that need to be set for the OneFormer3D model in step S2 mentioned above include the number of iterations, initial learning rate, weight decay coefficient, batch size, and voxel size.

[0019] Furthermore, in step S3 mentioned above, the defect instance segmentation dataset is divided according to a 7:3 ratio of training set to test set, and the classification categories are cracks, stains, exposed rebar, spalling, weathering, and hollow areas.

[0020] Furthermore, the hyperparameters that need to be set for the Mask2Former model in step S3 mentioned above include: learning rate, training batch size, number of iterations, weight decay, and number of threads.

[0021] Furthermore, in step S4 mentioned above, a unified "10-point adaptive disease family" was custom-developed in Revit: this family uses 10 spatial coordinate points as the control skeleton, and through parameter settings, it can flexibly adapt to different types of disease characteristics.

[0022] Furthermore, in step S1 mentioned above, a drone is used to collect images of the building's exterior and surface defects. The drone is equipped with an RTK module and collects data according to a standardized flight path.

[0023] This invention also provides a system for reconstructing existing building information models and modeling apparent defects based on unmanned aerial vehicles (UAVs) and deep learning, applied to the aforementioned method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning, comprising:

[0024] The drone image acquisition module is used to acquire images of the building exterior and images of building surface defects;

[0025] The building exterior 3D reconstruction module is used to construct a building exterior 3D reconstruction point cloud model by using the Nerfacto deep learning model based on neural rendering, taking the building exterior image as input and the reconstructed point cloud of the building exterior as output, thereby realizing the 3D reconstruction of the building facade.

[0026] The point cloud instance segmentation module is used to denoise the point cloud reconstructed from the exterior of the building, segment and label it, create an instance segmentation dataset, and divide it into training and testing sets according to a preset ratio for model training and testing; the OneFormer3D point cloud instance segmentation model is used to segment the point cloud reconstructed from the exterior of the building to obtain the spatial location of the roof, walls, and windows of the building envelope.

[0027] The BIM parametric reconstruction module is used to perform parametric BIM reconstruction of building facades using Dynamo, resulting in a BIM reconstructed building model.

[0028] The defect instance segmentation module is used to process and annotate the building surface defect images using an automatic data annotation platform, create a defect instance segmentation dataset, and divide it into a training set and a test set according to a preset ratio for model training and testing; it uses Mask2Former to perform instance segmentation on the building surface images to obtain the size and location information of the defects.

[0029] The appearance defect modeling module is used to create a building appearance defect model based on the size and location information of the defects.

[0030] Compared with the prior art, the beneficial technical effects of the present invention using the above technical solution are as follows:

[0031] 1. Achieved integrated 3D reconstruction and disease identification.

[0032] Traditional methods typically separate 3D reconstruction of building facades from the detection of apparent defects, resulting in a lack of effective association between defect information and the building model. This invention integrates UAV imagery 3D reconstruction, point cloud instance segmentation, defect semantic recognition, and BIM parametric modeling through a technical process integration, ultimately generating a building information model containing defect information, thus establishing a complete link from data acquisition to digital twin delivery.

[0033] 2. Significantly improved the efficiency of BIM modeling at the building component level.

[0034] The system uses the Nerfacto neural rendering model to quickly generate dense point clouds, and combines OneFormer 3D point cloud instance segmentation to automatically identify building envelope components such as roofs, walls, doors and windows. It also uses Dynamo to achieve parametric BIM automatic reconstruction, which greatly reduces the time and cost of traditional manual surveying and component-by-component modeling. It is especially suitable for existing buildings that lack drawings.

[0035] 3. It achieved precise location and structured expression of disease information.

[0036] The Mask2Former instance segmentation method accurately extracts the size and location of six types of defects, including cracks and spalling, from images. A 10-point adaptive defect family is custom-developed in Revit, which uses spatial coordinate points as the control skeleton to flexibly adapt to different defect characteristics. Defect information is accurately mapped to the BIM model in the form of 3D family instances, providing structured data support for quantitative safety assessment and repair decisions.

[0037] 4. Enhanced data acquisition and model quality in complex environments.

[0038] By using UAVs equipped with RTK modules to collect images along standardized flight paths, image pose accuracy and data consistency are effectively guaranteed. Combined with Colmap pose optimization and Nerfacto neural rendering, high-quality point clouds can be obtained under complex facade conditions, laying a reliable data foundation for subsequent component segmentation and defect localization, and improving the robustness and practicality of the overall technical solution. Attached Figure Description

[0039] Figure 1 This is a flowchart of the method of the present invention;

[0040] Figure 2 This is a point cloud reconstruction result image of Nerfacto neural rendering in an embodiment of the present invention;

[0041] Figure 3 The figure shows the result of segmenting building facade components using OneFormer3D instance in an embodiment of the present invention; (a) is the result of segmenting point cloud model instance, (b) is the result of extracting geometric information of roof and wall components, and (c) is the result of extracting geometric information of roof and wall components.

[0042] Figure 4 This is a flowchart of the Dynamo modeling process for the building facade in an embodiment of the present invention;

[0043] Figure 5 The image shows the result of segmenting building facade components using the Mask2Former instance in this embodiment of the invention. In the image, (a) is the result of detecting defects in a certain orthophoto image; and (b) is the result of extracting defect information from a certain orthophoto image. Detailed Implementation

[0044] To better understand the technical content of the present invention, specific embodiments are described below in conjunction with the accompanying drawings.

[0045] In this invention, various aspects of the invention are described with reference to the accompanying drawings, which illustrate numerous illustrative embodiments. Embodiments of the invention are not limited to those shown in the drawings. It should be understood that the invention is implemented through any of the various concepts and embodiments described above, as well as the concepts and embodiments described in detail below, because the concepts and embodiments disclosed in this invention are not limited to any particular implementation. Furthermore, some aspects of the invention disclosed can be used alone or in any suitable combination with other aspects of the invention disclosed.

[0046] like Figure 1 As shown, this embodiment provides a method for reconstructing existing building information models based on image target detection and unmanned aerial vehicles (UAVs), including the following steps:

[0047] S1: Use drones to capture images of the building's exterior and surface defects.

[0048] In this step, when using a drone to capture images of the building's exterior, a 360-degree panoramic view of the building should be taken. The distance between the drone and the building can be adjusted to increase image richness, ensuring clear images. Image sizes should remain consistent, and moving objects should be avoided to prevent interference with subsequent pose calculations. When using a drone to capture images of building defects, the drone must fly close to the building facade, with the horizontal distance relative to the wall strictly controlled between 4m and 6m. Simultaneously, the gimbal tilt angle should be set to 0° (horizontal view), ensuring the camera's optical axis is perpendicular to the wall.

[0049] S2: This step involves BIM reconstruction of the building facade, as detailed below:

[0050] S2.1: Using Colmap software, pose calculations are performed on the obtained images, and images are matched with poses, including image feature extraction, feature matching, and sparse reconstruction. The process involves checking if each image corresponds one-to-one with its pose, and deleting images that do not match the pose to obtain a dataset for 3D reconstruction. Specifically, the best initial image pair is selected to reconstruct sparse point clouds and relative poses. Then, new images are registered one by one, and camera poses are estimated using 2D-3D matching and resection. New points are continuously triangulated, and local and global bundle adjustment is repeatedly performed to minimize the reprojection error of all 3D points on the visible image as the core optimization objective, ultimately obtaining the accurate pose of each image. Subsequently, data transformation tools are used to align the coordinate systems and normalize the scene of these poses and sparse point clouds, generating a transforms.json file, which serves as input to the Nerfacto deep learning model.

[0051] The core optimization objective is expressed as:

[0052] ,

[0053] in Let i be the camera pose of the i-th image. For the j-th 3D point, For the corresponding observed two-dimensional pixel coordinates, For projection function, A robust kernel function to suppress out-of-point effects.

[0054] S2.2: As Figure 2The Nerfacto deep learning model, based on neural rendering, is used to reconstruct the 3D facade of a building, obtaining a point cloud model of the building's exterior. The Nerfacto deep learning model specifically includes: an input image processing module; a ray sampling module; and a neural network module. The input image processing module includes optimizing the camera view and generating virtual rays; the ray sampling module includes a segmented sampler and a proposal sampler; and the neural network module is a small hybrid MLP network using hash encoding. The hyperparameters of the Nerfacto deep learning model that need to be adjusted include: ray batch size, ray sample size, number of ray samples, and number of iterations.

[0055] S2.3: The point cloud obtained in S2.3 is processed using Gaussian filtering, and environmental point cloud data unrelated to the building (such as vegetation) is deleted, retaining only the point cloud data of the building. This data is then segmented and labeled to create a dataset for building facade instance segmentation. The building facade instance segmentation dataset is divided into a training set and a test set at a ratio of 5:1, with labels for five categories: flat roof, pitched roof, wall, door, and window, used for model training and testing.

[0056] S2.4: Use the OneFormer3D point cloud instance segmentation model to segment the point cloud model of the target building to obtain the spatial locations of the building envelope, such as the roof, walls, and windows. The hyperparameters that need to be set for the OneFormer3D model include the number of iterations, the initial learning rate, the weight decay coefficient, the batch size, and the voxel size. Figure 3 The results of segmenting building facade components using OneFormer3D instances are shown. In the figure, (a) shows the segmentation results of point cloud model instances, (b) shows the extraction of geometric information of roof and wall components, and (c) shows the results of geometric information of roof and wall components.

[0057] S2.5: Parametric BIM reconstruction of building facades using Dynamo. (Reference) Figure 4 The reconstruction of the building facade is divided into the reconstruction of the main components (walls and roof) and the reconstruction of auxiliary components (doors and windows). The specific process is as follows: First, for the system family such as walls and roof, the structured three-dimensional coordinate point data is read. In Dynamo, lines or polygonal contours are fitted using point-to-line generation. For wall baselines, fitting a straight line minimizes the sum of squared residuals.

[0058]

[0059] in 'b' is the normal vector, and 'a' is the offset. The roof profile is projected onto the horizontal plane through a set of points and connected to form a closed polygon. Then, the corresponding creation node in the Revit API is called, combining the base curve with extracted height or elevation constraint data to drive the walls to extrude along the baseline and generate a 3D solid. Given the baseline curve... With stretch height (From the bottom elevation to the top elevation), the wall structure is represented as follows:

[0060]

[0061] in It is a unit vector in the vertical direction. The roof is generated by projecting a closed profile onto a specified elevation to create a covered surface.

[0062] After generating the walls, adaptive placement of window components is performed: matching the corresponding family type based on the window category, extracting the coordinates of the window's center point for spatial positioning, automatically snapping the window instances to the corresponding wall surface, and completing Boolean openings. Finally, through parameter-driven processing, the measured width and height data are batch-written into the window instances to achieve precise dimensional matching, thereby completing a high-fidelity building skeleton and providing a model foundation for subsequent mounting of surface defects.

[0063] S3: This step involves BIM reconstruction of the building's exterior facade, as detailed below:

[0064] S3.1: Using an automatic data annotation platform, process and annotate the obtained building surface defect images to create a dataset for defect instance segmentation. The defect instance segmentation dataset is divided into a training set and a test set in a 7:3 ratio, with six label categories: cracks, stains, exposed rebar, spalling, weathering, and hollow areas, for model training and testing.

[0065] S3.2: Use Mask2Former to perform instance segmentation on the building's surface image to obtain the size and location information of the defects. The hyperparameters that need to be set for the Mask2Former model include: learning rate, training batch size, number of iterations, weight decay, and number of threads. Figure 5 The results of segmenting building facade components using the Mask2Former instance are shown. In the figure, (a) shows the defect detection results of a certain orthophoto image; and (b) shows the defect information extraction results of a certain orthophoto image.

[0066] S4: This step involves BIM reconstruction and integration of the disease information, as detailed below.

[0067] S4.1: A unified "10-point adaptive disease family" was custom-developed in Revit: This family uses 10 spatial coordinate points as the control skeleton, and through parameter settings, it can flexibly adapt to different types of disease characteristics.

[0068] S4.2: Batch instantiation and mounting of disease control point sets. The specific process is as follows: First, import the Excel data containing the 3D coordinates of all disease feature points into Dynamo. Since each disease instance is defined by 10 spatial points, use grouping nodes such as List.Chop to hierarchically reconstruct the flattened coordinate list, ensuring that every 10 points are strictly divided into an independent sublist, and each sublist represents a disease instance. Then, call the AdaptiveComponent.ByPoints node, input the reconstructed point set sublist, and specify the pre-customized "10-point adaptive disease family" as the generation type. After running the program, Dynamo will traverse all sublists and batch generate geometric entities in 3D space that precisely match the disease features, completing the model mounting of disease information.

[0069] S4.3: Add shared parameters to the disease adaptive family in Revit, including: disease ID, disease type, thickness, calculated area (area), etc. Specifically, use the Element.SetParameterByName node to automatically write the semantic information in the structured database to the generated disease BIM elements, achieving the integration of geometry and information.

[0070] This invention also provides a system for reconstructing existing building information models and modeling apparent defects based on unmanned aerial vehicles (UAVs) and deep learning, used in the aforementioned method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning, comprising:

[0071] The drone image acquisition module is used to acquire images of the building exterior and images of building surface defects;

[0072] The building exterior 3D reconstruction module is used to construct a building exterior 3D reconstruction point cloud model by using the Nerfacto deep learning model based on neural rendering, taking the building exterior image as input and the reconstructed point cloud of the building exterior as output, thereby realizing the 3D reconstruction of the building facade.

[0073] The point cloud instance segmentation module is used to denoise the point cloud reconstructed from the exterior of the building, segment and label it, create an instance segmentation dataset, and divide it into training and testing sets according to a preset ratio for model training and testing; the OneFormer3D point cloud instance segmentation model is used to segment the point cloud reconstructed from the exterior of the building to obtain the spatial location of the roof, walls, and windows of the building envelope.

[0074] The BIM parametric reconstruction module is used to perform parametric BIM reconstruction of building facades using Dynamo, resulting in a BIM reconstructed building model.

[0075] The defect instance segmentation module is used to process and annotate the building surface defect images using an automatic data annotation platform, create a defect instance segmentation dataset, and divide it into a training set and a test set according to a preset ratio for model training and testing; it uses Mask2Former to perform instance segmentation on the building surface images to obtain the size and location information of the defects.

[0076] The appearance defect modeling module is used to create a building appearance defect model based on the size and location information of the defects.

[0077] When the above methods are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0078] In another embodiment, an electronic device is also provided, including one or more processors, a memory, and one or more programs stored in the memory, the one or more programs including instructions for performing the methods described above.

[0079] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0080] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0081] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.

[0082] While the present invention has been described above with reference to preferred embodiments, it is not intended to limit the invention. Those skilled in the art can make various modifications and refinements without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention shall be determined by the claims.

Claims

1. A method for reconstructing existing building information models and modeling apparent defects based on unmanned aerial vehicles (UAVs) and deep learning, characterized in that, The steps are as follows: S1. Collect images of the building's exterior and images of surface defects; S2. Using the Nerfacto deep learning model based on neural rendering, with the building exterior image as input and the point cloud of the reconstructed building exterior as output, a point cloud model of the reconstructed building exterior is constructed to realize the three-dimensional reconstruction of the building facade. The reconstructed point cloud is denoised and segmented with annotations to create a dataset suitable for instance segmentation. OneFormer 3D point cloud instance segmentation model is used to segment the point cloud of the reconstructed building exterior to obtain the spatial location of the building envelope; Dynamo is used to perform parametric BIM reconstruction of the building facade to obtain the BIM reconstructed building model. S3. Use an automatic data annotation platform to process and annotate images of building surface defects, create a dataset for defect instance segmentation, and use Mask2Former to perform instance segmentation on the building's surface images to obtain the size and location information of the defects. S4. Establish a semantic information database of defects, and use Dynamo to locate the size and location information of defects obtained in S3 into the building model reconstructed by BIM obtained in S2, so as to obtain a BIM model containing surface defect information.

2. Based on existing building information model reconstruction and appearance defect modeling methods using UAVs and deep learning, the method is characterized by: In step S2, before reconstructing the facade point cloud, feature extraction and matching are performed on the building's external images. The best initial image is selected to reconstruct the sparse point cloud and relative pose. Then, new images are registered one by one. The camera pose is estimated by back intersection using 2D-3D matching, and new points are continuously triangulated. During this process, local and global bundle adjustment are repeatedly performed with the core optimization objective of minimizing the reprojection error of all 3D points on the visible image. Finally, the accurate pose of each image is obtained. Subsequently, these poses and sparse point clouds are aligned in coordinate system and normalized in scene using a data transformation tool to generate a transforms.json file, which serves as the input to the Nerfacto deep learning model.

3. The method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning according to claim 2, characterized in that, The core optimization objective is expressed as: , in Let i be the camera pose of the i-th image. For the j-th 3D point, For the corresponding observed two-dimensional pixel coordinates, For projection function, It is a robust kernel function to suppress the influence of outliers.

4. The method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning according to claim 1, characterized in that, In step S2, the building facade instance segmentation dataset is divided according to a 5:1 ratio of training set to test set, and the classification categories are flat roof, pitched roof, wall, door and window.

5. The method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning according to claim 1, characterized in that, The hyperparameters that need to be set for the OneFormer3D model in step S2 include the number of iterations, initial learning rate, weight decay coefficient, batch size, and voxel size.

6. The method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning according to claim 1, characterized in that, In step S3, the dataset is divided into disease instances according to a 7:3 ratio of training set to test set, and the classification categories are cracks, stains, exposed rebar, spalling, weathering, and hollow areas.

7. The method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning according to claim 1, characterized in that, The hyperparameters that need to be set for the Mask2Former model in step S3 include: learning rate, training batch size, number of iterations, weight decay, and number of threads.

8. The method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning according to claim 1, characterized in that, In step S4, a unified "10-point adaptive disease family" was custom-developed in Revit: this family uses 10 spatial coordinate points as the control skeleton, and through parameter settings, it can flexibly adapt to different types of disease characteristics.

9. The method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning according to claim 1, characterized in that, In step S1, a drone is used to collect images of the building's exterior and surface defects. The drone is equipped with an RTK module and collects data along a standardized flight path.

10. A system for reconstructing existing building information models and modeling apparent defects based on unmanned aerial vehicles (UAVs) and deep learning, used in the method for reconstructing existing building information models and modeling apparent defects based on UAVs and deep learning as described in claim 1, characterized in that, include: The drone image acquisition module is used to acquire images of the building exterior and images of building surface defects; The building exterior 3D reconstruction module is used to construct a building exterior 3D reconstruction point cloud model by using the Nerfacto deep learning model based on neural rendering, taking the building exterior image as input and the reconstructed point cloud of the building exterior as output, thereby realizing the 3D reconstruction of the building facade. The point cloud instance segmentation module is used to denoise the point cloud reconstructed from the exterior of the building, segment and label it, create an instance segmentation dataset, and divide it into training and testing sets according to a preset ratio for model training and testing; the OneFormer3D point cloud instance segmentation model is used to segment the point cloud reconstructed from the exterior of the building to obtain the spatial location of the roof, walls, and windows of the building envelope. The BIM parametric reconstruction module is used to perform parametric BIM reconstruction of building facades using Dynamo, resulting in a BIM reconstructed building model. The defect instance segmentation module is used to process and annotate the building surface defect images using an automatic data annotation platform, create a defect instance segmentation dataset, and divide it into a training set and a test set according to a preset ratio for model training and testing; it uses Mask2Former to perform instance segmentation on the building surface images to obtain the size and location information of the defects. The appearance defect modeling module is used to create a building appearance defect model based on the size and location information of the defects.