Facility three-dimensional reconstruction method, device, equipment, medium and product
By obtaining the semantic information and contours of scene images and using 3D model library matching, the problem of complex camera calibration and difficult 3D instance segmentation is solved, and a more accurate and simplified 3D reconstruction process of facilities is achieved, which is suitable for indoor communication facilities.
Patent Information
- Application Number
- CN202410656121.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-30
AI Technical Summary
In the current 3D reconstruction of facilities, the camera calibration process is complex and inaccurate, which affects the accuracy of reconstruction. The 3D instance segmentation technology is highly complex and ineffective, making it difficult to effectively apply to the 3D reconstruction of indoor communication facilities.
By acquiring scene images, extracting target semantic information and contours, using preset 3D model library matching to obtain the target 3D model, avoiding camera calibration, simplifying the 3D reconstruction process, and completing instance segmentation without relying on 3D model data.
It improves the accuracy of 3D reconstruction of facilities, simplifies the complexity, reduces the amount of calculation, enhances the accuracy of instance segmentation, and is suitable for 3D reconstruction of indoor communication facilities.
Smart Images

Figure CN118570379A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of artificial intelligence technology, and specifically relates to a method, device, equipment, medium and product for three-dimensional reconstruction of facilities. Background Art
[0002] Generally, three-dimensional (3D) modeling of various types of communication infrastructure can realize the information-based and visual management of communication facilities, and is widely used in engineering implementation, equipment operation and maintenance, asset management, energy conservation and carbon reduction, etc.
[0003] Generally, binocular vision can be used to generate binocular disparity maps, perform 3D reconstruction of indoor communication facilities, and identify 3D instances based on 3D modeling. However, such a reconstruction method requires pre-binocular calibration of the cameras used, which is computationally intensive and complex, and difficult to guarantee calibration accuracy, which will affect the accuracy of disparity calculations and, in turn, the computational accuracy of model reconstruction. In addition, instance segmentation techniques that rely on 3D models are highly complex and have poor results. Therefore, the 3D reconstruction of facilities is highly complex. Summary of the invention
[0004] The present application proposes a method, device, equipment, medium and product for three-dimensional reconstruction of facilities, which can simplify the complexity of three-dimensional reconstruction of facilities.
[0005] The first embodiment of the present application provides a method for three-dimensional reconstruction of a facility, including:
[0006] Acquire a scene image in a to-be-reconstructed area, where the to-be-reconstructed area is an indoor space;
[0007] Based on the scene image, obtaining target semantic information and target contour of the facility to be reconstructed included in the scene image, wherein the target contour is used to describe the facility characteristics of the facility to be reconstructed on a preset surface;
[0008] Searching, from a preset three-dimensional model library, a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour;
[0009] The target three-dimensional model is used as the three-dimensional model of the facility to be reconstructed.
[0010] Optionally, before using the target three-dimensional model as the three-dimensional model of the facility to be reconstructed, the method further includes:
[0011] Based on the scene image, obtaining a plurality of point clouds of the facility to be reconstructed;
[0012] Calling a preset model matching algorithm, and based on the three-dimensional data of the multiple point clouds and the three-dimensional data of the target three-dimensional model, performing consistency matching on the three-dimensional model formed by the multiple point clouds and the target three-dimensional model;
[0013] The result of determining the consistency match indicates that the three-dimensional model and the target three-dimensional model are models for the same facility.
[0014] Optionally, acquiring a scene image within the area to be reconstructed includes:
[0015] Acquire a first type of scene image acquired by an image acquisition device in a first posture, a second type of scene image acquired in a second posture, and a third type of scene image acquired in a third posture, wherein the image acquisition device includes a camera;
[0016] Using the first type of scene images, the second type of scene images, and the third type of scene images as the scene images in the area to be reconstructed;
[0017] In the first posture, the image acquisition device is flush with the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed;
[0018] In the second posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed;
[0019] In the third posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device forms a preset angle with the ground on which the facility to be reconstructed is placed, and the preset angle is an acute angle.
[0020] Optionally, there are multiple facilities to be reconstructed; after using the target three-dimensional model as the three-dimensional model of the facility to be reconstructed, the method further includes:
[0021] Based on the scene image, analyzing the relative position relationship between the plurality of facilities to be reconstructed;
[0022] Based on the relative position relationship, the three-dimensional models of the plurality of facilities to be reconstructed are spliced to obtain a regional three-dimensional model of the area to be reconstructed.
[0023] Optionally, obtaining, based on the scene image, a target outline of a facility to be reconstructed included in the scene image comprises:
[0024] Performing instance segmentation on the scene image to obtain a segmentation contour of the facility to be reconstructed;
[0025] Verifying the segmented contour using a contour database corresponding to the usage category information of the area to be reconstructed;
[0026] In a case where the verification result indicates that the contour database includes the segmented contour, using the segmented contour as the target contour;
[0027] When the inspection result indicates that the segmented contour is not included in the contour database, the standard contour in the contour database with the highest matching degree with the segmented contour is used as the target contour.
[0028] Optionally, obtaining, based on the scene image, a target outline of a facility to be reconstructed included in the scene image comprises:
[0029] Dividing the scene image into a plurality of images to be detected;
[0030] Using a pre-trained image recognition model, reasoning on the multiple images to be detected to obtain instance masks of the facilities to be reconstructed;
[0031] The instance mask is used as the object outline.
[0032] In a second aspect, an embodiment of the present application further provides a device for three-dimensional reconstruction of a facility, comprising:
[0033] A first acquisition module, used to acquire a scene image within the area to be reconstructed;
[0034] A second acquisition module is used to obtain target semantic information and target contour of the facility to be reconstructed included in the scene image based on the scene image, wherein the target contour is used to describe the facility characteristics of the facility to be reconstructed on a preset surface;
[0035] A search module, used to search a preset three-dimensional model library for a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour;
[0036] A determination module is used to use the target three-dimensional model as the three-dimensional model of the facility to be reconstructed.
[0037] An embodiment of the second aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect above.
[0038] An embodiment of the third aspect of the present application provides a computer-readable storage medium on which a computer program is stored, and the program is executed by a processor to implement the method described in the first aspect above.
[0039] An embodiment of the fourth aspect of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the method described in the first aspect above.
[0040] The technical solution provided in the embodiments of the present application has at least the following technical effects or advantages:
[0041] In the present application, a scene image in the area to be reconstructed is obtained; based on the scene image, the target semantic information and target contour of the facility to be reconstructed included in the scene image are obtained, and the target contour is used to describe the facility characteristics of the facility to be reconstructed on the preset surface; from the preset three-dimensional model library, a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour is searched; and the target three-dimensional model is used as the three-dimensional model of the facility to be reconstructed. By matching the three-dimensional model corresponding to the facility to be reconstructed from the preset model library, there is no need to perform camera calibration, which avoids the influence of the calibration error on the reconstruction accuracy during the camera calibration process, reduces complex calculations, and can improve the accuracy of the three-dimensional reconstruction of the facility, and the three-dimensional model of the facility to be reconstructed obtained in this way carries its corresponding semantic information. In addition, before obtaining the target three-dimensional model, the semantic information and contour corresponding to the facility are determined by the two-dimensional scene image, so that even if the three-dimensional model data is not used, the instance segmentation of the facility to be reconstructed in the area to be reconstructed can be completed, avoiding the problem of inaccurate 3D instance segmentation. Therefore, the complexity of the three-dimensional reconstruction of the facility is simplified.
[0042] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limitations of the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings.
[0044] In the attached picture:
[0045] Figure 1 A schematic flow chart of a method for three-dimensional reconstruction of a facility provided in one embodiment of the present application;
[0046] Figure 2 This is a schematic diagram of an example segmentation of a communication facility room provided in one embodiment of the present application;
[0047] Figure 3A flowchart of obtaining a scene image of a facility to be reconstructed in an area to be reconstructed provided by an embodiment of the present application;
[0048] Figure 4 A schematic diagram of obtaining a scene image of a facility to be reconstructed in an area to be reconstructed provided by an embodiment of the present application;
[0049] Figure 5 Another schematic flow chart of a method for three-dimensional reconstruction of a facility provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of the structure of a device for three-dimensional reconstruction of a facility provided in one embodiment of the present application;
[0051] Figure 7 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;
[0052] Figure 8 A schematic diagram of a storage medium provided in accordance with an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the application scenario of the solution of the present application is first described below.
[0054] Three-dimensional (3D) modeling of various communication infrastructures (such as main equipment racks, dynamic environment systems, fire-fighting equipment, wiring racks, cables, etc.) can display the connection and placement of communication facilities in the computer room in a more intuitive and realistic way, and can realize the information-based and visual management of communication facilities. It is widely used in engineering implementation, equipment operation and maintenance, asset management, energy conservation and carbon reduction, etc.
[0055] At present, binocular vision can be used for three-dimensional reconstruction. This method usually relies on high-precision binocular (or multi-eye) cameras. Two plane images with parallax are obtained through the left and right cameras. After processing, the parallax map is generated to restore the stereoscopic image of the shooting scene, thereby realizing three-dimensional reconstruction. That is, the process of converting and restoring the two-dimensional image to a three-dimensional scene is related to the internal and external parameters of the camera. In addition, after completing the three-dimensional modeling, semantic and instance recognition can be performed in the 3D state. Such a reconstruction method requires the camera to be binocularly positioned in advance according to the camera parameters. The accuracy of binocular positioning has a great influence on the accuracy of three-dimensional reconstruction. However, binocular positioning has high requirements on the number and quality of collected photos, which makes binocular positioning more difficult. The accuracy of binocular positioning is unstable, which will affect the accuracy of parallax calculation, and then affect the calculation accuracy of model reconstruction, and will not meet the modeling accuracy requirements. Moreover, 3D instance segmentation is based on the semantic and instance target division of the three-dimensional data set of the reconstructed 3D models in the area. That is to say, before instance segmentation, it is necessary to first three-dimensionally model the facilities in the area and build a three-dimensional data set of large-scale 3D models. The training and calculation amount is large, the complexity is high, and the effect is poor.
[0056] In addition, in the related technology, three-dimensional reconstruction can also be performed through active vision and oblique photography. The active vision method mainly uses optical equipment to scan the physical surface, and reconstructs the three-dimensional structure of the object surface by analyzing the scanning data. Usually, a point cloud is generated by intensive multi-beam laser scanning, and the envelope generated by the triangular facets of adjacent points forms the surface model of the facility. However, the triangular facets formed by the point cloud data in this method may be very messy, which is not conducive to data analysis. Moreover, when it is necessary to reconstruct the communication facilities in three dimensions, this method uses laser acquisition equipment to collect images of the communication facilities, which is expensive and cannot be used on a large scale. Finally, the appearance structure of the communication facilities may be similar. This technology cannot identify the specific semantic content of the model and cannot distinguish between different communication facilities.
[0057] Oblique photography is a mature passive vision modeling solution and has been widely used in drone modeling. The image sequence is acquired through the visual sensor, and features are extracted and reverse engineered to reconstruct the three-dimensional structure model of the object. Structure from motion (SfM) is usually used to capture multiple images from multiple viewpoints and reconstruct the three-dimensional model through matching algorithms. SfM technology is highly robust, has low requirements for input images, and can directly output sparse point clouds. For outdoor scenes, drones can easily obtain pose information, and multi-viewstereo (MVS) technology can be further used for dense point cloud reconstruction. Multiple frames of RGB images of the same scene from different viewpoints are input, and one or several frames of images are selected as reference images. These images are used to restore the depth and normal vector information of the reference image, obtain the depth map and normal vector map of the reference image, and finally fuse the restored reference image. SfM calculates the pose, internal parameters, sparse point cloud and common view relationship of the input image perspective for MVS, and MVS uses this information for subsequent depth map estimation and reference image fusion. This technology partially overcomes the shortcomings of the active vision method, with high modeling accuracy and low acquisition equipment cost. However, this technology is also unable to perform semantic recognition of equipment and facilities in the model, and because MVS technology is highly dependent on camera posture information, the drones used by this technology cannot be effectively applied to indoor scenes to perform three-dimensional reconstruction of communication facilities in indoor scenes.
[0058] In order to solve the above technical problems, the present application provides a method, device, equipment, medium and product for three-dimensional reconstruction of facilities. In the present application, a scene image in the area to be reconstructed is obtained; based on the scene image, the target semantic information and target contour of the facility to be reconstructed included in the scene image are obtained, and the target contour is used to describe the facility characteristics of the facility to be reconstructed on the preset surface; from the preset three-dimensional model library, the target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour is searched; the target three-dimensional model is used as the three-dimensional model of the facility to be reconstructed. By matching the three-dimensional model corresponding to the facility to be reconstructed from the preset model library, there is no need to perform camera calibration, which avoids the influence of the calibration error on the reconstruction accuracy during the camera calibration process, reduces complex calculations, and can improve the accuracy of the three-dimensional reconstruction of the facility, and the three-dimensional modeling of the facility to be reconstructed obtained in this way carries its corresponding semantic information. In addition, before obtaining the target three-dimensional model, the semantic information and contour corresponding to the facility are determined by the two-dimensional scene image, so that even if the three-dimensional model data is not used, the instance segmentation of the facility to be reconstructed in the area to be reconstructed can be completed, avoiding the problem of inaccurate 3D instance segmentation. Therefore, the complexity of the three-dimensional reconstruction of the facility is simplified.
[0059] In addition, in the embodiment of the present application, the scene image can be collected using a camera, avoiding the problem of expensive collection equipment; and using a camera as a collection equipment is more compact and flexible, solving the problem that drones cannot be effectively used indoors.
[0060] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0061] To facilitate understanding of this embodiment, a method for three-dimensional reconstruction of a facility disclosed in the embodiment of the present application is first introduced in detail. The execution subject of the method for three-dimensional reconstruction of a facility provided in the embodiment of the present application is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the method for three-dimensional reconstruction of a facility can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0062] Figure 1 A flowchart of a method for three-dimensional reconstruction of a facility provided in an embodiment of the present application. Figure 1 As shown, the method includes:
[0063] S101: Acquire a scene image within the area to be reconstructed.
[0064] Acquiring scene images of multiple angles and multiple postures in the area to be reconstructed captured by the camera can enrich the data diversity of the scene images, which is conducive to improving the accuracy of acquiring the target semantic information and target contour. Among them, the scene image can be collected by a camera equipped with a high-definition binocular camera, so that scene images of different perspectives at the same angle can be obtained, which is conducive to enriching the diversity of data collection. It is understandable that an ordinary camera can also be selected for collection, and this embodiment is not specifically limited here.
[0065] Furthermore, the area to be rebuilt may include indoor space, and the facilities to be rebuilt in the area to be rebuilt may be facilities for various purposes. For example, when the area to be rebuilt is a computer room, the facilities to be rebuilt may be communication facilities; when the area to be rebuilt is an office area, the facilities to be rebuilt may be desks, chairs, etc.
[0066] In this embodiment, for image acquisition of facilities to be reconstructed in indoor spaces, a camera is preferably used. The camera can be better applied to indoor space scenes, and can flexibly change its posture to obtain scene images, effectively avoiding the adaptability problem of drones in indoor spaces.
[0067] S102: Based on the scene image, obtain target semantic information and target contour of the facility to be reconstructed included in the scene image.
[0068] By performing instance segmentation on the scene image, we can obtain the target semantic information and target contour corresponding to the facilities to be reconstructed in the scene image.
[0069] Among them, the target contour is used to describe the facility characteristics of the facility to be reconstructed on the preset surface, and the target semantic information is used to describe the category of the facility to be reconstructed.
[0070] The target semantic information is used to describe the category and name of the facility to be rebuilt. Figure 2 Taking the cabinet 1 of the facility to be reconstructed as an example, after instance segmentation, the category of the facility to be reconstructed is determined to be category A. The facility to be reconstructed will be named according to the number of facilities to be reconstructed in the scene image and the corresponding category, for example, it can be named cabinet 1.
[0071] The target outline includes but is not limited to the front outline shape and front facility features of the facility to be rebuilt. For example, Figure 2 This is a schematic diagram of the segmentation of a communication facility room. Figure 2 Taking the cabinet 1 shown as an example, the target outline of the cabinet 1 includes a front outline shape which may be a rectangle, and the front facility feature is used to express that the front of the cabinet 1 has a circular lock hole and parallel ventilation mesh holes.
[0072] The semantic information and contours corresponding to the facilities are determined through two-dimensional scene images. In this way, even without using three-dimensional model data, the instance segmentation of the facilities to be reconstructed in the area to be reconstructed can be completed, which reduces the data processing amount for obtaining the target semantic information and target contours and improves the accuracy of instance segmentation.
[0073] In addition, before obtaining the target semantic information and target contour, if the facilities to be reconstructed in the scene image are fragmented or incomplete, the scene images can be spliced according to the sequential sequence of obtaining the scene images.
[0074] S103: searching a preset three-dimensional model library for a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour.
[0075] A facility three-dimensional model library containing semantic information and contours can be pre-built, and the facility three-dimensional model library can be traversed to find whether there is target semantic information, and the matching degree between the target contour and the contour in the facility three-dimensional model library can be calculated. If it is determined that there is a contour in the facility three-dimensional model library whose matching degree meets the preset matching threshold, it means that the match is successful, and the corresponding three-dimensional model in the three-dimensional model library is used as the target three-dimensional model of the facility to be reconstructed.
[0076] As an optional embodiment, when calculating the matching degree between the target contour and the contour in the facility three-dimensional model library, a contour vector of the target contour is generated, the similarity between the contour vector and the contour vector of each contour in the facility three-dimensional model library is calculated, and the matching degree between the target contour and each contour in the facility three-dimensional model library is determined by the similarity, and the higher the similarity, the higher the matching degree. Among them, this embodiment can use the contour detection related function in OpenCV for calculation and confirmation. It can be understood that the above is only an illustrative example, and this embodiment does not specifically limit the contour matching method.
[0077] S104: Using the target three-dimensional model as the three-dimensional model of the facility to be reconstructed.
[0078] The three-dimensional model of the facility to be reconstructed obtained in this way is a three-dimensional model with corresponding semantic information.
[0079] In the present application, a scene image in the area to be reconstructed is obtained; based on the scene image, the target semantic information and target contour of the facility to be reconstructed included in the scene image are obtained, and the target contour is used to describe the facility characteristics of the facility to be reconstructed on the preset surface; from the preset three-dimensional model library, a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour is searched; and the target three-dimensional model is used as the three-dimensional model of the facility to be reconstructed. By matching the three-dimensional model corresponding to the facility to be reconstructed from the preset model library, there is no need to perform camera calibration, which avoids the influence of the calibration error on the reconstruction accuracy during the camera calibration process, reduces complex calculations, and can improve the accuracy of the three-dimensional reconstruction of the facility, and the three-dimensional model of the facility to be reconstructed obtained in this way carries its corresponding semantic information. In addition, before obtaining the target three-dimensional model, the semantic information and contour corresponding to the facility are determined by the two-dimensional scene image, so that even if the three-dimensional model data is not used, the instance segmentation of the facility to be reconstructed in the area to be reconstructed can be completed, avoiding the problem of inaccurate 3D instance segmentation. Therefore, the complexity of the three-dimensional reconstruction of the facility is simplified. In addition, using a camera to collect scene images can also reduce the acquisition cost.
[0080] In a possible embodiment, an exemplary method for acquiring a scene image in a to-be-reconstructed area includes:
[0081] Acquire a first type of scene image acquired by the image acquisition device in a first posture, a second type of scene image acquired in a second posture, and a third type of scene image acquired in a third posture; use the first type of scene image, the second type of scene image, and the third type of scene image as scene images in the area to be reconstructed; in the first posture, the image acquisition device is flush with the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed; in the second posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed; in the third posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device and the ground on which the facility to be reconstructed is placed form a preset angle, and the preset angle is an acute angle.
[0082] Optionally, the scene image acquisition can be performed at multiple angles and multiple rounds for the area to be reconstructed to obtain scene images in different positions, and the camera can acquire scene images according to a preset acquisition route. During each round of acquisition, the height of the camera can be fixed, and the camera can be used to record and acquire video, and then key frames can be extracted from the video to obtain the scene image. This can improve the work efficiency on site and ensure the consistency of the height of the scene image in each round. In addition, the camera can be fixed on a retractable long pole to adjust the camera height.
[0083] Figure 3 A flowchart for obtaining a scene image of a facility to be reconstructed in the area to be reconstructed, such as Figure 3 As shown, the method includes:
[0084] S301: Acquire a first type of scene image captured by an image acquisition device in a first posture.
[0085] In the first round of scene image acquisition, the front of the camera should face a row of communication facilities close together for "O-shaped" enclosed shooting to ensure that the camera can clearly and completely record the main features of the facilities, especially the front face (the face that can open doors or display instructions). The main purpose of this round of acquisition is to form a panoramic photo of the front face of the facility for target semantic information and target contour recognition, which has the highest requirements for acquisition quality. The camera height should be flush with the upper edge of the communication facility, and the camera should be completely perpendicular to the ground. According to the characteristics of the placement of communication facilities in the computer room, the lower edge of the communication facility is generally placed on the ground and is relatively neat, while the upper edge is staggered due to the different sizes of different models of communication facilities. Therefore, the camera acquisition height is flush with the upper edge, which can make the acquired scene image more complete. After acquiring the first row of racks, the second row is acquired, and so on.
[0086] S302: Acquire a second type of scene image captured by an image acquisition device in a second posture.
[0087] In the second round of scene image acquisition, the camera still faces the row of communication facilities for "O-shaped" enclosed shooting. The camera height should be higher than the upper edge of the communication facilities and slightly lower than the lower edge of the wiring rack. The camera should be completely vertical to the ground. Compared with the first round of acquisition, this round of information acquisition is used to form scene images with different postures. After acquiring the first row of racks, the second row is acquired, and so on.
[0088] S303: Acquire a third type of scene image captured by the image acquisition device in a third posture.
[0089] In the third round of scene image acquisition, the camera should be perpendicular to the surface of each row of communication facilities for "S-shaped" shooting. The camera height should be higher than the upper edge of the communication facilities and lower than the lower edge of the wiring rack. The camera should be tilted 30 degrees forward relative to the vertical line for shooting. In addition to forming the scene image of the third posture, this round of acquisition is also used to collect the relative relationship between adjacent and different rows of facilities for the later splicing of 3D point clouds and 3D models. Other angles can be adjusted for scene image acquisition in the future to further increase the extractable feature quantity of the photo group.
[0090] In addition, a fourth round of scene image acquisition can be performed to capture other separate facilities (such as air conditioners and distribution boxes) set up against the outer wall. "O-shaped" enclosed shooting is performed facing such facilities. The camera should be perpendicular to the ground and at the same height as the average height of the communication facilities being photographed (if the heights of the facilities are different), and this height should be kept unchanged. During the acquisition process, you cannot run quickly, move the camera up and down, or shake the camera. During each round of shooting, sufficient light should be ensured, especially the light of the first round of video acquisition should be checked. If the resolution of the photos is insufficient due to insufficient light, additional acquisition should be performed. In addition, the cabinet doors should be kept closed as much as possible to improve the consistency and recognizability of the photos.
[0091] Further, taking the communication facilities in the communication room as an example, the following are given: Figure 4 The schematic diagram of obtaining the scene image of the facilities to be reconstructed in the area to be reconstructed is shown in FIG. Figure 4 In the figure, 1-4 represent the first round of scene image acquisition, the second round of scene image acquisition, the third round of scene image acquisition and the fourth round of scene image acquisition respectively. It can be understood that the rounds of scene image acquisition are only for illustration, and this embodiment does not specifically limit the round route.
[0092] In a possible embodiment, before using the target three-dimensional model as the three-dimensional model of the facility to be reconstructed, the method further includes:
[0093] Based on the scene image, multiple point clouds of the facilities to be reconstructed are obtained.
[0094] The preset model matching algorithm is called, and based on the three-dimensional data of the multiple point clouds and the three-dimensional data of the target three-dimensional model, the three-dimensional model composed of the multiple point clouds and the target three-dimensional model are matched for consistency.
[0095] The result of determining the consistency match indicates that the three-dimensional model and the target three-dimensional model are models for the same facility.
[0096] Optionally, as mentioned above, the scene image of the area to be reconstructed is collected through camera recording, that is, the collected scene image has a sequential sequence. Obtain a sequence of scene images with multiple different postures and angles, extract the feature points of the scene images, match the feature points of each scene image, and combine the internal parameter matrix of the camera to reversely restore the facilities to be reconstructed to obtain multiple three-dimensional point clouds of the facilities to be reconstructed. For example, SfM technology can be used to output sparse point clouds. As mentioned above, the scene image can be collected using a binocular camera. According to the posture information of the camera, MVS technology can be further used to obtain dense point clouds.
[0097] After that, the preset model matching algorithm can be called to perform consistency matching to obtain the matching result. Specifically, each face of the target 3D model can be regarded as a model point set composed of multiple 3D coordinates. When calculating the minimum distance from the point cloud to the target 3D model, the target model surface of the point cloud on the matching confirmation model is determined, and the minimum distance from the point cloud to the target model surface on the target 3D model is calculated. This minimum distance is used as the minimum distance from the point cloud to the target 3D model. The matching confirmation model is the actual 3D model composed of the point cloud.
[0098] For example, the acquired 3D point cloud of the left side of the facility to be reconstructed can be regarded as point set A1, and the model point set of the left side of the target 3D model can be regarded as point set B1, and the minimum distance from each point in point set A1 to the points in point set B1 can be calculated.
[0099] Furthermore, the model matching algorithm can quantify each minimum distance to obtain the matching degree between the point cloud and each face of the three-dimensional model, and calculate the average matching degree between the target three-dimensional model and multiple point clouds from the matching degree between each face, and use the average matching degree as the matching result. When the matching result is greater than the result threshold, it can be confirmed that the three-dimensional model and the target three-dimensional model are models for the same facility and the verification is correct; when the matching result is less than or equal to the result threshold, the target three-dimensional model needs to be verified and corrected for the second time. Verifying the target three-dimensional model can improve the accuracy of the final three-dimensional model of the facility to be reconstructed and avoid the problem of inconsistent matching caused by matching errors of the target three-dimensional model.
[0100] In a possible embodiment, there are multiple facilities to be reconstructed; after taking the target three-dimensional model as the three-dimensional model of the facility to be reconstructed, the method further includes:
[0101] Based on the scene image, the relative position relationship between multiple facilities to be reconstructed is analyzed.
[0102] Based on the relative position relationship, the three-dimensional models of multiple facilities to be reconstructed are spliced to obtain a regional three-dimensional model of the area to be reconstructed.
[0103] As mentioned earlier, the collection of "S"-shaped routes during multiple rounds of scene image acquisition can obtain the relative relationship between adjacent and different rows of facilities. Based on the posture information, facility size, and location distance between facilities reflected in the collected scene images, the relative position relationship between multiple facilities to be reconstructed can be analyzed.
[0104] In this way, based on the 3D model of each facility to be rebuilt, the regional 3D model of the entire area to be rebuilt can be obtained. For example, in the field of communications, compared with the previous 2D communication facility drawings of the communication room, the 3D model of the room is beneficial to the later facility operation and maintenance.
[0105] In a possible embodiment, based on a scene image, an exemplary method for obtaining a target contour of a facility to be reconstructed included in the scene image includes:
[0106] Perform instance segmentation on the scene image to obtain the segmentation contours of the facilities to be reconstructed.
[0107] The segmented contours are verified using a contour database corresponding to the usage category information of the area to be reconstructed.
[0108] When the verification result indicates that the contour database includes the segmented contour, the segmented contour is used as the target contour.
[0109] When the inspection result indicates that the segmented contour is not included in the contour database, the standard contour in the contour database with the highest matching degree with the segmented contour is used as the target contour.
[0110] Optionally, according to the facility size and facility center position of the facility to be reconstructed in the scene image, it is possible to obtain the number of categories in the scene image and the category probability of the facility to be reconstructed belonging to each category in the scene image. It is determined whether the category probability of the facility to be reconstructed meets the preset threshold. If it does, it is confirmed that the classification of the facility to be reconstructed is correct; if it does not, it is necessary to perform a secondary verification and correction on the classification of the facility to be reconstructed. After confirming the category, each pixel point in the scene image is assigned a category, and the segmentation contour of the facility to be reconstructed is obtained, thereby achieving the effect of segmenting each instance object.
[0111] The accuracy of the segmented contour can be verified using a standard contour. Before performing instance segmentation, a contour database corresponding to multiple usage categories can be constructed. For example, in the example above, the usage category information of the area to be reconstructed can be a communication facility room, an office, a supermarket, etc. This embodiment does not impose any specific restrictions on the usage category information, and it can be constructed according to actual applications. In the initial construction stage, the facility contour and facility category can be manually detected, and the facility can be labeled with contour labels and semantic information labels to ensure the accuracy of the standard contour in the contour database.
[0112] The result of the verification can be expressed by contour similarity. When the contour similarity between the segmented contour and the standard contour in the contour database meets a preset threshold, the segmented contour is used as the target contour.
[0113] When the similarity between the segmented contour and the standard contour in the contour database is low, there may be a segmentation error in the segmented contour or the contour in the contour database needs to be updated. At this time, the standard contour with the highest matching degree can be selected as the target contour to achieve segmented contour correction and make the generated segmented contour accurate enough.
[0114] In a possible embodiment, based on a scene image, an exemplary method for obtaining a target contour of a facility to be reconstructed included in the scene image includes:
[0115] The scene image is divided into multiple images to be detected.
[0116] A pre-trained image recognition model is used to infer multiple images to be detected and obtain instance masks of the facilities to be reconstructed.
[0117] The instance mask is used as the object outline.
[0118] Optionally, during the instance segmentation process, the scene image can be divided into N*M small squares, each of which is an image to be detected. By adjusting the size of the small squares, each small square contains a facility to be reconstructed. Such image division can avoid the influence of overlapping of multiple facilities to be reconstructed in the scene image on instance segmentation and improve the accuracy of instance segmentation. Among them, the image recognition model is trained using a scene image training set with facility contour labels and facility semantic information labels.
[0119] The determination and verification method of the category of the image to be detected is consistent with the previous text, and will not be repeated here. After confirming the category of the image to be detected, each pixel in the image to be detected is assigned a category to obtain an instance mask of the facility to be reconstructed, and the effect of segmenting each instance object is achieved. The obtained instance mask is the segmentation contour of the facility to be reconstructed, and the instance mask is verified. The verification method of the segmentation contour mentioned in the previous text is consistent with the method of this embodiment, and will not be repeated here. The instance mask that has been verified correctly is used as the target contour.
[0120] Figure 5 Another flow chart of a method for three-dimensional reconstruction of a facility provided in an embodiment of the present application, such as Figure 5 As shown, the method includes:
[0121] S501: Divide the scene image to obtain a plurality of images to be detected.
[0122] Dividing a larger scene image into multiple smaller images to be detected can reduce the impact of cluttered background or overlapping placement of facilities to be reconstructed on instance segmentation accuracy during subsequent image recognition.
[0123] S502: Based on a pre-trained image recognition model, instance segmentation is performed on multiple images to be detected, and instance masks and semantic information of the facilities to be reconstructed are generated.
[0124] In this embodiment, the image recognition model can adopt the SOLO model. By identifying the category probability of the facility to be reconstructed in the image to be detected, the category and name of the facility to be reconstructed, that is, the semantic information of the facility to be reconstructed, are determined. At the same time, the image recognition model compares the obtained category probability with the preset threshold. If it is greater than or equal to the preset threshold, it means that the category division of the facility to be reconstructed is correct. In addition, after the category is confirmed, the category is used to mark the image to be detected to obtain an instance mask of the facility to be reconstructed.
[0125] S503: Verify the instance mask of the facility to be reconstructed.
[0126] The instance mask obtained in S502 is verified to determine whether the instance mask matches the preset contour in the contour database. If the verification is correct, the contour in the contour database is used as the facility contour of the facility to be reconstructed, and the process proceeds to S504. If the verification is wrong, the instance mask is corrected and checked, and the process returns to S502 for re-reasoning and recognition.
[0127] S504: Based on the facility outline and semantic information, matching is performed with known models in a preset three-dimensional model library to obtain a three-dimensional model of the facility to be reconstructed.
[0128] The semantic information obtained in S502 is searched in the 3D model library, and the facility outline is matched with the target outline in the 3D model library to obtain the 3D model of the facility to be reconstructed. This direct search and matching method can effectively avoid a large amount of data calculation.
[0129] S505: Obtain a corresponding three-dimensional point cloud according to the scene image, and match it with the three-dimensional model of the facility to be reconstructed.
[0130] Reverse restoration engineering can be performed on the collected scene images, and the SfM technology can be used to output sparse point clouds to generate corresponding three-dimensional point clouds. The minimum distance between the three-dimensional model of the facility to be reconstructed and the three-dimensional point cloud is calculated in S504, and the average matching degree between the two is obtained based on the minimum distance. If the average matching degree is greater than or equal to the preset matching degree, it means that the matching is correct; if the average matching degree is less than the preset matching degree, it means that the three-dimensional model obtained in S504 may have errors, which can be checked and corrected, and then return to S502 for re-reasoning and recognition.
[0131] S506: splicing the three-dimensional models of multiple facilities to be reconstructed to obtain a regional three-dimensional model of the entire area to be reconstructed.
[0132] The three-dimensional model obtained in the above steps is a three-dimensional model of a single facility to be reconstructed. It can be understood that the area to be reconstructed where the facility to be reconstructed is located may include multiple facilities to be reconstructed. By analyzing the positional relationship between the multiple facilities to be reconstructed in the scene image and splicing the three-dimensional models of the multiple facilities to be reconstructed, a regional three-dimensional model can be obtained.
[0133] The present application also provides a device for three-dimensional reconstruction of a facility, which is used to perform the method for three-dimensional reconstruction of a facility provided in any of the above embodiments. Figure 6 As shown, the device 600 includes: a first acquisition module 601, a second acquisition module 602, a search module 603 and a determination module 604.
[0134] A first acquisition module 601 is used to acquire a scene image in a region to be reconstructed, where the region to be reconstructed is an indoor space;
[0135] A second acquisition module 602 is used to obtain target semantic information and target contour of the facility to be reconstructed included in the scene image based on the scene image, wherein the target contour is used to describe the facility characteristics of the facility to be reconstructed on a preset surface;
[0136] A search module 603 is used to search a preset three-dimensional model library for a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour;
[0137] The determination module 604 is configured to use the target three-dimensional model as the three-dimensional model of the facility to be reconstructed.
[0138] Optionally, the device further comprises:
[0139] Before using the target three-dimensional model as the three-dimensional model of the facility to be reconstructed, obtaining a plurality of point clouds of the facility to be reconstructed based on the scene image;
[0140] Calling a preset model matching algorithm, and based on the multiple point clouds and the target point cloud of the target three-dimensional model, performing consistency matching on the three-dimensional model formed by the multiple point clouds and the target three-dimensional model;
[0141] The result of determining the consistency match indicates that the three-dimensional model and the target three-dimensional model are models for the same facility.
[0142] Optionally, the first acquisition module 601 is used to:
[0143] Acquire a first type of scene image acquired by an image acquisition device in a first posture, a second type of scene image acquired in a second posture, and a third type of scene image acquired in a third posture, wherein the image acquisition device includes a camera;
[0144] Using the first type of scene images, the second type of scene images, and the third type of scene images as the scene images in the area to be reconstructed;
[0145] In the first posture, the image acquisition device is flush with the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed;
[0146] In the second posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed;
[0147] In the third posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device forms a preset angle with the ground on which the facility to be reconstructed is placed, and the preset angle is an acute angle.
[0148] Optionally, there are multiple facilities to be rebuilt; and the device further includes:
[0149] After taking the target three-dimensional model as the three-dimensional model of the facility to be reconstructed, analyzing the relative position relationship between the plurality of facilities to be reconstructed based on the scene image;
[0150] Based on the relative position relationship, the three-dimensional models of the plurality of facilities to be reconstructed are spliced to obtain a regional three-dimensional model of the area to be reconstructed.
[0151] Optionally, the second acquisition module 602 is used to:
[0152] Performing instance segmentation on the scene image to obtain a segmentation contour of the facility to be reconstructed;
[0153] Verifying the segmented contour using a contour database corresponding to the usage category information of the area to be reconstructed;
[0154] In a case where the verification result indicates that the contour database includes the segmented contour, using the segmented contour as the target contour;
[0155] When the inspection result indicates that the segmented contour is not included in the contour database, the standard contour in the contour database with the highest matching degree with the segmented contour is used as the target contour.
[0156] Optionally, the second acquisition module 602 is used to:
[0157] Dividing the scene image into a plurality of images to be detected;
[0158] Using a pre-trained image recognition model, reasoning on the multiple images to be detected to obtain instance masks of the facilities to be reconstructed;
[0159] The instance mask is used as the object outline.
[0160] The present application also provides an electronic device to perform the above-mentioned method of three-dimensional reconstruction of facilities. Figure 7 It shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 7 As shown, the electronic device 7 includes: a processor 700, a memory 701, a bus 702 and a communication interface 703, and the processor 700, the communication interface 703 and the memory 701 are connected via the bus 702; the memory 701 stores a computer program that can be run on the processor 700, and when the processor 700 runs the computer program, it executes the method for three-dimensional reconstruction of facilities provided in any of the aforementioned embodiments of the present application.
[0161] The memory 701 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the device network element and at least one other network element is realized through at least one communication interface 703 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0162] The bus 702 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 701 is used to store programs, and the processor 700 executes the programs after receiving execution instructions. The method for three-dimensional reconstruction of facilities disclosed in any implementation of the aforementioned embodiment of the present application may be applied to the processor 700, or implemented by the processor 700.
[0163] The processor 700 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 700. The above processor 700 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701, and the processor 700 reads the information in the memory 701 and completes the steps of the above method in combination with its hardware.
[0164] The electronic device provided in the embodiment of the present application and the method for three-dimensional reconstruction of facilities provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0165] The present application also provides a computer-readable storage medium corresponding to the method for three-dimensional reconstruction of facilities provided in the above-mentioned embodiment. Figure 8 The computer-readable storage medium shown is a CD 80 on which a computer program (ie, a program product) is stored. When the computer program is executed by a processor, the method for three-dimensional reconstruction of a facility provided in any of the aforementioned embodiments is executed.
[0166] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0167] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method for three-dimensional reconstruction of facilities provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0168] An embodiment of the present application also provides a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the method for three-dimensional reconstruction of facilities described in the above method embodiment. Please refer to the above method embodiment for details, which will not be repeated here.
[0169] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0170] It should be noted that in the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known structures and technologies are not shown in detail so as not to obscure the understanding of this description.
[0171] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as requiring more features than the features clearly stated in each claim for the application to be protected. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0172] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0173] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for three-dimensional reconstruction of a facility, characterized in that: include: Acquire a scene image in a to-be-reconstructed area, where the to-be-reconstructed area is an indoor space; Based on the scene image, obtaining target semantic information and target contour of the facility to be reconstructed included in the scene image, wherein the target contour is used to describe the facility characteristics of the facility to be reconstructed on a preset surface; Searching, from a preset three-dimensional model library, a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour; The target three-dimensional model is used as the three-dimensional model of the facility to be reconstructed.
2. The method according to claim 1, characterized in that Before using the target three-dimensional model as the three-dimensional model of the facility to be reconstructed, the method further includes: Based on the scene image, obtaining a plurality of point clouds of the facility to be reconstructed; Calling a preset model matching algorithm, and based on the three-dimensional data of the multiple point clouds and the three-dimensional data of the target three-dimensional model, performing consistency matching on the three-dimensional model formed by the multiple point clouds and the target three-dimensional model; The result of determining the consistency match indicates that the three-dimensional model and the target three-dimensional model are models for the same facility.
3. The method according to claim 1, characterized in that The step of acquiring a scene image within the area to be reconstructed comprises: Acquire a first type of scene image acquired by an image acquisition device in a first posture, a second type of scene image acquired in a second posture, and a third type of scene image acquired in a third posture, wherein the image acquisition device includes a camera; Using the first type of scene images, the second type of scene images, and the third type of scene images as the scene images in the area to be reconstructed; In the first posture, the image acquisition device is flush with the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed; In the second posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device is perpendicular to the ground on which the facility to be reconstructed is placed; In the third posture, the image acquisition device is higher than the upper edge of the facility to be reconstructed, and the image acquisition device forms a preset angle with the ground on which the facility to be reconstructed is placed, and the preset angle is an acute angle.
4. The method according to any one of claims 1 to 3, characterized in that: The number of the facilities to be reconstructed is multiple; after the target three-dimensional model is used as the three-dimensional model of the facility to be reconstructed, the method further includes: Based on the scene image, analyzing the relative position relationship between the plurality of facilities to be reconstructed; Based on the relative position relationship, the three-dimensional models of the plurality of facilities to be reconstructed are spliced to obtain a regional three-dimensional model of the area to be reconstructed.
5. The method according to claim 1, characterized in that The step of obtaining, based on the scene image, a target contour of a facility to be reconstructed included in the scene image comprises: Performing instance segmentation on the scene image to obtain a segmentation contour of the facility to be reconstructed; Verifying the segmented contour using a contour database corresponding to the usage category information of the area to be reconstructed; In a case where the verification result indicates that the contour database includes the segmented contour, using the segmented contour as the target contour; When the inspection result indicates that the segmented contour is not included in the contour database, the standard contour in the contour database with the highest matching degree with the segmented contour is used as the target contour.
6. The method according to claim 1, characterized in that The step of obtaining, based on the scene image, a target contour of a facility to be reconstructed included in the scene image comprises: Dividing the scene image into a plurality of images to be detected; Using a pre-trained image recognition model, reasoning on the multiple images to be detected to obtain instance masks of the facilities to be reconstructed; The instance mask is used as the object outline.
7. A device for three-dimensional reconstruction of facilities, characterized in that: include: A first acquisition module, used to acquire a scene image within the area to be reconstructed; A second acquisition module is used to obtain target semantic information and target contour of the facility to be reconstructed included in the scene image based on the scene image, wherein the target contour is used to describe the facility characteristics of the facility to be reconstructed on a preset surface; A search module, used to search a preset three-dimensional model library for a target three-dimensional model whose semantic information is the target semantic information and whose contour matches the target contour; A determination module is used to use the target three-dimensional model as the three-dimensional model of the facility to be reconstructed.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The processor runs the computer program to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The invention comprises a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the method as claimed in any one of claims 1 to 6.
Citation Information
Cited By
Three-dimensional city scene generation method and system based on video image
CN118864740A
Rock mass three-dimensional structural surface intelligent identification method based on AI visual large model
CN120279318A
Three-dimensional scene reconstruction method and apparatus, and cluster, product and storage medium
WO2026179619A1
