WO2020042349A1 - Positioning initialization method applied to vehicle positioning and vehicle-mounted terminal - Google Patents

Positioning initialization method applied to vehicle positioning and vehicle-mounted terminal Download PDF

Info

Publication number
WO2020042349A1
WO2020042349A1 PCT/CN2018/113669 CN2018113669W WO2020042349A1 WO 2020042349 A1 WO2020042349 A1 WO 2020042349A1 CN 2018113669 W CN2018113669 W CN 2018113669W WO 2020042349 A1 WO2020042349 A1 WO 2020042349A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
map
positioning
local map
local
Prior art date
Application number
PCT/CN2018/113669
Other languages
French (fr)
Chinese (zh)
Inventor
李天威
谢国富
Original Assignee
初速度(苏州)科技有限公司
北京初速度科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 初速度(苏州)科技有限公司, 北京初速度科技有限公司 filed Critical 初速度(苏州)科技有限公司
Publication of WO2020042349A1 publication Critical patent/WO2020042349A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • the invention relates to the technical field of automatic driving, in particular to a positioning initialization method and a vehicle-mounted terminal applied to vehicle positioning.
  • the operation of vehicle positioning initialization needs to be performed, that is, determining the initial position of the vehicle in the electronic driving navigation electronic map.
  • the initial position can be obtained based on prior information of a position such as a Global Satellite Positioning System (GPS) signal.
  • GPS Global Satellite Positioning System
  • the embodiment of the invention discloses a positioning initialization method and a vehicle-mounted terminal applied to vehicle positioning, which can implement vehicle positioning initialization when a priori information such as GPS signals is missing.
  • the first aspect of the embodiments of the present invention discloses a positioning initialization method applied to vehicle positioning, the method includes:
  • the local map Matching the local map with a pre-built global map to obtain the position of the local map in the global map; wherein, as the vehicle travels, the range of the local map gradually increases.
  • the range of the local map is increased to be able to match from the global map to the only area that is the same as the local map, the local map is determined to be in the global map according to the position of the area in the global map s position;
  • constructing a surrounding environment of the vehicle by using a target image captured by an image acquisition device to obtain a local map includes:
  • the multiple image acquisition devices include image acquisition devices installed in the front, rear, left, and right directions of the vehicle, each The framing range of the image acquisition device includes at least the ground below the image acquisition device;
  • matching the local map with a pre-built global map to obtain a position of the local map in the global map includes :
  • Detecting a specific feature in the local map where the specific feature is a semantic feature of the image whose appearance probability in the local map is lower than the non-specific feature;
  • the method before the using the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map, the method also includes:
  • the positioning end position is recorded, determining the positioning end position as an initial position of the vehicle in the global map;
  • the target image captured by the image acquisition device is used to construct the surrounding environment of the vehicle to obtain a local map.
  • the method before the using the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map, the method also includes:
  • the satellite positioning signal is not received, executing the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map.
  • a second aspect of the embodiments of the present invention discloses a vehicle-mounted terminal, including:
  • a construction unit configured to construct a surrounding environment of the vehicle by using a target image captured by an image acquisition device to obtain a local map
  • a matching unit configured to match the local map with a pre-built global map to obtain a position of the local map in the global map; wherein, as the vehicle travels, the range of the local map gradually increases Large, when the range of the local map is increased to be able to match from the global map to the only area that is the same as the local map, determining the location of the local map based on the location of the area in the global map A position in the global map;
  • a first determining unit configured to map a position of the vehicle in the local map to the global map based on a position of the local map in the global map to obtain the vehicle in the global map The initial position in the map.
  • the construction unit includes:
  • An acquisition subunit configured to acquire multiple target images captured by multiple image acquisition devices at the same moment;
  • the multiple image acquisition devices include image acquisitions respectively installed in front, rear, left, and right directions of the vehicle Device, the framing range of each said image acquisition device includes at least the ground below the image acquisition device;
  • a construction subunit is used for identifying the image semantic feature in the top-view mosaic image, and constructing a local map based on the image semantic feature.
  • the matching unit includes:
  • a detection subunit configured to detect a specific feature in the local map, where the specific feature is a semantic feature of the image whose appearance probability in the local map is lower than the non-specific feature;
  • a determining subunit configured to determine a position of the local map in the global map according to a position of the target feature in the global map.
  • the vehicle-mounted terminal further includes:
  • a first determining unit is configured to determine whether the positioning end position at the end of the last positioning calculation is recorded before the construction unit uses the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map.
  • the last positioning calculation is a previous positioning calculation that occurred before the vehicle was started;
  • a second determining unit configured to determine the end position of the positioning as the initial position of the vehicle in the global map when the first determination unit determines that it is recorded to the positioning end position;
  • the construction unit is specifically configured to use the target image captured by the image acquisition device to construct the surrounding environment of the vehicle when the first determination unit determines that the positioning end position is not recorded, to obtain a local map .
  • the specific feature includes a zebra crossing, a lane arrow, and a storage location.
  • a third aspect of the embodiments of the present invention discloses a vehicle-mounted terminal, including:
  • a processor coupled to the memory
  • the processor calls the executable program code stored in the memory to execute any method disclosed in the first aspect of the embodiments of the present invention.
  • a fourth aspect of the present invention discloses a computer-readable storage medium that stores a computer program, wherein the computer program causes a computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
  • a fifth aspect of the embodiments of the present invention discloses a computer program product, and when the computer program product runs on a computer, the computer is caused to execute any method disclosed in the first aspect of the embodiments of the present invention.
  • the initial position of the vehicle in the global map can be determined by using the image data captured by the image acquisition device when the prior information of the position such as the GPS signal is missing, thereby completing the initialization of the vehicle positioning.
  • top-view mosaic as the input object of the neural network to extract the semantic features is more accurate than the traditional map matching using the forward graph or forward side graph or ring view, so that the positioning is accurate.
  • stitching the target images first, and then extracting the semantic features of the images from the top-view mosaic can also improve the extraction efficiency of the semantic features of the images.
  • FIG. 1 is a schematic flowchart of a positioning initialization method applied to vehicle positioning disclosed in an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another positioning initialization method applied to vehicle positioning disclosed in an embodiment of the present invention
  • FIG. 3 is an exemplary diagram of a partial map of a parking lot constructed by a vehicle terminal disclosed in an embodiment of the present invention
  • FIG. 4 is another exemplary partial map of a parking lot constructed by a vehicle terminal disclosed in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a vehicle-mounted terminal disclosed in an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another vehicle-mounted terminal disclosed in an embodiment of the present invention.
  • the embodiment of the invention discloses a positioning initialization method and a vehicle-mounted terminal applied to vehicle positioning, which can implement vehicle positioning initialization when a priori information such as GPS signals is missing. Each of them will be described in detail below.
  • FIG. 1 is a schematic flowchart of a positioning initialization method applied to vehicle positioning according to an embodiment of the present invention.
  • the method is applied to a vehicle-mounted computer, a vehicle-mounted industrial control computer (Industrial Personal Computer, IPC) and other vehicle-mounted terminals, which are not limited in the embodiment of the present invention.
  • the above-mentioned vehicle-mounted terminal is connected to each sensor of the vehicle, and receives and processes data collected by each sensor.
  • the positioning initialization method applied to vehicle positioning may include the following steps:
  • a vehicle-mounted terminal uses a target image captured by an image acquisition device to construct a surrounding environment of a vehicle to obtain a local map.
  • the image acquisition device may be a camera.
  • the camera in the following refers to the image acquisition device.
  • the camera is installed on the vehicle and is used to capture the surrounding environment of the vehicle.
  • the vehicle terminal can use local positioning and map construction (Simultaneous Localization and Mapping) technology to build a local map using the target image captured by the camera.
  • the local map is used for Describe the surroundings of the vehicle.
  • the vehicle-mounted terminal can identify feature points in the target image and use these feature points to build a map. That is to say, for a vehicle-mounted terminal, when the vehicle is in an unknown position in an unknown environment, the vehicle-mounted terminal can use the images captured by the camera to gradually draw a local map of the vehicle's path environment while the vehicle is continuously traveling.
  • cameras can be installed in the front, rear, left, and right directions of the vehicle, and the framing range of each camera includes at least the ground below the camera.
  • the foregoing camera may be a fish-eye camera, and a field of view (FOV) of the fish-eye camera is relatively large, so that the target image captured by a single fish-eye camera includes as much of the periphery of the vehicle as possible. Environment, improve the integrity of the local map, and increase the amount of information contained in the local map.
  • FOV field of view
  • the vehicle-mounted terminal matches the local map with a pre-built global map to obtain the position of the local map in the global map.
  • the global map is an electronic map for autonomous driving navigation, and is a digital description of the real geographic environment. Compared with the local map constructed by the vehicle terminal in step 101, the global map has a larger range.
  • the global map may be a map of the entire parking lot
  • the local map may be a map including the route of the vehicle in the parking lot and the surrounding environment of the route. It can be seen that for the same geographical environment, the local map is part of the global map. Some features in the local map are the same as those in the global map. By looking for these same features, you can match the local map with the local map. In the same area, the location of the area is the position of the local map in the global map.
  • the local map may be a map composed of gradually accumulated map fragments. Due to the similarity of features, when the range of the local map is small, there may be multiple areas in the global map that are the same as the local map. At this time, it is difficult to determine the exact location of the local map in the global map. Therefore, the vehicle can continue to drive, and the in-vehicle terminal continuously acquires the target image captured by the vehicle during the driving process, adds the information of the target image to the original local map, and constructs a new local map, which is a process of gradual accumulation.
  • the in-vehicle terminal maps the position of the vehicle in the local map to the global map based on the position of the local map in the global map to obtain the initial position of the vehicle in the global map.
  • the in-vehicle terminal successfully matches the local map with the global map, it can be understood that the same area as the local map is found from the global map, so that the correspondence between the local map and the global map can be determined. Therefore, based on the above-mentioned correspondence relationship, the position of the vehicle in the local map can be mapped to the global map, and the initial position of the vehicle in the global map can be obtained. Because the global map is a digital description of the real geographic environment, the features in the global map correspond one-to-one with objects in the real geographic environment.
  • the vehicle terminal uses only visual information to complete the vehicle's base on the basis of not relying on prior information such as GPS signals. Positioning initialization.
  • the vehicle is started in an underground garage, and the vehicle-mounted terminal cannot receive the GPS signal at this time, and thus the GPS signal cannot be used to complete the preliminary positioning of the vehicle.
  • the vehicle-mounted terminal controls the camera to capture the surrounding environment of the vehicle to obtain the target image.
  • the target image is used to construct a local map describing the surrounding environment of the vehicle.
  • the initial position of the vehicle in the global map completes the initialization of the vehicle's positioning.
  • the vehicle-mounted terminal uses the target image captured by the camera to construct a local map describing the surrounding environment of the vehicle. After the local map and the pre-built local map are successfully matched, the local map can be used according to the local map.
  • the position in the global map determines the initial position of the vehicle in the global map, so that the vehicle's positioning initialization can be completed using only visual information without relying on prior information such as GPS signals.
  • FIG. 2 is a schematic flowchart of another positioning initialization method applied to vehicle positioning disclosed in an embodiment of the present invention.
  • the positioning initialization method applied to vehicle positioning may include the following steps:
  • step 201 The in-vehicle terminal determines whether the positioning end position at the end of the last positioning calculation is recorded. If yes, step 202 is performed, and if no, step 205 is performed.
  • the vehicle-mounted terminal determines the positioning end position as an initial position of the vehicle in the global map.
  • the last positioning calculation is a previous positioning calculation that occurred before the vehicle was started.
  • the power of the vehicle terminal is cut off, and the vehicle terminal stops the positioning calculation. From the time the vehicle goes out to the next start, the vehicle is likely to have no position change and will not move.
  • positioning initialization is required. At this time, if the positioning end position at the end of the last positioning is recorded, the positioning end position can be directly used as the initial position of the vehicle in the global map, thereby shortening the positioning initialization position. It takes time to improve the user experience.
  • the in-vehicle terminal determines whether a satellite positioning signal is received, and if yes, executes step 204; if not, executes step 205.
  • the vehicle-mounted terminal determines an initial position of the vehicle in the global map based on the satellite positioning signal.
  • the global map described above may be an underground map used when a vehicle is driving in an underground garage.
  • the above-ground map used by vehicles on the ground and the underground map used by vehicles in underground garages may belong to two different map expression systems.
  • the above-ground map is a three-dimensional map
  • the underground map is a two-dimensional map.
  • the vehicle terminal may receive the satellite positioning signal. Therefore, the vehicle terminal can directly use the satellite positioning signal to determine the initial position of the vehicle terminal in the global map (that is, the underground map), thereby reducing the time required for positioning initialization To improve user experience.
  • step 201 and step 203 there is no logical sequence relationship between step 201 and step 203, and the vehicle-mounted terminal may execute step 201 and step 203 simultaneously. If the in-vehicle terminal receives the satellite positioning signal while determining that the positioning end position is recorded, there may be errors in the satellite positioning result according to the propagation characteristics of the satellite positioning signal. Therefore, the in-vehicle terminal can select the positioning end position as the vehicle on the global map In the initial position.
  • the vehicle-mounted terminal acquires multiple target images captured by multiple cameras at the same moment.
  • the above-mentioned multiple cameras are cameras respectively installed in the front, rear, left, and right directions of the vehicle, and the framing range of each camera includes at least the ground below the camera.
  • the cameras installed in the above four directions form the camera's surround view solution, so that the vehicle terminal can obtain environmental information in all directions around the vehicle at one time, so that the local map constructed using the target image obtained in a single acquisition contains more
  • the features are beneficial to improve the matching success rate of local maps and global maps.
  • the vehicle-mounted terminal stitches multiple target images to obtain a top-view mosaic image.
  • the in-vehicle terminal stitches the target images captured by the cameras installed in the front, rear, left, and right directions of the vehicle at the same time, and the resulting top-view mosaic image includes a 360-degree environment centered on the vehicle. information.
  • the vehicle terminal needs to perform anti-distortion processing on the target image before performing step 206 to stitch multiple target images, that is, according to a certain mapping rule, the The target image captured by the fisheye camera is projected onto the ground plane, and the images obtained after the projection are stitched together.
  • the in-vehicle terminal recognizes image semantic features in the top-view mosaic image, and constructs a local map based on the identified image semantic features.
  • the image semantic feature is a semantic feature that can be empirically filtered, has a special meaning, and is helpful for vehicle positioning.
  • the vehicle is located in a parking lot, and the parking lot may be an above-ground parking lot or an underground parking lot, which is not limited in the embodiment of the present invention.
  • the image semantic features may be lane lines, parking space lines, storage locations (intersection points between the storage space lines), zebra crossings, lane arrows, and the like, which are not limited in the embodiments of the present invention. Please refer to FIG. 3 together.
  • FIG. 3 Please refer to FIG. 3 together.
  • FIG. 3 is an exemplary diagram of a partial map of a parking lot constructed by a vehicle-mounted terminal according to an embodiment of the present invention.
  • the passing lanes, storage lines, storage locations and other semantic features are composed of them.
  • the dotted line with arrows shows the driving trajectory of the vehicle.
  • the in-vehicle terminal may recognize image semantic features from a top-view mosaic image through an image recognition algorithm such as deep learning or image segmentation.
  • an image recognition algorithm such as deep learning or image segmentation.
  • a neural network model suitable for deep learning can be used to identify image semantic features, and a large number of top-down mosaic sample images labeled with image semantic features are used to train the neural network model in advance.
  • the neural network model is as follows:
  • the network structure uses the Encoder-Decoder model, which mainly includes two parts: the Encoder part and the Decoder part.
  • the stitched image is input into the network, and the coding part of the network mainly extracts features of the image through convolution and pooling layers.
  • the network is trained with labeled large samples, and the network parameters are adjusted to make the coding network accurate semantic and non-semantic features.
  • the coding network extracts features through two convolutions, it performs downsampling through pooling. By cascading four two-layer convolutions and one pooling structure, the receptive fields of neurons on the top layer of the coding network can cover semantic elements of different scales in the examples of the present invention.
  • the decoding network is a symmetric structure with the coding network, where the pooling layer of the coding network is changed to the upsampling layer.
  • the features extracted from the encoding are enlarged to the size of the original image, thereby achieving pixel semantic classification. Upsampling is achieved by deconvolution. This operation can get most of the information in the input data, but some information is still lost. Therefore, we introduce the underlying features to supplement the details lost during the decoding process.
  • These low-level features are mainly used to encode convolutional layers of different scales in the network.
  • the features extracted by encoding the network convolutional layers on the same scale can be combined with deconvolution to generate more accurate feature maps.
  • Network training mainly uses cross entropy to measure the difference between the predicted value and the actual value of the network. The cross entropy formula is as follows:
  • y is the label value of the image element, that is, whether a pixel of the image is a semantic element or a non-semantic element. Generally, 1 is used for semantic elements and 0 is used for non-semantic elements.
  • N is the total number of pixels in the image
  • x is the input
  • a is the neuron.
  • the image semantic segmentation has been realized so far.
  • the top-view mosaic image obtained by splicing the vehicle terminal is input to the trained neural network model, and based on the recognition result of the neural network model, the image semantic features in the top-view mosaic image can be identified.
  • the deep learning method can be used to extract the image semantic features from the top-view mosaic, which can improve the recognition accuracy of the image semantic features.
  • the above network structure is specifically designed for the extraction of semantic features of stitched images, and ensures the accuracy of the extraction of semantic features, which belongs to one of the invention points of the present invention.
  • the target images are spliced first, and then the image semantic features are extracted from the top-view mosaic, instead of extracting the image semantic features in the target image one by one, which can improve the extraction efficiency of the image semantic features, which also belongs to the invention point of the invention One.
  • the vehicle-mounted terminal detects a specific feature in the local map.
  • the specific feature is an image semantic feature whose appearance probability in the local map is lower than the non-specific feature.
  • the in-vehicle terminal identifies a target feature that matches a specific feature in a pre-built global map.
  • the vehicle-mounted terminal determines the position of the local map in the global map according to the position of the target feature in the global map.
  • the local map may include multiple types of semantic features, and different types of semantic features have different probability of appearing in the local map.
  • lane lines and parking space lines are usually selected as semantic features.
  • the present invention is concerned that the probability of the zebra crossing and the lane arrow appearing is lower than the lane line and the parking space line, which can be set as specific features for map matching.
  • the use of specific features in the local map for matching between the local map and the global map can increase the probability of successful matching, which is also one of the inventive points of the present invention.
  • the present invention is concerned that their distribution densities are not the same in curves and straights. According to this feature, it can also be used as a specific feature to assist in positioning the local map on the global map. This is also one of the invention points of the present invention.
  • FIG. 4 is another exemplary partial map of a parking lot constructed by a vehicle terminal disclosed in an embodiment of the present invention.
  • the local map includes three image semantic features of a location line, a location and a lane arrow. If the location line and location are used for matching, it is possible to match multiple areas from the global map with the local map. At this time, the matching accuracy is low.
  • lane arrows lane arrows in different positions are also different in shape, size, and location relationship with surrounding location lines and locations. Therefore, using lane arrows to match local and global maps can Increase the probability of a successful match.
  • the vehicle-mounted terminal maps the position of the vehicle in the local map to the global map based on the position of the local map in the global map to obtain the initial position of the vehicle in the global map.
  • the vehicle-mounted terminal may directly use the positioning end position as a result of positioning initialization when recording the positioning end position, or may determine the positioning initialization based on the satellite positioning signal when receiving the satellite positioning signal.
  • the time required for positioning initialization can be shortened, and the user experience can be improved.
  • the vehicle-mounted terminal uses four cameras installed around the vehicle to form a camera look-around solution, so that the local map constructed using the target image obtained by a single acquisition contains more features, which is beneficial to The matching between the local map and the global map can also reduce the impact on the local map construction and positioning of the vehicle terminal when some cameras fail.
  • the in-vehicle terminal uses a specific feature with a low probability of occurrence in the local map to perform matching between the local map and the global map, which can increase the probability of successful matching.
  • FIG. 5 is a schematic structural diagram of a vehicle-mounted terminal disclosed in an embodiment of the present invention.
  • the vehicle-mounted terminal shown in FIG. 5 is connected to each sensor of the vehicle, and receives and processes data collected by each sensor.
  • the vehicle terminal includes:
  • a constructing unit 501 is configured to construct a surrounding environment of a vehicle by using a target image captured by a camera to obtain a local map.
  • the camera is installed on the vehicle and used to photograph the surrounding environment of the vehicle.
  • the construction unit 501 may identify feature points in the target image based on the SLAM technology, and use these feature points to construct a map.
  • cameras can be installed in front, rear, left, and right directions of the vehicle, and a viewing range of each camera includes at least the ground below the camera.
  • the foregoing camera may be a fisheye camera, so that the target image captured by a single fisheye camera may include the surrounding environment of the vehicle as much as possible, improve the integrity of the local map, and increase the amount of information contained in the local map.
  • the matching unit 502 is configured to match the local map constructed by the construction unit 501 with a pre-built global map to obtain the position of the local map in the global map.
  • the matching unit 502 can find the same feature in the global map as the local map by searching for the same features in the local map and the global map, so that the location of the area is the local map in the global Location in the map.
  • the local map constructed by the construction unit 501 may be a map composed of gradually accumulated map fragments. Due to the similarity of features, when the range of the local map is small, there may be multiple areas in the global map that are the same as the local map. At this time, it is difficult to determine the exact location of the local map in the global map. Therefore, the vehicle can continue to drive, and the in-vehicle terminal continuously acquires the target image captured by the vehicle during the driving process, adds the information of the target image to the original local map, and constructs a new local map, which is a process of gradual accumulation.
  • the construction unit 501 may be triggered to continue to acquire the target image captured by the camera, and continue to use the target image to construct the local map described above.
  • the first determining unit 503 is configured to map the position of the vehicle in the local map to the global map based on the position of the local map in the global map obtained by the matching unit 502 to obtain the initial position of the vehicle in the global map.
  • the first determining unit 503 may determine the initial position of the vehicle in the global map. That is, determine the initial position of the vehicle in the real geographic environment (such as a parking lot).
  • the target image captured by the camera can be used to construct a local map describing the surrounding environment of the vehicle.
  • the local map can be used globally.
  • the position in the map determines the initial position of the vehicle in the global map, so that the vehicle's positioning initialization can be completed using only visual information without relying on prior information such as GPS signals.
  • FIG. 6 is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention.
  • the vehicle-mounted terminal shown in FIG. 6 is obtained by optimizing the vehicle-mounted terminal shown in FIG. 5.
  • the above-mentioned construction unit 501 may include:
  • the obtaining subunit 5011 is configured to obtain multiple target images captured by multiple cameras at the same time.
  • the above-mentioned multiple cameras include at least four cameras respectively installed in front, rear, left, and right directions of the vehicle, and the framing range of each camera includes at least the ground below the camera.
  • the cameras installed in the above-mentioned four directions form the camera's surround view solution, so that the local map constructed using the target image obtained in a single acquisition contains more features, which is beneficial to improving the matching success rate between the local map and the global map.
  • there is a certain degree of redundancy between the data collected by each camera in the surround view solution because in the event that a certain camera fails, the collected data of the remaining cameras can be used as a supplement, which can reduce the failure of some cameras to construct the vehicle terminal. Local map and positioning effects.
  • the stitching sub-unit 5012 is configured to stitch multiple target images acquired by the obtaining sub-unit 5011 to obtain a top-view mosaic image.
  • the stitching subunit 5012 needs to perform anti-distortion processing on the target image before stitching multiple target images, that is, according to a certain mapping rule,
  • the target image captured by the fisheye camera is projected onto the ground plane, and the images obtained after the projection are stitched together.
  • a construction subunit 5013 is used to identify the image semantic features in the top-view mosaic image obtained by the mosaic subunit 5012, and construct a local map based on the identified image semantic features.
  • the image semantic feature is a semantic feature that can be empirically filtered, has a special meaning, and is helpful for vehicle positioning.
  • the image semantic feature may be a lane line, a parking space line, a storage location point, a zebra crossing, a lane arrow, and the like, which are not limited in the embodiment of the present invention.
  • the construction sub-unit 5013 can recognize image semantic features from a top-view mosaic image through an image recognition algorithm such as deep learning or image segmentation.
  • the semantic features of the image can be identified by using a neural network model suitable for deep learning: inputting the top-view mosaic image obtained by splicing the vehicle terminal into the trained neural network model, and the top view can be identified based on the recognition result of the neural network model.
  • Image semantic features in mosaics can be used to extract the image semantic features from the top-view mosaic, which can improve the recognition accuracy of the image semantic features.
  • the above-mentioned construction unit 501 constructs a local map based on the camera's surround view scheme. Compared with the technical solutions of the monocular camera's forward-looking scheme, the construction unit 501 uses a single observation to include more information in the local map, which can shorten positioning. The time required for initialization can also improve the accuracy of positioning.
  • the aforementioned matching unit 502 may include:
  • the detection sub-unit 5021 is configured to detect specific features in the local map constructed by the construction sub-unit 5013, wherein the specific features mentioned above are image semantic features whose appearance probability in the local map is lower than non-specific features.
  • the specific feature is an image semantic feature whose appearance probability in the local map is lower than the non-specific feature.
  • the local map may include multiple types of semantic features, and different types of semantic features have different probability of appearing in the local map.
  • semantic features such as lane lines, parking space lines, storage locations, zebra crossings, and lane arrows are generally included, while features similar to zebra crossings or lane arrows with lower probability of occurrence can be set
  • specific features used for map matching can be set. Using the specific features in the local map to match between the local map and the global map can increase the probability of successful matching.
  • the identification sub-unit 5022 is used to identify target features in the pre-built global map that match the specific features identified by the detection sub-unit 5021.
  • the determining subunit 5023 is used for identifying the subunit 5022 to determine the position of the local map in the global map according to the position of the target feature in the global map.
  • the implementation of the on-board terminal shown in FIG. 6 can use only visual information to complete the positioning initialization of the vehicle, and can also use the four cameras installed around the vehicle to form a camera look-around solution, so that the target image obtained by a single acquisition is used to construct the
  • the local map contains more features, which is beneficial to the matching between the local map and the global map. It can also reduce the impact on the local map construction and positioning of the vehicle terminal when some cameras fail.
  • the in-vehicle terminal shown in FIG. 6 uses a specific feature with a low probability of occurrence in the local map to perform matching between the local map and the global map, which can increase the probability of successful matching.
  • FIG. 7 is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention.
  • the vehicle-mounted terminal shown in FIG. 7 is obtained by optimizing the vehicle-mounted terminal shown in FIG. 6.
  • the vehicle-mounted terminal may further include:
  • a first determining unit 504 is configured to determine whether to record the positioning end position at the end of the last positioning calculation before constructing the surrounding environment of the vehicle using the target image captured by the camera to obtain a local map; One positioning calculation is the previous positioning calculation that occurred before the vehicle was started.
  • the second determining unit 505 is configured to determine the end position of the positioning as the initial position of the vehicle in the global map when the first determining unit 504 determines that the positioning end position is recorded.
  • the above-mentioned construction unit 501 is specifically configured to use the target image captured by the camera to construct the surrounding environment of the vehicle when the first determination unit 504 determines that the positioning end position is not recorded, to obtain a local map.
  • the positioning end position can be directly used as the initial position of the vehicle in the global map. Position, which can shorten the time required for positioning initialization and improve the user experience.
  • the vehicle-mounted terminal shown in FIG. 7 may also include:
  • a second determining unit 506 is configured to determine whether a satellite positioning signal is received before the constructing unit 501 constructs a surrounding environment of the vehicle using a target image captured by a camera to obtain a local map.
  • the third determining unit 507 is configured to determine an initial position of the vehicle in the global map based on the satellite positioning signal when the second determining unit 506 determines that the satellite positioning signal is received.
  • the above-mentioned constructing unit 501 is specifically configured to use the target image captured by the camera to construct the surrounding environment of the vehicle when the second determining unit 506 determines that no satellite positioning signal is received, to obtain a local map.
  • the second determination unit 506 may determine that a satellite positioning signal is received. Therefore, the vehicle-mounted terminal may directly trigger the third determination unit 507 to determine that the vehicle-mounted terminal is in the global map (ie, the underground map) using the satellite positioning signal. Initial position, which shortens the time required for positioning initialization and improves the user experience.
  • the in-vehicle terminal set includes a first determination unit 504 and a second determination unit 506, and when the first determination unit 504 determines that it is recorded to the positioning end position, the second The judging unit 505 also judges that the satellite positioning signal is received. According to the propagation characteristics of the satellite positioning signal, there may be errors in the satellite positioning results. Therefore, the second determining unit 505 is triggered to execute the positioning end position as the initial position of the vehicle in the global map Position operation determines the positioning end position at the end of the last positioning calculation as the vehicle's positioning initialization result.
  • the positioning of the vehicle can be completed using only the visual information.
  • the positioning end position can be directly used as a result of positioning initialization.
  • the result of positioning initialization can be determined based on the satellite positioning signal, thereby reducing the time required for positioning initialization. Time to improve user experience.
  • the three positioning initialization methods mentioned above are complementary to each other, which can improve the stability of positioning initialization.
  • FIG. 8 is a schematic structural diagram of another vehicle-mounted terminal disclosed in an embodiment of the present invention.
  • the vehicle-mounted terminal may include:
  • the communication bus 802 is used to implement connection and communication between these components.
  • the user interface 803 may include a display screen, and the optional user interface 803 may further include a standard wired interface and a wireless interface.
  • the network interface 804 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 805 may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), for example, at least one magnetic disk memory.
  • the memory 805 may optionally be at least one storage device located far from the foregoing processor 801. As shown in FIG. 8, a memory 805 as a computer storage medium stores executable program code, which may include at least an operating system, a network communication module, a user interface module, and a positioning initialization module.
  • the network interface 804 is mainly used to connect to the server and perform data communication with the server (such as downloading a global map); and the processor 801 may be coupled to the memory 805 and used to call the memory stored in the memory 805.
  • the executable program code corresponding to the positioning initialization module executes any positioning initialization method applied to vehicle positioning shown in FIG. 1 or FIG. 2.
  • vehicle-mounted terminal shown in FIG. 8 may further include components not shown, such as a power source, input buttons, speakers, and a Bluetooth module, which are not described in this embodiment.
  • An embodiment of the present invention discloses a computer-readable storage medium that stores a computer program, wherein the computer program causes a computer to execute any one of the positioning initialization methods shown in FIG. 1 or FIG. 2 that is applied to vehicle positioning.
  • An embodiment of the present invention discloses a computer program product.
  • the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of FIG. 1 or FIG. 2.
  • an embodiment or “an embodiment” mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention.
  • the appearances of "in one embodiment” or “in an embodiment” appearing throughout the specification are not necessarily referring to the same embodiment.
  • the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • the functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the technical solution of the present invention essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory , Including a number of requests to cause a computer device (which may be a personal computer, a server, or a network device, specifically a processor in a computer device) to perform some or all of the steps of the foregoing methods of various embodiments of the present invention.
  • a computer device which may be a personal computer, a server, or a network device, specifically a processor in a computer device
  • the program may be stored in a computer-readable storage medium, and the storage medium includes a read-only Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-only Memory (PROM), Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), Compact Disc (Compact Disc) Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc
  • CD-ROM Compact Disc

Abstract

A positioning initialization method applied to vehicle positioning and a vehicle-mounted terminal. The method comprises: constructing a surrounding environment of a vehicle by means of a target image photographed by an image collection device, so as to obtain a local map; matching the local map with a pre-constructed global map to obtain a position of the local map in the global map; and on the basis of the position of the local map in the global map, mapping the position of the vehicle in the local map into the global map to obtain an initial position of the vehicle in the global map. According to the technical solutions, the initial position of the vehicle in the global map can be determined by utilizing image data photographed by the image collection device under the condition that position prior information such as a GPS signal misses, so that initialization of vehicle positioning is completed.

Description

一种应用于车辆定位的定位初始化方法及车载终端Positioning initialization method and vehicle terminal applied to vehicle positioning 技术领域Technical field
本发明涉及自动驾驶技术领域,具体涉及一种应用于车辆定位的定位初始化方法及车载终端。The invention relates to the technical field of automatic driving, in particular to a positioning initialization method and a vehicle-mounted terminal applied to vehicle positioning.
背景技术Background technique
在自动驾驶的技术方案中,当车辆启动时,需要进行车辆定位初始化的操作,即确定车辆在自动驾驶导航电子地图中的初始位置。一般来说,该初始位置可以基于全球卫星导航系统(Global Positioning System,GPS)信号等位置先验信息得出。然而,在某些特殊环境下(比如GPS设备故障或者车辆处于地下车库、隧道),在进行车辆定位初始时无法利用GPS信号等位置先验信息,难以进行定位初始化。In the technical solution of automatic driving, when the vehicle is started, the operation of vehicle positioning initialization needs to be performed, that is, determining the initial position of the vehicle in the electronic driving navigation electronic map. Generally, the initial position can be obtained based on prior information of a position such as a Global Satellite Positioning System (GPS) signal. However, in some special environments (such as GPS equipment failure or the vehicle is in an underground garage or tunnel), it is not possible to use position prior information such as GPS signals when initializing vehicle positioning, and it is difficult to perform positioning initialization.
发明内容Summary of the Invention
本发明实施例公开了一种应用于车辆定位的定位初始化方法及车载终端,能够在GPS信号等位置先验信息缺失的情况下实现车辆定位初始化。The embodiment of the invention discloses a positioning initialization method and a vehicle-mounted terminal applied to vehicle positioning, which can implement vehicle positioning initialization when a priori information such as GPS signals is missing.
本发明实施例第一方面公开一种应用于车辆定位的定位初始化方法,所述方法包括:The first aspect of the embodiments of the present invention discloses a positioning initialization method applied to vehicle positioning, the method includes:
利用图像采集装置拍摄到的目标图像对车辆的周围环境进行构建,以得到局部地图;Use the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map;
将所述局部地图与预先构建的全局地图进行匹配,以得到所述局部地图在所述全局地图中的位置;其中,随着车辆的行驶,所述局部地图的范围逐渐增大,当所述局部地图的范围增大到能够从所述全局地图中匹配到唯一一个与所述局部地图相同的区域时,根据该区域在所述全局地图中的位置确定所述局部地图在所述全局地图中的位置;Matching the local map with a pre-built global map to obtain the position of the local map in the global map; wherein, as the vehicle travels, the range of the local map gradually increases. When the range of the local map is increased to be able to match from the global map to the only area that is the same as the local map, the local map is determined to be in the global map according to the position of the area in the global map s position;
基于所述局部地图在所述全局地图中的位置,将所述车辆在所述局部地图中的位置映射到所述全局地图中,以得到所述车辆在所述全局地图中初始位置。Based on the position of the local map in the global map, map the position of the vehicle in the local map to the global map to obtain the initial position of the vehicle in the global map.
作为一种可选的实施方式,在本发明实施例第一方面中,所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图,包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, constructing a surrounding environment of the vehicle by using a target image captured by an image acquisition device to obtain a local map includes:
获取多个图像采集装置在同一时刻拍摄到的多张目标图像;所述多个图像采集装置包括分别安装在所述车辆的前、后、左、右四个方向的图像采集装置,每个所述图像采集装置的取景范围至少包括该图像采集装置的下方地面;Acquire multiple target images captured by multiple image acquisition devices at the same time; the multiple image acquisition devices include image acquisition devices installed in the front, rear, left, and right directions of the vehicle, each The framing range of the image acquisition device includes at least the ground below the image acquisition device;
对多张所述目标图像进行拼接,以得到俯视拼接图;Stitching a plurality of said target images to obtain a top-view mosaic image;
识别所述俯视拼接图中的图像语义特征,并基于所述图像语义特征构建局部地图。Identify image semantic features in the top-view mosaic image, and build a local map based on the image semantic features.
作为一种可选的实施方式,在本发明实施例第一方面中,所述将所述局部地图与预先构建的全局地图进行匹配,以得到所述局部地图在所述全局地图中的位置包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, matching the local map with a pre-built global map to obtain a position of the local map in the global map includes :
检测所述局部地图中的特定特征,所述特定特征为在所述局部地图中的出现概率低于非所述特定特征的所述图像语义特征;Detecting a specific feature in the local map, where the specific feature is a semantic feature of the image whose appearance probability in the local map is lower than the non-specific feature;
识别预先构建的全局地图中与所述特定特征相匹配的目标特征;Identifying target features in the pre-built global map that match the specific features;
根据所述目标特征在所述全局地图中的位置,确定所述局部地图在所述全局地图中的位置。Determining a position of the local map in the global map according to a position of the target feature in the global map.
作为一种可选的实施方式,在本发明实施例第一方面中,在所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the using the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map, the method Also includes:
判断是否记录到上一次定位计算结束时的定位结束位置,所述上一次定位计算为在所述车辆启动前发生的前一次定位计算;Determining whether to record the end position of the positioning at the end of the last positioning calculation, where the last positioning calculation is a previous positioning calculation that occurred before the vehicle was started;
如果记录到所述定位结束位置,将所述定位结束位置确定为所述车辆在所述全局地图中的初始位置;If the positioning end position is recorded, determining the positioning end position as an initial position of the vehicle in the global map;
如果未记录到所述定位结束位置,执行所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图。If the positioning end position is not recorded, the target image captured by the image acquisition device is used to construct the surrounding environment of the vehicle to obtain a local map.
作为一种可选的实施方式,在本发明实施例第一方面中,在所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the using the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map, the method Also includes:
判断是否接收到卫星定位信号,如果接收到所述卫星定位信号,基于所述卫星定位信号确定所述车辆在所述全局地图中的初始位置;Determine whether a satellite positioning signal is received, and if the satellite positioning signal is received, determine an initial position of the vehicle in the global map based on the satellite positioning signal;
如果未接收到所述卫星定位信号,执行所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图。If the satellite positioning signal is not received, executing the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map.
本发明实施例第二方面公开一种车载终端,包括:A second aspect of the embodiments of the present invention discloses a vehicle-mounted terminal, including:
构建单元,用于利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图;A construction unit, configured to construct a surrounding environment of the vehicle by using a target image captured by an image acquisition device to obtain a local map;
匹配单元,用于将所述局部地图与预先构建的全局地图进行匹配,以得到所述局部地图在所述全局地图中的位置;其中,随着车辆的行驶,所述局部地图的范围逐渐增大,当所述局部地图的范围增大到能够从所述全局地图中匹配到唯一一个与所述局部地图相同的区域时,根据该区域在所述全局地图中的位置确定所述局部地图在所述全局地图中的位置;A matching unit configured to match the local map with a pre-built global map to obtain a position of the local map in the global map; wherein, as the vehicle travels, the range of the local map gradually increases Large, when the range of the local map is increased to be able to match from the global map to the only area that is the same as the local map, determining the location of the local map based on the location of the area in the global map A position in the global map;
第一确定单元,用于基于所述局部地图在所述全局地图中的位置,将所述车辆在所述局部地图中的位置映射到所述全局地图中,以得到所述车辆在所述全局地图中初始位置。A first determining unit, configured to map a position of the vehicle in the local map to the global map based on a position of the local map in the global map to obtain the vehicle in the global map The initial position in the map.
作为一种可选的实施方式,在本发明实施例第二方面中,所述构建单元,包括:As an optional implementation manner, in a second aspect of the embodiment of the present invention, the construction unit includes:
获取子单元,用于获取多个图像采集装置在同一时刻拍摄到的多张目标图像;所述多个图像采集装置包括分别安装在所述车辆前、后、左、右四个方向的图像采集装置,每个所述图像采集装置的取景范围至少包括该图像采集装置的下方地面;An acquisition subunit, configured to acquire multiple target images captured by multiple image acquisition devices at the same moment; the multiple image acquisition devices include image acquisitions respectively installed in front, rear, left, and right directions of the vehicle Device, the framing range of each said image acquisition device includes at least the ground below the image acquisition device;
拼接子单元,用于对多张所述目标图像进行拼接,以得到俯视拼接图;A stitching sub-unit for stitching a plurality of said target images to obtain a top-view stitching image;
构建子单元,用于识别所述俯视拼接图中的图像语义特征,并基于所述图像语义特征构建局部地图。A construction subunit is used for identifying the image semantic feature in the top-view mosaic image, and constructing a local map based on the image semantic feature.
作为一种可选的实施方式,在本发明实施例第二方面中,所述匹配单元,包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the matching unit includes:
检测子单元,用于检测所述局部地图中的特定特征,所述特定特征为在所述局部地图中的出现概率低于非所述特定特征的所述图像语义特征;A detection subunit, configured to detect a specific feature in the local map, where the specific feature is a semantic feature of the image whose appearance probability in the local map is lower than the non-specific feature;
识别子单元,用于识别预先构建的全局地图中与所述特定特征相匹配的目标特征;A recognition subunit for identifying a target feature in a pre-built global map that matches the specific feature;
确定子单元,用于根据所述目标特征在所述全局地图中的位置,确定所述局部地图在所述全局地图中的位置。A determining subunit, configured to determine a position of the local map in the global map according to a position of the target feature in the global map.
作为一种可选的实施方式,在本发明实施例第二方面中,所述车载终端还包括:As an optional implementation manner, in the second aspect of the embodiments of the present invention, the vehicle-mounted terminal further includes:
第一判断单元,用于在所述构建单元利用图像采集装置拍摄到的目标图像对车辆的周围环境进行构建以得到局部地图之前,判断是否记录到上一次定位计算结束时的定位结束位置,所述上一次定位计算为在所述车辆启动前发生的前一次定位计算;A first determining unit is configured to determine whether the positioning end position at the end of the last positioning calculation is recorded before the construction unit uses the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map. The last positioning calculation is a previous positioning calculation that occurred before the vehicle was started;
第二确定单元,用于在所述第一判断单元判断出记录到所述定位结束位置时,将所述 定位结束位置确定为所述车辆在所述全局地图中的初始位置;A second determining unit, configured to determine the end position of the positioning as the initial position of the vehicle in the global map when the first determination unit determines that it is recorded to the positioning end position;
所述构建单元,具体用于在所述第一判断单元判断出未记录到所述定位结束位置时,利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图。The construction unit is specifically configured to use the target image captured by the image acquisition device to construct the surrounding environment of the vehicle when the first determination unit determines that the positioning end position is not recorded, to obtain a local map .
作为一种可选的实施方式,在本发明实施例第二方面中,所述特定特征包括斑马线、车道箭头、库位点。As an optional implementation manner, in the second aspect of the embodiment of the present invention, the specific feature includes a zebra crossing, a lane arrow, and a storage location.
本发明实施例第三方面公开一种车载终端,包括:A third aspect of the embodiments of the present invention discloses a vehicle-mounted terminal, including:
存储有可执行程序代码的存储器;Memory storing executable program code;
与所述存储器耦合的处理器;A processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行本发明实施例第一方面公开的任一项方法。The processor calls the executable program code stored in the memory to execute any method disclosed in the first aspect of the embodiments of the present invention.
本发明第四方面公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本发明实施例第一方面公开的任一项方法。A fourth aspect of the present invention discloses a computer-readable storage medium that stores a computer program, wherein the computer program causes a computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
本发明实施例第五方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本发明实施例第一方面公开的任一项方法。A fifth aspect of the embodiments of the present invention discloses a computer program product, and when the computer program product runs on a computer, the computer is caused to execute any method disclosed in the first aspect of the embodiments of the present invention.
与现有技术相比,本发明发明点及具有的有益效果:Compared with the prior art, the invention and its beneficial effects are as follows:
1、利用图像采集装置拍摄到的目标图像构建局部地图,并且将局部地图与预先构建的全局地图进行匹配,以得到局部地图在全局地图中的位置,从而可以将局部地图在全局地图中的位置确定为车辆在全局地图中的初始位置。可见,实施本发明实施例,可以在GPS信号等位置先验信息缺失的情况下,利用图像采集装置拍摄到的图像数据确定出车辆在全局地图中的初始位置,从而完成车辆定位的初始化。1. Use the target image captured by the image acquisition device to construct a local map, and match the local map with a pre-built global map to obtain the position of the local map in the global map, so that the position of the local map in the global map Determined as the vehicle's initial position in the global map. It can be seen that, in the implementation of the embodiment of the present invention, the initial position of the vehicle in the global map can be determined by using the image data captured by the image acquisition device when the prior information of the position such as the GPS signal is missing, thereby completing the initialization of the vehicle positioning.
2、利用俯视拼接图作为神经网络的输入对象提取语义特征,比传统采用前向图或前向侧向图或环视图的方案地图匹配更加准确,从而定位准确。此外,先对目标图像进行拼接,再从俯视拼接图中提取图像语义特征,还可以提高图像语义特征的提取效率。2. Using the top-view mosaic as the input object of the neural network to extract the semantic features is more accurate than the traditional map matching using the forward graph or forward side graph or ring view, so that the positioning is accurate. In addition, stitching the target images first, and then extracting the semantic features of the images from the top-view mosaic, can also improve the extraction efficiency of the semantic features of the images.
3、根据不同情况下出现的概率,优选了车库场景下特定的语义特征(例如箭头、库位点等),以其进行局部地图的构建,提高了该局部地图与全局地图匹配的准确性。3. According to the probability of occurrence in different situations, specific semantic features (such as arrows, storage locations, etc.) in the garage scene are optimized, and the local map is constructed to improve the accuracy of matching the local map with the global map.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. Those of ordinary skill in the art can obtain other drawings according to the drawings without paying creative labor.
图1是本发明实施例公开的一种应用于车辆定位的定位初始化方法的流程示意图;1 is a schematic flowchart of a positioning initialization method applied to vehicle positioning disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种应用于车辆定位的定位初始化方法的流程示意图;2 is a schematic flowchart of another positioning initialization method applied to vehicle positioning disclosed in an embodiment of the present invention;
图3是本发明实施例公开的一种由车载终端构建的停车场局部地图示例图;3 is an exemplary diagram of a partial map of a parking lot constructed by a vehicle terminal disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种由车载终端构建的停车场局部地图示例图;FIG. 4 is another exemplary partial map of a parking lot constructed by a vehicle terminal disclosed in an embodiment of the present invention; FIG.
图5是本发明实施例公开的一种车载终端的结构示意图;5 is a schematic structural diagram of a vehicle-mounted terminal disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种车载终端的结构示意图;6 is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention;
图7是本发明实施例公开的另一种车载终端的结构示意图;7 is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention;
图8是本发明实施例公开的另一种车载终端的结构示意图。FIG. 8 is a schematic structural diagram of another vehicle-mounted terminal disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that, the terms “including” and “having” and any variations thereof in the embodiments of the present invention and the accompanying drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device containing a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
本发明实施例公开了一种应用于车辆定位的定位初始化方法及车载终端,能够在GPS信号等位置先验信息缺失的情况下实现车辆定位初始化。以下分别进行详细说明。The embodiment of the invention discloses a positioning initialization method and a vehicle-mounted terminal applied to vehicle positioning, which can implement vehicle positioning initialization when a priori information such as GPS signals is missing. Each of them will be described in detail below.
实施例一Example one
请参阅图1,图1是本发明实施例公开的一种应用于车辆定位的定位初始化方法的流程示意图。其中,该方法应用于车载电脑、车载工业控制计算机(Industrial personal Computer,IPC)等车载终端,本发明实施例不做限定。上述的车载终端与车辆的各个传感器连接,接收并处理各个传感器采集到的数据。如图1所示,该应用于车辆定位的定位初始化方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a positioning initialization method applied to vehicle positioning according to an embodiment of the present invention. The method is applied to a vehicle-mounted computer, a vehicle-mounted industrial control computer (Industrial Personal Computer, IPC) and other vehicle-mounted terminals, which are not limited in the embodiment of the present invention. The above-mentioned vehicle-mounted terminal is connected to each sensor of the vehicle, and receives and processes data collected by each sensor. As shown in FIG. 1, the positioning initialization method applied to vehicle positioning may include the following steps:
101、车载终端利用图像采集装置拍摄到的目标图像对车辆的周围环境进行构建,以得到局部地图。101. A vehicle-mounted terminal uses a target image captured by an image acquisition device to construct a surrounding environment of a vehicle to obtain a local map.
本发明实施例中,图像采集装置可以为摄像头,为了方便描述,如无特殊说明,下文中的摄像头指图像采集装置。摄像头装设于车上,用于拍摄车辆的周围环境,车载终端可以通过即时定位与地图构建(Simultaneous localization and mapping,SLAM)技术,利用摄像头拍摄到的目标图像构建局部地图,该局部地图用于描述车辆的周围环境。基于SLAM技术,车载终端可以识别出目标图像中的特征点,并且使用这些特征点构建地图。也就是说,对于车载终端而言,当车辆处于未知环境的未知位置时,车载终端可以在车辆不断行进的过程中,利用摄像头拍摄到的图像逐步描绘出车辆途径环境的局部地图。In the embodiment of the present invention, the image acquisition device may be a camera. For convenience of description, unless otherwise specified, the camera in the following refers to the image acquisition device. The camera is installed on the vehicle and is used to capture the surrounding environment of the vehicle. The vehicle terminal can use local positioning and map construction (Simultaneous Localization and Mapping) technology to build a local map using the target image captured by the camera. The local map is used for Describe the surroundings of the vehicle. Based on SLAM technology, the vehicle-mounted terminal can identify feature points in the target image and use these feature points to build a map. That is to say, for a vehicle-mounted terminal, when the vehicle is in an unknown position in an unknown environment, the vehicle-mounted terminal can use the images captured by the camera to gradually draw a local map of the vehicle's path environment while the vehicle is continuously traveling.
作为一种可选的实施方式,可以在车辆前、后、左、右四个方向安装摄像头,每个摄像头的取景范围至少包括该摄像头的下方地面。可选的,上述的摄像头可以为鱼眼摄像头,鱼眼摄像头的视场(Field OF View,FOV)较大,从而可以使得单个鱼眼摄像头拍摄到的目标图像中尽可能多地包括车辆的周边环境,提高局部地图的完整性,增加局部地图中包含的信息量。As an optional implementation manner, cameras can be installed in the front, rear, left, and right directions of the vehicle, and the framing range of each camera includes at least the ground below the camera. Optionally, the foregoing camera may be a fish-eye camera, and a field of view (FOV) of the fish-eye camera is relatively large, so that the target image captured by a single fish-eye camera includes as much of the periphery of the vehicle as possible. Environment, improve the integrity of the local map, and increase the amount of information contained in the local map.
102、车载终端将局部地图与预先构建的全局地图进行匹配,以得到局部地图在全局地图中的位置。102. The vehicle-mounted terminal matches the local map with a pre-built global map to obtain the position of the local map in the global map.
本发明实施例中,全局地图是自动驾驶导航电子地图,是真实地理环境的数字化描述,与车载终端在步骤101中构建的局部地图相比,全局地图的范围更大。以上述停车场的应用场景为例,全局地图可以为整个停车场的地图,局部地图可以为包括车辆在该停车场的途经路径及途径路径周围环境的地图。可以看出,对于相同的地理环境,局部地图为全局地图的一部分,局部地图中存在某些特征与全局地图中的特征相同,通过查找这些相同的特征,可以在全局地图中匹配出与局部地图相同的某一区域,该区域的位置即为局部地图在全局地图中的位置。In the embodiment of the present invention, the global map is an electronic map for autonomous driving navigation, and is a digital description of the real geographic environment. Compared with the local map constructed by the vehicle terminal in step 101, the global map has a larger range. Taking the application scenario of the parking lot as an example, the global map may be a map of the entire parking lot, and the local map may be a map including the route of the vehicle in the parking lot and the surrounding environment of the route. It can be seen that for the same geographical environment, the local map is part of the global map. Some features in the local map are the same as those in the global map. By looking for these same features, you can match the local map with the local map. In the same area, the location of the area is the position of the local map in the global map.
需要说明的是,局部地图可以是由逐渐累加的地图片段组成的地图。由于特征的相似 性,当局部地图的范围较小时,在全局地图中可能存在多个与局部地图相同的区域,此时难以确定出局部地图在全局地图中的准确位置。因此,车辆可以持续行驶,车载终端不断获取车辆在行驶过程中拍摄到的目标图像,将目标图像的信息加入到原有的局部地图中,构建出新的局部地图,即逐渐累加的过程。当车辆行驶得足够远,车载终端构建出的局部地图足够大时,全局地图中只存在唯一一个区域与该局部地图相同的概率较高,从而可以准确地确定出局部地图在全局地图中的位置。It should be noted that the local map may be a map composed of gradually accumulated map fragments. Due to the similarity of features, when the range of the local map is small, there may be multiple areas in the global map that are the same as the local map. At this time, it is difficult to determine the exact location of the local map in the global map. Therefore, the vehicle can continue to drive, and the in-vehicle terminal continuously acquires the target image captured by the vehicle during the driving process, adds the information of the target image to the original local map, and constructs a new local map, which is a process of gradual accumulation. When the vehicle travels far enough and the local map constructed by the in-vehicle terminal is large enough, there is only a high probability that there is only one area in the global map that is the same as the local map, so that the position of the local map in the global map can be accurately determined .
103、车载终端基于局部地图在全局地图中的位置,将车辆在局部地图中的位置映射到全局地图中,以得到车辆在全局地图中初始位置。103. The in-vehicle terminal maps the position of the vehicle in the local map to the global map based on the position of the local map in the global map to obtain the initial position of the vehicle in the global map.
本发明实施例中,当车载终端将局部地图与全局地图匹配成功时,可以理解为从全局地图中查找到与局部地图相同的区域,从而可以确定出局部地图与全局地图之间的对应关系。因此,基于上述的对应关系,可以将车辆在局部地图中的位置映射到全局地图中,得到车辆在全局地图中的初始位置。由于全局地图为真实地理环境的数字化描述,全局地图中的特征与真实地理环境中的物体一一对应。当确定出车辆在全局地图中的初始位置,也即确定出车辆在真实地理环境中的初始位置,车载终端在不依赖GPS信号等位置先验信息的基础下,只使用视觉信息完成了车辆的定位初始化。In the embodiment of the present invention, when the in-vehicle terminal successfully matches the local map with the global map, it can be understood that the same area as the local map is found from the global map, so that the correspondence between the local map and the global map can be determined. Therefore, based on the above-mentioned correspondence relationship, the position of the vehicle in the local map can be mapped to the global map, and the initial position of the vehicle in the global map can be obtained. Because the global map is a digital description of the real geographic environment, the features in the global map correspond one-to-one with objects in the real geographic environment. When the initial position of the vehicle in the global map is determined, that is, the initial position of the vehicle in the real geographic environment is determined, the vehicle terminal uses only visual information to complete the vehicle's base on the basis of not relying on prior information such as GPS signals. Positioning initialization.
在一种可能的应用场景中,车辆在地下车库启动,此时车载终端无法接收到GPS信号,从而无法利用GPS信号完成车辆的初步定位。为了完成定位初始化,车辆缓慢行驶,车载终端控制摄像头拍摄车辆的周边环境,得到目标图像,并利用目标图像构建出用于描述车辆周围环境的局部地图;随着车辆的行驶,局部地图的范围逐渐增大,当局部地图的范围增大到能够从全局地图中匹配到唯一一个与局部地图相同的区域时,根据该区域在全局地图中的位置确定局部地图在全局地图中的位置,从而确定出车辆在全局地图中的初始位置,完成车辆的定位初始化。In a possible application scenario, the vehicle is started in an underground garage, and the vehicle-mounted terminal cannot receive the GPS signal at this time, and thus the GPS signal cannot be used to complete the preliminary positioning of the vehicle. In order to complete the positioning initialization, the vehicle travels slowly. The vehicle-mounted terminal controls the camera to capture the surrounding environment of the vehicle to obtain the target image. The target image is used to construct a local map describing the surrounding environment of the vehicle. Increase, when the range of the local map is increased to match the only area that is the same as the local map from the global map, the position of the local map in the global map is determined according to the location of the area in the global map, so as to determine The initial position of the vehicle in the global map completes the initialization of the vehicle's positioning.
可见,在图1所描述的方法中,车载终端利用摄像头拍摄的目标图像构建用于描述车辆的周围环境的局部地图,当局部地图和预先构建的局部地图匹配成功之后,即可根据局部地图在全局地图中的位置确定出车辆在全局地图中的初始位置,从而可以在不依赖GPS信号等位置先验信息的基础下,只使用视觉信息完成车辆的定位初始化。It can be seen that in the method described in FIG. 1, the vehicle-mounted terminal uses the target image captured by the camera to construct a local map describing the surrounding environment of the vehicle. After the local map and the pre-built local map are successfully matched, the local map can be used according to the local map. The position in the global map determines the initial position of the vehicle in the global map, so that the vehicle's positioning initialization can be completed using only visual information without relying on prior information such as GPS signals.
实施例二Example two
请参阅图2,图2是本发明实施例公开的另一种应用于车辆定位的定位初始化方法的流程示意图。如图2所示,该应用于车辆定位的定位初始化方法可以包括以下步骤:Please refer to FIG. 2, which is a schematic flowchart of another positioning initialization method applied to vehicle positioning disclosed in an embodiment of the present invention. As shown in FIG. 2, the positioning initialization method applied to vehicle positioning may include the following steps:
201、车载终端判断是否记录到上一次定位计算结束时的定位结束位置,如果是,执行步骤202,如果否,执行步骤205。201. The in-vehicle terminal determines whether the positioning end position at the end of the last positioning calculation is recorded. If yes, step 202 is performed, and if no, step 205 is performed.
202、车载终端将定位结束位置确定为车辆在全局地图中的初始位置。202. The vehicle-mounted terminal determines the positioning end position as an initial position of the vehicle in the global map.
本发明实施例中,上一次定位计算为在车辆启动前发生的前一次定位计算。在一种可能的应用场景中,车辆熄火后其车载终端的电源被切断,车载终端停止定位计算。在车辆熄火到下次启动的过程中,车辆很可能不存在位置变化,不会移动。当车辆启动时,需要进行定位初始化,此时,如果记录到上次定位结束时的定位结束位置,那么可以直接将该定位结束位置作为车辆在全局地图中的初始位置,从而可以缩短定位初始化所需时间,提高用户体验。In the embodiment of the present invention, the last positioning calculation is a previous positioning calculation that occurred before the vehicle was started. In a possible application scenario, after the vehicle is turned off, the power of the vehicle terminal is cut off, and the vehicle terminal stops the positioning calculation. From the time the vehicle goes out to the next start, the vehicle is likely to have no position change and will not move. When the vehicle starts, positioning initialization is required. At this time, if the positioning end position at the end of the last positioning is recorded, the positioning end position can be directly used as the initial position of the vehicle in the global map, thereby shortening the positioning initialization position. It takes time to improve the user experience.
203、车载终端判断是否接收到卫星定位信号,如果是,执行步骤204,如果否,执 行步骤205。203. The in-vehicle terminal determines whether a satellite positioning signal is received, and if yes, executes step 204; if not, executes step 205.
204、车载终端基于卫星定位信号确定车辆在全局地图中的初始位置。204. The vehicle-mounted terminal determines an initial position of the vehicle in the global map based on the satellite positioning signal.
在一种可能的应用场景中,上述的全局地图可以为车辆在地下车库行驶时使用的地下地图。车辆在地上行驶时使用的地上地图和车辆在地下车库行驶时使用的地下地图可能分属两种不同的地图表达体系。比如说,地上地图为三维地图,而地下地图为二维地图。当车辆从地上的道路驶入地下车库时,需要完成地上地图与地下地图之间的切换,同时需要完成基于地下地图的定位初始化。在地下车库的入口位置,车载终端可能接收到卫星定位信号,因此,车载终端可以直接使用卫星定位信号确定出车载终端在全局地图(即地下地图)中的初始位置,从而缩短定位初始化所需时间,提高用户体验。In a possible application scenario, the global map described above may be an underground map used when a vehicle is driving in an underground garage. The above-ground map used by vehicles on the ground and the underground map used by vehicles in underground garages may belong to two different map expression systems. For example, the above-ground map is a three-dimensional map, and the underground map is a two-dimensional map. When a vehicle drives from an above-ground road into an underground garage, it is necessary to complete the switching between the above-ground map and the underground map, and at the same time, it is necessary to complete the positioning initialization based on the underground map. At the entrance of the underground garage, the vehicle terminal may receive the satellite positioning signal. Therefore, the vehicle terminal can directly use the satellite positioning signal to determine the initial position of the vehicle terminal in the global map (that is, the underground map), thereby reducing the time required for positioning initialization To improve user experience.
需要说明的是,本发明实施例中,步骤201与步骤203之间不存在逻辑上的先后关系,车载终端可以同步执行步骤201与步骤203。如果车载终端在判断出记录到定位结束位置的同时,也接收到卫星定位信号,根据卫星定位信号的传播特性,卫星定位结果可能存在误差,因此,车载终端可以选择定位结束位置作为车辆在全局地图中的初始位置。It should be noted that, in the embodiment of the present invention, there is no logical sequence relationship between step 201 and step 203, and the vehicle-mounted terminal may execute step 201 and step 203 simultaneously. If the in-vehicle terminal receives the satellite positioning signal while determining that the positioning end position is recorded, there may be errors in the satellite positioning result according to the propagation characteristics of the satellite positioning signal. Therefore, the in-vehicle terminal can select the positioning end position as the vehicle on the global map In the initial position.
205、车载终端获取多个摄像头在同一时刻拍摄到的多张目标图像。205. The vehicle-mounted terminal acquires multiple target images captured by multiple cameras at the same moment.
本发实施例中,上述的多个摄像头为分别安装在车辆前、后、左、右四个方向的摄像头,每个摄像头的取景范围至少包括该摄像头的下方地面。安装在上述四个方向的摄像头组成了摄像头的环视方案,使得车载终端可以一次性获取到车辆周边各个方向的环境信息,从而可以使得利用单次采集得到的目标图像构建出的局部地图包含更多的特征,有利于提高局部地图与全局地图的匹配成功率。此外,四路摄像头采集的图像数据存在一定的冗余,如果某一路摄像头失效,其余摄像头采集的图像数据可以作为补充,对车载终端构建局部地图和定位的影响较低。In the embodiment of the present invention, the above-mentioned multiple cameras are cameras respectively installed in the front, rear, left, and right directions of the vehicle, and the framing range of each camera includes at least the ground below the camera. The cameras installed in the above four directions form the camera's surround view solution, so that the vehicle terminal can obtain environmental information in all directions around the vehicle at one time, so that the local map constructed using the target image obtained in a single acquisition contains more The features are beneficial to improve the matching success rate of local maps and global maps. In addition, there is a certain degree of redundancy in the image data collected by the four cameras. If one camera fails, the image data collected by the remaining cameras can be used as a supplement, which has a low impact on the local map construction and positioning of the vehicle terminal.
206、车载终端对多张目标图像进行拼接,以得到俯视拼接图。206. The vehicle-mounted terminal stitches multiple target images to obtain a top-view mosaic image.
本发明实施例中,车载终端将安装在车辆前、后、左、右四个方向的摄像头在同一时刻拍摄到的目标图像进行拼接,得到的俯视拼接图包含了以车辆为中心360度的环境信息。此外,如果用于拍摄目标图像的摄像头为上述的鱼眼摄像头,车载终端在执行步骤206对多张目标图像进行拼接之前,还需要对目标图像进行反畸变处理,即按照一定的映射规则,将鱼眼摄像头拍摄到的目标图像投影到地平面上,再对投影完成得到的图像进行拼接。In the embodiment of the present invention, the in-vehicle terminal stitches the target images captured by the cameras installed in the front, rear, left, and right directions of the vehicle at the same time, and the resulting top-view mosaic image includes a 360-degree environment centered on the vehicle. information. In addition, if the camera used to capture the target image is the fisheye camera described above, the vehicle terminal needs to perform anti-distortion processing on the target image before performing step 206 to stitch multiple target images, that is, according to a certain mapping rule, the The target image captured by the fisheye camera is projected onto the ground plane, and the images obtained after the projection are stitched together.
207、车载终端识别俯视拼接图中的图像语义特征,并基于识别出的图像语义特征构建局部地图。207. The in-vehicle terminal recognizes image semantic features in the top-view mosaic image, and constructs a local map based on the identified image semantic features.
本发明实施例中,图像语义特征为可以为经过经验筛选,具有特殊含义并有助于车辆定位的语义特征。在一种可能的应用场景中,车辆位于停车场,该停车场可以为地上停车场也可以为地下车库,本发明实施例不做限定。在停车场的应用场景中,图像语义特征可以为车道线、停车库位线、库位点(库位线之间的交点)、斑马线、车道箭头等,本发明实施例不做限定。请一并参阅图3,图3为本发明实施例公开的一种由车载终端构建的停车场局部地图示例图,由图3可以看出,该局部地图由车载终端在该停车场行驶时,途经的车道线、库位线、库位点等语义特征组成,其中,带箭头虚线所示为车辆的行驶轨迹。In the embodiment of the present invention, the image semantic feature is a semantic feature that can be empirically filtered, has a special meaning, and is helpful for vehicle positioning. In a possible application scenario, the vehicle is located in a parking lot, and the parking lot may be an above-ground parking lot or an underground parking lot, which is not limited in the embodiment of the present invention. In an application scenario of a parking lot, the image semantic features may be lane lines, parking space lines, storage locations (intersection points between the storage space lines), zebra crossings, lane arrows, and the like, which are not limited in the embodiments of the present invention. Please refer to FIG. 3 together. FIG. 3 is an exemplary diagram of a partial map of a parking lot constructed by a vehicle-mounted terminal according to an embodiment of the present invention. As can be seen from FIG. 3, when the vehicle-mounted terminal is driving in the parking lot, The passing lanes, storage lines, storage locations and other semantic features are composed of them. Among them, the dotted line with arrows shows the driving trajectory of the vehicle.
此外,作为一种可选的实施方式,本发明实施例中,车载终端可以通过深度学习或图像分割等图像识别算法从俯视拼接图中识别出图像语义特征。优选的,可以使用适用于深度学习的神经网络模型识别图像语义特征,并且预先采用大量标注有图像语义特征的俯视 拼接样本图像对神经网络模型进行训练。所述神经网络模型如下:In addition, as an optional implementation manner, in the embodiment of the present invention, the in-vehicle terminal may recognize image semantic features from a top-view mosaic image through an image recognition algorithm such as deep learning or image segmentation. Preferably, a neural network model suitable for deep learning can be used to identify image semantic features, and a large number of top-down mosaic sample images labeled with image semantic features are used to train the neural network model in advance. The neural network model is as follows:
该网络结构采用Encoder-Decoder模型,主要包括两个部分:编码(Encoder)部分和解码(Decoder)部分。The network structure uses the Encoder-Decoder model, which mainly includes two parts: the Encoder part and the Decoder part.
本发明实施例中将拼接好的图像输入至网络中,其中编码部分网络主要通过卷积和池化层提取图像的特征。网络通过有标记大规模样本的训练,调整网络参数使得编码网络准确的语义特征和非语义特征。编码网络通过两次卷积提取特征之后,通过池化进行下采样。通过级联四个两层卷积加一层池化的结构使得编码网络顶层的神经元的感受野能够覆盖本发明示例中的不同尺度的语义元素。In the embodiment of the present invention, the stitched image is input into the network, and the coding part of the network mainly extracts features of the image through convolution and pooling layers. The network is trained with labeled large samples, and the network parameters are adjusted to make the coding network accurate semantic and non-semantic features. After the coding network extracts features through two convolutions, it performs downsampling through pooling. By cascading four two-layer convolutions and one pooling structure, the receptive fields of neurons on the top layer of the coding network can cover semantic elements of different scales in the examples of the present invention.
解码网络是与编码网络对称的结构,其中编码网络的池化层改为上采样层。在解码部分中经过四次上采样,将编码抽取的特征放大到原图尺寸,从而实现像素语义分类。上采样是通过反卷积实现的,这种操作能够得到输入数据的大部分信息,但仍会部分信息的丢失,因此我们引入了底层的特征来补充解码过程中丢失的细节。这些底层特征主要来编码网络中不同尺度的卷积层,在同一个尺度上编码网络卷积层提取的特征正好可以与反卷积合并生成更准确度的特征图。网络训练主要采用交叉熵来来衡量网络的预测值与实际值的差异,交叉熵公式如下:The decoding network is a symmetric structure with the coding network, where the pooling layer of the coding network is changed to the upsampling layer. After upsampling four times in the decoding part, the features extracted from the encoding are enlarged to the size of the original image, thereby achieving pixel semantic classification. Upsampling is achieved by deconvolution. This operation can get most of the information in the input data, but some information is still lost. Therefore, we introduce the underlying features to supplement the details lost during the decoding process. These low-level features are mainly used to encode convolutional layers of different scales in the network. The features extracted by encoding the network convolutional layers on the same scale can be combined with deconvolution to generate more accurate feature maps. Network training mainly uses cross entropy to measure the difference between the predicted value and the actual value of the network. The cross entropy formula is as follows:
Figure PCTCN2018113669-appb-000001
Figure PCTCN2018113669-appb-000001
其中y为图像元素的标记值,即图像的一个像素是语义元素还是非语义元素,一般用1表示语义元素,0表示非语义元素;n为图像的像素总数,x为输入,a为神经元的输出a=σ(z),z=∑ jw jx j+b,它可以克服网络权值更新过慢的问题。网络模型训练完成之后,在本发明示例实际使用时,网络针对输入图像的每一个像素都进行预测,输出每个像素对应的属性值为0或是1,标记为1的图像元素的连通块即为有意义的语义图像结构,至此实现了图像的语义分割。将车载终端拼接得到的俯视拼接图输入至上述训练好的神经网络模型,基于神经网络模型的识别结果,即可识别出俯视拼接图中的图像语义特征。相较于传统的图像分割技术,通过深度学习的方法从俯视拼接图中提取图像语义特征,可以提高图像语义特征的识别准确率。上述网络结构是针对拼接图像语义特征提取而专门设计的,保证语义特征提取的准确,属于本发明的发明点之一。此外,先对目标图像进行拼接,再从俯视拼接图中提取图像语义特征,而非逐张提取目标图像中的图像语义特征,可以提高图像语义特征的提取效率,也属于本发明的发明点之一。 Where y is the label value of the image element, that is, whether a pixel of the image is a semantic element or a non-semantic element. Generally, 1 is used for semantic elements and 0 is used for non-semantic elements. N is the total number of pixels in the image, x is the input, and a is the neuron. The output a = σ (z), z = ∑ j w j x j + b, which can overcome the problem that the network weights are updated too slowly. After the training of the network model is completed, when the example of the present invention is actually used, the network predicts each pixel of the input image, and outputs the corresponding attribute value of each pixel as 0 or 1, and the connected block of the image element marked as 1. For meaningful semantic image structure, the image semantic segmentation has been realized so far. The top-view mosaic image obtained by splicing the vehicle terminal is input to the trained neural network model, and based on the recognition result of the neural network model, the image semantic features in the top-view mosaic image can be identified. Compared with the traditional image segmentation technology, the deep learning method can be used to extract the image semantic features from the top-view mosaic, which can improve the recognition accuracy of the image semantic features. The above network structure is specifically designed for the extraction of semantic features of stitched images, and ensures the accuracy of the extraction of semantic features, which belongs to one of the invention points of the present invention. In addition, the target images are spliced first, and then the image semantic features are extracted from the top-view mosaic, instead of extracting the image semantic features in the target image one by one, which can improve the extraction efficiency of the image semantic features, which also belongs to the invention point of the invention One.
208、车载终端检测局部地图中的特定特征。208. The vehicle-mounted terminal detects a specific feature in the local map.
本发明实施例中,特定特征为在局部地图中的出现概率低于非特定特征的图像语义特征。In the embodiment of the present invention, the specific feature is an image semantic feature whose appearance probability in the local map is lower than the non-specific feature.
209、车载终端识别预先构建的全局地图中与特定特征相匹配的目标特征。209. The in-vehicle terminal identifies a target feature that matches a specific feature in a pre-built global map.
210、车载终端根据目标特征在全局地图中的位置,确定局部地图在全局地图中的位置。210. The vehicle-mounted terminal determines the position of the local map in the global map according to the position of the target feature in the global map.
本发明实施例中,由步骤207中局部地图的构建过程可知,局部地图中可能包括多种类型的语义特征,不同类型的语义特征在局部地图中出现的概率不同。以停车场为例,现有技术通常选择车道线、停车库位线作为语义特征。然而本发明除了上述两种语义特征外,关注到斑马线、车道箭头出现的概率低于车道线、停车库位线,其可以被设定为用于进行 地图匹配的特定特征。利用局部地图中的特定特征进行局部地图和全局地图之间的匹配,可以提高匹配成功的概率,这也是本发明的发明点之一。特别的,对于库位点,通常认为其出现概率较大,并不能作为特定特征。然而,本发明关注到其在弯道和直道的分布密度并不相同,根据该特点,其也可以作为特定特征,协助将局部地图定位于全局地图上。这也是本发明点发明点之一。In the embodiment of the present invention, it can be known from the construction process of the local map in step 207 that the local map may include multiple types of semantic features, and different types of semantic features have different probability of appearing in the local map. Taking a parking lot as an example, in the prior art, lane lines and parking space lines are usually selected as semantic features. However, in addition to the above two semantic features, the present invention is concerned that the probability of the zebra crossing and the lane arrow appearing is lower than the lane line and the parking space line, which can be set as specific features for map matching. The use of specific features in the local map for matching between the local map and the global map can increase the probability of successful matching, which is also one of the inventive points of the present invention. In particular, for a site, it is generally considered that its occurrence probability is large, and it cannot be used as a specific feature. However, the present invention is concerned that their distribution densities are not the same in curves and straights. According to this feature, it can also be used as a specific feature to assist in positioning the local map on the global map. This is also one of the invention points of the present invention.
为了更好地理解步骤208~步骤210通过特定特征进行局部地图与全局地图之间的匹配,请一并参阅图4。图4是本发明实施例公开的另一种由车载终端构建的停车场局部地图示例图。如图4所示,该局部地图中包括库位线、库位点和车道箭头三种图像语义特征。如果使用库位线和库位点进行匹配,可能从全局地图中匹配出多个区域与局部地图相同,此时匹配准确率较低。而对于车道箭头而言,处于不同位置的车道箭头在形态、大小、以及与周边的库位线、库位点的位置关系也不同,因此,使用车道箭头进行局部地图和全局地图的匹配,可以提高匹配成功的概率。In order to better understand the matching between the local map and the global map through specific features in steps 208 to 210, please refer to FIG. 4 together. FIG. 4 is another exemplary partial map of a parking lot constructed by a vehicle terminal disclosed in an embodiment of the present invention. As shown in FIG. 4, the local map includes three image semantic features of a location line, a location and a lane arrow. If the location line and location are used for matching, it is possible to match multiple areas from the global map with the local map. At this time, the matching accuracy is low. For lane arrows, lane arrows in different positions are also different in shape, size, and location relationship with surrounding location lines and locations. Therefore, using lane arrows to match local and global maps can Increase the probability of a successful match.
211、车载终端基于局部地图在全局地图中的位置,将车辆在局部地图中的位置映射到全局地图中,以得到车辆在全局地图中初始位置。211. The vehicle-mounted terminal maps the position of the vehicle in the local map to the global map based on the position of the local map in the global map to obtain the initial position of the vehicle in the global map.
可见,在图2所描述的方法中,车载终端可以在记录到定位结束位置时直接使用定位结束位置作为定位初始化的结果,也可以在接收到卫星定位信号时,基于卫星定位信号确定定位初始化的结果,从而可以缩短定位初始化所需的时间,提高用户体验。进一步地,在图2所描述的方法中,车载终端利用安装在车辆四周的四个摄像头组成摄像头环视方案,使得利用单次采集得到的目标图像构建出的局部地图包含更多的特征,有利于局部地图与全局地图的匹配,也可以在部分摄像头失效的情况下,降低对车载终端构建局部地图和定位的影响。更进一步地,在图2所描述的方法中,车载终端使用在局部地图中出现概率较低的特定特征进行局部地图与全局地图之间的匹配,可以提高匹配成功的概率。It can be seen that in the method described in FIG. 2, the vehicle-mounted terminal may directly use the positioning end position as a result of positioning initialization when recording the positioning end position, or may determine the positioning initialization based on the satellite positioning signal when receiving the satellite positioning signal. As a result, the time required for positioning initialization can be shortened, and the user experience can be improved. Further, in the method described in FIG. 2, the vehicle-mounted terminal uses four cameras installed around the vehicle to form a camera look-around solution, so that the local map constructed using the target image obtained by a single acquisition contains more features, which is beneficial to The matching between the local map and the global map can also reduce the impact on the local map construction and positioning of the vehicle terminal when some cameras fail. Furthermore, in the method described in FIG. 2, the in-vehicle terminal uses a specific feature with a low probability of occurrence in the local map to perform matching between the local map and the global map, which can increase the probability of successful matching.
实施例三Example three
请参阅图5,图5是本发明实施例公开的一种车载终端的结构示意图。其中,图5所示的车载终端与车辆的各个传感器连接,接收并处理各个传感器采集到的数据。如图5所示,该车载终端包括:Please refer to FIG. 5, which is a schematic structural diagram of a vehicle-mounted terminal disclosed in an embodiment of the present invention. The vehicle-mounted terminal shown in FIG. 5 is connected to each sensor of the vehicle, and receives and processes data collected by each sensor. As shown in FIG. 5, the vehicle terminal includes:
构建单元501,用于利用摄像头拍摄到的目标图像对车辆的周围环境进行构建,以得到局部地图。A constructing unit 501 is configured to construct a surrounding environment of a vehicle by using a target image captured by a camera to obtain a local map.
本发明实施例中,摄像头装设于车上,用于拍摄车辆的周围环境。作为一种可选的实施方式,构建单元501可以基于SLAM技术识别出目标图像中的特征点,并且使用这些特征点构建地图。In the embodiment of the present invention, the camera is installed on the vehicle and used to photograph the surrounding environment of the vehicle. As an optional implementation manner, the construction unit 501 may identify feature points in the target image based on the SLAM technology, and use these feature points to construct a map.
进一步可选的,可以在车辆前、后、左、右四个方向安装摄像头,每个摄像头的取景范围至少包括该摄像头的下方地面。并且,上述的摄像头可以为鱼眼摄像头从而可以使得单个鱼眼摄像头拍摄到的目标图像中尽可能多地包括车辆的周边环境,提高局部地图的完整性,增加局部地图中包含的信息量。Further optionally, cameras can be installed in front, rear, left, and right directions of the vehicle, and a viewing range of each camera includes at least the ground below the camera. In addition, the foregoing camera may be a fisheye camera, so that the target image captured by a single fisheye camera may include the surrounding environment of the vehicle as much as possible, improve the integrity of the local map, and increase the amount of information contained in the local map.
匹配单元502,用于将构建单元501构建出的局部地图与预先构建的全局地图进行匹配,以得到局部地图在全局地图中的位置。The matching unit 502 is configured to match the local map constructed by the construction unit 501 with a pre-built global map to obtain the position of the local map in the global map.
本发明实施例中,匹配单元502可以通过查找局部地图与全局地图中相同的特征,可以在全局地图中匹配出与局部地图相同的某一区域,从而将该区域的位置即为局部地图在 全局地图中的位置。In the embodiment of the present invention, the matching unit 502 can find the same feature in the global map as the local map by searching for the same features in the local map and the global map, so that the location of the area is the local map in the global Location in the map.
需要说明的是,上述的构建单元501构建出的局部地图可以是由逐渐累加的地图片段组成的地图。由于特征的相似性,当局部地图的范围较小时,在全局地图中可能存在多个与局部地图相同的区域,此时难以确定出局部地图在全局地图中的准确位置。因此,车辆可以持续行驶,车载终端不断获取车辆在行驶过程中拍摄到的目标图像,将目标图像的信息加入到原有的局部地图中,构建出新的局部地图,即逐渐累加的过程。当车辆行驶得足够远,车载终端构建出的局部地图足够大时,全局地图中只存在唯一一个区域与该局部地图相同的概率较高,从而可以准确地确定出局部地图在全局地图中的位置。也就是说,当匹配单元502对局部地图和全局地图匹配不成功时,可以触发构建单元501继续获取摄像头拍摄到的目标图像,并继续利用目标图像构建上述的局部地图。It should be noted that the local map constructed by the construction unit 501 may be a map composed of gradually accumulated map fragments. Due to the similarity of features, when the range of the local map is small, there may be multiple areas in the global map that are the same as the local map. At this time, it is difficult to determine the exact location of the local map in the global map. Therefore, the vehicle can continue to drive, and the in-vehicle terminal continuously acquires the target image captured by the vehicle during the driving process, adds the information of the target image to the original local map, and constructs a new local map, which is a process of gradual accumulation. When the vehicle travels far enough and the local map constructed by the in-vehicle terminal is large enough, there is only a high probability that there is only one area in the global map that is the same as the local map, so that the position of the local map in the global map can be accurately determined . That is, when the matching unit 502 fails to match the local map and the global map, the construction unit 501 may be triggered to continue to acquire the target image captured by the camera, and continue to use the target image to construct the local map described above.
第一确定单元503,用于基于匹配单元502得到的局部地图在全局地图中的位置,将车辆在局部地图中的位置映射到全局地图中,以得到车辆在全局地图中初始位置。The first determining unit 503 is configured to map the position of the vehicle in the local map to the global map based on the position of the local map in the global map obtained by the matching unit 502 to obtain the initial position of the vehicle in the global map.
本发明实施例中,当第一确定单元503通过局部地图与全局地图的对应关系将车辆在局部地图中的位置映射到全局地图之后,第一确定单元503可以确定出车辆在全局地图中初始位置,即确定出出车辆在真实地理环境(如停车场)中的初始位置。In the embodiment of the present invention, after the first determining unit 503 maps the position of the vehicle in the local map to the global map through the correspondence between the local map and the global map, the first determining unit 503 may determine the initial position of the vehicle in the global map. That is, determine the initial position of the vehicle in the real geographic environment (such as a parking lot).
可见,实施图5所示的车载终端,可以利用摄像头拍摄的目标图像构建用于描述车辆的周围环境的局部地图,当局部地图和预先构建的局部地图匹配成功之后,即可根据局部地图在全局地图中的位置确定出车辆在全局地图中的初始位置,从而可以在不依赖GPS信号等位置先验信息的基础下,只使用视觉信息完成车辆的定位初始化。It can be seen that when the vehicle-mounted terminal shown in FIG. 5 is implemented, the target image captured by the camera can be used to construct a local map describing the surrounding environment of the vehicle. After the local map and the pre-built local map are successfully matched, the local map can be used globally. The position in the map determines the initial position of the vehicle in the global map, so that the vehicle's positioning initialization can be completed using only visual information without relying on prior information such as GPS signals.
实施例四Embodiment 4
请参阅图6,图6是本发明实施例公开的另一种车载终端的结构示意图。其中,图6所示的车载终端由图5所示的车载终端进行优化得到的。如图6所示,上述的构建单元501,可以包括:Please refer to FIG. 6, which is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention. The vehicle-mounted terminal shown in FIG. 6 is obtained by optimizing the vehicle-mounted terminal shown in FIG. 5. As shown in FIG. 6, the above-mentioned construction unit 501 may include:
获取子单元5011,用于获取多个摄像头在同一时刻拍摄到的多张目标图像。The obtaining subunit 5011 is configured to obtain multiple target images captured by multiple cameras at the same time.
本发明实施例中,上述的多个摄像头包括至少四个分别安装在车辆前、后、左、右四个方向的摄像头,每个摄像头的取景范围至少包括该摄像头的下方地面。安装在上述四个方向的摄像头组成了摄像头的环视方案,从而可以使得利用单次采集得到的目标图像构建出的局部地图包含更多的特征,有利于提高局部地图与全局地图的匹配成功率。此外,环视方案中各个摄像头采集到的数据之间存在一定的冗余,因在,在某一路摄像头失效的情况下,其余摄像头的采集数据可以作为补充,从而可以降低部分摄像头失效对车载终端构建局部地图和定位的影响。In the embodiment of the present invention, the above-mentioned multiple cameras include at least four cameras respectively installed in front, rear, left, and right directions of the vehicle, and the framing range of each camera includes at least the ground below the camera. The cameras installed in the above-mentioned four directions form the camera's surround view solution, so that the local map constructed using the target image obtained in a single acquisition contains more features, which is beneficial to improving the matching success rate between the local map and the global map. In addition, there is a certain degree of redundancy between the data collected by each camera in the surround view solution, because in the event that a certain camera fails, the collected data of the remaining cameras can be used as a supplement, which can reduce the failure of some cameras to construct the vehicle terminal. Local map and positioning effects.
拼接子单元5012,用于对获取子单元5011获取到的多张目标图像进行拼接,以得到俯视拼接图。The stitching sub-unit 5012 is configured to stitch multiple target images acquired by the obtaining sub-unit 5011 to obtain a top-view mosaic image.
本发明实施例中,如果用于拍摄目标图像的摄像头为鱼眼摄像头,拼接子单元5012在对多张目标图像进行拼接之前,还需要对目标图像进行反畸变处理,即按照一定的映射规则,将鱼眼摄像头拍摄到的目标图像投影到地平面上,再对投影完成得到的图像进行拼接。In the embodiment of the present invention, if the camera used to capture the target image is a fisheye camera, the stitching subunit 5012 needs to perform anti-distortion processing on the target image before stitching multiple target images, that is, according to a certain mapping rule, The target image captured by the fisheye camera is projected onto the ground plane, and the images obtained after the projection are stitched together.
构建子单元5013,用于识别拼接子单元5012拼接得到的俯视拼接图中的图像语义特征,并基于识别出的图像语义特征构建局部地图。A construction subunit 5013 is used to identify the image semantic features in the top-view mosaic image obtained by the mosaic subunit 5012, and construct a local map based on the identified image semantic features.
本发明实施例中,图像语义特征为可以为经过经验筛选,具有特殊含义并有助于车辆定位的语义特征。例如,图像语义特征可以为车道线、停车库位线、库位点、斑马线、车道箭头等,本发明实施例不做限定。In the embodiment of the present invention, the image semantic feature is a semantic feature that can be empirically filtered, has a special meaning, and is helpful for vehicle positioning. For example, the image semantic feature may be a lane line, a parking space line, a storage location point, a zebra crossing, a lane arrow, and the like, which are not limited in the embodiment of the present invention.
此外,构建子单元5013可以通过深度学习或图像分割等图像识别算法从俯视拼接图中识别出图像语义特征。优选的,可以使用适用于深度学习的神经网络模型识别图像语义特征:将车载终端拼接得到的俯视拼接图输入至上述训练好的神经网络模型,基于神经网络模型的识别结果,即可识别出俯视拼接图中的图像语义特征。相较于传统的图像分割技术,通过深度学习的方法从俯视拼接图中提取图像语义特征,可以提高图像语义特征的识别准确率。In addition, the construction sub-unit 5013 can recognize image semantic features from a top-view mosaic image through an image recognition algorithm such as deep learning or image segmentation. Preferably, the semantic features of the image can be identified by using a neural network model suitable for deep learning: inputting the top-view mosaic image obtained by splicing the vehicle terminal into the trained neural network model, and the top view can be identified based on the recognition result of the neural network model. Image semantic features in mosaics. Compared with the traditional image segmentation technology, the deep learning method can be used to extract the image semantic features from the top-view mosaic, which can improve the recognition accuracy of the image semantic features.
可见,上述的构建单元501基于摄像头的环视方案构建局部地图,相比单目摄像头的前视方案等技术方案,构建单元501利用单次观测构建出的局部地图中包括更多信息,可以缩短定位初始化所需的时间,也可以提高定位的准确度。It can be seen that the above-mentioned construction unit 501 constructs a local map based on the camera's surround view scheme. Compared with the technical solutions of the monocular camera's forward-looking scheme, the construction unit 501 uses a single observation to include more information in the local map, which can shorten positioning. The time required for initialization can also improve the accuracy of positioning.
可选的,上述的匹配单元502,可以包括:Optionally, the aforementioned matching unit 502 may include:
检测子单元5021,用于检测构建子单元5013构建出的局部地图中的特定特征,其中,上述的特定特征为在局部地图中的出现概率低于非特定特征的图像语义特征。The detection sub-unit 5021 is configured to detect specific features in the local map constructed by the construction sub-unit 5013, wherein the specific features mentioned above are image semantic features whose appearance probability in the local map is lower than non-specific features.
本发明实施例中,特定特征为在局部地图中的出现概率低于非特定特征的图像语义特征。由构建单元501构建局部地图的具体方式可知,局部地图中可能包括多种类型的语义特征,不同类型的语义特征在局部地图中出现的概率不同。例如,在停车场的局部地图中,一般包括车道线、停车库位线、库位点、斑马线、车道箭头等语义特征,而类似于斑马线或车道箭头等出现概率较低的特征可以被设定为用于进行地图匹配的特定特征。利用局部地图中的特定特征进行局部地图和全局地图之间的匹配,可以提高匹配成功的概率。In the embodiment of the present invention, the specific feature is an image semantic feature whose appearance probability in the local map is lower than the non-specific feature. It can be known from the specific manner of constructing the local map by the construction unit 501 that the local map may include multiple types of semantic features, and different types of semantic features have different probability of appearing in the local map. For example, in a local map of a parking lot, semantic features such as lane lines, parking space lines, storage locations, zebra crossings, and lane arrows are generally included, while features similar to zebra crossings or lane arrows with lower probability of occurrence can be set Are specific features used for map matching. Using the specific features in the local map to match between the local map and the global map can increase the probability of successful matching.
识别子单元5022,用于识别预先构建的全局地图中与检测子单元5021识别出的特定特征相匹配的目标特征。The identification sub-unit 5022 is used to identify target features in the pre-built global map that match the specific features identified by the detection sub-unit 5021.
确定子单元5023,用于识别子单元5022根据目标特征在全局地图中的位置,确定局部地图在全局地图中的位置。The determining subunit 5023 is used for identifying the subunit 5022 to determine the position of the local map in the global map according to the position of the target feature in the global map.
可见,实施图6所示的车载终端,可以只使用视觉信息完成车辆的定位初始化,还可以利用安装在车辆四周的四个摄像头组成摄像头环视方案,使得利用单次采集得到的目标图像构建出的局部地图包含更多的特征,有利于局部地图与全局地图的匹配,也可以在部分摄像头失效的情况下,降低对车载终端构建局部地图和定位的影响。此外,图6所示的车载终端使用在局部地图中出现概率较低的特定特征进行局部地图与全局地图之间的匹配,可以提高匹配成功的概率。It can be seen that the implementation of the on-board terminal shown in FIG. 6 can use only visual information to complete the positioning initialization of the vehicle, and can also use the four cameras installed around the vehicle to form a camera look-around solution, so that the target image obtained by a single acquisition is used to construct the The local map contains more features, which is beneficial to the matching between the local map and the global map. It can also reduce the impact on the local map construction and positioning of the vehicle terminal when some cameras fail. In addition, the in-vehicle terminal shown in FIG. 6 uses a specific feature with a low probability of occurrence in the local map to perform matching between the local map and the global map, which can increase the probability of successful matching.
实施例五Example 5
请参阅图7,图7是本发明实施例公开的另一种车载终端的结构示意图。其中,图7所示的车载终端由图6所示的车载终端进行优化得到的。如图7所示,该车载终端还可以包括:Please refer to FIG. 7, which is a schematic structural diagram of another vehicle-mounted terminal disclosed by an embodiment of the present invention. The vehicle-mounted terminal shown in FIG. 7 is obtained by optimizing the vehicle-mounted terminal shown in FIG. 6. As shown in FIG. 7, the vehicle-mounted terminal may further include:
第一判断单元504,用于在构建单元501利用摄像头拍摄到的目标图像对车辆的周围环境进行构建以得到局部地图之前,判断是否记录到上一次定位计算结束时的定位结束位置;其中,上一次定位计算为在车辆启动前发生的前一次定位计算。A first determining unit 504 is configured to determine whether to record the positioning end position at the end of the last positioning calculation before constructing the surrounding environment of the vehicle using the target image captured by the camera to obtain a local map; One positioning calculation is the previous positioning calculation that occurred before the vehicle was started.
第二确定单元505,用于在第一判断单元504判断出记录到上述的定位结束位置时, 将定位结束位置确定为车辆在全局地图中的初始位置。The second determining unit 505 is configured to determine the end position of the positioning as the initial position of the vehicle in the global map when the first determining unit 504 determines that the positioning end position is recorded.
相应地,上述的构建单元501,具体用于在第一判断单元504判断出未记录到定位结束位置时,利用摄像头拍摄到的目标图像对车辆的周围环境进行构建,以得到局部地图。Correspondingly, the above-mentioned construction unit 501 is specifically configured to use the target image captured by the camera to construct the surrounding environment of the vehicle when the first determination unit 504 determines that the positioning end position is not recorded, to obtain a local map.
在一种可能的应用场景中,在车辆熄火(即定位计算结束)到下次启动的过程中,车辆很可能不存在位置变化,因此可以直接将该定位结束位置作为车辆在全局地图中的初始位置,从而可以缩短定位初始化所需时间,提高用户体验。In a possible application scenario, from the time the vehicle is turned off (that is, the end of the positioning calculation) to the next startup, there is likely to be no change in the position of the vehicle. Therefore, the positioning end position can be directly used as the initial position of the vehicle in the global map. Position, which can shorten the time required for positioning initialization and improve the user experience.
可选的,图7所示的车载终端也可以包括:Optionally, the vehicle-mounted terminal shown in FIG. 7 may also include:
第二判断单元506,用于在在构建单元501利用摄像头拍摄到的目标图像对车辆的周围环境进行构建以得到局部地图之前,判断是否接收到卫星定位信号。A second determining unit 506 is configured to determine whether a satellite positioning signal is received before the constructing unit 501 constructs a surrounding environment of the vehicle using a target image captured by a camera to obtain a local map.
第三确定单元507,用于在第二判断单元506判断出接收到卫星定位信号时,基于卫星定位信号确定车辆在全局地图中的初始位置。The third determining unit 507 is configured to determine an initial position of the vehicle in the global map based on the satellite positioning signal when the second determining unit 506 determines that the satellite positioning signal is received.
相应地,上述的构建单元501,具体用于在第二判断单元506判断出未接收到卫星定位信号时,利用摄像头拍摄到的目标图像对车辆的周围环境进行构建,以得到局部地图。Correspondingly, the above-mentioned constructing unit 501 is specifically configured to use the target image captured by the camera to construct the surrounding environment of the vehicle when the second determining unit 506 determines that no satellite positioning signal is received, to obtain a local map.
在一种可能的应用场景中,车辆从地上的道路驶入地下车库,需要完成地上地图与地下地图之间的切换,同时需要完成基于地下地图的定位初始化。在地下车库的入口位置,第二判断单元506可能判断出接收到卫星定位信号,因此,车载终端可以直接触发第三确定单元507使用卫星定位信号确定出车载终端在全局地图(即地下地图)中的初始位置,从而缩短定位初始化所需时间,提高用户体验。In a possible application scenario, when a vehicle drives from an above-ground road into an underground garage, it is necessary to complete the switching between the above-ground map and the underground map, and at the same time complete the positioning initialization based on the underground map. At the entrance position of the underground garage, the second determination unit 506 may determine that a satellite positioning signal is received. Therefore, the vehicle-mounted terminal may directly trigger the third determination unit 507 to determine that the vehicle-mounted terminal is in the global map (ie, the underground map) using the satellite positioning signal. Initial position, which shortens the time required for positioning initialization and improves the user experience.
需要说明的是,在本发明实施例中,如果车载终端集包括第一判断单元504,也包括第二判断单元506,并且在第一判断单元504判断出记录到定位结束位置的同时,第二判断单元505也判断出接收到卫星定位信号,那么根据卫星定位信号的传播特性,卫星定位结果可能存在误差,因此,触发第二确定单元505执行将定位结束位置确定为车辆在全局地图中的初始位置的操作,将上一次定位计算结束时的定位结束位置确定为车辆的定位初始化结果。It should be noted that, in the embodiment of the present invention, if the in-vehicle terminal set includes a first determination unit 504 and a second determination unit 506, and when the first determination unit 504 determines that it is recorded to the positioning end position, the second The judging unit 505 also judges that the satellite positioning signal is received. According to the propagation characteristics of the satellite positioning signal, there may be errors in the satellite positioning results. Therefore, the second determining unit 505 is triggered to execute the positioning end position as the initial position of the vehicle in the global map Position operation determines the positioning end position at the end of the last positioning calculation as the vehicle's positioning initialization result.
可见,实施图7所示的车载终端,可以只使用视觉信息完成车辆的定位初始化。同时,还可以在记录到定位结束位置时直接使用定位结束位置作为定位初始化的结果,也可以在接收到卫星定位信号时,基于卫星定位信号确定定位初始化的结果,从而可以缩短定位初始化所需的时间,提高用户体验。此外,上述的三种定位初始化方法互为补充,可以提高定位初始化的稳定性。It can be seen that when the vehicle-mounted terminal shown in FIG. 7 is implemented, the positioning of the vehicle can be completed using only the visual information. At the same time, when the positioning end position is recorded, the positioning end position can be directly used as a result of positioning initialization. When a satellite positioning signal is received, the result of positioning initialization can be determined based on the satellite positioning signal, thereby reducing the time required for positioning initialization. Time to improve user experience. In addition, the three positioning initialization methods mentioned above are complementary to each other, which can improve the stability of positioning initialization.
实施例六Example Six
请参阅图8,图8是本发明实施例公开的另一种车载终端的结构示意图。如图8所示,该车载终端可以包括:Please refer to FIG. 8, which is a schematic structural diagram of another vehicle-mounted terminal disclosed in an embodiment of the present invention. As shown in FIG. 8, the vehicle-mounted terminal may include:
至少一个处理器801,例如CPU,至少一个网络接口804,用户接口803,存储器805,至少一个通信总线802以及显示屏806。其中,通信总线802用于实现这些组件之间的连接通信。其中,用户接口803可以包括显示屏(Display),可选用户接口803还可以包括标准的有线接口、无线接口。网络接口804可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器805可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器805可选的还可以是至少一个位于远离前述处理器801的存储装置。如图8所示,作为一种计算机存储介质的存储器 805中存储有可执行程序代码,至少可以包括操作系统、网络通信模块、用户接口模块以及定位初始化模块。At least one processor 801, such as a CPU, at least one network interface 804, user interface 803, memory 805, at least one communication bus 802, and a display screen 806. The communication bus 802 is used to implement connection and communication between these components. The user interface 803 may include a display screen, and the optional user interface 803 may further include a standard wired interface and a wireless interface. The network interface 804 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 805 may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), for example, at least one magnetic disk memory. The memory 805 may optionally be at least one storage device located far from the foregoing processor 801. As shown in FIG. 8, a memory 805 as a computer storage medium stores executable program code, which may include at least an operating system, a network communication module, a user interface module, and a positioning initialization module.
在图8所示的车载终端中,网络接口804主要用于连接服务器,与服务器进行数据通信(如下载全局地图);而处理器801可以与存储器805耦合,并且用于调用存储器805中存储的定位初始化模块对应的可执行程序代码,执行图1或图2所示的任一种应用于车辆定位的定位初始化方法。In the vehicle-mounted terminal shown in FIG. 8, the network interface 804 is mainly used to connect to the server and perform data communication with the server (such as downloading a global map); and the processor 801 may be coupled to the memory 805 and used to call the memory stored in the memory 805. The executable program code corresponding to the positioning initialization module executes any positioning initialization method applied to vehicle positioning shown in FIG. 1 or FIG. 2.
需要说明的是,图8所示的车载终端还可以包括电源、输入按键、扬声器、蓝牙模块等未显示的组件,本实施例不作赘述。It should be noted that the vehicle-mounted terminal shown in FIG. 8 may further include components not shown, such as a power source, input buttons, speakers, and a Bluetooth module, which are not described in this embodiment.
本发明实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行图1或图2所示的任一种应用于车辆定位的定位初始化方法。An embodiment of the present invention discloses a computer-readable storage medium that stores a computer program, wherein the computer program causes a computer to execute any one of the positioning initialization methods shown in FIG. 1 or FIG. 2 that is applied to vehicle positioning.
本发明实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可操作来使计算机执行图1或图2所示的任一种应用于车辆定位的定位初始化方法An embodiment of the present invention discloses a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of FIG. 1 or FIG. 2. Positioning initialization method applied to vehicle positioning
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be understood that "an embodiment" or "an embodiment" mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of "in one embodiment" or "in an embodiment" appearing throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本发明的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In various embodiments of the present invention, it should be understood that the size of the serial numbers of the above processes does not mean the necessary sequence of execution. The execution order of each process should be determined by its function and internal logic, and should not be implemented in the present invention. The implementation process of the example constitutes any limitation.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明的各个实施例上述方法的部分或全部步骤。When the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory , Including a number of requests to cause a computer device (which may be a personal computer, a server, or a network device, specifically a processor in a computer device) to perform some or all of the steps of the foregoing methods of various embodiments of the present invention.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只 读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the foregoing embodiments may be implemented by a program instructing related hardware. The program may be stored in a computer-readable storage medium, and the storage medium includes a read-only Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-only Memory (PROM), Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), Compact Disc (Compact Disc) Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本发明实施例公开的一种应用于车辆定位的定位初始化方法及车载终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The positioning initialization method and vehicle terminal applied to vehicle positioning disclosed in the embodiments of the present invention have been described in detail above. Specific examples are used in this document to explain the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of To help understand the method of the present invention and its core ideas. At the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and the scope of application. In summary, the content of this description should not be construed as a limitation on the present invention.

Claims (10)

  1. 一种应用于车辆定位的定位初始化方法,其特征在于,所述方法包括:A positioning initialization method applied to vehicle positioning is characterized in that the method includes:
    利用图像采集装置拍摄到的目标图像对车辆的周围环境进行构建,以得到局部地图;Use the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map;
    将所述局部地图与预先构建的全局地图进行匹配,以得到所述局部地图在所述全局地图中的位置;其中,随着车辆的行驶,局部地图的范围逐渐增大,当局部地图的范围增大到能够从全局地图中匹配到唯一一个与局部地图相同的区域时,根据该区域在全局地图中的位置确定局部地图在全局地图中的位置;Matching the local map with a pre-built global map to obtain the position of the local map in the global map; wherein, as the vehicle travels, the range of the local map gradually increases. When it is increased to be able to match the only area that is the same as the local map from the global map, the position of the local map in the global map is determined according to the location of the area in the global map;
    基于所述局部地图在所述全局地图中的位置,将所述车辆在所述局部地图中的位置映射到所述全局地图中,以得到所述车辆在所述全局地图中初始位置。Based on the position of the local map in the global map, map the position of the vehicle in the local map to the global map to obtain the initial position of the vehicle in the global map.
  2. 根据权利要求1所述的应用于车辆定位的定位初始化方法,其特征在于,所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图,包括:The positioning initialization method applied to vehicle positioning according to claim 1, wherein the use of a target image captured by an image acquisition device to construct a surrounding environment of the vehicle to obtain a local map includes:
    获取多个图像采集装置在同一时刻拍摄到的多张目标图像;所述多个图像采集装置包括分别安装在所述车辆的前、后、左、右四个方向的图像采集装置,每个所述图像采集装置的取景范围至少包括该图像采集装置的下方地面;Acquire multiple target images captured by multiple image acquisition devices at the same time; the multiple image acquisition devices include image acquisition devices installed in the front, rear, left, and right directions of the vehicle, each The framing range of the image acquisition device includes at least the ground below the image acquisition device;
    对多张所述目标图像进行拼接,以得到俯视拼接图;Stitching a plurality of said target images to obtain a top-view mosaic image;
    识别所述俯视拼接图中的图像语义特征,并基于所述图像语义特征构建局部地图。Identify image semantic features in the top-view mosaic image, and build a local map based on the image semantic features.
  3. 根据权利要求2所述的应用于车辆定位的定位初始化方法,其特征在于,所述将所述局部地图与预先构建的全局地图进行匹配,以得到所述局部地图在所述全局地图中的位置包括:The positioning initialization method applied to vehicle positioning according to claim 2, wherein the local map is matched with a pre-built global map to obtain a position of the local map in the global map include:
    检测所述局部地图中的特定特征,所述特定特征为在所述局部地图中的出现概率低于非所述特定特征的所述图像语义特征;Detecting a specific feature in the local map, where the specific feature is a semantic feature of the image whose appearance probability in the local map is lower than the non-specific feature;
    识别预先构建的全局地图中与所述特定特征相匹配的目标特征;Identifying target features in the pre-built global map that match the specific features;
    根据所述目标特征在所述全局地图中的位置,确定所述局部地图在所述全局地图中的位置。Determining a position of the local map in the global map according to a position of the target feature in the global map.
  4. 根据权利要求1~3任一项所述的应用于车辆定位的定位初始化方法,其特征在于,在所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图之前,所述方法还包括:The positioning initialization method applied to vehicle positioning according to any one of claims 1 to 3, wherein the surrounding environment of the vehicle is constructed in the target image captured by the image acquisition device to obtain a local Before the map, the method further includes:
    判断是否记录到上一次定位计算结束时的定位结束位置,所述上一次定位计算为在所述车辆启动前发生的前一次定位计算;Determining whether to record the end position of the positioning at the end of the last positioning calculation, where the last positioning calculation is a previous positioning calculation that occurred before the vehicle was started;
    如果记录到所述定位结束位置,将所述定位结束位置确定为所述车辆在所述全局地图中的初始位置;If the positioning end position is recorded, determining the positioning end position as an initial position of the vehicle in the global map;
    如果未记录到所述定位结束位置,执行所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图。If the positioning end position is not recorded, the target image captured by the image acquisition device is used to construct the surrounding environment of the vehicle to obtain a local map.
  5. 根据权利要求1~3任一项所述的应用于车辆定位的定位初始化方法,其特征在于,在所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图之前,所述方法还包括:The positioning initialization method applied to vehicle positioning according to any one of claims 1 to 3, wherein the surrounding environment of the vehicle is constructed in the target image captured by the image acquisition device to obtain a local Before the map, the method further includes:
    判断是否接收到卫星定位信号,如果接收到所述卫星定位信号,基于所述卫星定位信号确定所述车辆在所述全局地图中的初始位置;Determine whether a satellite positioning signal is received, and if the satellite positioning signal is received, determine an initial position of the vehicle in the global map based on the satellite positioning signal;
    如果未接收到所述卫星定位信号,执行所述利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图。If the satellite positioning signal is not received, executing the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map.
  6. 一种车载终端,其特征在于,包括:A vehicle-mounted terminal, comprising:
    构建单元,用于利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图;A construction unit, configured to construct a surrounding environment of the vehicle by using a target image captured by an image acquisition device to obtain a local map;
    匹配单元,用于将所述局部地图与预先构建的全局地图进行匹配,以得到所述局部地图在所述全局地图中的位置;其中,随着车辆的行驶,所述局部地图的范围逐渐增大,当所述局部地图的范围增大到能够从所述全局地图中匹配到唯一一个与所述局部地图相同的区域时,根据该区域在所述全局地图中的位置确定所述局部地图在所述全局地图中的位置;A matching unit configured to match the local map with a pre-built global map to obtain a position of the local map in the global map; wherein, as the vehicle travels, the range of the local map gradually increases Large, when the range of the local map is increased to be able to match from the global map to the only area that is the same as the local map, determining the location of the local map based on the location of the area in the global map A position in the global map;
    第一确定单元,用于基于所述局部地图在所述全局地图中的位置,将所述车辆在所述局部地图中的位置映射到所述全局地图中,以得到所述车辆在所述全局地图中初始位置。A first determining unit, configured to map a position of the vehicle in the local map to the global map based on a position of the local map in the global map to obtain the vehicle in the global map The initial position in the map.
  7. 根据权利要求6所述的车载终端,其特征在于,所述构建单元,包括:The vehicle-mounted terminal according to claim 6, wherein the construction unit comprises:
    获取子单元,用于获取多个图像采集装置在同一时刻拍摄到的多张目标图像;所述多个图像采集装置包括分别安装在所述车辆前、后、左、右四个方向的图像采集装置,每个所述图像采集装置的取景范围至少包括该图像采集装置的下方地面;An acquisition subunit, configured to acquire multiple target images captured by multiple image acquisition devices at the same moment; the multiple image acquisition devices include image acquisitions respectively installed in front, rear, left, and right directions of the vehicle Device, the framing range of each said image acquisition device includes at least the ground below the image acquisition device;
    拼接子单元,用于对多张所述目标图像进行拼接,以得到俯视拼接图;A stitching sub-unit for stitching a plurality of said target images to obtain a top-view stitching image;
    构建子单元,用于识别所述俯视拼接图中的图像语义特征,并基于所述图像语义特征构建局部地图。A construction subunit is used for identifying the image semantic feature in the top-view mosaic image, and constructing a local map based on the image semantic feature.
  8. 根据权利要求7所述的车载终端,其特征在于,所述匹配单元,包括:The vehicle-mounted terminal according to claim 7, wherein the matching unit comprises:
    检测子单元,用于检测所述局部地图中的特定特征,所述特定特征为在所述局部地图中的出现概率低于非所述特定特征的所述图像语义特征;A detection subunit, configured to detect a specific feature in the local map, where the specific feature is a semantic feature of the image whose appearance probability in the local map is lower than the non-specific feature;
    识别子单元,用于识别预先构建的全局地图中与所述特定特征相匹配的目标特征;A recognition subunit for identifying a target feature in a pre-built global map that matches the specific feature;
    确定子单元,用于根据所述目标特征在所述全局地图中的位置,确定所述局部地图在所述全局地图中的位置。A determining subunit, configured to determine a position of the local map in the global map according to a position of the target feature in the global map.
  9. 根据权利要求6~8中任一项所述的车载终端,其特征在于,所述车载终端还包括:The vehicle-mounted terminal according to any one of claims 6 to 8, wherein the vehicle-mounted terminal further comprises:
    第一判断单元,用于在所述构建单元利用图像采集装置拍摄到的目标图像对车辆的周围环境进行构建以得到局部地图之前,判断是否记录到上一次定位计算结束时的定位结束位置,所述上一次定位计算为在所述车辆启动前发生的前一次定位计算;A first determining unit is configured to determine whether the positioning end position at the end of the last positioning calculation is recorded before the construction unit uses the target image captured by the image acquisition device to construct the surrounding environment of the vehicle to obtain a local map. The last positioning calculation is a previous positioning calculation that occurred before the vehicle was started;
    第二确定单元,用于在所述第一判断单元判断出记录到所述定位结束位置时,将所述定位结束位置确定为所述车辆在所述全局地图中的初始位置;A second determining unit, configured to determine the positioning end position as the initial position of the vehicle in the global map when the first determination unit determines that the positioning end position is recorded;
    所述构建单元,具体用于在所述第一判断单元判断出未记录到所述定位结束位置时,利用图像采集装置拍摄到的目标图像对所述车辆的周围环境进行构建,以得到局部地图。The construction unit is specifically configured to use the target image captured by the image acquisition device to construct the surrounding environment of the vehicle when the first determination unit determines that the positioning end position is not recorded, to obtain a local map .
  10. 根据权利要求3或8所述的车载终端,其特征在于,特定特征包括斑马线、车道箭头、库位点。The vehicle-mounted terminal according to claim 3 or 8, wherein the specific characteristics include a zebra crossing, a lane arrow, and a storage location.
PCT/CN2018/113669 2018-08-31 2018-11-02 Positioning initialization method applied to vehicle positioning and vehicle-mounted terminal WO2020042349A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811008956.0A CN110148170A (en) 2018-08-31 2018-08-31 A kind of positioning initialization method and car-mounted terminal applied to vehicle location
CN201811008956.0 2018-08-31

Publications (1)

Publication Number Publication Date
WO2020042349A1 true WO2020042349A1 (en) 2020-03-05

Family

ID=67588412

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/113669 WO2020042349A1 (en) 2018-08-31 2018-11-02 Positioning initialization method applied to vehicle positioning and vehicle-mounted terminal

Country Status (2)

Country Link
CN (1) CN110148170A (en)
WO (1) WO2020042349A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723863A (en) * 2020-06-19 2020-09-29 中国农业科学院农业信息研究所 Fruit tree flower identification and position acquisition method and device, computer equipment and storage medium
CN113721599A (en) * 2020-05-25 2021-11-30 华为技术有限公司 Positioning method and positioning device

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111179162B (en) * 2018-11-12 2023-10-24 北京魔门塔科技有限公司 Positioning initialization method under special environment and vehicle-mounted terminal
CN112880691B (en) * 2019-11-29 2022-12-02 北京魔门塔科技有限公司 Global positioning initialization method and device
CN110794434B (en) * 2019-11-29 2022-11-15 广州视源电子科技股份有限公司 Pose determination method, device, equipment and storage medium
CN111191596B (en) * 2019-12-31 2023-06-02 武汉中海庭数据技术有限公司 Closed area drawing method, device and storage medium
CN113063426B (en) * 2020-01-02 2022-12-13 北京魔门塔科技有限公司 Position information determining method and device
CN111707275B (en) * 2020-05-12 2022-04-29 驭势科技(北京)有限公司 Positioning method, positioning device, electronic equipment and computer readable storage medium
CN112184818B (en) * 2020-10-09 2022-06-10 重庆邮电大学 Vision-based vehicle positioning method and parking lot management system applying same
CN112284396B (en) * 2020-10-29 2023-01-03 的卢技术有限公司 Vehicle positioning method suitable for underground parking lot
CN112605991B (en) * 2020-12-04 2022-03-29 清华大学 Robot autonomous target recognition and high-precision absolute positioning method in structured environment
CN112697132A (en) * 2020-12-21 2021-04-23 北京金和网络股份有限公司 Positioning method, device and system based on GIS
CN113191412A (en) * 2021-04-25 2021-07-30 珠海格力电器股份有限公司 Equipment relocation method and device, computer equipment and storage medium
CN113899373B (en) * 2021-09-30 2024-04-23 广州文远知行科技有限公司 Initialization positioning method, device, vehicle and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150266422A1 (en) * 2014-03-20 2015-09-24 Magna Electronics Inc. Vehicle vision system with curvature estimation
CN108256411A (en) * 2016-12-28 2018-07-06 沃尔沃汽车公司 By the method and system of camera review vehicle location
CN108413971A (en) * 2017-12-29 2018-08-17 驭势科技(北京)有限公司 Vehicle positioning technology based on lane line and application

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566471B (en) * 2007-01-18 2011-08-31 上海交通大学 Intelligent vehicular visual global positioning method based on ground texture
CN102013110B (en) * 2010-11-23 2013-01-02 李建成 Three-dimensional panoramic image generation method and system
US9965901B2 (en) * 2015-11-19 2018-05-08 KLA—Tencor Corp. Generating simulated images from design information
CN105928505B (en) * 2016-04-19 2019-01-29 深圳市神州云海智能科技有限公司 The pose of mobile robot determines method and apparatus
CN106372577A (en) * 2016-08-23 2017-02-01 北京航空航天大学 Deep learning-based traffic sign automatic identifying and marking method
CN106407931B (en) * 2016-09-19 2019-11-22 杭州电子科技大学 A kind of depth convolutional neural networks moving vehicle detection method
CN106550192A (en) * 2016-10-31 2017-03-29 深圳晨芯时代科技有限公司 A kind of virtual reality shooting and the method for showing, system
EP3543650A4 (en) * 2016-12-23 2020-01-01 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Locating method, terminal and server
CN106817539A (en) * 2016-12-29 2017-06-09 珠海市魅族科技有限公司 The image processing method and system of a kind of vehicle
CN106846892A (en) * 2017-03-07 2017-06-13 重庆邮电大学 Parking lot vehicle cooperative intelligent shutdown system and method based on machine vision
CN107024216B (en) * 2017-03-14 2020-08-04 重庆邮电大学 Intelligent vehicle fusion positioning system and method introducing panoramic map
CN106971155B (en) * 2017-03-21 2020-03-24 电子科技大学 Unmanned vehicle lane scene segmentation method based on height information
CN107084727B (en) * 2017-04-12 2021-01-19 武汉理工大学 Visual positioning system and method based on high-precision three-dimensional map
CN107144285B (en) * 2017-05-08 2020-06-26 深圳地平线机器人科技有限公司 Pose information determination method and device and movable equipment
CN107330357A (en) * 2017-05-18 2017-11-07 东北大学 Vision SLAM closed loop detection methods based on deep neural network
CN107316307B (en) * 2017-06-27 2020-05-08 北京工业大学 Automatic segmentation method of traditional Chinese medicine tongue image based on deep convolutional neural network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150266422A1 (en) * 2014-03-20 2015-09-24 Magna Electronics Inc. Vehicle vision system with curvature estimation
CN108256411A (en) * 2016-12-28 2018-07-06 沃尔沃汽车公司 By the method and system of camera review vehicle location
CN108413971A (en) * 2017-12-29 2018-08-17 驭势科技(北京)有限公司 Vehicle positioning technology based on lane line and application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721599A (en) * 2020-05-25 2021-11-30 华为技术有限公司 Positioning method and positioning device
CN111723863A (en) * 2020-06-19 2020-09-29 中国农业科学院农业信息研究所 Fruit tree flower identification and position acquisition method and device, computer equipment and storage medium
CN111723863B (en) * 2020-06-19 2023-06-02 中国农业科学院农业信息研究所 Fruit tree flower identification and position acquisition method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110148170A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
WO2020042349A1 (en) Positioning initialization method applied to vehicle positioning and vehicle-mounted terminal
CN110136199B (en) Camera-based vehicle positioning and mapping method and device
CN111179162B (en) Positioning initialization method under special environment and vehicle-mounted terminal
US11361470B2 (en) Semantically-aware image-based visual localization
Maddern et al. 1 year, 1000 km: The oxford robotcar dataset
JP7221089B2 (en) Stable simultaneous execution of location estimation and map generation by removing dynamic traffic participants
WO2018145602A1 (en) Lane determination method, device and storage medium
CN109214986A (en) High-resolution 3-D point cloud is generated from the low resolution LIDAR 3-D point cloud and camera review of down-sampling
CN109214987A (en) High-resolution 3-D point cloud is generated from the low resolution LIDAR 3-D point cloud and camera review of up-sampling
CN109215067A (en) High-resolution 3-D point cloud is generated based on CNN and CRF model
CN110136058B (en) Drawing construction method based on overlook spliced drawing and vehicle-mounted terminal
US11836884B2 (en) Real-time generation of functional road maps
CN111274974A (en) Positioning element detection method, device, equipment and medium
CN111256693B (en) Pose change calculation method and vehicle-mounted terminal
WO2023185354A1 (en) Real location navigation method and apparatus, and device, storage medium and program product
US11892311B2 (en) Image processing apparatus, image processing method, computer program and computer readable recording medium
US20240029303A1 (en) Three-dimensional target detection method and apparatus
CN114663852A (en) Method and device for constructing lane line graph, electronic equipment and readable storage medium
CN114220063B (en) Target detection method and device
CN110136049B (en) Positioning method based on fusion of looking-around image and wheel speed meter and vehicle-mounted terminal
CN115790568A (en) Map generation method based on semantic information and related equipment
CN114802261A (en) Parking control method, obstacle recognition model training method and device
CN111126336B (en) Sample collection method, device and equipment
US20220196432A1 (en) System and method for determining location and orientation of an object in a space
CN113160406A (en) Road three-dimensional reconstruction method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18931629

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18931629

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18931629

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.09.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18931629

Country of ref document: EP

Kind code of ref document: A1