Building identification method and apparatus, and device

Through the top surface and facade recognition technology of the artificial intelligence building recognition model, the problem of low accuracy of building information in satellite images of buildings is solved, and the fine deconstruction of the building and the accurate rendering of the three-dimensional model are achieved.

WO2024139700A9PCT designated stage expired Publication Date: 2024-08-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/128972
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-28
Filing Date
2023-11-01
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

When using existing technology to identify buildings in satellite images of buildings, the accuracy of the identified building information is low, making it difficult to achieve precise deconstruction and accurate identification of buildings.

Method used

Using a building recognition model based on artificial intelligence, through the feature extraction network, top surface prediction network, facade prediction network and result prediction network, the building is decomposed into top surfaces and facades for identification, and top surface and facade parameter information is generated. And recognition is performed through the result prediction network to improve the recognition accuracy of buildings.

Benefits of technology

By decomposing the building into its top surface and facade for identification, it significantly improves the accuracy of the architectural information obtained from the satellite images of the building, achieving the fine deconstruction of the building and the accurate rendering of the three-dimensional model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023128972_29082024_PF_FP_ABST
    Figure CN2023128972_29082024_PF_FP_ABST
Patent Text Reader

Abstract

A building identification method and apparatus, and a device. The method comprises: acquiring a building satellite image to be identified (310); performing feature extraction on the building satellite image to obtain feature information of the building satellite image (320); generating top surface information according to the feature information to obtain top surface parameter information of a building in the building satellite image (330); generating facade information according to the feature information to obtain facade parameter information of the building in the building satellite image (331); and performing top surface identification according to the feature information and the top surface parameter information to obtain a top surface identification result, and performing facade identification according to the feature information and the facade parameter information to obtain a facade identification result (340).
Need to check novelty before this filing date? Find Prior Art

Description

Building identification method, device and equipment

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on December 28, 2022, with application number 202211702241.1 and application name “Building identification method, device and equipment based on building identification model”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of maps, and in particular to building recognition technology. Background Art

[0003] In the field of mapping, the accuracy and richness of the map can be improved by re-rendering the three-dimensional building models in the map.

[0004] In related technologies, by identifying buildings in building satellite images, building information of each building in the building satellite images can be obtained.

[0005] However, in related technologies for identifying buildings, the accuracy of the identified building information is low.

[0006] Summary of the Invention

[0007] The present invention provides a method, device, and apparatus for identifying buildings. The technical solution is as follows:

[0008] According to one aspect of an embodiment of the present application, a building identification method is provided, the method being executed by a computer device, the method comprising:

[0009] Obtain satellite images of buildings to be identified;

[0010] Extracting features from the satellite image of the building to obtain feature information of the satellite image of the building;

[0011] Generating top surface information based on the characteristic information to obtain top surface parameter information of the building in the satellite image of the building; and generating facade information based on the characteristic information to obtain facade parameter information of the building in the satellite image of the building;

[0012] Based on the feature information and the top surface parameter information, top surface recognition is performed to obtain a top surface recognition result of the building in the satellite image of the building; and based on the feature information and the facade parameter information, facade recognition is performed to obtain a facade recognition result of the building in the satellite image of the building.

[0013] According to one aspect of an embodiment of the present application, a method for training a building recognition model is provided, the method being executed by a computer device. The building recognition model includes: a feature extraction network, a top surface prediction network, a facade prediction network, and a result prediction network. The method includes:

[0014] Obtaining a training sample for the building recognition model, wherein the training sample uses a satellite image of a sample building as sample data, and uses building annotation information corresponding to the satellite image of the sample building as label data corresponding to the sample data, wherein the building annotation information includes top surface annotation information and facade annotation information of the sample building in the satellite image of the sample building;

[0015] Acquiring sample feature information of the satellite image of the sample building through the feature extraction network;

[0016] Based on the sample feature information, top surface information is generated by the top surface prediction network to obtain sample top surface parameter information of the sample building in the satellite image of the sample building;

[0017] Generate facade information through the facade prediction network according to the sample feature information to obtain sample facade parameter information of the sample building in the satellite image of the sample building;

[0018] According to the sample feature information and the sample top surface parameter information, top surface prediction is performed by the result prediction network to obtain a sample top surface recognition result of the sample building in the satellite image of the sample building;

[0019] According to the sample feature information and the sample facade parameter information, facade prediction is performed through the result prediction network to obtain a sample facade recognition result of the sample building in the satellite image of the sample building;

[0020] The building recognition model is trained according to the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information to obtain a trained building recognition model.

[0021] According to one aspect of an embodiment of the present application, a building identification device is provided, the device being deployed on a computer device, the device comprising:

[0022] An image acquisition module is used to acquire satellite images of buildings to be identified;

[0023] A feature acquisition module is used to extract features from the building satellite image to obtain feature information of the building satellite image;

[0024] A parameter acquisition module is used to generate top surface information according to the feature information, and obtain top surface parameter information of the building in the satellite image of the building;

[0025] The parameter acquisition module is further configured to generate facade information based on the feature information to obtain facade parameter information of the building in the satellite image of the building;

[0026] The result acquisition module is used to perform top surface recognition based on the feature information and the top surface parameter information to obtain the top surface recognition result of the building in the satellite image of the building, and to perform facade recognition based on the feature information and the facade parameter information to obtain the facade recognition result of the building in the satellite image of the building.

[0027] According to one aspect of an embodiment of the present application, a training device for a building recognition model is provided. The device is deployed on a computer device. The building recognition model includes: a feature extraction network, a top surface prediction network, a facade prediction network, and a result prediction network. The device includes:

[0028] a sample acquisition module, configured to acquire training samples for the building recognition model, wherein the training samples use satellite images of sample buildings as sample data, and building annotation information corresponding to the satellite images of the sample buildings as label data corresponding to the sample data, wherein the building annotation information includes top surface annotation information and facade annotation information of the sample buildings in the satellite images of the sample buildings;

[0029] A feature acquisition module, configured to acquire sample feature information of the sample building satellite image through the feature extraction network;

[0030] a parameter acquisition module, configured to generate top surface information through the top surface prediction network according to the sample feature information, and obtain sample top surface parameter information of the sample building in the satellite image of the sample building;

[0031] The parameter acquisition module is further configured to generate facade information through the facade prediction network based on the sample feature information, and obtain sample facade parameter information of the sample building in the satellite image of the sample building;

[0032] A result acquisition module is configured to perform top surface prediction through the result prediction network based on the sample feature information and the sample top surface parameter information, and obtain a sample top surface recognition result of the sample building in the satellite image of the sample building; and perform facade prediction through the result prediction network based on the sample feature information and the sample facade parameter information, and obtain a sample facade recognition result of the sample building in the satellite image of the sample building;

[0033] The model training module is used to train the building recognition model according to the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information, to obtain a trained building recognition model.

[0034] According to one aspect of an embodiment of the present application, a computer device is provided, comprising a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above method.

[0035] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above method.

[0036] According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product including a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the above method.

[0037] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0038] After acquiring a satellite image of a building to be identified, feature extraction can be performed on the satellite image to obtain feature information. To identify buildings from different dimensions, top surface information can be generated based on the feature information to obtain top surface parameter information of the building in the satellite image, and facade information can be generated based on the feature information to obtain facade parameter information of the building in the satellite image. Top surface recognition is then performed based on the feature information and the top surface parameter information to obtain a top surface recognition result, and facade recognition is performed based on the feature information and the facade parameter information to obtain a facade recognition result. Since the building in the satellite image is not identified as a whole, but rather separated into two aspects, top surface and facade, to obtain top surface recognition results and facade recognition results, respectively, the difference between the top surface and facade of a building is relatively large. If the top surface and facade are treated as the same, i.e., the entire building in the satellite image is identified, the accuracy of the obtained building recognition results will be reduced. Therefore, the technical solution provided in the embodiments of the present application, through the use of a building recognition model, obtains top surface recognition results and facade recognition results, which can improve the accuracy of building information acquired based on building satellite imagery, thereby achieving a detailed deconstruction of the building. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] FIG1 is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0040] FIG2 is a schematic diagram of a building recognition method provided by one embodiment of the present application;

[0041] FIG3 is a flow chart of a building identification method provided by one embodiment of the present application;

[0042] FIG4 is a schematic diagram of a building recognition model provided by one embodiment of the present application;

[0043] FIG5 is a schematic diagram of a building recognition result provided by an embodiment of the present application;

[0044] FIG6 is a flowchart of a building identification method provided by another embodiment of the present application;

[0045] FIG7 is a flowchart of a building identification method provided by another embodiment of the present application;

[0046] FIG8 is a schematic diagram of a building top surface shape recognition result provided by one embodiment of the present application;

[0047] FIG9 is a schematic diagram of a method for applying building information provided by one embodiment of the present application;

[0048] FIG10 is a schematic diagram of a rendered three-dimensional building model provided by one embodiment of the present application;

[0049] FIG11 is a flowchart of a method for training a building recognition model according to an embodiment of the present application;

[0050] FIG12 is a block diagram of a building identification device provided by one embodiment of the present application;

[0051] FIG13 is a block diagram of a building identification device provided by another embodiment of the present application;

[0052] FIG14 is a block diagram of a training device for a building recognition model provided by one embodiment of the present application;

[0053] FIG15 is a block diagram of a training device for a building recognition model provided by another embodiment of the present application;

[0054] FIG16 is a structural block diagram of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0056] Before introducing the technical solutions of this application, we first introduce and explain some of the background technologies involved in this application. The following related technologies can be combined with the technical solutions of the embodiments of this application as optional solutions, and they all fall within the scope of protection of the embodiments of this application. The embodiments of this application include at least part of the following contents.

[0057] The embodiments of the present application can achieve automated building recognition based on artificial intelligence (AI). In one possible implementation, building recognition can be achieved based on a building recognition model, which is obtained through machine learning / deep learning training within AI technologies. Furthermore, since the embodiments of the present application identify buildings in satellite imagery, they can be implemented based on computer vision (CV) technology.

[0058] The solutions provided in the embodiments of this application involve technologies such as artificial intelligence computer vision. Since these embodiments are related to the three-dimensional reconstruction of buildings, they also involve map-related content in the aforementioned intelligent transportation system and intelligent vehicle-road cooperative system. These embodiments can be applied to various scenarios such as cloud technology, artificial intelligence, smart transportation, and assisted driving. This is specifically illustrated by the following examples.

[0059] Please refer to FIG1 , which shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application. The solution implementation environment may include a model training device 10 and a model use device 20 .

[0060] The model training device 10 can be an electronic device such as a PC (Personal Computer), a computer, a tablet computer, a server, an intelligent robot, or other electronic devices with strong computing capabilities. The model training device 10 is used to train the building recognition model 30.

[0061] In an embodiment of the present application, the building recognition model 30 is a machine learning model used to identify and deconstruct buildings. For example, the building recognition model 30 is a machine learning model used to identify and deconstruct buildings in satellite imagery. For example, the building recognition model 30 can output top and facade recognition results for buildings in satellite imagery based on an input satellite imagery containing the building. In one possible implementation, the model training device 10 can train the building recognition model 30 using machine learning to achieve better performance.

[0062] The trained building recognition model 30 can be deployed in a model-using device 20 to provide building recognition and deconstruction results. The model-using device 20 can be a terminal device such as a mobile phone, computer, smart TV, multimedia player, wearable device, exploration equipment, or a server, and this application does not limit this.

[0063] In some embodiments, as shown in FIG. 1 , the building recognition model 30 may include a feature extraction network 31 , a top surface prediction network 32 , a facade prediction network 33 , and a result prediction network 34 .

[0064] In a possible implementation, a satellite image of a building containing the building is used as sample data, and the top surface annotation results and facade annotation results of the building in the satellite image of the building are used as label data to construct a training sample and train the building recognition model 30.

[0065] In one possible implementation, a building satellite image 40 is input into the feature extraction network 31 of the building recognition model 30 to obtain feature information. This feature information is then passed through the top surface prediction network 32 to obtain top surface parameter information. A top surface output result is obtained by the result prediction network 34 based on the feature information and top surface parameter information obtained by the feature extraction network 31. Similarly, this feature information is passed through the facade prediction network 33 to obtain facade parameter information. A facade output result is obtained by the result prediction network 34 based on the feature information and facade parameter information obtained by the feature extraction network 31. Based on the difference between the top surface recognition result and the top surface annotation information, and the difference between the facade recognition result and the facade annotation information, the parameters of the building recognition model 30 are adjusted, and the building recognition model 30 is continuously trained using training samples. This allows the trained building recognition model to output a building top surface recognition result and a building facade recognition result based on the building satellite image containing the building.

[0066] In the method provided in the embodiments of the present application, the execution subject of each step may be a computer device, which refers to an electronic device with data calculation, processing and storage capabilities. The computer device may be a terminal device such as a PC, tablet computer, smart phone, wearable device, intelligent robot, smart home appliance, vehicle terminal, aircraft, etc.; it may also be a server. Among them, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The computer device may be the model training device 10 in Figure 1, or it may be the model use device 20.

[0067] Please refer to FIG2 , which shows a schematic diagram of a building recognition method provided by an embodiment of the present application. FIG2 mainly introduces the building recognition method based on a building recognition model as an example.

[0068] First, a building satellite image 100 containing the building to be identified is obtained. Building identification and deconstruction are performed on the building satellite image 100 using a building recognition model 101. In one possible implementation, the building recognition model 101 is used to obtain the building satellite image 100, the corresponding top surface recognition result 110, the facade recognition result 120, the building category 130, the height offset information 140, and the shadow level information 150.

[0069] In one possible implementation, for a building satellite image 100 , a top surface shape classification result is obtained, and the top surface color is extracted simultaneously. In another possible implementation, for a building satellite image 100 , a facade recognition result 120 is obtained, and the facade color is extracted based on shadow level information 150 .

[0070] In one possible implementation, a building bottom surface prediction result is determined based on the facade recognition result 120 and the height offset information 140. The bottom surface prediction result is simultaneously matched with the base map building block vector data, and a matching target building is determined from the base map building block vector data.

[0071] In one possible implementation, based on the matched base map building block vector data of the target building, and based on the top surface recognition result 110, the facade recognition result 120, the extracted top surface color and facade color, and the building category 130, the base map building data attributes are enriched, and the three-dimensional building model of the target building is further re-rendered.

[0072] Most related technologies use semantic segmentation methods to identify buildings in satellite imagery. For example, models such as deeplab-v3 and segformer are used. Ultimately, buildings are only identified at the pixel level, and then clustered to obtain instances of the entire building or the top of the building. At the same time, some solutions directly use instance segmentation methods, such as using deep learning models such as mask r-cnn and blendMask to directly identify buildings, thereby obtaining instances of the entire building or the top of the building. When identifying buildings, related technologies only identify buildings at the pixel semantic level, or identify instances of the entire building and the top of the building. There is no comprehensive identification of the building's side elevation, height offset, category, or shadow intensity. The identification and deconstruction of the building is not comprehensive enough, making it difficult to achieve further deconstruction of the building, such as color extraction of the side elevation.

[0073] The technical solution provided in the embodiments of this application will make innovative improvements based on the existing deep learning model CondInst. By adding different branch structures and model training, it is ultimately possible to achieve end-to-end recognition of a building's top surface, side elevation (also known as facade), height offset, building category, and shadow intensity (also known as shadow level information) with only one model. In this way, the color and shape of the building's facade and top surface can be extracted based on the shadow intensity, thereby achieving a detailed deconstruction of the building. It can be used for the base and rendering of map building data, enriching the attributes of map building data.

[0074] Please refer to Figure 3, which shows a flow chart of a building identification method provided by an embodiment of the present application. The execution subject of each step of the method can be the model using device described above. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as a "computer device" for description, and the computer device can be used as a model using device. The method can include at least one of the following steps (310-340):

[0075] Step 310: Obtain satellite images of the building to be identified.

[0076] In some embodiments, building satellite images use satellites equipped with various sensors to obtain data that comprehensively, truthfully, and objectively reflects the characteristics of buildings on the surface. These data are processed through professional remote sensing technology to become building satellite images with high-precision geographic coordinate information.

[0077] In some embodiments, after the sensor acquires data reflecting the characteristics of buildings on the surface, the data is processed by a satellite to obtain a satellite image of the building, and the satellite image of the building is sent to the above-mentioned computer device.

[0078] In some embodiments, the building satellite image includes at least one building.

[0079] Step 320: extract features from the building satellite image to obtain feature information of the building satellite image.

[0080] In one possible implementation, the building recognition method can be implemented based on a building recognition model. In some embodiments, the building recognition model is a deep learning model. This application does not limit the specific architecture of the building recognition model. In one possible implementation, the building recognition model includes at least one of a feature extraction network, a top surface prediction network, a facade prediction network, and a result prediction network. This embodiment of the application does not limit the specific connection method of the feature extraction network, the top surface prediction network, the facade prediction network, and the result prediction network.

[0081] In this case, a method for extracting features from building satellite images to obtain feature information of the building satellite images may be to extract features from building satellite images through a feature extraction network to obtain feature information of the building satellite images.

[0082] In some embodiments, the feature extraction network includes a backbone network and a feature pyramid network connected to the backbone network. In some embodiments, in the field of computer vision, image feature extraction is required, and the backbone network + feature pyramid network is specifically designed for image feature extraction. In one possible implementation, the backbone network + feature pyramid network (FPN) network is used to extract feature information from building satellite images. In one possible implementation, feature extraction network 400, as shown in Figure 4, performs feature extraction on building satellite images. In one possible implementation, the building satellite image is first downsampled to obtain multiple images with dimensions smaller than the original building satellite image. Each image is then passed through the feature pyramid network to extract image features corresponding to each image. In one possible implementation, after obtaining feature information 402, the feature information 402 is downsampled to obtain feature information of lower dimension. In another possible implementation, after obtaining feature information 402, the feature information is upsampled to obtain feature information of higher dimension. In one possible implementation, the feature extraction network outputs at least one piece of feature information. In one possible implementation, the feature information output by the feature extraction network influences and correlates with each other. Specifically, by introducing a backbone network plus a feature pyramid network, the output feature information incorporates information from multiple dimensions, making the output feature information richer. In some embodiments, each piece of output feature information is then subsequently predicted by multiple prediction networks.

[0083] In some embodiments, the top surface prediction network is a prediction head network. In one possible implementation, the head network of the top surface prediction network includes a top surface controller. In one possible implementation, the head network of the top surface prediction network also includes at least one convolutional layer.

[0084] In some embodiments, the facade prediction network is a prediction head network. In one possible implementation, the head network of the facade prediction network includes a facade controller. In one possible implementation, the head network of the facade prediction network also includes at least one convolutional layer.

[0085] In some embodiments, the result prediction network is a prediction head network. In one possible implementation, the head network of the result prediction network further includes at least one convolutional layer.

[0086] Step 330 : Generate top surface information based on the feature information to obtain top surface parameter information of the building in the satellite image of the building.

[0087] In one possible implementation, top surface information is generated based on feature information, and the top surface parameter information of the building in the satellite image of the building is obtained by generating top surface information through a top surface prediction network based on the feature information, and obtaining the top surface parameter information of the building in the satellite image of the building.

[0088] In some embodiments, the top surface parameter information is used to determine the convolution parameters that participate in the subsequent result prediction network calculations. In some embodiments, the top surface prediction network is used to determine the top surface parameter information of buildings in the building satellite image based on the feature information. In one possible implementation, taking the number of parameters of the result prediction network as x as an example, the top surface prediction network generates a top surface parameter information of a dimension of x for each building in the building satellite image based on the feature information. In one possible implementation, taking the number of parameters of the result prediction network as 169 as an example, the top surface prediction network generates a top surface parameter information of a dimension of 169 for each building in the building satellite image based on the feature information. In one possible implementation, when the number of buildings in the building satellite image is a, top surface parameter information of a dimension of x is generated for each building. In one possible implementation, for a buildings, top surface parameter information of a dimension of a*x is generated. Wherein, x and a are positive integers.

[0089] Step 331 : Generate facade information based on the feature information to obtain facade parameter information of the building in the satellite image of the building.

[0090] In one possible implementation, facade information is generated based on feature information, and the facade parameter information of the building in the satellite image of the building is obtained by generating facade information through a facade prediction network based on the feature information, and obtaining the facade parameter information of the building in the satellite image of the building.

[0091] In some embodiments, the facade parameter information is used to determine the convolution parameters that participate in the subsequent result prediction network calculation. In some embodiments, the facade prediction network is used to determine the facade parameter information of the building in the building satellite image based on the feature information. In one possible implementation, taking the number of parameters of the result prediction network as x as an example, the facade prediction network generates a piece of facade parameter information with a dimension of x for each building in the building satellite image based on the feature information. In one possible implementation, taking the number of parameters of the result prediction network as 169 as an example, the facade prediction network generates a piece of facade parameter information with a dimension of 169 for each building in the building satellite image based on the feature information. In one possible implementation, when the number of buildings in the building satellite image is a, facade parameter information with a dimension of x is generated for each building. In one possible implementation, for a buildings, facade parameter information with a dimension of a*x is generated.

[0092] The embodiment of the present application does not limit the order of step 330 and step 331. In one possible implementation, step 330 is performed first, and then step 331. In one possible implementation, step 330 and step 331 are performed simultaneously.

[0093] Step 340 , performing top surface recognition based on the feature information and top surface parameter information to obtain a top surface recognition result of the building in the building satellite image, and performing facade recognition based on the feature information and facade parameter information to obtain a facade recognition result of the building in the building satellite image.

[0094] In one possible implementation, top surface recognition is performed based on feature information and top surface parameter information to obtain a top surface recognition result of a building in a satellite image of the building, and facade recognition is performed based on feature information and facade parameter information to obtain a facade recognition result of a building in a satellite image of the building. The method can be to perform top surface recognition based on feature information and top surface parameter information through a result prediction network to obtain a top surface recognition result of a building in a satellite image of the building, and to perform facade recognition based on feature information and facade parameter information through a result prediction network to obtain a facade recognition result of a building in a satellite image of the building.

[0095] In some embodiments, the result prediction network determines the top surface recognition result of the building in the building satellite image based on the feature information and the top surface parameter information. In a possible implementation, as shown in Figure 4, the result prediction network 410 determines the top surface recognition result 411 of the building in the building satellite image based on the feature information and the top surface parameter information (the top surface parameter information is predicted by the top surface prediction network 420). In a possible implementation, when the number of buildings in the building satellite image is a, the result prediction network determines the top surface recognition result of each building in the building satellite image based on the feature information and the top surface parameter information of each building, that is, obtains the top surface recognition results of a buildings. In a possible implementation, the top surface recognition result is displayed in the form of a polygon. In a possible implementation, the top surface recognition result is obtained by marking the top surface of the building in the form of a polygon on the building satellite image.

[0096] In some embodiments, the result prediction network determines the facade recognition result of the building in the building satellite image based on the feature information and the facade parameter information. In one possible implementation, as shown in Figure 4, the result prediction network 410 determines the facade recognition result 412 of the building in the building satellite image based on the feature information and the facade parameter information (the facade parameter information is predicted by the facade prediction network 430). In one possible implementation, when the number of buildings in the building satellite image is a, the result prediction network determines the facade recognition result of each building in the building satellite image based on the feature information and the facade parameter information of each building, that is, obtains the facade recognition results of a buildings. In one possible implementation, the facade recognition result is displayed in the form of a polygon. In one possible implementation, the facade recognition result is obtained by marking the facade of the building in the form of a polygon on the building satellite image.

[0097] In some embodiments, as shown in FIG4 , each prediction head network can be considered a head network, and each head network includes the top surface prediction network 420 and the elevation prediction network 430. Furthermore, the top surface prediction network 420 includes a top surface controller (top surface controller), and the elevation prediction network 430 includes a elevation controller (elevation controller).

[0098] In one possible implementation, the result prediction network is a Mask Branch Head or Mask Head, which generates a full-image mask. The result prediction network is applied to the feature layer after FPN, convolved with the convolution parameters generated by the corresponding controller, activated with Relu, and uses sigmoid to predict the probability of foreground pixels in the instance. Two categories of foreground are generated here: building tops and side elevations.

[0099] In some embodiments, the building recognition model includes a center-ness prediction network (Center-ness Head). The center-ness prediction network is used to predict the center point location of each building. In one possible implementation, the center point prediction network is used to obtain the center point of the building in the satellite image of the building based on the feature information.

[0100] In some embodiments, the center point prediction network is a prediction head network. In one possible implementation, the head network of the center point prediction network also includes at least one convolutional layer. In one possible implementation, the center point prediction network is used to predict the distance between each point and the target center point, reducing the number of predicted points that are far from the target center point.

[0101] In some embodiments, the building recognition model includes a box prediction network, which is used to predict the location of the instance box of each building. In one possible implementation, the box prediction network uses feature information to obtain the instance box of the building in the satellite image. In one possible implementation, the instance box is the smallest rectangular box that encloses the building. The instance box can be represented as a box, so in one possible implementation, the box prediction network can be a box regression head.

[0102] In one possible implementation, the center point is the center point of the instance box. In one possible implementation, the box prediction network is used to predict the coordinates of the rectangular box of the building instance.

[0103] In some embodiments, the box prediction network is a prediction head network. In one possible implementation, the head network of the box prediction network further includes at least one convolutional layer.

[0104] In some embodiments, the building recognition model includes a building category prediction network. The building category prediction network is used to predict the building category of each building. In one possible implementation, the building category prediction network determines the category of a building in a satellite image based on feature information.

[0105] In some embodiments, the building category prediction network is a prediction head network. In one possible implementation, the head network of the building category prediction network further includes at least one convolutional layer. In one possible implementation, the building category prediction network outputs the various categories to which buildings in satellite imagery belong, along with their corresponding probabilities, based on feature information. In one possible implementation, the category with the highest probability is used as the final output of the building category prediction network.

[0106] In one possible implementation, building information of a building in a satellite image of the building is determined based on the output of the prediction network. In one possible implementation, the building information includes top surface recognition results and facade recognition results. In one possible implementation, the building information also includes, but is not limited to, the center point of the building, the building instance box, and the building category.

[0107] As shown in Figure 5, sub-image a and sub-image b are satellite images of buildings in different regions, wherein sub-image a is processed by a building recognition model to obtain the recognized building information shown in sub-image c. Sub-image b is processed by a building recognition model to obtain the recognized building information shown in sub-image d. In one possible implementation, sub-image c includes the top surface recognition result, side surface recognition result, bottom surface recognition result, and building type prediction result of the building in sub-image a. In one possible implementation, based on the top surface recognition result, side surface recognition result, bottom surface recognition result, and building type prediction result of the building in sub-image a through the building recognition model, the top surface, facade, side surface, and category of the building in sub-image a are marked to obtain sub-image c. In one possible implementation, sub-image d includes the top surface recognition result, side surface recognition result, bottom surface recognition result, and building type prediction result of the building in sub-image b. In one possible implementation, based on the building recognition model's top, side, and bottom recognition results and building type prediction results for the buildings in sub-image b, the tops, facades, and sides of the buildings in sub-image b are labeled, yielding sub-image d. In another possible implementation, the tops, facades, and bottoms of the buildings are labeled, along with their categories, using different colors, different levels of transparency, or different lines.

[0108] The technical solution provided by the embodiments of the present application can, after obtaining a satellite image of a building to be identified, perform feature extraction on the building satellite image to obtain feature information. In order to identify buildings from different dimensions, top surface information can be generated based on the feature information to obtain top surface parameter information of the building in the building satellite image, and facade information can be generated based on the feature information to obtain facade parameter information of the building in the building satellite image. Top surface recognition is then performed based on the feature information and the top surface parameter information to obtain a top surface recognition result, and facade recognition is performed based on the feature information and the facade parameter information to obtain a facade recognition result. Since the entire building in the building satellite image is not recognized, but rather divided into two aspects, the top surface and the facade, to obtain top surface recognition results and facade recognition results. Generally speaking, the difference between the top surface and the facade of a building is relatively large. If the top surface and the facade are treated as the same, that is, the entire building in the building satellite image is recognized, the accuracy of the obtained building recognition results will be reduced. Therefore, the technical solution provided in the embodiment of the present application obtains top surface recognition results and facade recognition results through a building recognition model, which can improve the accuracy of building information obtained based on building satellite images, thereby achieving a detailed deconstruction of the building.

[0109] In addition, the building information obtained based on the building recognition model, including the top surface recognition results and the facade recognition results, can be used for the subsequent re-rendering of the three-dimensional building model. Therefore, when the building is finely deconstructed and the building information obtained is relatively accurate, the re-rendered three-dimensional building model will be more accurate and vivid, and more in line with the actual building.

[0110] Please refer to Figure 6, which shows a flow chart of a building identification method provided by another embodiment of the present application. The execution subject of each step of the method can be the model using device described above. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as a "computer device" for description, and the computer device can be used as a model using device. The method can include at least one of the following steps (310-343):

[0111] Step 310: Obtain satellite images of the building to be identified.

[0112] Step 320: extract features from the building satellite image to obtain feature information of the building satellite image.

[0113] Step 330 : Generate top surface information based on the feature information to obtain top surface parameter information of the building in the satellite image of the building.

[0114] Step 331 : Generate facade information based on the feature information to obtain facade parameter information of the building in the satellite image of the building.

[0115] Step 341 , performing top surface recognition based on the feature information and top surface parameter information to obtain a top surface prediction map of the building in the satellite image of the building, wherein the pixel value of each pixel in the top surface prediction map is used to determine the possibility that the pixel belongs to the top surface of the building.

[0116] In some embodiments, the top surface prediction map can also be considered as a matrix of pixel values ​​corresponding to each pixel point. In one possible implementation, the top surface prediction map is a pixel matrix of b*c. The value of each element is used to represent the probability that the pixel corresponding to that element belongs to the top surface of the building. Where b and c are positive integers. In one possible implementation, b = c = 128. In one possible implementation, the value range of the pixel values ​​is not limited.

[0117] In one possible implementation, when top surface recognition is performed through a result prediction network, the top surface recognition is performed based on feature information and top surface parameter information, and a method for obtaining a top surface prediction map of a building in a satellite image of the building can be to obtain a top surface prediction map of the building in a satellite image of the building by performing top surface recognition through a result prediction network based on feature information and top surface parameter information.

[0118] Step 342 , performing facade recognition based on the feature information and the facade parameter information to obtain a facade prediction map of the building in the satellite image of the building, wherein the pixel value of each pixel in the facade prediction map is used to determine the possibility that the pixel belongs to the building facade.

[0119] In some embodiments, the facade prediction map can also be considered as a matrix of pixel values ​​corresponding to each pixel point. In one possible implementation, the facade prediction map is a b*c pixel matrix. The value of each element is used to represent the probability that the corresponding pixel belongs to the building facade. Where b and c are positive integers. In one possible implementation, b = c = 128. In one possible implementation, the value range of the pixel values ​​is not limited.

[0120] In one possible implementation, when performing top face recognition using the result prediction network, performing elevation recognition based on the feature information and elevation parameter information to obtain a predicted elevation map of the building in the satellite image can be performed using the result prediction network based on the feature information and elevation parameter information to obtain a predicted elevation map of the building in the satellite image. Step 343 , based on the top face prediction map, obtains a top face recognition result of the building in the satellite image, and based on the elevation prediction map, obtains a facade recognition result of the building in the satellite image.

[0121] In some embodiments, the background information and top surface information of a building are distinguished based on the top surface prediction map. In a possible implementation, the range of the top surface is represented by a polygon to represent the top surface recognition result.

[0122] In some embodiments, background information and facade information of a building are distinguished based on the facade prediction map. In a possible implementation, the range of the facade is represented by a polygon to represent the facade recognition result.

[0123] In one possible implementation, the top surface recognition results and the facade recognition results are represented differently to distinguish them. In one possible implementation, the top surface recognition results and the facade recognition results are represented using different colors, different transparencies, or different lines. This application does not limit the specific representation of the top surface recognition results and the facade recognition results.

[0124] In some embodiments, step 343 includes at least one of steps 343 - 1 to 343 - 3 (not shown in the figure).

[0125] Step 343 - 1 , normalize the pixel values ​​of each pixel in the top surface prediction map to obtain a processed top surface prediction map, and normalize the pixel values ​​of each pixel in the elevation prediction map to obtain a processed elevation prediction map.

[0126] In some embodiments, the pixel values ​​of each pixel in the top surface prediction map and the elevation prediction map may be randomly distributed. In one possible implementation, the pixel values ​​of each pixel in the top surface prediction map and the elevation prediction map are normalized to obtain a processed top surface prediction map and a processed elevation prediction map. In one possible implementation, the pixel values ​​of each pixel in the top surface prediction map and the elevation prediction map are normalized to between 0 and 1.

[0127] It should be noted that the steps of obtaining the processed top surface prediction map and obtaining the processed elevation prediction map can be performed simultaneously, or separately, and this is not limited in the present embodiment. For example, the step of obtaining the processed top surface prediction map can be performed first, and then step 343-2 can be performed using the processed top surface prediction map. The step of obtaining the processed elevation prediction map can then be performed, and then step 343-3 can be performed using the processed elevation prediction map.

[0128] Step 343 - 2 , sets the pixel values ​​in the processed top surface prediction image that are greater than the first threshold to the first value, and sets the pixel values ​​that are less than the second threshold to the second value, to obtain a top surface mask image, which is used to represent the top surface recognition result.

[0129] In some embodiments, the first threshold is 0.5, the first numerical value is 1, and the second numerical value is 0. In one possible implementation, the pixel values ​​greater than 0.5 in the processed top surface prediction map are set to 1, and the pixel values ​​less than 0.5 are set to 0, to obtain a top surface mask map, which is used to represent the top surface recognition result. In one possible implementation, the pixel values ​​equal to the first threshold in the processed top surface prediction map are set to the second numerical value or the first numerical value, that is, the pixel values ​​equal to 0.5 in the processed top surface prediction map are set to 0 or 1.

[0130] In some embodiments, a sigmoid function is used to set pixel values ​​in the processed top surface prediction map that are greater than a first threshold value to a first value, and pixel values ​​that are less than a second threshold value to a second value, thereby obtaining a top surface mask map.

[0131] In a possible implementation, the top surface prediction map is a b*c pixel matrix, and the top surface mask map is a b*c mask matrix.

[0132] Step 343 - 3 , setting the pixel values ​​in the processed facade prediction image that are greater than the second threshold to the first value, and setting the pixel values ​​that are less than the second threshold to the second value, to obtain a facade mask image, which is used to represent the facade recognition result.

[0133] In some embodiments, the first threshold is 0.5, the first value is 1, and the second value is 0. In one possible implementation, pixel values ​​greater than 0.5 in the processed facade prediction image are set to 1, and pixel values ​​less than 0.5 are set to 0, to obtain a facade mask image, which is used to represent the facade recognition result. In another possible implementation, pixel values ​​in the processed facade prediction image that are equal to the first threshold are set to the second value or the first value, that is, pixel values ​​equal to 0.5 in the processed facade prediction image are set to 0 or 1.

[0134] In some embodiments, a sigmoid function is used to set pixel values ​​in the processed facade prediction image that are greater than a first threshold to a first value, and pixel values ​​that are less than a second threshold to a second value, to obtain a facade mask image.

[0135] In a possible implementation, the facade prediction map is a b*c pixel matrix, and the facade mask map is a b*c mask matrix.

[0136] In one possible implementation, for a satellite image of a building, for one of the buildings, there are top surface recognition results and facade recognition results. Therefore, when the top surface recognition results and the facade recognition results are subsequently spliced ​​together, there is no need to perform cluster analysis on the results again (that is, there is no need to determine the correspondence between the top surface recognition results and the facade recognition results).

[0137] The technical solution provided in the embodiment of the present application is that the output layer expands the single controller branch into two, and by generating two different Mask Head (result prediction network) parameters (dimension is x*2) for each building instance, it is achieved to output two different types of masks (mask images) for the same instance, namely the building top surface recognition result and the building side facade recognition result.

[0138] Furthermore, by first determining a top surface prediction map and a facade prediction map, the pixel value of each pixel in the top surface prediction map represents the likelihood that the pixel belongs to the building top surface, while the pixel value of each pixel in the facade prediction map represents the likelihood that the pixel belongs to the building facade. Therefore, by introducing the prediction map, the accuracy of the top surface recognition results and the facade recognition results can be further improved. At the same time, the determination of the top surface recognition results and the facade recognition results can be made more concrete and reasonable.

[0139] Of course, by normalizing the prediction image and converting it into a mask image, the representation of the top surface recognition results and the facade recognition results is made clearer, which is conducive to the subsequent output of the top surface recognition results and the facade recognition results.

[0140] Please refer to Figure 7, which shows a flow chart of a building identification method provided by another embodiment of the present application. The execution subject of each step of the method can be the model using device described above. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as a "computer device" for description, and the computer device can be used as a model using device. The method can include at least one of the following steps (310-380):

[0141] Step 310: Obtain satellite images of the building to be identified.

[0142] Step 320: The building recognition model includes a feature extraction network, a top surface prediction network, a facade prediction network, and a result prediction network. Feature information of the building satellite image is obtained through the feature extraction network.

[0143] Step 330 : Based on the feature information, the top surface information is generated by a top surface prediction network to obtain top surface parameter information of the building in the satellite image of the building.

[0144] Step 331 : Based on the feature information, facade information is generated through a top surface prediction network to obtain facade parameter information of the building in the building satellite image.

[0145] In step 340 , a top surface recognition is performed through a result prediction network based on the feature information and the top surface parameter information to obtain a top surface recognition result of the building in the building satellite image, and a facade recognition is performed through a result prediction network based on the feature information and the facade parameter information to obtain a facade recognition result of the building in the building satellite image.

[0146] In step 350, the building recognition model further includes a height offset prediction network. Based on the feature information, the height offset prediction network is used to generate offset information to obtain the height offset information of the building in the satellite image of the building. The height offset information is used to represent the offset value between the top and bottom surfaces of the building.

[0147] In some embodiments, the height offset prediction network is a prediction head network. In one possible implementation, the head network of the height offset prediction network also includes at least one convolutional layer. In one possible implementation, the height offset prediction network is used to determine the offset value between the top and bottom surfaces of a building in a satellite image of the building based on feature information. In one possible implementation, there is a certain offset between the top and bottom surfaces of the building on the satellite image of the building. In one possible implementation, the offset of the top and bottom surfaces of the building in the horizontal direction is considered to be x, and the offset of the top and bottom surfaces of the building in the vertical direction is considered to be y, then the height offset information can be (x, y), where x and y are positive numbers.

[0148] In some embodiments, the height offset prediction network shares at least one parameter of the facade prediction network.

[0149] In some embodiments, since building facades and height offset information are positively correlated, the higher the facade height, the larger the offset between the building's top and bottom surfaces. Conversely, the smaller the facade height, the smaller the offset between the building's top and bottom surfaces. Therefore, it can be considered that the building facade recognition results are strongly correlated with the building height offset information.

[0150] In some embodiments, given the strong correlation between building facade recognition results and building height offset information, the height offset prediction network shares at least one parameter with the facade prediction network. In one possible implementation, the height offset prediction network includes multiple convolutional layers, and the facade prediction network includes multiple convolutional layers. The height offset prediction network shares the parameters of the first convolutional layer of the facade prediction network.

[0151] The technical solution provided in the embodiment of the present application, by setting the height offset prediction network to share at least one parameter of the facade prediction network, can make it possible to associate the building facade recognition result and the building height offset information to a certain extent when the building facade recognition result and the building height offset information are strongly correlated, so that the subsequent outputs of the two layers are interrelated and mutually reinforcing, because the model better outputs the facade recognition result and the height offset information.

[0152] In addition, by introducing the height offset prediction network, the height offset information of each building can be predicted from satellite images of buildings, which is conducive to refining the structural recognition of buildings and improving the precision of three-dimensional reconstruction of buildings.

[0153] In some embodiments, after step 350, step 351 is further included (not shown in the figure).

[0154] Step 351 : Determine a bottom surface prediction result corresponding to the top surface recognition result based on the top surface recognition result and the height offset information.

[0155] In some embodiments, after determining the top surface recognition result, the bottom surface prediction result corresponding to the top surface recognition result is determined based on the height offset information. In one possible implementation, the bottom surface prediction result is obtained after the top surface recognition result is translated horizontally and vertically. Taking the offset information as (x, y) as an example, the bottom surface prediction result is obtained after the top surface recognition result is translated horizontally by x units and vertically by y units. In one possible implementation, the top surface recognition result and the bottom surface prediction result have the same shape and size.

[0156] In some embodiments, after step 351 , at least one of step 352 and step 353 (not shown in the figure) is further included.

[0157] In some embodiments, before step 352, the latitude and longitude coordinate information of the bottom surface of the building is determined based on the bottom surface prediction result.

[0158] In a specific implementation, the longitude and latitude coordinates of the building's bottom surface can be determined based on the longitude and latitude coordinates of a first location in the acquired satellite image of the building, the longitude and latitude spans corresponding to each pixel, and the building bottom surface prediction result. In one possible implementation, the first location is a center point, a vertex, or the like in the satellite image of the building.

[0159] Step 352 , matching the bottom surface prediction result with the base map building block vector data to determine a matching building corresponding to at least one building included in the building satellite image; wherein the base map building block vector data includes the latitude and longitude coordinate information of the bottom surface of the building.

[0160] In some embodiments, the bottom surface prediction result can determine the latitude and longitude coordinates of the bottom surface. Therefore, step 352 may involve matching the latitude and longitude coordinates of the base map measurement data with the base map building block vector data. The base map building block vector data includes the latitude and longitude coordinates of the bottom surface of the building. In one possible implementation, the bottom surface prediction result is matched with the base map building block vector data to determine a matching building corresponding to at least one building included in the building satellite image, where the matching building has corresponding latitude and longitude coordinate information.

[0161] Step 353 , adding the top surface recognition result, facade recognition result, and height offset information of the matching building to the base map building block vector data of the matching building to obtain updated base map building block vector data of the matching building.

[0162] In some embodiments, building information for a building is overlaid on the base map building block vector data. This building information includes, but is not limited to, roof recognition results, facade recognition results, and height offset information. In one possible implementation, the building information may also include at least one of subsequent shadow level information, building category information, and building roof shape information.

[0163] In step 360, the building recognition model further includes a shadow level prediction network. Based on the feature information, the shadow level prediction network generates level information to obtain shadow level information of the building in the satellite image. The shadow level information is used to indicate the degree of shadow of the building.

[0164] In some embodiments, the shadow level prediction network is a prediction head network. In one possible implementation, the head network of the shadow level prediction network further includes at least one convolutional layer. In one possible implementation, the shadow level prediction network is used to determine the shadow level of the side facade of a building in satellite imagery of the building based on feature information.

[0165] In some embodiments, due to factors such as the orientation of the building, the side facades of the building may have different shadow levels.

[0166] The technical solution provided by the embodiments of this application adds a shadow level classification branch to the output layer. Considering that building shadows are a significant factor affecting the color extraction of building side facades, the shadow level of building side facades is also classified and predicted into five categories: no shadow, weak shadow, medium shadow, strong shadow, and unclassified. Therefore, obtaining building shadow level information is beneficial for enriching the subsequent color rendering of building facades.

[0167] In some embodiments, after step 360, at least one of steps 361 to 363 (not shown in the figure) is also included.

[0168] Step 361: Extracting the color information of the building in the satellite image of the building according to the shadow level information.

[0169] In some embodiments, color information of the building in the satellite image of the building is extracted, and the top surface color information of the building is determined based on the extracted color information.

[0170] Step 362: When the shadow level information satisfies the first condition, determine the facade color information of the building based on the extracted color information.

[0171] In some embodiments, the first condition is that the shadow level in the shadow level information is less than a first level, in which case the facade color information of the building extracted from the satellite image is used as the facade color information of the building. In one possible implementation, the first level is the minimum shadow level, such as no shadow. If there is no shadow, the facade color information of the building extracted from the satellite image is used as the facade color information of the building.

[0172] Step 363 : When the shadow level information satisfies the second condition, the facade brightness information of the building is determined according to the shadow level information, and the facade color information of the building is determined according to the facade brightness information and the extracted color information.

[0173] In some embodiments, the second condition is that the shadow level in the shadow level information is greater than the first level, then the facade brightness information of the building is determined based on the shadow level information, and the facade color information of the building is determined based on the facade brightness information and the extracted color information. In one possible implementation, the first level is the minimum shadow level, such as no shadow. When the shadow level is greater than the no shadow level, such as the shadow level is a strong shadow, the facade brightness information is determined based on the shadow level. In one possible implementation, there is a certain correspondence between the facade brightness information and the shadow level information. In one possible implementation, the facade brightness information and the shadow level information are positively correlated. In one possible implementation, the facade color information of the building is determined by superimposing the facade brightness information on the basis of the extracted facade color information.

[0174] The technical solution provided by the embodiments of this application links shadow level and facade color, making the determined facade color more consistent with actual conditions. By determining brightness information based on shadow level and, in turn, facade color information, this determined facade color information can be used for subsequent re-rendering of the 3D target building, resulting in more realistic and reliable rendering results. This helps reduce the discrepancy between the rendered results and the actual building, and improves the rendering accuracy of the 3D building model.

[0175] In some embodiments, the colors of the building tops and facades can be extracted based on the image and shadow levels: when there is no shadow, the image red-green-blue (RGB) colors are used directly; the stronger the shadow level, the more brightness is added to the color.

[0176] Step 370: Capture a single image of the building from the satellite image of the building.

[0177] In some embodiments, the individual images of each building can be determined based on the instance frames of each building in the building satellite image. In some embodiments, the instance frames of each building in the building satellite image are output by a building recognition model.

[0178] In some embodiments, a single image of a building is manually captured from a satellite image of the building.

[0179] Step 380: Process the monomer image through the top surface shape classification model to determine the top surface shape of the building; wherein the top surface shape can be any one of flat, split-level, curved, irregular, and sloping top.

[0180] In some embodiments, by training a top surface shape classification model, the top surface shape of a building is predicted, and the prediction results are categories such as flat roof, split-level, curved surface, special shape, and sloping roof. In some embodiments, as shown in Figure 8, sub-image a is a satellite image of a building, sub-image b is a satellite image of a building with building information annotated after the building recognition model is used, and sub-image c is the prediction result of the top surface instance frame annotated on the satellite image of the building through the building recognition model. Based on the instance frame prediction result of each building, the instance image of each building in the satellite image of the building is intercepted. Through the top surface shape classification model, the prediction result of the top surface shape of each building is determined based on the instance image of each building that has been intercepted. Sub-image d is a satellite image of a building with the prediction result of the top surface shape of each building annotated. In one possible implementation, the input of the top surface shape classification model is a satellite image of a single building, and the output is the prediction result of the top surface shape of the single building.

[0181] The technical solution provided in the embodiment of the present application can add attributes such as top surface color, facade color and top surface shape to the base map building block vector data of the building by matching the bottom surface of the building with the base map building block vector data, providing a basis for rendering, thereby obtaining more realistic building data.

[0182] In some embodiments, after step 380, step 390 (not shown in the figure) is also included.

[0183] Step 390 : re-rendering the 3D building model of the matching building based on the updated base map building block vector data of the matching building.

[0184] In some embodiments, as shown in FIG9 , a building satellite image 900 uses a building recognition model 920 to obtain top surface recognition results, facade recognition results, height offset information, shadow level information, and building category information for each building in the building satellite image. A bottom surface prediction result is determined based on the height offset information and the top surface recognition results. The bottom surface prediction result is matched with the base map building block vector data to determine the base map building block vector data corresponding to the building in the base map building block vector data. In one possible implementation, the instance box prediction network in the building recognition model predicts the coordinate position of each building's instance box. Based on the coordinates of each building's instance box, an instance image (i.e., a single image) of each building is captured from the building satellite image. After the instance image is captured, a top surface shape classification model 910 outputs a prediction result for the top surface shape of each building corresponding to the instance image. Building information is overlaid on the base map building block vector data corresponding to the building to re-render a three-dimensional building model of the matching building. The building information includes the aforementioned roof recognition results, facade recognition results, height offset information, shadow level information, building category information, and predicted roof shape results for each building. In one possible implementation, 1000 in FIG10 is a schematic diagram of multiple re-rendered 3D building models. The multiple 3D building models 1000 are ultimately rendered by overlaying the roof recognition results, facade recognition results, height offset information, shadow level information, building category information, and predicted roof shape results for each building on top of the building block vector data.

[0185] The technical solution provided in this application embodiment achieves a detailed multi-dimensional deconstruction of buildings by identifying multiple dimensions in satellite imagery, including top surfaces, side elevations, height offsets, building types, and side elevation shadow intensity. This is then used to extract building colors and top surface shapes based on shadow intensity. By matching this with basemap data, the basemap data attributes are enriched, resulting in more intuitive and realistic rendering.

[0186] Please refer to Figure 11, which shows a flow chart of a training method for a building recognition model provided by an embodiment of the present application. The execution subject of each step of the method can be the model training device described above. In the following method embodiments, for ease of description, only the execution subject of each step is introduced as a "computer device", and the computer device can serve as a model training device. The method can include at least one of the following steps (1100-1140):

[0187] Step 1100: The building recognition model includes: a feature extraction network, a top surface prediction network, a facade prediction network, and a result prediction network. A training sample of the building recognition model is obtained. The satellite image of the sample building is used as sample data in the training sample, and the building annotation information corresponding to the satellite image of the sample building is used as label data corresponding to the sample data. The building annotation information includes the top surface annotation information and the facade annotation information of the sample building in the satellite image of the sample building.

[0188] In some embodiments, the building annotation information may also include annotation information of the center point of the sample building, annotation information of the instance box, and category information of the sample building. In one possible implementation, the building recognition model may also include a center point prediction network, an instance box prediction network, and a building category prediction network.

[0189] According to the difference between the building labeling information and the output result, the building recognition model is trained to obtain a trained building recognition model.

[0190] Step 1110 , obtaining sample feature information of the satellite image of the sample building through a feature extraction network.

[0191] Step 1121 , generating top surface information through a top surface prediction network based on the sample feature information, and obtaining sample top surface parameter information of the sample building in the satellite image of the sample building.

[0192] Step 1122 : Generate facade information through a facade prediction network based on the sample feature information to obtain sample facade parameter information of the sample building in the satellite image of the sample building.

[0193] Step 1130, based on the sample feature information and the sample top surface parameter information, perform top surface prediction through the result prediction network to obtain the sample top surface recognition result of the sample building in the satellite image of the sample building; and based on the sample feature information and the sample facade parameter information, perform facade prediction through the result prediction network to obtain the sample facade recognition result of the sample building in the satellite image of the sample building.

[0194] Step 1140 : Training the building recognition model based on the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information, to obtain a trained building recognition model.

[0195] In some embodiments, after step 1140, step 1150 is further included (not shown in the figure).

[0196] In step 1150, the building recognition model also includes a height offset prediction network, and the building annotation information also includes height offset annotation information. Based on the sample feature information, the offset information is generated through the height offset prediction network to obtain the sample height offset information of the sample building in the satellite image of the sample building. The sample height offset information is used to characterize the offset value between the top and bottom surfaces of the sample building.

[0197] In some embodiments, step 1150 can be implemented by training the building recognition model based on the difference between the sample top surface recognition results and the top surface annotation information, the difference between the sample facade recognition results and the facade annotation information, and the difference between the height offset information and the height offset annotation information. The difference between the sample height offset information and the height offset annotation information is primarily used to train the height offset prediction network of the building recognition model.

[0198] In some embodiments, after step 1140, step 1160 (not shown in the figure) is also included.

[0199] In step 1160, the building recognition model also includes a shadow level prediction network, and the building annotation information also includes shadow level annotation information. Based on the sample feature information, the level information is generated through the shadow level prediction network to obtain the sample shadow level information of the sample building in the satellite image of the sample building. The sample shadow level information is used to indicate the degree of shadow of the sample building.

[0200] In some embodiments, step 1150 may be implemented by training the building recognition model based on the difference between the sample top surface recognition results and the top surface annotation information, the difference between the sample facade recognition results and the facade annotation information, and the difference between the sample shadow level information and the shadow level annotation information. The difference between the sample shadow level information and the shadow level annotation information is primarily used to train the shadow level prediction network of the building recognition model.

[0201] For the specific model processing flow and the introduction of each network, please refer to the above-mentioned embodiment of the model usage side, which will not be repeated here.

[0202] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0203] Please refer to FIG12 , which shows a block diagram of a building recognition device provided by an embodiment of the present application. The device 1200 may include: an image acquisition module 1210 , a feature acquisition module 1220 , a parameter acquisition module 1230 , and a result acquisition module 1240 .

[0204] The image acquisition module 1210 is used to acquire satellite images of the building to be identified;

[0205] The feature acquisition module 1220 is used to extract features from the building satellite image to obtain feature information of the building satellite image.

[0206] The parameter acquisition module 1230 is configured to generate top surface information according to the feature information, and obtain top surface parameter information of the building in the satellite image of the building.

[0207] The parameter acquisition module 1230 is further configured to generate facade information according to the feature information, and obtain facade parameter information of the building in the satellite image of the building.

[0208] The result acquisition module 1240 is used to perform top surface recognition based on the feature information and the top surface parameter information to obtain the top surface recognition result of the building in the satellite image of the building, and to perform facade recognition based on the feature information and the facade parameter information to obtain the facade recognition result of the building in the satellite image of the building.

[0209] In some embodiments, as shown in FIG13 , the result acquisition module 1240 includes a prediction graph determination module 1241 and a result acquisition unit 1242 .

[0210] The prediction map determination unit 1241 is used to perform top surface identification based on the feature information and the top surface parameter information to obtain a top surface prediction map of the building in the satellite image of the building, wherein the pixel value of each pixel in the top surface prediction map is used to determine the possibility that the pixel belongs to the top surface of the building.

[0211] The prediction map determination unit 1241 is further configured to perform facade prediction based on the feature information and the facade parameter information to obtain a facade prediction map of the building in the satellite image of the building, wherein the pixel value of each pixel in the facade prediction map is used to determine the possibility that the pixel belongs to the building facade.

[0212] The result acquisition unit 1242 is configured to obtain a top surface recognition result of the building in the satellite image of the building according to the top surface prediction map; and obtain a facade recognition result of the building in the satellite image of the building according to the facade prediction map.

[0213] In some embodiments, the result acquisition unit 1242 is used to normalize the pixel values ​​of each pixel in the top surface prediction map to obtain a processed top surface prediction map; and to normalize the pixel values ​​of each pixel in the facade prediction map to obtain a processed facade prediction map.

[0214] The result acquisition unit 1242 is further used to set the pixel values ​​in the processed top surface prediction image that are greater than the first threshold to the first value, and set the pixel values ​​that are less than the first threshold to the second value, to obtain the top surface mask image, and the top surface mask image is used to represent the top surface recognition result.

[0215] The result acquisition unit 1242 is further configured to set pixel values ​​in the processed facade prediction image that are greater than a second threshold value to a first value, and pixel values ​​that are less than the second threshold value to a second value, to obtain the facade mask image, which is used to represent the facade recognition result.

[0216] In some embodiments, the feature acquisition module 1220 is configured to extract features from the building satellite image through the feature extraction network to obtain feature information of the building satellite image;

[0217] The parameter acquisition module 1230 is configured to generate top surface information through the top surface prediction network according to the feature information, and obtain top surface parameter information of the building in the satellite image of the building;

[0218] The parameter acquisition module 1230 is further configured to generate facade information based on the feature information through the facade prediction network to obtain facade parameter information of the building in the satellite image of the building;

[0219] The result acquisition module 1240 is used to perform top surface recognition through the result prediction network based on the feature information and the top surface parameter information to obtain the top surface recognition result of the building in the satellite image of the building, and to perform facade recognition through the result prediction network based on the feature information and the facade parameter information to obtain the facade recognition result of the building in the satellite image of the building.

[0220] In some embodiments, the building recognition model further includes a height offset prediction network. As shown in FIG13 , the apparatus further includes a height offset determination module 1250 .

[0221] The height offset determination module 1250 is used to generate offset information based on the feature information through the height offset prediction network to obtain the height offset information of the building in the satellite image of the building. The height offset information is used to represent the offset value between the top and bottom surfaces of the building.

[0222] In some embodiments, the height offset prediction network shares at least one parameter of the facade prediction network.

[0223] In some embodiments, the result acquisition module 1240 is further configured to determine a bottom surface prediction result corresponding to the top surface recognition result based on the top surface recognition result and the height offset information.

[0224] In some embodiments, the building recognition model further includes a shadow level prediction network. As shown in FIG13 , the apparatus further includes a shadow level determination module 1260 .

[0225] The shadow level determination module 1260 is used to generate level information through the shadow level prediction network based on the feature information to obtain shadow level information of the building in the satellite image of the building, and the shadow level information is used to indicate the degree of shadow of the building.

[0226] In some embodiments, the shadow level determination module 1260 is configured to extract color information of the building in the satellite image of the building based on the shadow level information.

[0227] The shadow level determination module 1260 is further configured to determine the facade color information of the building according to the extracted color information when the shadow level information satisfies a first condition.

[0228] The shadow level determination module 1260 is also used to determine the facade brightness information of the building based on the shadow level information when the shadow level information meets the second condition, and determine the facade color information of the building based on the facade brightness information and the extracted color information.

[0229] In some embodiments, as shown in FIG. 13 , the apparatus further includes an image interception module 1270 and a top surface shape determination module 1280 .

[0230] The image capture module 1270 is used to capture a single image of a building from the satellite image of the building.

[0231] The top surface shape determination module 1280 is used to process the monomer image through a top surface shape classification model to determine the top surface shape of the building; wherein the top surface shape is any one of a flat floor, a split floor, a curved surface, an irregular shape, and a sloping roof.

[0232] In some embodiments, as shown in FIG. 13 , the apparatus further includes a data matching module 1290 .

[0233] The data matching module 1290 is used to match the bottom surface prediction result with the base map building block vector data to determine the matching building corresponding to the building contained in the building satellite image; wherein the base map building block vector data contains the latitude and longitude coordinate information of the bottom surface of the building.

[0234] The data matching module 1290 is also used to add the top surface recognition result, the facade recognition result, and the height offset information of the matching building to the base map building block vector data of the matching building to obtain the updated base map building block vector data of the matching building.

[0235] In some embodiments, as shown in FIG13 , the apparatus further includes a model rendering module 1292 .

[0236] The model rendering module 1292 is used to render the three-dimensional building model of the matching building according to the updated base map building block vector data of the matching building.

[0237] Please refer to Figure 14, which shows a block diagram of a training device for a building recognition model provided in one embodiment of the present application. The building recognition model includes a feature extraction network, a roof prediction network, a facade prediction network, and a result prediction network. The device 1400 may include a sample acquisition module 1410, a feature acquisition module 1420, a parameter acquisition module 1430, a result acquisition module 1440, and a model training module 1450.

[0238] The sample acquisition module 1410 is used to obtain training samples for the building recognition model, wherein the training samples use satellite images of sample buildings as sample data, and building annotation information corresponding to the satellite images of the sample buildings as label data corresponding to the sample data, and the building annotation information includes the top surface annotation information and facade annotation information of the sample building in the satellite images of the sample buildings.

[0239] The feature acquisition module 1420 is used to obtain sample feature information of the sample building satellite image through the feature extraction network.

[0240] The parameter acquisition module 1430 is used to generate top surface information through the top surface prediction network according to the sample feature information, and obtain sample top surface parameter information of the sample building in the satellite image of the sample building.

[0241] The parameter acquisition module 1430 is further configured to generate facade information through the facade prediction network according to the sample feature information, and obtain sample facade parameter information of the sample building in the satellite image of the sample building.

[0242] The result acquisition module 1440 is used to perform top surface prediction through the result prediction network based on the sample feature information and the sample top surface parameter information, and obtain the sample top surface recognition result of the sample building in the satellite image of the sample building; and perform facade prediction through the result prediction network based on the sample feature information and the sample facade parameter information, and obtain the sample facade recognition result of the sample building in the satellite image of the sample building.

[0243] The model training module 1450 is used to train the building recognition model according to the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information, to obtain a trained building recognition model.

[0244] In some embodiments, the building recognition model further includes a height offset prediction network, and the building annotation information further includes height offset annotation information.

[0245] In some embodiments, as shown in FIG. 15 , the apparatus further includes a height offset determination module 1460 .

[0246] The height offset determination module 1460 is used to generate offset information based on the feature information through the height offset prediction network to obtain sample height offset information of the sample building in the satellite image of the sample building. The sample height offset information is used to represent the offset value between the top and bottom surfaces of the sample building.

[0247] In some embodiments, the model training module 1450 is used to train the building recognition model based on the difference between the sample top surface recognition result and the top surface annotation information, the difference between the sample facade recognition result and the facade annotation information, and the difference between the height offset information and the height offset annotation information.

[0248] In some embodiments, the building recognition model further includes a shadow level prediction network, and the building annotation information further includes shadow level annotation information.

[0249] In some embodiments, as shown in FIG. 15 , the apparatus further includes a shadow level determination module 1470 .

[0250] The shadow level determination module 1470 is used to generate level information through the shadow level prediction network based on the feature information to obtain sample shadow level information of the sample building in the satellite image of the sample building. The sample shadow level information is used to indicate the degree of shadow of the sample building.

[0251] In some embodiments, the model training module 1450 is used to train the building recognition model based on the difference between the sample top surface recognition result and the top surface annotation information, the difference between the sample facade recognition result and the facade annotation information, and the difference between the shadow level information and the shadow level annotation information.

[0252] It should be noted that the apparatus provided in the above embodiments, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0253] FIG16 shows a structural block diagram of a computer device provided by another exemplary embodiment of the present application.

[0254] Typically, the computer device 1600 includes a processor 1601 and a memory 1602 .

[0255] The processor 1601 may include one or more processing cores, such as a 4-core processor, a 16-core processor, and the like. The processor 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1601 may also include an AI processor for processing computing operations related to machine learning.

[0256] Memory 1602 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1602 stores a computer program, which is loaded and executed by processor 1601 to implement the methods provided in the above-mentioned method embodiments.

[0257] Those skilled in the art will appreciate that the structure shown in FIG. 16 does not limit the computer device 1600 , and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.

[0258] In an exemplary embodiment, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium. When the computer program is executed by a processor, the computer program implements the above-mentioned training method for the building recognition model.

[0259] In one possible implementation, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0260] In an exemplary embodiment, a computer program product is further provided, the computer program product including a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the above method.

[0261] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.

[0262] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A building identification method, the method being executed by a computer device, the method include: Obtain satellite images of buildings to be identified; Extracting features from the satellite image of the building to obtain feature information of the satellite image of the building; Generating top surface information according to the characteristic information to obtain top surface parameter information of the building in the satellite image of the building; and generating facade information according to the characteristic information to obtain facade parameter information of the building in the satellite image of the building; Based on the feature information and the top surface parameter information, top surface recognition is performed to obtain a top surface recognition result of the building in the satellite image of the building; and based on the feature information and the facade parameter information, facade recognition is performed to obtain a facade recognition result of the building in the satellite image of the building.

2. The method according to claim 1, wherein the top surface recognition is performed based on the feature information and the top surface parameter information to obtain a top surface recognition result of the building in the satellite image of the building, include: Performing top surface recognition according to the feature information and the top surface parameter information to obtain a top surface prediction map of the building in the satellite image of the building, wherein the pixel value of each pixel in the top surface prediction map is used to determine the possibility that the pixel belongs to the top surface of the building; Obtaining a top surface recognition result of the building in the satellite image of the building according to the top surface prediction map; The performing facade recognition based on the feature information and the facade parameter information to obtain the facade recognition result of the building in the satellite image of the building includes: Performing facade prediction according to the feature information and the facade parameter information to obtain a facade prediction map of the building in the satellite image of the building, wherein the pixel value of each pixel in the facade prediction map is used to determine the possibility that the pixel belongs to the facade of the building; According to the facade prediction map, a facade recognition result of the building in the satellite image of the building is obtained.

3. The method according to claim 2, wherein the top surface recognition result of the building in the satellite image of the building is obtained based on the top surface prediction map. include: Normalizing the pixel values ​​of each pixel in the top surface prediction map to obtain a processed top surface prediction map; The pixel values ​​in the processed top surface prediction image that are greater than a first threshold are set to a first value, and the pixel values ​​that are less than the first threshold are set to a second value, to obtain the top surface mask image, wherein the top surface mask image is used to represent the top surface recognition result; The step of obtaining the facade recognition result of the building in the satellite image of the building according to the facade prediction map includes: Normalizing the pixel values ​​of each pixel in the elevation prediction map to obtain a processed elevation prediction map; The pixel values ​​in the processed facade prediction image that are greater than a second threshold are set as the first value, and the pixel values ​​that are less than the second threshold are set as the second value, to obtain the facade mask image, and the facade mask image is used to represent the facade recognition result.

4. The method according to claim 1 is implemented based on a building recognition model, wherein the building recognition model include: The feature extraction network, the top surface prediction network, the facade prediction network and the result prediction network are used to extract features from the satellite image of the building to obtain feature information of the satellite image of the building, including: Extracting features from the satellite image of the building through the feature extraction network to obtain feature information of the satellite image of the building; The step of generating top surface information according to the feature information to obtain top surface parameter information of the building in the satellite image of the building includes: According to the feature information, top surface information is generated by the top surface prediction network to obtain top surface parameter information of the building in the satellite image of the building; The step of generating facade information according to the feature information to obtain facade parameter information of the building in the satellite image of the building includes: According to the feature information, the facade information is generated by the facade prediction network to obtain the facade parameter information of the building in the satellite image of the building; the top surface recognition is performed based on the feature information and the top surface parameter information to obtain the top surface recognition result of the building in the satellite image of the building, and the facade recognition is performed based on the feature information and the facade parameter information to obtain the facade recognition result of the building in the satellite image of the building, including: Based on the feature information and the top surface parameter information, top surface recognition is performed through the result prediction network to obtain the top surface recognition result of the building in the satellite image of the building; and based on the feature information and the facade parameter information, facade recognition is performed through the result prediction network to obtain the facade recognition result of the building in the satellite image of the building.

5. The method according to claim 4, wherein the building recognition model further comprises a height offset prediction network, and the method further comprises include: Based on the feature information, offset information is generated through the height offset prediction network to obtain the height offset information of the building in the satellite image of the building, and the height offset information is used to characterize the offset value between the top surface and the bottom surface of the building. The method of claim 5 , wherein the height offset prediction network shares at least one parameter of the elevation prediction network.

7. The method according to claim 5, further comprising: include: A bottom surface prediction result corresponding to the top surface recognition result is determined according to the top surface recognition result and the height offset information.

8. The method according to claim 4, wherein the building recognition model further comprises a shadow level prediction network, and the method further comprises include: According to the feature information, level information is generated through the shadow level prediction network to obtain shadow level information of the building in the satellite image of the building, and the shadow level information is used to indicate the degree of the shadow of the building.

9. The method according to claim 8, further comprising: include: Extracting color information of the building in the satellite image of the building according to the shadow level information; In the case where the shadow level information satisfies the first condition, determining the facade color information of the building according to the extracted color information; When the shadow level information satisfies the second condition, the facade brightness information of the building is determined according to the shadow level information, and the facade color information of the building is determined according to the facade brightness information and the extracted color information.

10. The method according to claim 1, further comprising: include: Extracting a single image of the building from the satellite image of the building; The monomer image is processed by a top surface shape classification model to determine the top surface shape of the building; wherein the top surface shape is any one of a flat floor, a split-story, a curved surface, a special shape, and a sloping roof.

11. The method according to claim 7, further comprising: include: Matching the bottom surface prediction result with the base map building block vector data to determine the matching building corresponding to the building contained in the building satellite image; wherein the base map building block vector data contains the latitude and longitude coordinate information of the bottom surface of the building; The top surface recognition result, the facade recognition result, and the height offset information of the matching building are added to the base map building vector data of the matching building to obtain updated base map building vector data of the matching building.

12. The method according to claim 11, further comprising: include: The three-dimensional building model of the matching building is rendered according to the updated base map building vector data of the matching building.

13. A method for training a building recognition model, the method being executed by a computer device, the building recognition model include: A feature extraction network, a top surface prediction network, a facade prediction network and a result prediction network, wherein the method comprises: Acquire a training sample of the building recognition model, wherein the training sample uses a satellite image of a sample building as sample data, and uses building annotation information corresponding to the satellite image of the sample building as label data corresponding to the sample data, wherein the building annotation information includes top surface annotation information and facade annotation information of the sample building in the satellite image of the sample building; Acquire sample feature information of the satellite image of the sample building through the feature extraction network; According to the sample feature information, top surface information is generated by the top surface prediction network to obtain sample top surface parameter information of the sample building in the satellite image of the sample building; According to the sample feature information, facade information is generated through the facade prediction network to obtain sample facade parameter information of the sample building in the satellite image of the sample building; According to the sample feature information and the sample top surface parameter information, top surface prediction is performed through the result prediction network to obtain a sample top surface recognition result of the sample building in the satellite image of the sample building; According to the sample feature information and the sample facade parameter information, facade prediction is performed through the result prediction network to obtain a sample facade recognition result of the sample building in the satellite image of the sample building; The building recognition model is trained according to the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information to obtain a trained building recognition model.

14. The method according to claim 13, wherein the building recognition model further comprises a height offset prediction network, the building annotation information further comprises height offset annotation information, and the method further comprises include: According to the characteristic information, offset information is generated by the height offset prediction network to obtain sample height offset information of the sample building in the satellite image of the sample building, wherein the sample height offset information is used to characterize the offset value between the top surface and the bottom surface of the sample building; The method of training the building recognition model according to the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information, to obtain a trained building recognition model includes: The building recognition model is trained according to the difference between the sample top surface recognition result and the top surface annotation information, the difference between the sample facade recognition result and the facade annotation information, and the difference between the height offset information and the height offset annotation information.

15. The method according to claim 13, wherein the building recognition model further comprises a shadow level prediction network, the building annotation information further comprises shadow level annotation information, and the method further comprises include: According to the feature information, level information is generated by the shadow level prediction network to obtain sample shadow level information of the sample building in the satellite image of the sample building, wherein the sample shadow level information is used to indicate the degree of shadow of the sample building; The method of training the building recognition model according to the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information, to obtain a trained building recognition model includes: The building recognition model is trained according to the difference between the sample top surface recognition result and the top surface annotation information, the difference between the sample facade recognition result and the facade annotation information, and the difference between the shadow level information and the shadow level annotation information.

16. A building recognition device, the device being deployed on a computer device, the device include: An image acquisition module is used to acquire satellite images of buildings to be identified; A feature acquisition module is used to extract features from the building satellite image to obtain feature information of the building satellite image; A parameter acquisition module, used to generate top surface information according to the feature information, and obtain top surface parameter information of the building in the satellite image of the building; The parameter acquisition module is further used to generate facade information according to the feature information to obtain the facade parameter information of the building in the satellite image of the building; The result acquisition module is used to perform top surface recognition based on the feature information and the top surface parameter information to obtain the top surface recognition result of the building in the satellite image of the building, and to perform facade recognition based on the feature information and the facade parameter information to obtain the facade recognition result of the building in the satellite image of the building.

17. A training device for a building recognition model, the device being deployed on a computer device, the building recognition model include: A feature extraction network, a top surface prediction network, a facade prediction network and a result prediction network, wherein the device comprises: A sample acquisition module is used to acquire training samples of the building recognition model, wherein the training samples use satellite images of sample buildings as sample data, and building annotation information corresponding to the satellite images of the sample buildings as label data corresponding to the sample data, wherein the building annotation information includes top surface annotation information and facade annotation information of the sample buildings in the satellite images of the sample buildings; A feature acquisition module, used for acquiring sample feature information of the sample building satellite image through the feature extraction network; A parameter acquisition module, used to generate top surface information through the top surface prediction network according to the sample feature information, and obtain sample top surface parameter information of the sample building in the satellite image of the sample building; The parameter acquisition module is further used to generate facade information through the facade prediction network according to the sample feature information, and obtain sample facade parameter information of the sample building in the satellite image of the sample building; A result acquisition module is used to perform top surface prediction through the result prediction network according to the sample feature information and the sample top surface parameter information, and obtain a sample top surface recognition result of the sample building in the satellite image of the sample building; perform facade prediction through the result prediction network according to the sample feature information and the sample facade parameter information, and obtain a sample facade recognition result of the sample building in the satellite image of the sample building; The model training module is used to train the building recognition model according to the difference between the sample top surface recognition result and the top surface annotation information, and the difference between the sample facade recognition result and the facade annotation information, so as to obtain a trained building recognition model.

18. A computer device, comprising a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method as claimed in any one of claims 1 to 12 or claims 13 to 15.

19. A computer-readable storage medium storing a computer program, wherein the computer program is loaded and executed by a processor to implement the method as claimed in any one of claims 1 to 12 or claims 13 to 15.

20. A computer program product, comprising a computer program, wherein the computer program is stored in a computer-readable storage medium, and a processor reads and executes the computer program from the computer-readable storage medium to implement the method according to any one of claims 1 to 12, or claims 13 to 15 above.