A building facade component recognition method based on local multi-modal model collaboration
By using a local multimodal model collaborative method, candidate observations of building facade components are generated. By combining building relationships and boundary integrity status, the problems of inaccurate identification of small-scale components and unstable results in existing technologies are solved, and efficient and accurate component identification and parametric modeling output are achieved.
Patent Information
- Application Number
- CN202611605181.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-24
AI Technical Summary
Existing visual recognition methods for building facades struggle to accurately identify small-scale attached components. Overlapping block candidates are prone to losing complementary boundaries, and the correction of spatial relationships among components is inconsistent. The semantic output of the visual language model is mixed with geometric boundaries, and multi-stage results lack stable correlation.
A local multimodal model collaborative approach is adopted to generate candidate open components with regularity through joint image-text detection, generate small-scale attached component observations using a small target-specific detection model, generate fusion candidates by combining architectural relationship consistency and boundary integrity status, restore the complete occupancy envelope using a cue-based instance segmentation model, and perform semantic verification through a visual language model. Finally, a unified instance identifier is established to output the recognition results.
It improves the boundary integrity of small-scale components and the traceability of identification results, ensuring the stability and accuracy of the identification process, and is suitable for parametric modeling environments.
Smart Images

Figure CN123160967A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of building digitization, computer vision, image processing, and parametric modeling, and particularly to a method for identifying building facade components based on a local multimodal model collaboration. Specifically, it involves a method that uses a local computing environment to collaboratively employ an image-text joint detection model, a small target-specific detection model, a cue-based instance segmentation model, and a visual language model to perform candidate generation, building relationship correction, complete occupancy boundary restoration, semantic verification, and evidence-based output for regular opening components and small-scale attached components on a building facade. Background Technology
[0002] Drone photography, terrestrial photography, photogrammetric 3D meshes, and existing building information models can quickly record the appearance or surface geometry of building facades. However, this data typically does not include instance semantics of facade components such as windows, doors, and outdoor air conditioning units, nor does it contain the outlines of closed components that can be directly entered into a parametric modeling environment. Existing work often requires manually drawing openings and attached equipment one by one, and the processing time increases with the scale of the facade and the number of components.
[0003] Existing methods for visual recognition of building facades mostly use ordinary perspective views, street view images, or oblique images as input. Due to differences in shooting direction, perspective distortion, occlusion, and image resolution, the same type of component can have different apparent scales at different locations, making it difficult to uniformly calculate the floor arrangement, vertical alignment, and repetition modulus among candidates. Using frontal facade images that have undergone orthogonal projection or perspective correction can reduce these differences, but a clear convention for pixel coordinates is still needed to ensure consistency in subsequent candidate fusion, geometric output, and coordinate transformation.
[0004] Image-text joint detection models possess open-class detection capabilities, generating candidate objects for common components such as windows and doors based on category cues. However, high-resolution facade images typically need to be scaled down before entering the detection model, reducing the effective pixels of small-scale objects like air conditioner outdoor units, leading to missed detections or only recognizing localized, salient textures like fan grilles. While dividing large images into overlapping tiles can improve the effective resolution of small objects, the same object can generate multiple candidates with different positions and boundaries in adjacent tiles. Conventional non-maximum suppression usually only retains the candidate with the highest confidence, potentially deleting low-scoring candidates containing complete chassis, and failing to utilize duplicate candidates to fill in the object's outer boundary.
[0005] Regularly oriented opening components and later-attached equipment also have different failure mechanisms. Windows and doors are usually constrained by floors, axes, dimensions, and nesting relationships, and errors mainly manifest as large frames nesting smaller frames, entire walls being misidentified as a single opening, or significant misalignment of candidates on the same floor. Attached equipment such as air conditioning outdoor units do not necessarily conform to the original building module. If the same arrangement rules as windows are enforced on them, real irregular installation instances will be deleted. Therefore, different spatial relationships and geometric restoration strategies need to be configured according to component types.
[0006] While cue-based instance segmentation models can generate masks within candidate bounding boxes, reflections, mesh seams, occlusion, and low contrast in facade textures can cause mask gaps, adhesion, or partial coverage of objects. Masks without quality assessment cannot be directly used as opening outlines or equipment occupancy ranges. Especially in existing building renovations, if the boundary of an air conditioner outdoor unit only covers the fan rather than the entire casing, the downstream no-entry zones and component interference assessments will be underestimated.
[0007] Visual language models can supplement semantic judgments on component images, but indiscriminately calling all candidates increases computational cost, and free text output carries risks such as inconsistent category names, missing fields, and interpretations that substitute for geometry. Furthermore, the boundaries generated by visual language models are difficult to guarantee pixel-level stability. Therefore, it is necessary to set calling conditions, limit output fields, and separate semantic verification from geometric determination.
[0008] Furthermore, existing pipelines often store detection boxes, instance masks, semantic judgments, and manual verification in separate files; after candidates are merged, refined, or reclassified, the correspondence between different files may be lost. If the final result only retains a component box without retaining the source block, original boundary, and refined state, it is difficult to verify the source of errors and difficult to reliably convert it into an editable object in a parametric modeling environment.
[0009] Therefore, a local multi-model collaborative method for building facade components is needed, which can not only generate component categories and locations, but also convert duplicate candidates generated by overlapping tiles into boundary observation evidence, implement building relationship correction and complete occupancy envelope restoration according to object failure mechanism, and maintain the correspondence between identification, refinement, verification and parameterized output with unified instance identifier. Summary of the Invention
[0010] This invention addresses the problems of general detection models in high-resolution building facades, such as easy omission of small-scale attached components or only partial coverage, direct deduplication of overlapping block candidates resulting in loss of complementary boundaries, over-correction of different components by uniform spatial rules, mixing of semantic output and geometric boundaries in visual language models, and lack of stable correlation between multi-stage results. It proposes a building facade component recognition method based on local multimodal model collaboration.
[0011] This invention is achieved through the following technical solution: This invention proposes a method for identifying building facade components based on local multimodal model collaboration, the method comprising: Acquire an image of the building's front elevation after orthogonal projection or perspective correction, and establish an image identifier and global pixel coordinate convention for the building's front elevation image; The building facade image and facade component category suggestions are input into the locally deployed first image-text joint detection model to generate candidate regular opening components; The building facade image is divided into overlapping blocks according to the preset block size and overlap rate. An opening neighborhood anchoring region is generated according to the rule opening component. The overlapping blocks and the opening neighborhood anchoring region are input into the locally deployed second small target special detection model to generate candidate observations of small-scale attached components. Each candidate observation is associated with at least the candidate box, confidence, source region, inference scale and region offset. Based on the region offset, the candidate observations are restored to global pixel coordinates, and the candidate observations belonging to the same component instance are clustered into observation clusters; For regular open components, calculate the architectural relationship consistency quantity formed by at least two of the following: arrangement, scale, nesting, and repetition modulus. For small-scale attached components, retain the boundary coordinates of each candidate box within the observation cluster, and determine the boundary integrity state based on at least two of the following: tile truncation state, inter-observation boundary coverage, and image edge support, thereby generating fusion candidates. The fusion candidates are used as spatial prompts to input a locally deployed prompting instance segmentation model to obtain an instance mask; When the boundary integrity state of a small-scale attached component does not meet the integrity condition, a local re-observation region with different offsets or different scales is generated around the corresponding fusion candidate. Small target-specific detection is performed again, and a complete occupancy envelope candidate is generated by combining the observation cluster, local re-observation results, image edge support, and similar component morphology statistics. The complete occupancy envelope candidate is only used when the complete occupancy envelope candidate meets the side length or area growth limit, regular opening overlap limit, and adjacent instance collision limit. When at least one of the following—detection confidence, building relationship consistency, instance mask quality, boundary integrity status, or inter-model category consistency—meets the preset review triggering condition, the corresponding component cropping image and its evidence summary are input into the locally deployed visual language model to obtain a structured semantic review result with a limited set of categories and limited fields. The structured semantic review result is used to determine the component category, visible attributes, or review status without directly generating or modifying the component geometry. A unified instance identifier is established for each component instance. Under the unified instance identifier, the original candidate, fusion candidate, instance mask, complete occupancy envelope, observation source, architectural relationship consistency quantity and semantic verification result are associated. The output includes the building facade component identification data including component category, component geometry, comprehensive quality quantity, evidence source and verification status.
[0012] Furthermore, the overlapping patches are positioned horizontally and vertically according to their side length and overlap rate, with the end patches at the image boundary aligned with the image boundary. Each candidate observation is also associated with a model branch identifier, source patch identifier, candidate category, original confidence level, candidate mask reference, and boundary truncation flag. The local candidate box coordinates of the candidate observation are restored to global candidate box coordinates by overlaying the global offset of the upper left corner of the source region.
[0013] Furthermore, for regular open components, the architectural relationship consistency quantity is calculated based on at least two of the following: deviation of center height on the same floor, deviation of vertical center line, difference of adjacent dimensions, variation of component spacing, candidate nesting ratio, degree of boundary contact, and isolation distance. Only when the number of valid candidates in the same arrangement group reaches a preset number, the center position, boundary position, or median dimension of the arrangement group is used as a soft constraint to perform at least one of the following processing on candidates with repeated nesting, abnormal scale, or small-range misalignment: score reduction, deletion, merging, restricted correction, or marking verification.
[0014] Furthermore, the small-scale attached component is a building air conditioner outdoor unit; the opening neighborhood anchoring area covers the area below the corresponding window opening and at least one side wall area, and retains the detection of overlapping blocks on the entire facade while performing the opening neighborhood anchoring area detection; the second small target-specific detection model is a local visual model with single-class target detection or instance segmentation capabilities; the air conditioner outdoor unit candidates are also screened based on at least two of the following: their relative orientation to the nearest window opening, normalized distance, opening overlap rate, aspect ratio, and relative area.
[0015] Furthermore, for small-scale attached component observation clusters, benchmark observations are first determined based on confidence and spatial compatibility, and outlier observations that exceed the threshold in terms of distance to the center or scale ratio relative to the benchmark observation are eliminated. Weighted low quantile coordinates are calculated for the left and upper boundaries of the remaining observations, and weighted high quantile coordinates are calculated for the right and lower boundaries to form an outer boundary consensus, and the outward expansion in each direction does not exceed the preset proportion of the corresponding side length of the benchmark observation. When at least one of the morphological consistency, instance mask filling rate, image edge support, or outer boundary consensus growth rate of the fusion candidate does not meet the threshold, at least two local re-observation regions are generated from the center offset, left offset, right offset, upward offset, or downward offset. Only when the boundary quality gain of the new boundary candidate relative to the fusion candidate reaches the threshold, and simultaneously satisfies the area growth, center drift, original candidate inclusion, regular opening overlap, and adjacent attached component collision constraints, it is determined as the final complete occupied envelope.
[0016] Furthermore, the cue-based instance segmentation model receives global or local candidate boxes as spatial cues and outputs a binary instance mask; the instance mask quality is formed based on at least two of the following: the ratio of mask area to candidate box area, the proportion of the largest connected component, the degree of contour closure, the candidate box boundary touch rate, and the mask bounding box coverage rate; and the instance mask of regular opening components is subjected to hole filling, small region removal, contour simplification, and near-horizontal or near-vertical boundary regularization to form an opening outer contour in the form of a closed polygon, an axis-aligned rectangle, or a directed rectangle.
[0017] Furthermore, the preset review triggering conditions include at least one of the following: the detection confidence level is lower than a first threshold, the consistency of building relationships is lower than a second threshold, the instance mask quality is lower than a third threshold, the boundary integrity status is pending inspection, the categories given by different models are inconsistent, or a manually specified review flag is received; the output fields of the visual language model include at least the suggested category, the retention flag, the semantic confidence level, the visibility attribute, and the reason code; the output fields are subjected to field integrity, data type, and enumeration validity checks, and the semantic review results that fail the checks are not written to the final category field, and the corresponding instance is marked as retry or pending review.
[0018] Furthermore, the unified instance identifier serves as the primary key of the instance evidence record; the instance evidence record includes at least the original candidate box, observation cluster members, fused candidate boxes, pre-refinement candidate boxes, final component geometry, instance mask reference, detection model branch, source region, building relationship consistency quantity, boundary integrity quantity, semantic review result, and review status; the review status includes at least automatic confirmation, pending review, and rejection or re-observation; the comprehensive quality quantity is calculated using only the evidence items actually generated by the corresponding instance, and the weights of missing evidence items are removed and the remaining weights are normalized.
[0019] Furthermore, the building facade image is obtained from at least one of the following: images acquired by a UAV, images acquired by a ground camera, orthogonally rendered images of a 3D mesh model, or facade output images of a building information model; for perspective images, perspective correction is performed through facade control points, vanishing lines, or homography transformation of the target facade; when it is necessary to convert the recognition results to local facade coordinates or building model coordinates, the cropping offset, effective image width and height, unit pixel corresponding scale, facade coordinate origin, horizontal basis vector, and vertical basis vector are recorded simultaneously as pixel-facade mapping parameters.
[0020] The present invention also proposes an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for identifying building facade components based on local multimodal model collaboration.
[0021] The beneficial effects of this invention are: This invention proposes a method for identifying building facade components based on a local multimodal model collaboration. The method acquires a standardized facade image, generates candidate opening components using an image-text detection model, and inputs overlapping patches and opening neighborhoods into a small-target specialized model to generate multi-patch observations of attached components. The observations are then restored to global coordinates and clustered by instance, and fused based on arrangement, scale, nesting relationships, and boundary support. Hint-based segmentation is implemented for fused candidates; when boundaries are incomplete, offset local re-observation is triggered, and the complete occupancy envelope is restored under constraints of growth, opening overlap, and instance collision. Low-confidence or conflicting evidence instances undergo semantic verification of limited fields by a local visual language model without directly altering the geometry. The method uses a unified instance identifier to save the original, fused, and refined geometry, observation source, and verification status, outputting component data for readable by a parametric modeling environment, improving the integrity of small-scale component boundaries and the traceability of results. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0023] Figure 1 This is a flowchart of a method for identifying building facade components based on local multimodal model collaboration. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] Specifically, in combination Figure 1 This invention proposes a method for identifying building facade components based on local multimodal model collaboration, the method comprising: Acquire an image of the building's front elevation after orthogonal projection or perspective correction, and establish an image identifier and global pixel coordinate convention for the building's front elevation image; The building facade image and facade component category suggestions are input into the locally deployed first image-text joint detection model to generate candidate regular opening components; The building facade image is divided into overlapping blocks according to the preset block size and overlap rate. An opening neighborhood anchoring region is generated according to the rule opening component. The overlapping blocks and the opening neighborhood anchoring region are input into the locally deployed second small target special detection model to generate candidate observations of small-scale attached components. Each candidate observation is associated with at least the candidate box, confidence, source region, inference scale and region offset. Based on the region offset, the candidate observations are restored to global pixel coordinates, and the candidate observations belonging to the same component instance are clustered into observation clusters; For regular open components, calculate the architectural relationship consistency quantity formed by at least two of the following: arrangement, scale, nesting, and repetition modulus. For small-scale attached components, retain the boundary coordinates of each candidate box within the observation cluster, and determine the boundary integrity state based on at least two of the following: tile truncation state, inter-observation boundary coverage, and image edge support, thereby generating fusion candidates. The fusion candidates are used as spatial prompts to input a locally deployed prompting instance segmentation model to obtain an instance mask; When the boundary integrity state of a small-scale attached component does not meet the integrity condition, a local re-observation region with different offsets or different scales is generated around the corresponding fusion candidate. Small target-specific detection is performed again, and a complete occupancy envelope candidate is generated by combining the observation cluster, local re-observation results, image edge support, and similar component morphology statistics. The complete occupancy envelope candidate is only used when the complete occupancy envelope candidate meets the side length or area growth limit, regular opening overlap limit, and adjacent instance collision limit. When at least one of the following—detection confidence, building relationship consistency, instance mask quality, boundary integrity status, or inter-model category consistency—meets the preset review triggering condition, the corresponding component cropping image and its evidence summary are input into the locally deployed visual language model to obtain a structured semantic review result with a limited set of categories and limited fields. The structured semantic review result is used to determine the component category, visible attributes, or review status without directly generating or modifying the component geometry. A unified instance identifier is established for each component instance. Under the unified instance identifier, the original candidate, fusion candidate, instance mask, complete occupancy envelope, observation source, architectural relationship consistency quantity and semantic verification result are associated. The output includes the building facade component identification data including component category, component geometry, comprehensive quality quantity, evidence source and verification status.
[0026] Furthermore, the building facade image is obtained from at least one of the following: images acquired by a UAV, images acquired by a ground camera, orthogonally rendered images of a 3D mesh model, or facade output images of a building information model; for perspective images, perspective correction is performed through facade control points, vanishing lines, or homography transformation of the target facade; when it is necessary to convert the recognition results to local facade coordinates or building model coordinates, the cropping offset, effective image width and height, unit pixel corresponding scale, facade coordinate origin, horizontal basis vector, and vertical basis vector are recorded simultaneously as pixel-facade mapping parameters.
[0027] Furthermore, the overlapping patches are positioned horizontally and vertically according to their side length and overlap rate, with the end patches at the image boundary aligned with the image boundary. Each candidate observation is also associated with a model branch identifier, source patch identifier, candidate category, original confidence level, candidate mask reference, and boundary truncation flag. The local candidate box coordinates of the candidate observation are restored to global candidate box coordinates by overlaying the global offset of the upper left corner of the source region.
[0028] Furthermore, for regular open components, the architectural relationship consistency quantity is calculated based on at least two of the following: deviation of center height on the same floor, deviation of vertical center line, difference of adjacent dimensions, variation of component spacing, candidate nesting ratio, degree of boundary contact, and isolation distance. Only when the number of valid candidates in the same arrangement group reaches a preset number, the center position, boundary position, or median dimension of the arrangement group is used as a soft constraint to perform at least one of the following processing on candidates with repeated nesting, abnormal scale, or small-range misalignment: score reduction, deletion, merging, restricted correction, or marking verification.
[0029] Furthermore, the small-scale attached component is a building air conditioner outdoor unit; the opening neighborhood anchoring area covers the area below the corresponding window opening and at least one side wall area, and retains the detection of overlapping blocks on the entire facade while performing the opening neighborhood anchoring area detection; the second small target-specific detection model is a local visual model with single-class target detection or instance segmentation capabilities; the air conditioner outdoor unit candidates are also screened based on at least two of the following: their relative orientation to the nearest window opening, normalized distance, opening overlap rate, aspect ratio, and relative area.
[0030] Furthermore, for small-scale attached component observation clusters, benchmark observations are first determined based on confidence and spatial compatibility, and outlier observations that exceed the threshold in terms of distance to the center or scale ratio relative to the benchmark observation are eliminated. Weighted low quantile coordinates are calculated for the left and upper boundaries of the remaining observations, and weighted high quantile coordinates are calculated for the right and lower boundaries to form an outer boundary consensus, and the outward expansion in each direction does not exceed the preset proportion of the corresponding side length of the benchmark observation. When at least one of the morphological consistency, instance mask filling rate, image edge support, or outer boundary consensus growth rate of the fusion candidate does not meet the threshold, at least two local re-observation regions are generated from the center offset, left offset, right offset, upward offset, or downward offset. Only when the boundary quality gain of the new boundary candidate relative to the fusion candidate reaches the threshold, and simultaneously satisfies the area growth, center drift, original candidate inclusion, regular opening overlap, and adjacent attached component collision constraints, it is determined as the final complete occupied envelope.
[0031] Furthermore, the cue-based instance segmentation model receives global or local candidate boxes as spatial cues and outputs a binary instance mask; the instance mask quality is formed based on at least two of the following: the ratio of mask area to candidate box area, the proportion of the largest connected component, the degree of contour closure, the candidate box boundary touch rate, and the mask bounding box coverage rate; and the instance mask of regular opening components is subjected to hole filling, small region removal, contour simplification, and near-horizontal or near-vertical boundary regularization to form an opening outer contour in the form of a closed polygon, an axis-aligned rectangle, or a directed rectangle.
[0032] Furthermore, the preset review triggering conditions include at least one of the following: the detection confidence level is lower than a first threshold, the consistency of building relationships is lower than a second threshold, the instance mask quality is lower than a third threshold, the boundary integrity status is pending inspection, the categories given by different models are inconsistent, or a manually specified review flag is received; the output fields of the visual language model include at least the suggested category, the retention flag, the semantic confidence level, the visibility attribute, and the reason code; the output fields are subjected to field integrity, data type, and enumeration validity checks, and the semantic review results that fail the checks are not written to the final category field, and the corresponding instance is marked as retry or pending review.
[0033] Furthermore, the unified instance identifier serves as the primary key of the instance evidence record; the instance evidence record includes at least the original candidate box, observation cluster members, fused candidate boxes, pre-refinement candidate boxes, final component geometry, instance mask reference, detection model branch, source region, building relationship consistency quantity, boundary integrity quantity, semantic review result, and review status; the review status includes at least automatic confirmation, pending review, and rejection or re-observation; the comprehensive quality quantity is calculated using only the evidence items actually generated by the corresponding instance, and the weights of missing evidence items are removed and the remaining weights are normalized.
[0034] Furthermore, setting the origin of the surface coordinate system as O, the horizontal basis vector as u, the vertical basis vector as v, the scale corresponding to each pixel as s, the clipping offset as (x0, y0), and the effective image height as H, the global pixel point (x, y) is converted into the elevation point P according to P = O + s [(x - x0)u + (H - y + y0)v], or by using an equivalent affine transformation that is the inverse of the front elevation image generation process; based on the converted geometry, at least one two-dimensional or two-dimensional semi-parametric object is generated from the wall outline, window opening outline, door opening outline, and small-scale attached component occupancy outline, and outputs a CSV file, JSON file, outline file, or database record that can be read by the parametric modeling environment.
[0035] Furthermore, the model parameters of each detection model, prompting instance segmentation model, and visual language model are stored on the same local computing device or controlled LAN computing node, and the original building facade image is not uploaded to the public inference service; the method is executed according to the candidate generation and verification file output stage and the geometry generation stage after the verification status is frozen, and the results of the previous stage are read through the unified instance identifier in subsequent stages; when the candidate box, instance mask, field, or geometry of a single instance is invalid, only geometric backtracking or error marking is performed on that instance, while other instances continue to be output.
[0036] This invention assigns regular opening components and small-scale attachment components to different candidate branches: a first image-text joint detection model generates regular opening candidates such as windows and doors; a second small target-specific detection model generates attachment component candidate observations in the full-facade overlapping patch and the anchoring area constructed from the opening candidates. Both branches use unified global pixel coordinates and instance fields for subsequent clustering and evidence association.
[0037] For regularly opening structural members, this invention utilizes the center height of the same floor, vertical centerline, adjacent dimensions, spacing, nesting, and degree of isolation to form a consistency quantity for architectural relationships. Soft constraints are then employed to reduce scores, delete, merge, or perform small-scale corrections on obviously anomalous candidates. These soft constraints are triggered only when the arrangement group has sufficient support, thus avoiding the forced normalization of truly irregular facades into an ideal grid.
[0038] For small-scale attached components, this invention does not delete other tile candidates of the same instance during candidate deduplication, but instead retains them as observation clusters. The outer boundary coordinates in the observation clusters are used to form a constrained outer boundary consensus; when the consensus boundary still has truncation, morphological anomalies, insufficient mask filling, or insufficient edge support, an offset and multi-scale local re-observation region is constructed around the instance, and a complete occupancy envelope candidate is generated from the small target model response, image four-edge support, and morphological statistics of high-quality similar instances on the same elevation.
[0039] The complete occupancy envelope candidate does not unconditionally replace the original candidate. The system compares the edge support, morphological consistency, inclusion of the original candidate, center drift, and growth ratio of the new and old boundaries, and checks whether they overlap excessively with window or door openings or adjacent attached components. The new boundary is adopted only when both the mass gain and all geometric constraints are met simultaneously; if the evidence is insufficient, the original boundary is retained and the instance is marked for review.
[0040] The fused candidate instances are segmented using a prompting method to obtain instance masks corresponding to the candidates. Mask quality is determined based on mask fill rate, maximum connectivity, contour closure, boundary touch, and bounding box coverage. Regular opening masks are then filled with holes, removed small regions, and regularized to form closed opening outer contours. The necessary output of this invention is the component outer contour or occupancy envelope; internal sub-components such as window frames, glass, and mullions are not required as necessary results.
[0041] The local visual language model is invoked only when there are low-quality or conflicting elements in detection, building relationships, instance masks, boundary integrity, or model categories. The visual language model's prompts limit the set of categories, output fields, and data types, and its results are used only for component categories, visibility attributes, and verification status, without directly generating or modifying precise component geometry; this avoids generative semantic judgments from overriding the boundaries determined by detection, segmentation, and edge evidence.
[0042] This invention assigns a unified instance identifier to each component and saves the original candidate, observation cluster, fusion candidate, pre-refinement boundary, final geometry, model branches, source region, various quality quantities, and verification status in the same instance evidence record. If pixel-to-facade mapping parameters are provided, the component outline can be further converted into local facade coordinates and output to the parametric modeling environment; if no mapping parameters are provided, global pixel geometry with traceable evidence can still be output.
[0043] Compared to existing processing methods that rely solely on a single highest-scoring candidate, this invention can transform repeated detections in adjacent tiles into complementary boundary evidence of the same entity, reducing the loss of occupied range caused by local salient textures.
[0044] Compared to the approach of using a uniform facade syntax for all components, this invention configures different relationship strengths for regular openings and attached equipment, which both utilizes the regularity of building arrangement to suppress obvious anomalies and preserves the irregularity of the actual installation position of the equipment later.
[0045] By using triggered local re-observation and visual language model gating, this invention performs high-cost processing only on instances with incomplete boundaries or conflicting evidence, reducing repeated reasoning on stable instances; this effect is a selective computation at the workflow level and is not limited by a specific model name or fixed runtime.
[0046] By using unified instance identification and phased evidence recording, this invention can track whether the final geometry comes from the original detection, multi-tile consensus, or local refinement, and can synchronize the semantic review and manual review status to the parameterized output, reducing the risk of inconsistent instance status between multiple files.
[0047] Each model can run on a local computing device or a controlled LAN node. The original facade images and building data do not need to be sent to the public inference service, making it suitable for existing building documentation and renovation preparation processes that require data confidentiality and reproducibility.
[0048] Example In one embodiment, the local computing device is a graphics workstation running Ubuntu or Windows Linux subsystem, equipped with a central processing unit, memory, and graphics processing unit; the first image-text joint detection model uses Grounding DINO, the second small target-specific detection model uses YOLOE or a single-class YOLO instance segmentation model trained on samples from outdoor air conditioning units, the cue-based instance segmentation model uses SAM2, and the visual language model uses the Qwen series of visual language models. All model weights are stored locally, and structured data is transferred between models via CSV, JSON, and image files.
[0049] This embodiment uses a perspective-corrected RGB facade image of a building as input. This image can be obtained directly from UAV or ground camera images through homography transformation, or it can be obtained by rendering from a photogrammetric triangulation mesh or a building information model with an orthogonal camera. The input image undergoes effective region cropping and size checks, and the building identifier, facade identifier, image identifier, original image width, and height are saved. If model coordinates need to be established later, the cropping offset and pixel-to-facade mapping parameters are also saved.
[0050] First, the general component candidate branches are executed. Category hints can be configured as standard categories such as window, door, sign, parapet, and curtain wall panel. The input to the first model is a complete front elevation image or its multi-scale patches along with category hints. The output includes candidate categories, image-text matching confidence scores, and candidate bounding boxes. Candidate boxes are cropped to the image area, removing candidates with obviously unreasonable area, width, height, or boundary contact, and generating temporary observation labels for each retained candidate.
[0051] For regular openings such as windows, first process overlapping frames and obvious containment relationships by comparing heights. If a large candidate contains multiple smaller candidates of similar size, and the large candidate lacks independent edge evidence, then reduce the score of the large candidate or delete it. Subsequently, horizontal groups are formed based on the ordinate and height of the candidate center, and vertical groups are formed based on the abscissa and floor spacing of the candidate center. Only when the number of valid candidates within a group reaches a preset number are the group's midpoint, upper boundary, lower boundary, and midpoint dimensions calculated, which serve as soft references.
[0052] Let the relational consistency of rule opening i be represented as... ,in For subquantities that are aligned on the same layer, vertically aligned, have similar scales, or have repeated spacing, For nested, isolated, boundary exception, or excessively large area penalties, and These are non-negative weights. Each sub-quantity is normalized to between 0 and 1. This relational consistency measure is used for candidate screening and verification gating, and is not interpreted as a probability-calibrated accuracy rate.
[0053] Next, a special branch for small-scale attachment components is executed. In this embodiment, the attachment component is an outdoor air conditioning unit. Based on the reserved window candidates, an anchoring area is constructed in the neighborhood of the opening on the lower and left and right walls. At the same time, the entire front facade is divided into overlapping global blocks to prevent the omission of outdoor units that are not near windows or cannot establish an anchoring area due to the lack of window candidates.
[0054] A reproducible configuration is as follows: tile side length 960 pixels, horizontal and vertical overlap rate 0.25, small target special model input size 960 pixels; these values can be adjusted according to the original image resolution, typical object pixel size, and video memory. Each tile or anchored area records its top-left corner coordinates (…). The local candidate box (l, t, r, b) restored to global coordinates is ( ).
[0055] Each special inspection generates one candidate observation, which includes at least... The parameters include raw_score, roi_source, roi_index, roi_offset, predict_scale, and optional mask_polygon. Candidate observations are not immediately deleted using non-maximum suppression after generation. Instead, clusters of observations within the same instance are created based on intersection-union ratio (IU), smaller bounding box coverage, normalized center distance, and scale ratio. If an observation's center distance relative to the benchmark observation within the cluster is too large, or its aspect ratio and scale ratio exceed preset ranges, it is excluded as an outlier.
[0056] For the same observation cluster, the baseline observation is selected based on the highest candidate quality. The remaining observations are weighted according to their candidate quality, with weighted low quantile coordinates used for the left and upper boundaries, and weighted high quantile coordinates used for the right and lower boundaries. In this embodiment, quantiles of 0.18 and 0.82 can be used to form consensus on the outer boundaries. Compared to directly averaging the coordinates of the four boundaries, the outer quantiles can preserve the complete outer edge of the chassis as seen from a given map; simultaneously, the maximum outward expansion of each boundary relative to the baseline frame is limited by the ratio of the baseline width and height, preventing it from crossing into adjacent equipment or opening edges.
[0057] The form reference is estimated from high-quality outdoor unit candidates that have passed the initial screening within the current facade. If the number of candidates is insufficient, a preset physical form is used as a reference; if the number of candidates reaches a threshold, the median of the candidate aspect ratios is weighted with the preset aspect ratio to form an adaptive facade reference. The candidate aspect ratios and dimensions are compared with the reference values using a logarithmic similarity function to form a form consistency value. The form consistency value is only used as a basis for soft screening and fine-tuning, and does not force the actual installed equipment to be adjusted to a single standard size.
[0058] Subsequently, the fused candidate boxes are used as spatial cue input prompts for instance segmentation. The resulting binary mask retains the largest connected component, fills small holes, and deletes isolated small regions. The mask fill rate, boundary touch rate, contour closure degree, and mask bounding box coverage are calculated. Regular opening masks are normalized into closed polygons or rectangles under near-horizontal, near-vertical, and area variation upper limit constraints. This embodiment only requires obtaining the outer contour of window or door openings; automatic reconstruction of window frames, glass, and mullions is not required.
[0059] For outdoor air conditioning units, the need for boundary refinement is determined based on shape similarity, mask fill rate, consensus growth rate of outer boundary, and edge support of the four-sided image. For example, when the shape similarity is lower than the trigger threshold, the mask fill rate is lower than the trigger threshold, the consensus box grows abnormally relative to the baseline box, or the candidate only responds to the fan area, boundary_refine_requested is set to true.
[0060] Boundary refinement constructs high-resolution local regions around the coarse candidate center. The side length of the local region can be a preset multiple of the long side of the coarse candidate and a minimum pixel side length is set. The method generates a central region, a left-off offset region, and a right-off offset region respectively, and adds upper and lower offset regions if necessary. Each region is re-input into the small target specialization model with an inference size higher than that of the initial specialization detection. Different offset regions provide different contexts for the same chassis, allowing the missing side previously located at the edge of the tile to enter the local region.
[0061] In addition to high-resolution model observations, the horizontal and vertical gradients of the grayscale image can be calculated around the coarse candidates. Coordinate combinations with continuous edge support can be searched on the left, right, top, and bottom of the candidates to form chassis rectangle candidates. When model observations are insufficient, a limited number of morphological prior candidates can be generated based on the adaptive aspect ratio of the facade. However, the morphological prior candidates will only participate in the final selection when the four edge supports reach the threshold.
[0062] For each boundary candidate, a boundary quality quantity is calculated. This quality quantity can be weighted by morphological similarity, the degree of inclusion of coarse candidates, edge support of quadrilateral images, center stability, the number of independent offset regions supported, specialized model scores, and the reasonableness of area growth. The candidate is compared with the original boundary; if the quality quantity of the new candidate does not reach the minimum value or the gain relative to the original boundary is insufficient, the original boundary is still used.
[0063] Before adopting a new boundary, the following geometric constraints are checked: the width, height, and area growth of the new boundary must not exceed the corresponding upper limits; the new boundary should maintain a minimum level of inclusion of coarse candidates, and the center drift must not exceed the normalized distance upper limit; the overlap between the new boundary and window / door openings must not exceed the opening overlap threshold; the intersection-overlap ratio of the new boundary relative to other outdoor units must not increase by more than the allowable amount compared to before refinement. Only when all checks pass is the final boundary state recorded as auto_refined; if it remains unchanged and the quality is sufficient, it is recorded as stable; if refinement is triggered but the evidence is insufficient, it is recorded as check_boundary.
[0064] In a specific configuration, the local refinement input size is 1280 pixels, using three re-observation regions: center, left-skewed, and right-skewed. The local region side length is no less than 192 pixels and approximately 4.8 times the long side of the coarse candidate; the single-side scale growth of the candidate is no more than 1.85 times, and the area growth is no more than 2.80 times. The above values are used to illustrate that the constraints can be concretely implemented. In actual deployment, they are determined on the development facade and frozen on the facade to be processed.
[0065] The semantic review phase employs a trigger-based invocation. If the detection score, building relationship consistency, mask quality, and boundary integrity all meet the thresholds, and the different model categories are consistent, then the instance does not invoke the visual language model; if any of these criteria are below the threshold, there is a category conflict, or a review flag is received, then the instance's cropped image, initial category, relevant quality quantity, and allowed category set are input into the local visual language model.
[0066] The visual language model's prompts must output only JSON objects, with fields including category, keep, confidence, visible_attribute, and reason_code. The parser verifies that all fields are present, values are within the specified range, categories belong to the allowed sets, and boolean field types are correct. If the model output fails verification, the original detection result is retained, and the model enters a retry or pending review state. The visual language model must not write the bbox_xyxy, mask_polygon, or final_geometry fields.
[0067] The instance_id is used as the primary key throughout the entire process. An instance evidence record can include source_image_id, observation_ids, raw_bbox, consensus_bbox, pre_refine_bbox, final_bbox, mask_reference, geometry_polygon, detector_branch, relation_score, mask_quality, shape_consistency, boundary_edge_support, boundary_source, semantic_review, and review_status. The original value, the automatically corrected value, and the final value are stored separately, and the final value does not overwrite previous evidence.
[0068] The overall quality score is obtained by weighting the generated items of detection, relation, mask, morphological, boundary, and semantic evidence. When an evidence item is not generated, its weight is removed from the denominator and the remaining weights are normalized to avoid missing values being mistakenly treated as zero. The overall quality score is used for routes that are automatically confirmed, pending review, or rejected or re-observed, and is not directly used as the engineering probability.
[0069] A two-stage implementation first generates candidate data and outputs verification data, generating candidate overlay maps, instance tables, and verification statuses before pausing. After the verification status is frozen, the second stage reads records corresponding to the same instance_id to generate the final contour and parameterized bridging data. Manual verification is not an independent or necessary technical step; in unmanned verification mode, instances to be verified can be kept in an unconfirmed state according to a preset threshold, while other automatically confirmed instances continue to be output.
[0070] If the pixel-to-facade mapping parameters are saved, the pixel coordinates of the upper left origin of the image can be converted to the coordinates of the lower left origin of the facade. Let the facade coordinate origin be O, the horizontal basis vector be u, the vertical basis vector be v, the unit pixel scale be s, the crop offset be (x0, y0), and the effective image height be H. Then the facade point corresponding to the pixel (x, y) can be represented as P = O + s [(x - x0)u + (H - y + y0)v]. If the front facade image is generated by other projection methods, then an affine or projection transformation that is the inverse of the image generation process is used.
[0071] Parametric bridging output can be in CSV and JSON formats. Regular openings are output as closed curves, and air conditioning outdoor units are output as complete chassis rectangles or polygons, with center points and verification states. The effective area of a wall can be formed by subtracting the opening outline from the facade outline. After reading the above data, parametric modeling environments such as Rhino and Grasshopper can generate wall, opening, and equipment occupancy geometry, and continue to perform Boolean operations, manual revisions, or constraint analysis. This output is editable 2D to 2.5D geometry and is not equivalent to automatically generating a complete IFC building information model.
[0072] The bridging program reads data instance by instance. When an instance's mask file is missing, field format is abnormal, or geometry is invalid, it only uses candidate boxes with side length and position constraints to backtrack to that instance, or outputs an error status; other instances, openings, and wall results continue to be generated, thus avoiding the loss of the entire facade result due to a single instance's abnormality.
[0073] In another implementation, the input is a frontal photograph that has undergone perspective correction but lacks true scale. The method performs candidate generation, relation correction, boundary restoration, gated semantic verification, and evidence-based output, ultimately maintaining global pixel coordinates geometrically. This implementation does not require a 3D architectural model; scale mapping can be added later after obtaining a known length or control points.
[0074] In another embodiment, small-scale attachment components can be ventilation boxes, external signs, camera equipment, or other facade attachments with relatively stable solid envelopes. The multi-tile observation clustering, offset local re-observation, and constrained envelope selection processes can be reused by changing the second specialized model, morphological reference, and opening overlap constraints; for objects without rectangular shells, the final occupied envelope can be a closed polygon.
[0075] In another implementation, the first image-text joint detection model, the second small target-specific detection model, the cue-based instance segmentation model, and the visual language model can be replaced with other models having equivalent input and output. The first model should output category-related candidate boxes, the second model should output small target candidates or instance masks, the cue-based segmentation model should output instance masks based on spatial cues, and the visual language model should be able to output structured semantic results according to defined fields. Model replacement does not change the preservation of multi-tile observations, handling of object-specific relationships, triggered boundary restoration, and unified instance evidence recording.
[0076] The present invention also proposes an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for identifying building facade components based on local multimodal model collaboration.
[0077] The memory in this application embodiment can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the methods described in this invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0078] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).
[0079] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0080] It should be noted that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiments can be completed by the integrated logic circuitry in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied as execution by a hardware decoding processor, or as a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above methods.
[0081] The above provides a detailed description of the building facade component identification method based on local multimodal model collaboration proposed in this invention. Specific examples are used to illustrate the principles and implementation methods of this invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this invention. Therefore, the content of this specification should not be construed as a limitation of this invention.
Claims
1. A building facade component recognition method based on local multi-modal model collaboration, characterized in that, The method includes: Acquire an image of the building's front elevation after orthogonal projection or perspective correction, and establish an image identifier and global pixel coordinate convention for the building's front elevation image; The building facade image and facade component category suggestions are input into the locally deployed first image-text joint detection model to generate candidate regular opening components; The building facade image is divided into overlapping blocks according to the preset block size and overlap rate. An opening neighborhood anchoring region is generated according to the rule opening component. The overlapping blocks and the opening neighborhood anchoring region are input into the locally deployed second small target special detection model to generate candidate observations of small-scale attached components. Each candidate observation is associated with at least the candidate box, confidence, source region, inference scale and region offset. Based on the region offset, the candidate observations are restored to global pixel coordinates, and the candidate observations belonging to the same component instance are clustered into observation clusters; For regular open components, calculate the architectural relationship consistency quantity formed by at least two of the following: arrangement, scale, nesting, and repetition modulus. For small-scale attached components, retain the boundary coordinates of each candidate box within the observation cluster, and determine the boundary integrity state based on at least two of the following: tile truncation state, inter-observation boundary coverage, and image edge support, thereby generating fusion candidates. The fusion candidates are used as spatial prompts to input a locally deployed prompting instance segmentation model to obtain an instance mask; When the boundary integrity state of a small-scale attached component does not meet the integrity condition, a local re-observation region with different offsets or different scales is generated around the corresponding fusion candidate. Small target-specific detection is performed again, and a complete occupancy envelope candidate is generated by combining the observation cluster, local re-observation results, image edge support, and similar component morphology statistics. The complete occupancy envelope candidate is only used when the complete occupancy envelope candidate meets the side length or area growth limit, regular opening overlap limit, and adjacent instance collision limit. When at least one of the following—detection confidence, building relationship consistency, instance mask quality, boundary integrity status, or inter-model category consistency—meets the preset review triggering condition, the corresponding component cropping image and its evidence summary are input into the locally deployed visual language model to obtain a structured semantic review result with a limited set of categories and limited fields. The structured semantic review result is used to determine the component category, visible attributes, or review status without directly generating or modifying the component geometry. A unified instance identifier is established for each component instance. Under the unified instance identifier, the original candidate, fusion candidate, instance mask, complete occupancy envelope, observation source, architectural relationship consistency quantity and semantic verification result are associated. The output includes the building facade component identification data including component category, component geometry, comprehensive quality quantity, evidence source and verification status.
2. The method of claim 1, wherein, The overlapping patches are positioned at their starting positions in the horizontal and vertical directions according to their side length and overlap rate, respectively, and the end patches located at the image boundary are aligned with the image boundary. Each candidate observation is also associated with model branch identifier, source tile identifier, candidate category, original confidence level, candidate mask reference, and boundary truncation flag; the local candidate box coordinates of the candidate observation are restored to the global candidate box coordinates by superimposing the global offset of the upper left corner of the source region.
3. The method of claim 1, wherein, For regular open components, the architectural relationship consistency quantity is calculated based on at least two of the following: deviation of center height on the same floor, deviation of vertical center line, difference of adjacent dimensions, variation of component spacing, candidate nesting ratio, degree of boundary contact, and isolation distance. Only when the number of valid candidates in the same arrangement group reaches a preset number, the center position, boundary position, or median dimension of the arrangement group is used as a soft constraint to perform at least one of the following processing on candidates with repeated nesting, abnormal scale, or small-range misalignment: score reduction, deletion, merging, restricted correction, or marking verification.
4. The method of claim 1, wherein, The small-scale attached component is a building air conditioner outdoor unit; the opening neighborhood anchoring area covers the area below the corresponding window opening and at least one side wall area, and retains the detection of overlapping blocks on the entire facade while performing the opening neighborhood anchoring area detection; the second small target special detection model is a local visual model with single-class target detection or instance segmentation capabilities; the air conditioner outdoor unit candidates are also screened based on at least two of the following: their relative orientation to the nearest window opening, normalized distance, opening overlap rate, aspect ratio, and relative area.
5. The method of claim 1, wherein, For small-scale attached component observation clusters, benchmark observations are first determined based on confidence and spatial compatibility, and outlier observations that exceed the threshold in terms of distance from the center or scale ratio relative to the benchmark observation are eliminated. Weighted low quantile coordinates are calculated for the left and upper boundaries of the remaining observations, and weighted high quantile coordinates are calculated for the right and lower boundaries to form an outer boundary consensus, and the outward expansion in each direction does not exceed the preset proportion of the corresponding side length of the benchmark observation. When at least one of the morphological consistency, instance mask filling rate, image edge support, or outer boundary consensus growth rate of the fusion candidate does not meet the threshold, at least two local re-observation regions are generated from the center offset, left offset, right offset, upward offset, or downward offset. Only when the boundary quality gain of the new boundary candidate relative to the fusion candidate reaches the threshold, and simultaneously satisfies the area growth, center drift, original candidate inclusion, regular opening overlap, and adjacent attached component collision constraints, it is determined as the final complete occupied envelope.
6. The method of claim 1, wherein, The cue-based instance segmentation model receives global or local candidate boxes as spatial cues and outputs a binary instance mask. The instance mask quality is formed based on at least two of the following: the ratio of mask area to candidate box area, the proportion of the largest connected component, the degree of contour closure, the candidate box boundary touch rate, and the mask bounding box coverage rate. For instance masks of regular opening components, hole filling, small region removal, contour simplification, and near-horizontal or near-vertical boundary regularization are performed to form the outer contour of the opening in the form of a closed polygon, an axis-aligned rectangle, or a directed rectangle.
7. The method according to claim 1, characterized in that, The preset review triggering conditions include at least one of the following: the detection confidence is lower than the first threshold, the consistency of building relationships is lower than the second threshold, the instance mask quality is lower than the third threshold, the boundary integrity status is pending inspection, the categories given by different models are inconsistent, or a manually specified review flag is received; the output fields of the visual language model include at least the suggested category, the retention flag, the semantic confidence, the visibility attribute, and the reason code; Perform field integrity, data type, and enumeration validity checks on the output fields. If the checks fail, the semantic review results are not written to the final category field, and the corresponding instance is marked as a retry or pending review.
8. The method according to claim 1, characterized in that, The unified instance identifier serves as the primary key of the instance evidence record; the instance evidence record includes at least the original candidate box, observation cluster members, fused candidate boxes, pre-refinement candidate boxes, final component geometry, instance mask reference, detection model branch, source region, building relationship consistency quantity, boundary integrity quantity, semantic review result, and review status; the review status includes at least automatic confirmation, pending review, and rejection or re-observation; the comprehensive quality quantity is calculated using only the evidence items actually generated by the corresponding instance, and the weights of missing evidence items are removed and the remaining weights are normalized.
9. The method according to claim 1, characterized in that, The building facade image is obtained from at least one of the following: images acquired by a UAV, images acquired by a ground camera, orthogonally rendered images of a 3D mesh model, or facade output images of a building information model. For perspective images, perspective correction is performed using facade control points, vanishing lines, or homography transformation of the target facade. When it is necessary to convert the recognition results to local facade coordinates or building model coordinates, the cropping offset, effective image width and height, unit pixel scale, facade coordinate origin, horizontal basis vector, and vertical basis vector are recorded simultaneously as pixel-facade mapping parameters.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-9.
