Patent Publication Number: US-2023135512-A1

Title: Method for updating road signs and markings on basis of monocular images

Description:
TECHNICAL FIELD 
     The present invention relates to the technical field of surveying and mapping geographic information, and in particular to a method for updating road signs and markings on the basis of monocular images. 
     DESCRIPTION OF RELATED ART 
     High-accuracy and real-time urban road traffic information plays an important role in urban road maintenance, traffic navigation and planning and construction. At present, the information of road signs and markings is mainly obtained through field acquisition or manual acquisition on remote sensing images. The acquisition workload is large and the update cycle is long, so it is difficult to meet the data needs of rapid urban renewal. 
     Compared with the traditional road data acquisition, the technology of reconstructing the three-dimensional expressway model by using images or laser point clouds has made some progress. However, the reconstructed model does not have monolithic semantic information and is difficult to be used for urban road planning and management. Further digital acquisition is still needed to generate urban road signs and markings that meet the requirements. 
     In order to solve the problem on the updating accuracy and cycle of the above data, domestic scholars have carried out relevant research. For example, Chinese patent document CN106023207B discloses a city component collecting method on the basis of double panoramas of a mobile measuring system. After determining the city component to be extracted from the current panoramic image, the method automatically searches the panoramic adjacent panoramic image; after that a city component to be extracted is determined in a present panorama image, a panorama image adjacent to the panorama is searched automatically; pixel positions of the city component in the present panorama image are obtained in an interactive manner, and plane coordinates of the city component are calculated on the basis of a panorama ray intersection method. However, the work innovation of the present invention still requires human-computer interaction to acquire city component information, and meanwhile the method based on stereo image pairs cannot obtain all city component positions in the case of small overlap. 
     The patent CN204347921U discloses a city component surveying indoor and field acquisition integration method, which selects the three-star geographic information collection equipment based on Beidou satellite navigation technology in the component census project, reducing the utilization of human resources; the data dictionary technology is applied to the component surveying attribute data entry, and then the attribute entry time can be saved; when the field acquisition integration is completed, the warehousing is completed, and then the indoor data entry time can be saved. The patent CN106683131A proposes a city component automation measurement method, which extracts the plane geometric center position of a city component through acquisition of point cloud, close-range image and other data using point cloud filtration, segmentation and other methods. The patent CN110763203A provides a city component positioning method and device and a vehicle-mounted mobile measurement device. The method comprises the steps of obtaining a current streetscape image and an adjacent streetscape image, as well as corresponding GPS phase center coordinate and spatial attitude data, and extracting at least one appointed city component; extracting image points of the same name from the current streetscape image and the adjacent streetscape image by using an image template matching method; calculating the spatial geographic coordinates of city components on the basis of the forward intersection method. The above patents gradually convert the field acquisition of city components to semi-automatic production in the field, greatly reducing the efficiency of field acquisition and shortening the cycle of data acquisition. 
     The above researches have greatly improved the efficiency of automatic acquisition of city components, and solved the problem on updating the ancillary facilities such as signs on the road. However, with the development of cloud storage and “crowdsourcing” technology, the method for automatically acquiring city components on the basis of monocular streetscape images will become the mainstream direction of future development. This technology not only reduces the acquisition cost faced by laser radar and traditional field surveying and mapping, but also provides more abundant image semantic information. 
     Therefore, it is necessary to develop a method for intelligently updating road signs and markings on the basis of monocular images. This technology not only solves the problem on data updating of city components, but also will be applied in the acquisition field of urban road signs and markings. 
     BRIEF SUMMARY OF THE INVENTION 
     The technical problem to be solved by the present invention is to provide a method for updating road signs and markings on the basis of monocular images, which not only solves the problem on updating the data of urban road signs and markings, but also will be applied in the field of navigation electronic map data production. 
     To solve the above technical problem, the technical solution of the present invention is: a method for updating road signs and markings on the basis of monocular images, specifically comprising the following steps: 
     S 1 , acquiring street images of urban roads and GPS phase center coordinates and spatial attitude data corresponding to the street images by mobile data acquisition equipment; 
     S 2 , sequentially preprocessing and distortion correcting the streetscape images obtained in step S 1 , semantically segmenting elements on the corrected images using the deep learning semantic segmentation technology by category, converting the segmented streetscape images of the road signs and markings into binary image maps, and extracting image coordinates of skeleton points of road signs and image positions of road markings in the binary image maps; 
     S 3 , constructing a sparse three-dimensional model, calculating the attitude data of the mobile data acquisition equipment and the spatial position of the sparse three-dimensional point cloud, and then generating a streetscape image depth map on the basis of the multi-view dense reconstruction technology according to the reconstructed sparse three-dimensional point cloud and the internal and external parameters of the mobile data acquisition equipment; and 
     S 4 , calculating the spatial positions of the road signs and markings according to the semantic and depth values of the image, the collinear equation and the spatial distance relationship; 
     S 5 , if the same road sign and marking is visible in multiple views, solving the position information of the road sign and marking by adopting a multi-view forward intersection method; and 
     S 6 , vectorizing the position information of the road signs and markings obtained in steps S 4  and S 5 , and fusing into the original data to update the data of the road signs and markings. 
     With the above technical solution, the streetscape images and GPS/IMU data are acquired by mobile data acquisition equipment, and then the GPS/IMU data are gradually fused through the incremental SFM algorithm to improve the accuracy of model reconstruction, and the model coordinates of the regional network are incorporated into the real geodetic coordinate system, so as to facilitate the accurate construction of the depth map based on the multi-view dense reconstruction algorithm. 
     As the preferred technical solution of the present invention, the mobile data acquisition equipment in step S 1  integrates a monocular camera and a GPS/IMU equipment, the mobile data acquisition equipment is installed in a forward-looking window of a vehicle, and then the relative pose relationship between the monocular camera and the GPS/IMU equipment and the internal reference information of the monocular camera through calibration. The pose inconsistency between the monocular camera and the GPS/IMU equipment is mainly caused by the non-parallel axes during the installation process. The internal reference calibration of the camera is mainly to solve the radial and tangential distortion of the camera lens. Such calibration data will directly determine the accuracy of subsequent depth map calculation. 
     As the preferred technical solution of the present invention, step S 2  specifically comprises the following steps: 
     S 21 , preprocessing the streetscape images using image enhancement and de-noising technologies to reduce the influence of image noise on the streetscape images; 
     S 22 , carrying out distortion correction on the preprocessed streetscape images in combination with the internal reference of the monocular camera; 
     S 23 , making the streetscape images after distortion correction into DeeplabV3+network training dataset on the basis of the data label tool, and adopting the GeoAI deep learning framework to realize the training, validation and testing of the model, and segmenting label elements on the streetscape images by category, the label elements comprising sky, trees, road signs, road markings and lane surfaces; 
     S 24 , eliminating the sky and trees in the images after distortion correction by using image mask technology on the basis of the semantic segmented label data; 
     S 25 , carrying out semantic segmentation on elements of road signs and markings in streetscape images, converting the images into binary images, and extracting image coordinate information of the road signs and markings from the binary images by using different vision algorithms; 
     S 251 , extracting a connected region of a binary image for road sign elements, and calculating a shape descriptor of the connected region to extract image coordinates of skeleton points of road signs; and 
     S 252 , extracting image positions of road markings for road marking elements by using Hough transform algorithm. 
     The process of image enhancement and de-noising in step S 2  mainly solves the problem that the exposure intensities of the photos are inconsistent due to the influence of solar rays at different incident angles when the vehicle acquires data on the road. DeeplabV3+network model is the one mentioned in  Encoder - Decoder with Atrous Separable Convolution for Semantic Image Segmentation ; Hough transform algorithm is the one mentioned in  Generalizing the Hough transform to detect arbitrary shapes.    
     As the preferred technical solution of the present invention, in step S 4  of calculating the spatial positions of the road signs and markings according to the collinear equation and the spatial distance relationship with the object space imaging in front of the monocular camera as the constraint condition, the calculation formula is as follows (1): 
     
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     x 
                                     - 
                                     
                                       x 
                                       0 
                                     
                                   
                                 
                               
                               
                                 
                                   f 
                                 
                               
                               
                                 
                                   
                                     y 
                                     - 
                                     
                                       y 
                                       0 
                                     
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             λ 
                             * 
                             
                               [ 
                               
                                 
                                   
                                     
                                       a 
                                       11 
                                     
                                   
                                   
                                     
                                       a 
                                       12 
                                     
                                   
                                   
                                     
                                       a 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       b 
                                       11 
                                     
                                   
                                   
                                     
                                       b 
                                       12 
                                     
                                   
                                   
                                     
                                       b 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       c 
                                       11 
                                     
                                   
                                   
                                     
                                       c 
                                       12 
                                     
                                   
                                   
                                     
                                       c 
                                       13 
                                     
                                   
                                 
                               
                               ] 
                             
                             * 
                             
                               
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         21 
                                       
                                     
                                     
                                       
                                         a 
                                         22 
                                       
                                     
                                     
                                       
                                         a 
                                         23 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         21 
                                       
                                     
                                     
                                       
                                         b 
                                         22 
                                       
                                     
                                     
                                       
                                         b 
                                         23 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         21 
                                       
                                     
                                     
                                       
                                         c 
                                         22 
                                       
                                     
                                     
                                       
                                         c 
                                         23 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 ? 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         
                           
                             d 
                             2 
                           
                           = 
                           
                             ? 
                           
                         
                       
                     
                     
                       
                         
                           α 
                           = 
                           
                             
                               cos 
                               
                                 - 
                                 1 
                               
                             
                             
                               ? 
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
           
         
       
       
         
           
             
               ? 
             
             indicates text missing or illegible when filed 
           
         
       
     
     where, [x, f, y] is the coordinate of the skeleton point of the road pole or the sign and marking in the image plane coordinate system; [x 0 , y 0 ] is the coordinate of the main point of the image; λ is the projection coefficient; [a 11 , a 12 , a 13 ; b 11 , b 12 , b 13 ; c 11 , c 12 , c 13 ] is the transition matrix from the auxiliary coordinate system of image space to the coordinate system of image plane; [a 21 , a 22 , a 23 ; b 21 , b 22 , b 23 ; c 21 , c 22 , c 23 ] is the transition matrix from the geodetic coordinate system to the auxiliary coordinate system of the image space; [X A , Y A , Z A ] is the coordinate of the skeleton point of the road pole or the sign and marking in the geodetic coordinate system, and is a value to be calculated in this calculation method; [X S1 , Y S1 , Z S1 ] and [X S2 , Y S2 , Z S2 ] are the photographing center coordinates of the cameras in the front and rear camera stations, i.e. GPS value; d is the distance from the object space point to the photographing center of the camera; and α is the plane projection value of the included angle between the photographing center line of  α  connecting the front and rear monocular cameras and the photographing center line  b  of connecting the object space point and the front monocular camera. 
     As the preferred technical solution of the present invention, step S 3  specifically comprises the following steps: 
     S 31 , extracting feature points of the streetscape images through SIFT algorithm, and adopting image mask, feature extraction and matching to the original streetscape images to generate a multi-view geometrical relationship map; 
     S 32 , selecting an initial matching image pair on the basis of an incremental SFM algorithm, and constructing a regional network model; adding new sequence images iteratively in the construction of the regional network model to generate a new sparse three-dimensional model; when the number of streetscape images in the sparse three-dimensional model is less than 3, continuing to add new sequence images, until the number of streetscape images in the sparse three-dimensional model is greater than 3; 
     S 33 , when the number of streetscape images in the sparse three-dimensional model is greater than 3, fusing GPS/IMU prior constraint data to reduce the accumulation of model errors, incorporating the regional network model coordinates into the real geodetic coordinate system by an absolute orientation method, solving the error with the absolute orientation model by formula (2), if the error is greater than 10 cm, discarding the reconstructed regional network model, repeating steps S 32 ˜S 33 , and continuing to initialize and construct the next regional network model, until the error is less than 10 cm; 
     S 34 , when the error is less than 10 cm, adopting the local bundle adjustment to further optimize the attitude information of the monocular camera; after all the streetscape images are constructed, use the global bundle adjustment to further optimize and solve the internal and external parameter information of the sparse three-dimensional point cloud and the camera; and 
     S 35 , reconstructing a streetscape image depth map by using the multi-view dense reconstruction method. 
     In step S 3 , the present invention proposes to gradually fuse GPS/IMU data, so as to solve the problem on model distortion or camera attitude reconstruction error in SFM reconstruction, and realize the conversion from regional network model coordinates to real geodetic coordinates. 
     SIFT algorithm is mentioned in Lowe&#39;s  Distinctive image features from scale - invariant keypoints , and the algorithm used in the present invention is Johannes L. On the basis of the incremental three-dimensional reconstruction algorithm (SFM) proposed in Structure-from-Motion Revisited by Schönberger, GPS/IMU data are fused, and the bundle adjustment model in photogrammetry is introduced to control the accumulation of the regional network model errors; After all the images are constructed, the global bundle adjustment model is further optimized to construct the sparse three-dimensional point cloud and the internal and external parameters of the monocular camera with higher accuracy. A streetscape image depth map is generated according to the internal and external parameters of the reconstructed sparse three-dimensional point cloud and camera based on the multi-view dense reconstruction algorithm (MVS) proposed in  Pixelwise View Selection for Unstructured Multi - View Stereo  by Johannes L. Schönberger. 
     As the preferred technical solution of the present invention, the formula (2) in step S 33  is: 
     
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     σ 
                                     xi 
                                     2 
                                   
                                 
                               
                               
                                 
                                   
                                     σ 
                                     yi 
                                     2 
                                   
                                 
                               
                               
                                 
                                   
                                     σ 
                                     zi 
                                     2 
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             
                               
                                 λ 
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         1 
                                       
                                     
                                     
                                       
                                         a 
                                         2 
                                       
                                     
                                     
                                       
                                         a 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         1 
                                       
                                     
                                     
                                       
                                         b 
                                         2 
                                       
                                     
                                     
                                       
                                         b 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         1 
                                       
                                     
                                     
                                       
                                         c 
                                         2 
                                       
                                     
                                     
                                       
                                         c 
                                         3 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 
                                   
                                     
                                       X 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Y 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Z 
                                       i 
                                     
                                   
                                 
                               
                               ] 
                             
                             + 
                             
                               [ 
                               
                                 
                                   
                                     
                                       X 
                                       0 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Y 
                                       0 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Z 
                                       0 
                                     
                                   
                                 
                               
                               ] 
                             
                             - 
                             
                               [ 
                               
                                 
                                   
                                     
                                       X 
                                       t 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Y 
                                       t 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Z 
                                       t 
                                       i 
                                     
                                   
                                 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         
                           σ 
                           = 
                           
                             
                               
                                 
                                   ∑ 
                                   1 
                                   n 
                                 
                                 
                                   ( 
                                   
                                     
                                       σ 
                                       xi 
                                       2 
                                     
                                     + 
                                     
                                       σ 
                                       yi 
                                       2 
                                     
                                     + 
                                     
                                       σ 
                                       zi 
                                       2 
                                     
                                   
                                   ) 
                                 
                               
                             
                             n 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   2 
                   ) 
                 
               
             
           
         
       
     
     where, [X i , Y i , Z i ] is the model coordinate of the i-th checkpoint; λ, [α 1 , α 2 , α 3 ; b 1 , b 2 , b 3 ; c 1 , c 2 , c 3 ] and [X 0 , Y 0 , Z 0 ] are absolute orientation 7-parameter models; [X l   i , Y l   i , Z l   i ] is the real geodetic coordinate of the i-th checkpoint; [σ xi , σ yi , σ zi ] is the mean square error component corresponding to the i-th checkpoint, σ is the mean square error of the point, and n is the number of checkpoints. 
     As the preferred technical solution of the present invention, in step S 5 , when the same road signs and markings are visible in multiple views, the accurate position information is obtained by the least square fitting, as shown in formula (3), 
     
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     
                                       x 
                                       1 
                                     
                                     - 
                                     
                                       x 
                                       0 
                                     
                                   
                                 
                               
                               
                                 
                                   f 
                                 
                               
                               
                                 
                                   
                                     
                                       y 
                                       1 
                                     
                                     - 
                                     
                                       y 
                                       0 
                                     
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             λ 
                             * 
                             
                               [ 
                               
                                 
                                   
                                     
                                       a 
                                       11 
                                     
                                   
                                   
                                     
                                       a 
                                       12 
                                     
                                   
                                   
                                     
                                       a 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       b 
                                       11 
                                     
                                   
                                   
                                     
                                       b 
                                       12 
                                     
                                   
                                   
                                     
                                       b 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       c 
                                       11 
                                     
                                   
                                   
                                     
                                       c 
                                       12 
                                     
                                   
                                   
                                     
                                       c 
                                       13 
                                     
                                   
                                 
                               
                               ] 
                             
                             * 
                             
                               
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         1 
                                       
                                     
                                     
                                       
                                         a 
                                         2 
                                       
                                     
                                     
                                       
                                         a 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         1 
                                       
                                     
                                     
                                       
                                         b 
                                         2 
                                       
                                     
                                     
                                       
                                         b 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         1 
                                       
                                     
                                     
                                       
                                         c 
                                         2 
                                       
                                     
                                     
                                       
                                         c 
                                         3 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 
                                   
                                     
                                       
                                         X 
                                         A 
                                       
                                       - 
                                       
                                         X 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Y 
                                         A 
                                       
                                       - 
                                       
                                         Y 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Z 
                                         A 
                                       
                                       - 
                                       
                                         Z 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         ⋮ 
                       
                     
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     
                                       x 
                                       n 
                                     
                                     - 
                                     
                                       x 
                                       0 
                                     
                                   
                                 
                               
                               
                                 
                                   f 
                                 
                               
                               
                                 
                                   
                                     
                                       y 
                                       n 
                                     
                                     - 
                                     
                                       y 
                                       0 
                                     
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             λ 
                             * 
                             
                               [ 
                               
                                 
                                   
                                     
                                       a 
                                       
                                         n 
                                         ⁢ 
                                         1 
                                       
                                     
                                   
                                   
                                     
                                       a 
                                       
                                         n 
                                         ⁢ 
                                         2 
                                       
                                     
                                   
                                   
                                     
                                       a 
                                       
                                         n 
                                         ⁢ 
                                         3 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       b 
                                       
                                         n 
                                         ⁢ 
                                         1 
                                       
                                     
                                   
                                   
                                     
                                       b 
                                       
                                         n 
                                         ⁢ 
                                         2 
                                       
                                     
                                   
                                   
                                     
                                       b 
                                       
                                         n 
                                         ⁢ 
                                         3 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       c 
                                       
                                         n 
                                         ⁢ 
                                         1 
                                       
                                     
                                   
                                   
                                     
                                       c 
                                       
                                         n 
                                         ⁢ 
                                         2 
                                       
                                     
                                   
                                   
                                     
                                       c 
                                       
                                         n 
                                         ⁢ 
                                         3 
                                       
                                     
                                   
                                 
                               
                               ] 
                             
                             * 
                             
                               
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         1 
                                       
                                     
                                     
                                       
                                         a 
                                         2 
                                       
                                     
                                     
                                       
                                         a 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         1 
                                       
                                     
                                     
                                       
                                         b 
                                         2 
                                       
                                     
                                     
                                       
                                         b 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         1 
                                       
                                     
                                     
                                       
                                         c 
                                         2 
                                       
                                     
                                     
                                       
                                         c 
                                         3 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 
                                   
                                     
                                       
                                         X 
                                         A 
                                       
                                       - 
                                       
                                         X 
                                         Sn 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Y 
                                         A 
                                       
                                       - 
                                       
                                         Y 
                                         Sn 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Z 
                                         A 
                                       
                                       - 
                                       
                                         Z 
                                         Sn 
                                       
                                     
                                   
                                 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         
                           
                             
                               
                                 
                                   d 
                                   i 
                                   2 
                                 
                                 = 
                                 
                                   
                                     
                                       ( 
                                       
                                         
                                           X 
                                           A 
                                         
                                         - 
                                         
                                           X 
                                           Si 
                                         
                                       
                                       ) 
                                     
                                     2 
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         
                                           Y 
                                           A 
                                         
                                         - 
                                         
                                           Y 
                                           Si 
                                         
                                       
                                       ) 
                                     
                                     2 
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         
                                           Z 
                                           A 
                                         
                                         - 
                                         
                                           Z 
                                           Si 
                                         
                                       
                                       ) 
                                     
                                     2 
                                   
                                 
                               
                             
                             
                               
                                 1 
                                 ≤ 
                                 i 
                                 ≤ 
                                 n 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   3 
                   ) 
                 
               
             
           
         
       
     
     where, [x1, y1, xn, yn] is the image coordinate projected on multiple views for the same road sign or marking of the object space; [x 0 , y 0 ] is the coordinate of the main point of the image; f is the focal distance of the camera; λ is the projection coefficient; [XA, YA, ZA] is the object space coordinate to be calculated for the road sign and marking; [XSi, YSi, ZSi] is the corresponding camera position for the i-th image, 1≤i≤n, when i is n, [XSn, YSn, ZSn]; [α 11 , α 12 , α 13 ; b 11 , b 12 , b 13 ;c 11 , c 12 , c 13 ] and [an1, an2, an3; bn1, bn2, bn3; cn1, cn2, cn3] are expressed as the transition matrix from the auxiliary coordinate system of the image space to the coordinate system of the image plane of the corresponding image; [α 1 , α 2 , α 3 ; b 1 , b 2 , b 3 ;c 1 , c 2 , c 3 ] is the transition matrix from the geodetic coordinate system to the auxiliary coordinate system of the image space; and d i  is the spatial distance between the road sign and marking to be calculate and the photographing center of the i-th streetscape image. 
     As the preferred technical solution of the present invention, step S 4  further comprises: for the problem on longitudinal imaging of the road pole sign on the streetscape image, when the included angle of plane projection between the line connecting the photographing center of the monocular camera with the undetermined position of the road pole sign  α  and the vehicle traveling direction  b  is α&lt;90°, this coordinate is selected as the spatial position of the road pole sign. When the sign of the road pole is imaged longitudinally on the image, the extracted skeleton point of the road pole is different with the height of the road pole, and there are two cases: higher than the installation position of the monocular camera and lower than the installation position of the monocular camera, resulting in the problem on multiple solutions to the spatial position information of the road sign solved in step S 4 . Therefore, by adding the constraint of the vehicle driving direction, that is, the included angle α of plane projection between the line of connecting the camera photographing center with the undetermined position of the rod and the vehicle traveling direction  b , if α&lt;90°, this coordinate is selected as the spatial position of the rod. 
     As the preferred technical solution of the present invention, in step S 23  of carrying out element segmentation on streetscape images after distortion correction specifically comprises the following steps: 
     S 231 , data preparation: with reference to format specifications of open source datasets, structuring the data of streetscape images, and importing data labels; 
     S 232 , carrying out model training, validation and testing by using GeoAI depth learning framework in combination with DeeplabV3+neural network model; 
     S 2321 , setting parameters, and importing the training model; 
     S 2322 , carrying out model training; 
     S 2323 , carrying out model validation if the obtained model is the global optimal value; in case of not returning to step S 2322 , carrying out model training again, until the obtained model is the global optimal value; 
     S 2324 , if the model validation result meets the accuracy, outputting the model; in case of not meeting the accuracy, returning to step S 2321 , repeating steps S 2321 ˜S 2324  until the model validation results meet the accuracy, and outputting the model; 
     S 2325 , visualizing the test results of the output model, determining whether the generalization is satisfied, and if so, deploying and applying the model; and if not, returning to step S 231 , repeating steps S 231 ˜S 2325 , until the generalization is satisfied; and 
     S 233 , model deployment and application: saving the model locally and deploying the model to the server to achieve semantic segmentation of the scene. 
     Compared with the prior art, the present invention has the following beneficial effects: it designs a field data acquisition mode, uses the image map of a monocular camera, and realizes data crowdsourcing acquisition at a lower cost; combined with the deep learning technology, the image semantic segmentation is realized, and the extraction of road signs and markings is completed; on the basis of SFM algorithm, GPS/IMU data are fused to improve the calculation accuracy of the internal and external parameters and sparse 3D point cloud of the camera, and the depth map is constructed by multi-view dense reconstruction technology; and in the multi-view geometry, the collinear equation and spatial distance relationship constraint conditions are used to fit and solve the spatial positions of road signs and markings, so as to make the locations of signs and markings in streetscape images more accurate. 
    
    
     
       BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS 
         FIG.  1    is a flowchart of a method for updating road signs and markings on the basis of monocular images according to the present invention; 
         FIG.  2    is a flowchart of GeoAI-based image semantic segmentation in a method for updating road signs and markings on the basis of monocular images according to the present invention; 
         FIG.  3    is a flowchart of constructing a monocular depth map in a method for updating road signs and markings on the basis of monocular images according to the present invention; 
         FIG.  4    is a flowchart of multi-view dense reconstruction algorithm MVS in a method for updating road signs and markings on the basis of monocular images according to the present invention; and 
         FIG.  5    shows the effect of a method for updating road signs and markings on the basis of monocular images according to the present invention. 
     
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 
     Embodiment: as shown in  FIG.  1   , a method for updating road signs and markings on the basis of monocular images, specifically comprising the following steps: 
     S 1 , equipment installation, calibration and field acquisition: acquiring street images of urban roads and GPS phase center coordinates and spatial attitude data corresponding to the street images by mobile data acquisition equipment; the mobile data acquisition equipment in step S 1  integrates a monocular camera and a GPS/IMU equipment, the mobile data acquisition equipment is installed in a forward-looking window of a vehicle, and then the relative pose relationship between the monocular camera and the GPS/IMU equipment and the internal reference information of the monocular camera through calibration by two-dimensional/three-dimensional calibration field; the pose inconsistency between the monocular camera and the GPS/IMU equipment is mainly caused by the non-parallel axes during the installation process. The internal reference calibration of the camera is mainly to solve the radial and tangential distortion of the camera lens. Such calibration data will directly determine the accuracy of subsequent depth map calculation; 
     S 2 , image distortion correction and semantic segmentation: sequentially preprocessing and distortion correcting the streetscape images obtained in step S 1 , semantically segmenting elements on the corrected streetscape images using the deep learning semantic segmentation technology by category; converting the streetscape images into binary images for semantic segmentation on the streetscape images of the road sign and marking element, and then extracting the image coordinates of the skeleton point of the road sign and the image position of the road marking in the binary image map. 
     Step S 2  specifically comprises the following steps: 
     S 21 , preprocessing the streetscape images using image enhancement and de-noising technologies to reduce the influence of image noise on the streetscape images; 
     S 22 , carrying out distortion correction on the preprocessed streetscape images in combination with the internal reference of the monocular camera; and 
     S 23 , making the streetscape images after distortion correction into DeeplabV3+network training dataset on the basis of the data label tool, and adopting the GeoAI deep learning framework to realize the training, validation and testing of the model, and segmenting the elements on the images by category, the elements comprising sky, trees, road signs, road markings and lane surfaces. 
     As shown in  FIG.  2   , in step S 23  of carrying out element segmentation on streetscape images after distortion correction specifically comprises the following steps: 
     S 231 , data preparation: structuring the streetscape image data according to the open source datasets (such as Mapillary, KITTI), and importing the data labels by sample batches; 
     S 232 , carrying out model training, validation and testing by using GeoAI depth learning framework in combination with DeeplabV3+neural network model; 
     S 2321 , setting parameters, and importing the training model; 
     S 2322 , carrying out model training; 
     S 2323 , carrying out model validation if the obtained model is the global optimal value; in case of not returning to step S 2322 , carrying out model training again, until the obtained model is the global optimal value; 
     S 2324 , if the model validation result meets the accuracy, outputting the model; in case of not meeting the accuracy, returning to step S 2321 , repeating steps S 2321 ˜S 2324  until the model validation results meet the accuracy, and outputting the model; 
     S 2325 , visualizing the test results of the output model, determining whether the generalization is satisfied, and if so, deploying and applying the model; if not, returning to step 
     S 231 , repeating steps S 231 ˜S 2325 , until the generalization is satisfied; and 
     S 233 , model deployment and application: saving the model locally and deploying the model to the server, and batch forecasting the segmentation results of streetscape images to achieve semantic segmentation of the scene. 
     S 24 , eliminating the sky and trees in the images after distortion correction by using image mask technology; and S 25 , converting the streetscape image map of the road sign and marking element in streetscape images after segmentation into a binary image map, and extracting the information at the skeleton point of the road sign from the binary images by using different vision algorithms. 
     S 251 , extracting a connected region of a binary image for road sign elements, and calculating a shape descriptor of the connected region to extract image coordinates of skeleton points of road signs; and 
     S 252 , for the road marking elements, extracting image positions of road markings by Hough transform algorithm mentioned in  Generalizing the Hough transform to detect arbitrary shapes.    
     The process of image enhancement and de-noising in step S 2  mainly solves the problem that the exposure intensities of the photos are inconsistent due to the influence of solar rays at different incident angles when the vehicle acquires data on the road. 
     S 3 , image mask, reconstruction of sparse point cloud and construction of depth map: on the basis of the incremental SFM algorithm, fusing GPS/IMU data, reconstructing sparse three-dimensional point cloud, calculating the internal and external parameters of the camera and the sparse three-dimensional point cloud information, and then generating a streetscape image depth map on the basis of the multi-view dense reconstruction algorithm according to the reconstructed sparse three-dimensional point cloud and the internal and external parameters of the camera. 
     As shown in  FIG.  3   , step S 3  specifically comprises the following steps: 
     S 31 , extracting feature points of the streetscape images through SIFT algorithm, and adopting image mask, feature extraction and matching to the original streetscape images to generate a multi-view geometrical relationship map; 
     S 32 , setting parameters, selecting an initial matching image pair on the basis of an incremental SFM algorithm, and constructing a relative orientation model, and then gradually adding the unconstructed streetscape image to construct a regional network model; adding new sequence images iteratively in the regional network model to generate a new sparse three-dimensional model; when the number of streetscape images in the sparse three-dimensional model is less than 3, continuing to add new sequence images, until the number of streetscape images in the sparse three-dimensional model is greater than 3; carrying out the next GPS/IMU data fusion to construct an absolute orientation model. 
     S 33 , when the number of streetscape images in the sparse three-dimensional model is greater than 3, fusing GPS/IMU prior constraint data to reduce the accumulation of model errors, incorporating the regional network model coordinates into the real geodetic coordinate system by an absolute orientation method, solving the error with the absolute orientation model by formula (2), if the error is greater than 10 cm, discarding the reconstructed regional network model, repeating steps S 32 ˜S 33 , and continuing to initialize and construct the next regional network model, until the error is less than 10 cm; the formula (2) in step S 33  being: 
     
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     σ 
                                     xi 
                                     2 
                                   
                                 
                               
                               
                                 
                                   
                                     σ 
                                     yi 
                                     2 
                                   
                                 
                               
                               
                                 
                                   
                                     σ 
                                     zi 
                                     2 
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             
                               
                                 λ 
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         1 
                                       
                                     
                                     
                                       
                                         a 
                                         2 
                                       
                                     
                                     
                                       
                                         a 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         1 
                                       
                                     
                                     
                                       
                                         b 
                                         2 
                                       
                                     
                                     
                                       
                                         b 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         1 
                                       
                                     
                                     
                                       
                                         c 
                                         2 
                                       
                                     
                                     
                                       
                                         c 
                                         3 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 
                                   
                                     
                                       X 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Y 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Z 
                                       i 
                                     
                                   
                                 
                               
                               ] 
                             
                             + 
                             
                               [ 
                               
                                 
                                   
                                     
                                       X 
                                       0 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Y 
                                       0 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Z 
                                       0 
                                     
                                   
                                 
                               
                               ] 
                             
                             - 
                             
                               [ 
                               
                                 
                                   
                                     
                                       X 
                                       t 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Y 
                                       t 
                                       i 
                                     
                                   
                                 
                                 
                                   
                                     
                                       Z 
                                       t 
                                       i 
                                     
                                   
                                 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         
                           σ 
                           = 
                           
                             
                               
                                 
                                   ∑ 
                                   1 
                                   n 
                                 
                                 
                                   ( 
                                   
                                     
                                       σ 
                                       xi 
                                       2 
                                     
                                     + 
                                     
                                       σ 
                                       yi 
                                       2 
                                     
                                     + 
                                     
                                       σ 
                                       zi 
                                       2 
                                     
                                   
                                   ) 
                                 
                               
                             
                             n 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   2 
                   ) 
                 
               
             
           
         
       
     
     where, [X i , Y i , Z i ] is the model coordinate of the i-th checkpoint; λ, [α 1 , α 2 , α 3 ; b 1 , b 2 , b 3 ; c 1 , c 2 , c 3 ] and [X 0 , Y 0 , Z 0 ] are absolute orientation 7-parameter models; [X l   i , Y l   i , Z l   i ] is the real geodetic coordinate of the i-th checkpoint; [σ xi , σ yi , σ zi ] is the mean square error component corresponding to the i-th checkpoint, σ is the mean square error of the point, and n is the number of checkpoints; 
     S 34 , when the error is less than 10 cm, adopting the local bundle adjustment to further optimize the attitude information of the monocular camera; after all the streetscape images are constructed, use the global bundle adjustment to further optimize and solve the internal and external parameter information of the sparse three-dimensional point cloud and the camera; and 
     S 35 , reconstructing a streetscape image depth map by using the multi-view dense reconstruction method: as shown in  FIG.  4   , 
     S 351 , inputting images, internal and external parameters of monocular camera and sparse point cloud; 
     S 352 , clustering views for multi-view stereo: merging sparse point clouds, filtering redundant images, and determining whether the classification conditions are met; if the classification conditions are met, carrying out block stereo matching; if the classification conditions are met, adding the streetscape images when the clustered images meet the size of the classification container, and re-determining whether the classification conditions are met; if the classification conditions are still not met, adding the streetscape images again until the classification conditions are met when the clustered images meet the size of the classification container; and 
     S 353 , block stereo matching: first matching, recycling for multiple diffusion and filtration until dense point cloud and streetscape image depth map are generated. 
     In step S 3 , the present invention proposes to gradually fuse GPS/IMU data, and introduce the local bundle adjustment model, so as to solve the problem on model distortion or camera attitude error in SFM reconstruction, and realize the conversion from regional network model coordinates to real geodetic coordinates. 
     S 4 , solving an initial position of the road sign and marking: calculating the spatial positions of the road signs and markings according to the semantic and depth values of the image, the collinear equation and the spatial distance relationship; 
     In step S 4  of calculating the spatial positions of the road signs and markings according to the collinear equation and the spatial distance relationship with the object space imaging in front of the monocular camera as the constraint condition, i.e., solving the spatial position of the sign of the road pole, the calculation formula is as follows (1): 
     
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     x 
                                     - 
                                     
                                       x 
                                       0 
                                     
                                   
                                 
                               
                               
                                 
                                   f 
                                 
                               
                               
                                 
                                   
                                     y 
                                     - 
                                     
                                       y 
                                       0 
                                     
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             λ 
                             * 
                             
                               [ 
                               
                                 
                                   
                                     
                                       a 
                                       11 
                                     
                                   
                                   
                                     
                                       a 
                                       12 
                                     
                                   
                                   
                                     
                                       a 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       b 
                                       11 
                                     
                                   
                                   
                                     
                                       b 
                                       12 
                                     
                                   
                                   
                                     
                                       b 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       c 
                                       11 
                                     
                                   
                                   
                                     
                                       c 
                                       12 
                                     
                                   
                                   
                                     
                                       c 
                                       13 
                                     
                                   
                                 
                               
                               ] 
                             
                             * 
                             
                               
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         21 
                                       
                                     
                                     
                                       
                                         a 
                                         22 
                                       
                                     
                                     
                                       
                                         a 
                                         23 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         21 
                                       
                                     
                                     
                                       
                                         b 
                                         22 
                                       
                                     
                                     
                                       
                                         b 
                                         23 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         21 
                                       
                                     
                                     
                                       
                                         c 
                                         22 
                                       
                                     
                                     
                                       
                                         c 
                                         23 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 
                                   
                                     
                                       
                                         X 
                                         A 
                                       
                                       - 
                                       
                                         X 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Y 
                                         A 
                                       
                                       - 
                                       
                                         Y 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Z 
                                         A 
                                       
                                       - 
                                       
                                         Z 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         
                           
                             d 
                             2 
                           
                           = 
                           
                             ? 
                           
                         
                       
                     
                     
                       
                         
                           α 
                           = 
                           
                             
                               cos 
                               
                                 - 
                                 1 
                               
                             
                             
                               ? 
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
           
         
       
       
         
           
             
               ? 
             
             indicates text missing or illegible when filed 
           
         
       
     
     where, [x, f, y] is the coordinate of the skeleton point of the road pole or the sign and marking in the image plane coordinate system; [x 0 , y 0 ] is the coordinate of the main point of the image; λ is the projection coefficient; [α 11 , α 12 , α 13 ;b 11 , b 12 , b 13 , c 11 , c 12 , c 13 ] is the transition matrix from the auxiliary coordinate system of image space to the coordinate system of image plane; [α 21 , α 22 , α 23 ; b 21 , b 22 , b 23 ; c 21 , c 22 , c 23 ] is the transition matrix from the geodetic coordinate system to the auxiliary coordinate system of the image space; [X A , Y A , Z A ] is the coordinate of the skeleton point of the road pole or the sign and marking in the geodetic coordinate system, and is a value to be calculated in this calculation method; [X S1 , Y S1 , Z S1 ] and [X S2 , Y S2 , Z S2 ] are the photographing center coordinates of the cameras in the front and rear camera stations, i.e. GPS value; d is the distance from the object space point to the photographing center of the camera; and α is the plane projection value of the included angle between the photographing center line  α  of connecting the front and rear monocular cameras and the photographing center line  b  of connecting the object space point and the front monocular camera; Step S 4  further comprises: for the problem on longitudinal imaging of the road pole sign on the streetscape image, when the included angle of plane projection between the line  α  of connecting the photographing center of the monocular camera with the undetermined position of the road pole sign and the vehicle traveling direction  b  is α&lt;90°, this coordinate is selected as the spatial position of the road pole sign. When the sign of the road pole is imaged longitudinally on the image, the extracted skeleton point of the road pole is different with the height of the road pole, and there are two cases: higher than the installation position of the monocular camera and lower than the installation position of the monocular camera, resulting in the problem on multiple solutions to the spatial position information of the road sign solved in step S 4 . Therefore, by adding the constraint of the vehicle driving direction, that is, the included angle α of plane projection between the line of connecting the camera photographing center with the undetermined position of the rod and the vehicle traveling direction  b , if α&lt;90°, this coordinate is selected as the spatial position of the rod. 
     S 5 , position fitting of road signs and marking under multi-view overlap: if the same road sign and marking is visible in multiple views, solving the position information of the road sign and marking by adopting a multi-view forward intersection method; 
     In step S 5 , when the same road signs and markings are visible in multiple views, the accurate position information is obtained by the least square fitting, as shown in formula (3), 
     
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     
                                       x 
                                       1 
                                     
                                     - 
                                     
                                       x 
                                       0 
                                     
                                   
                                 
                               
                               
                                 
                                   f 
                                 
                               
                               
                                 
                                   
                                     
                                       y 
                                       1 
                                     
                                     - 
                                     
                                       y 
                                       0 
                                     
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             λ 
                             * 
                             
                               [ 
                               
                                 
                                   
                                     
                                       a 
                                       11 
                                     
                                   
                                   
                                     
                                       a 
                                       12 
                                     
                                   
                                   
                                     
                                       a 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       b 
                                       11 
                                     
                                   
                                   
                                     
                                       b 
                                       12 
                                     
                                   
                                   
                                     
                                       b 
                                       13 
                                     
                                   
                                 
                                 
                                   
                                     
                                       c 
                                       11 
                                     
                                   
                                   
                                     
                                       c 
                                       12 
                                     
                                   
                                   
                                     
                                       c 
                                       13 
                                     
                                   
                                 
                               
                               ] 
                             
                             * 
                             
                               
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         1 
                                       
                                     
                                     
                                       
                                         a 
                                         2 
                                       
                                     
                                     
                                       
                                         a 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         1 
                                       
                                     
                                     
                                       
                                         b 
                                         2 
                                       
                                     
                                     
                                       
                                         b 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         1 
                                       
                                     
                                     
                                       
                                         c 
                                         2 
                                       
                                     
                                     
                                       
                                         c 
                                         3 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 
                                   
                                     
                                       
                                         X 
                                         A 
                                       
                                       - 
                                       
                                         X 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Y 
                                         A 
                                       
                                       - 
                                       
                                         Y 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Z 
                                         A 
                                       
                                       - 
                                       
                                         Z 
                                         
                                           S 
                                           ⁢ 
                                           1 
                                         
                                       
                                     
                                   
                                 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         ⋮ 
                       
                     
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     
                                       x 
                                       n 
                                     
                                     - 
                                     
                                       x 
                                       0 
                                     
                                   
                                 
                               
                               
                                 
                                   f 
                                 
                               
                               
                                 
                                   
                                     
                                       y 
                                       n 
                                     
                                     - 
                                     
                                       y 
                                       0 
                                     
                                   
                                 
                               
                             
                             ] 
                           
                           = 
                           
                             λ 
                             * 
                             
                               [ 
                               
                                 
                                   
                                     
                                       a 
                                       
                                         n 
                                         ⁢ 
                                         1 
                                       
                                     
                                   
                                   
                                     
                                       a 
                                       
                                         n 
                                         ⁢ 
                                         2 
                                       
                                     
                                   
                                   
                                     
                                       a 
                                       
                                         n 
                                         ⁢ 
                                         3 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       b 
                                       
                                         n 
                                         ⁢ 
                                         1 
                                       
                                     
                                   
                                   
                                     
                                       b 
                                       
                                         n 
                                         ⁢ 
                                         2 
                                       
                                     
                                   
                                   
                                     
                                       b 
                                       
                                         n 
                                         ⁢ 
                                         3 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       c 
                                       
                                         n 
                                         ⁢ 
                                         1 
                                       
                                     
                                   
                                   
                                     
                                       c 
                                       
                                         n 
                                         ⁢ 
                                         2 
                                       
                                     
                                   
                                   
                                     
                                       c 
                                       
                                         n 
                                         ⁢ 
                                         3 
                                       
                                     
                                   
                                 
                               
                               ] 
                             
                             * 
                             
                               
                                 [ 
                                 
                                   
                                     
                                       
                                         a 
                                         1 
                                       
                                     
                                     
                                       
                                         a 
                                         2 
                                       
                                     
                                     
                                       
                                         a 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         b 
                                         1 
                                       
                                     
                                     
                                       
                                         b 
                                         2 
                                       
                                     
                                     
                                       
                                         b 
                                         3 
                                       
                                     
                                   
                                   
                                     
                                       
                                         c 
                                         1 
                                       
                                     
                                     
                                       
                                         c 
                                         2 
                                       
                                     
                                     
                                       
                                         c 
                                         3 
                                       
                                     
                                   
                                 
                                 ] 
                               
                               [ 
                               
                                 
                                   
                                     
                                       
                                         X 
                                         A 
                                       
                                       - 
                                       
                                         X 
                                         Sn 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Y 
                                         A 
                                       
                                       - 
                                       
                                         Y 
                                         Sn 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       
                                         Z 
                                         A 
                                       
                                       - 
                                       
                                         Z 
                                         Sn 
                                       
                                     
                                   
                                 
                               
                               ] 
                             
                           
                         
                       
                     
                     
                       
                         
                           
                             
                               
                                 
                                   d 
                                   i 
                                   2 
                                 
                                 = 
                                 
                                   
                                     
                                       ( 
                                       
                                         
                                           X 
                                           A 
                                         
                                         - 
                                         
                                           X 
                                           Si 
                                         
                                       
                                       ) 
                                     
                                     2 
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         
                                           Y 
                                           A 
                                         
                                         - 
                                         
                                           Y 
                                           Si 
                                         
                                       
                                       ) 
                                     
                                     2 
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         
                                           Z 
                                           A 
                                         
                                         - 
                                         
                                           Z 
                                           Si 
                                         
                                       
                                       ) 
                                     
                                     2 
                                   
                                 
                               
                             
                             
                               
                                 1 
                                 ≤ 
                                 i 
                                 ≤ 
                                 n 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   3 
                   ) 
                 
               
             
           
         
       
     
     where, [x1, y1, xn, yn] is the image coordinate projected on multiple views for the same road sign or marking of the object space; [x 0 , y 0 ] is the coordinate of the main point of the image; f is the focal distance of the camera; λ is the projection coefficient; [X A , Y A , Z A ] is the object space coordinate to be calculated for the road sign and marking; [X Si , Z Si ] is the corresponding camera position for the i-th image, 1≤i≤n, when i is n, [X Sn , Y Sn , Z Sn ]; [α 11 , α 12 , α 13 ; b 11 , b 12 , b 13 ;c 1 1 , c 12 , c 13 ] and [an1, an2, an3; b n1 , b n2 , b n3 ; cn1, cn2, cn3] are expressed as the transition matrix from the auxiliary coordinate system of the image space to the coordinate system of the image plane of the corresponding image; [α 1 , α 2 , α 3 ; b 1 , b 2 , b 3 ;c 1 , c 2 , c 3 ] is the transition matrix from the geodetic coordinate system to the auxiliary coordinate system of the image space; and d i  is the spatial distance between the road sign and marking to be calculate and the photographing center of the i-th streetscape image; and 
     S 6 , data fusion and updating: in GIS software, vectorizing the position information of the road signs and markings obtained in steps S 4  and S 5 , and fusing into the original data to update the data of the road signs and markings. 
       FIG.  5    is a software interface diagram of the automatic acquisition of road signs and markings by this method in this embodiment, where the elements rendered with white traffic light symbols represent the road rod-shaped signs; since example segmentation is not performed in the image semantic segmentation, it is necessary to further input its type attribute against the streetscape image; the white line indicates the road marking and stop line; there is no further distinction on the marking category here, and it needs to be further finished according to the actual situation; the execution process of the whole software function is roughly as follows: with the video playing, the spatial positions of the road signs and markings are solved in real time and rendered on the map; and when a user finds that there is no element change in the current road section, he/she can drag the video progress bar to update the changed road section. 
     The foregoing are only better embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention shall be covered within the scope of protection for the present invention.