Vehicle positioning method and device and electronic equipment
By extracting and matching parking space number information in vehicle environment images, the problem of low vehicle positioning accuracy and efficiency in underground parking lots is solved, achieving high accuracy and rapid positioning in complex environments.
Patent Information
- Application Number
- CN202410464360.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-08-23
AI Technical Summary
In underground parking lots, the automatic parking function has low vehicle positioning accuracy and efficiency due to highly repetitive visual features and poor lighting conditions, which is difficult to effectively solve with existing technology.
By receiving vehicle environment images, the observed parking space information, including parking space number and location information, is extracted and matched with pre-constructed map information to determine the vehicle's current location in the parking lot. The parking space number is used as a unique identifier to reduce the amount of calculation and improve positioning. Accuracy and speed.
It improves the accuracy and efficiency of vehicle positioning, avoids the use of unstable ground features, realizes vehicle positioning within a short distance, and is suitable for complex environments and parking lots with poor lighting.
Smart Images

Figure CN118538048A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a vehicle positioning method, device, system and electronic equipment. Background Art
[0002] With the advancement of science and technology, vehicle autonomous driving technology is becoming more and more mature, among which automatic parking is an important technology for autonomous vehicles. Generally, during the automatic parking process, when the user activates the function to park in a designated parking space, there is a need for visual repositioning, that is, the current position of the vehicle needs to be determined. However, due to the highly repetitive visual features of underground parking lots and poor lighting conditions, users hope that the automatic parking function can be activated at any time, so pure visual repositioning is a problem.
[0003] In the prior art, vehicle positioning is mainly based on matching information such as pillars and parking spaces in the parking lot. If repeated and similar scenes are encountered, the probability of positioning failure and wrong positioning is high, and the amount of calculation is relatively large.
[0004] Therefore, how to provide a technical solution to improve the accuracy of vehicle positioning is a technical problem that urgently needs to be solved in this field. Summary of the invention
[0005] The present application provides a vehicle positioning method, apparatus, system, device, storage medium, and computer program product, which can improve the accuracy and efficiency of vehicle positioning.
[0006] On the one hand, an embodiment of this specification provides a vehicle positioning method, the method comprising:
[0007] Receiving a vehicle environment image collected by a target vehicle;
[0008] Extracting observed parking space information in the vehicle environment image, the observed parking space information including: an observed parking space number and position information of the observed parking space number in the parking space;
[0009] Matching the observed parking space number with pre-constructed map information to obtain matched target parking space information; wherein the map information is map information of the parking lot where the target vehicle is located, the map information includes map parking space information, and the map parking space information is associated with the map parking space number and the position information of the map parking space number in the parking space;
[0010] The position information of the observed parking space number in the parking space is matched with the position information of the map parking space number in the target parking space information. If the match is successful, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
[0011] On the other hand, an embodiment of this specification provides a vehicle positioning device, the device comprising:
[0012] A data receiving module, used for receiving the vehicle environment image collected by the target vehicle;
[0013] A parking space information extraction module, used to extract the observed parking space information in the vehicle environment image, wherein the observed parking space information includes: the observed parking space number and the position information of the observed parking space number in the parking space;
[0014] A parking space number matching module, used to match the observed parking space number with pre-constructed map information to obtain matching target parking space information; wherein the map information is map information of the parking lot where the target vehicle is located, the map information includes map parking space information, and the map parking space information is associated with the map parking space number and the position information of the map parking space number in the parking space;
[0015] The vehicle position determination module is used to match the position information of the observed parking space number in the parking space with the position information of the map parking space number in the target parking space information. If the match is successful, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
[0016] On the other hand, an embodiment of this specification provides an electronic device, including: a processor;
[0017] a memory for storing instructions executable by the processor;
[0018] Wherein, the processor is configured to execute the instructions to implement any of the above-mentioned vehicle positioning methods.
[0019] On the other hand, an embodiment of the present specification provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is able to execute any of the above-mentioned vehicle positioning methods.
[0020] On the other hand, the embodiments of this specification provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the vehicle positioning method provided in the above-mentioned various optional implementations.
[0021] The vehicle positioning method, device, system, equipment, storage medium, and computer program product provided by this application have the following technical effects:
[0022] The vehicle positioning method provided by the present application first determines the target parking space information in the matching by extracting the observed parking space information in the vehicle environment image around the vehicle, matching the observed parking space number in the observed parking space information with the map parking space number in the pre-established parking lot map information. Then, the position of the observed parking space number in the observed parking space information in the parking space is matched with the position of the map parking space number in the target parking space information in the parking space. If a match is found, the position of the vehicle in the parking lot is determined based on the position of the target parking space information in the map information. The parking space number is generally a character string, and the matching calculation processing speed is fast. Using the parking space number as highly unique matching information reduces the amount of calculation in the vehicle positioning process. In addition, in general, the parking space number in a parking lot is the only identification that can identify the parking space in the parking lot, avoiding the use of unstable features on the ground for matching. The parking space number is selected for matching, and then combined with the position of the parking space number in the parking space, the accuracy of vehicle positioning can be improved. Moreover, the entire process does not require the use of other ground marking elements in the parking lot. Based on the positioning of the parking space number, after the vehicle enters the parking space, as long as the parking space is detected, the vehicle positioning can be completed within a short distance, which improves the speed of vehicle positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a schematic diagram of an application environment of a vehicle positioning method provided in an embodiment of this specification;
[0025] Figure 2 It is a flow chart of a vehicle positioning method provided in an embodiment of the present application;
[0026] Figure 3 This is a schematic diagram of the principle of extracting parking space information in a scenario example of this manual;
[0027] Figure 4 It is a schematic diagram of the principle flow of a vehicle positioning method in one embodiment of this specification;
[0028] Figure 5 is a structural schematic diagram of a vehicle positioning device provided in an embodiment of the present application;
[0029] Figure 6 is a block diagram of an electronic device for vehicle positioning provided by an embodiment of the present application;
[0030] Figure 7 It is a block diagram of another electronic device for vehicle positioning provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] See also Figure 1 , Figure 1 1 is a schematic diagram of an application environment of a vehicle positioning method provided in an embodiment of this specification, and the application environment may at least include a server 100 and a terminal 200.
[0034] In an optional embodiment, the server 100 may be used to receive images uploaded by the terminal 200, and process the images to construct map information, or determine the current location of the vehicle based on the images uploaded by the terminal 200. The server 100 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0035] In an optional embodiment, the terminal 200 may be a terminal that sends image data to the server 100, or a terminal that is responsible for collecting image data. Specifically, the terminal 200 may include, but is not limited to, electronic devices such as smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, vehicle-mounted terminals, smart TVs, etc.; it may also be software running on the above electronic devices, such as applications, applets, etc. The operating system running on the electronic device in the embodiments of this specification may include, but is not limited to, Android system, IOS system, Linux, Windows, etc.
[0036] In addition, it should be noted that Figure 1 What is shown is only an application environment of a vehicle positioning method, and the embodiments of this specification are not limited to the above.
[0037] In the embodiments of this specification, the server 100 and the terminal 200 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of this specification.
[0038] The vehicle positioning in the embodiments of this specification can be applied to the scenario where the vehicle is parked in a parking lot. After the current position of the vehicle is located, the vehicle can be guided to the parking location according to the destination position of the vehicle. It is particularly suitable for parking services in parking lots with complex environments and poor lighting, such as: the vehicle's automatic parking function.
[0039] The following describes a vehicle positioning method of the present application. Figure 2 It is a flow chart of a vehicle positioning method provided in an embodiment of the present application. This specification provides method operation steps such as the embodiment or flow chart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only execution order. When the actual system or server product is executed, it can be executed in sequence or in parallel according to the method shown in the embodiment or the accompanying drawings (for example, a parallel processor or a multi-threaded processing environment). The vehicle positioning method provided in the embodiments of this specification can be used for terminal devices capable of data processing such as: controllers, computers, smart phones, tablet computers, smart wearable devices, and vehicle-mounted devices. Of course, it can also be used in servers, and the embodiments of this specification do not make specific limitations. Specifically, Figure 2 As shown, the vehicle positioning method may include:
[0040] S202: Receive a vehicle environment image collected by the target vehicle.
[0041] In the specific implementation process, the target vehicle can be understood as a vehicle that needs to be positioned, such as: in a parking scene, after vehicle A drives to parking lot P, it is necessary to determine the current position of vehicle A in parking lot P, so as to facilitate the guidance of vehicle A to drive to the designated parking space for parking, then vehicle A can be understood as the target vehicle. Generally, the vehicle will be equipped with an image acquisition device such as a camera, etc., and the target vehicle will collect images around the vehicle during driving, that is, the vehicle environment image. After the image acquisition device on the target vehicle collects the vehicle environment image, the vehicle environment image can be uploaded to the vehicle controller or the on-board device or the server corresponding to the vehicle. Among them, the vehicle environment image can include the environment image of the surroundings of the target vehicle's location, such as: if the target vehicle is in the parking lot, then the vehicle environment image can include the pillars, lane lines, parking spaces, signs in the parking lot, etc. around the current location of the target vehicle, and of course, other information can also be included, which can be determined according to actual needs, and the embodiments of this specification are not specifically limited.
[0042] S204: extracting observed parking space information in the vehicle environment image, where the observed parking space information includes: an observed parking space number and position information of the observed parking space number in the parking space.
[0043] In a specific implementation process, after receiving the vehicle environment image of the target vehicle, feature extraction can be performed on the vehicle environment image to extract the observed parking space information in the vehicle environment image, and the observed parking space information can include the observed parking space number and the position information of the observed parking space number in the parking space. Specifically, the image corresponding to the parking space in the vehicle environment image can be cut out, and then the observed parking space number in the image corresponding to the parking space and the position information of the observed parking space number in the parking space can be extracted. Among them, the parking space number can include text and characters, which can be determined according to actual conditions. The position information of the observed parking space number in the parking space can be represented by coordinates, or the border of the parking space and the border corresponding to the observed parking space number can be saved as the position information of the observed parking space number in the parking space.
[0044] For example: Figure 3 This is a schematic diagram of the principle of extracting parking space information in a scenario example of this manual, such as Figure 3 As shown, generally, parking spaces have parking space lines. Based on the parking space lines, the image corresponding to the parking space in the vehicle environment image can be cropped out, and then the text and characters in the cropped image corresponding to the parking space can be extracted. Figure 3In the above example, it is detected that the vehicle environment image contains a parking space. Based on the parking space line, the image corresponding to the parking space is cut out, and the parking space number is extracted from the image corresponding to the parking space. After identifying that there is a character string A0001 in the image corresponding to the parking space, the character string can be used as the observed parking space number, and then the position of the character string in the parking space is circled as the position information of the observed parking space number in the parking space.
[0045] In some embodiments of this specification, extracting observed parking space information in a vehicle environment image includes:
[0046] Optical character recognition is used to extract the observed parking space information in the vehicle environment image.
[0047] In the specific implementation process, when extracting the observed parking space information in the vehicle environment image, optical character recognition technology, namely OCR (optical character recognition), can be used to perform text recognition on the image area corresponding to the parking space in the vehicle environment image, extract the text and character string therein, obtain the observed parking space number, and select the position box of the observed parking space number in the parking space to obtain the position box of the observed parking space number, that is, the position information of the observed parking space number in the parking space.
[0048] The OCR technology is used to extract parking space number information quickly and accurately. Compared with the extraction of parking lot pillars and other landmarks, the amount of computation required to extract parking space numbers using OCR is very small, thereby reducing the amount of data processing for vehicle positioning and improving the data processing speed for vehicle positioning.
[0049] S206: Match the observed parking space number with the pre-constructed map information to obtain the matched target parking space information; wherein the map information is the map information of the parking lot where the target vehicle is located, the map information includes map parking space information, and the map parking space information is associated with the map parking space number and the position information of the map parking space number in the parking space.
[0050] In the specific implementation process, before locating the target vehicle, the parking lot where the target vehicle is located can be mapped to construct the map information of the parking lot. The map information includes the parking space information in the parking lot, namely the map parking space information. The map parking space information is associated with the map parking space number corresponding to the parking space and the location information of the map parking space number in the parking space. The method of constructing the map information of the parking lot can be determined according to actual needs. For example, a special map construction device can collect image information from each parking lot and construct the map information based on the image information. Alternatively, when the target vehicle enters the parking lot for the first time, the target vehicle can collect image information in the parking lot to construct the map. The constructed map information can be uploaded to the server or cloud corresponding to the vehicle. When a vehicle enters the parking lot and needs to be located, the constructed map information can be directly used.
[0051] In some embodiments of this specification, before receiving the vehicle environment image collected by the target vehicle, the method further includes:
[0052] Receiving a parking environment image of a parking lot where a target vehicle is located, which is captured by an image acquisition device;
[0053] Extracting map parking space information from parking environment images;
[0054] Extracting parking space number information from the map parking space information, where the parking space number information includes the map parking space number in the map parking space information and the position information of the map parking space number in the parking space;
[0055] Map information is constructed based on the parking environment image, and the association relationship between the parking space number information and the corresponding map parking space information is stored in the map information.
[0056] In a specific implementation process, before receiving the vehicle environment information of the target vehicle surrounding it, the map information of the parking lot where the target vehicle is located can be constructed. Specifically, the parking environment image of the parking lot where the target vehicle is located, that is, all the environment images in the parking lot, collected by the image acquisition device, can be received, which may include: parking spaces, pillars, signs, lane lines, etc. The parking environment image may also include the movement trajectory of the image acquisition device. Based on the parking environment image, the map information in the parking lot can be constructed, such as: machine learning algorithms can be used to construct the map information in the parking lot based on the parking environment image, or some intelligent drawing software can be used to construct the map information in the parking lot based on the parking environment image. The appropriate method can be selected according to actual needs. The specific construction method of the map information is not specifically limited in the embodiment of this specification. In addition, in the embodiment of this specification, after receiving the parking environment image in the parking lot collected by the image acquisition device, the parking space number information in the parking environment image, that is, the map parking space number in each map parking space information in the parking environment image and the position information of the map parking space number in the map parking space can also be extracted, such as: OCR technology can be used to extract the text and characters in the image frame corresponding to the map parking space to obtain the map parking space information. After constructing the map information, the parking space number information can be associated with the corresponding map parking space information, and the associated relationship can be stored in the map information. This will facilitate subsequent vehicle positioning, using the parking space number as the positioning basis, and determining the position based on the parking space number, thereby improving the accuracy and efficiency of vehicle positioning.
[0057] In addition, the image acquisition device can be understood as an image acquisition device on a vehicle (such as a target vehicle or other equipment vehicle specifically used for building a parking lot map), such as a camera, a driving recorder, etc., or it can be an image acquisition device that can be installed on other mobile devices, such as an image acquisition device on a robot.
[0058] In addition, in some embodiments of this specification, extracting parking space number information from map parking space information includes:
[0059] Extracting the image frame corresponding to each map parking space information in the parking environment image to obtain a multi-frame target environment image corresponding to each map parking space information;
[0060] Extract the parking space number information in each frame of the target environment image in multiple frames, and obtain a parking space number information set corresponding to each map parking space information;
[0061] The parking space number information in the parking space number information set is verified. If the map parking space numbers in the same parking space number information set are consistent, and the position information of the map parking space numbers in each parking space number information set in the parking space is consistent, then one parking space number information in the parking space number information set is saved, otherwise, the parking space number information set is deleted.
[0062] In the specific implementation process, when constructing the map information of the parking lot, the collected parking environment image is generally a video or a continuous image, so that a parking space may correspond to multiple frames of images. Based on this, when extracting the parking space number information in the parking environment image, the image frame corresponding to each map parking space information can be obtained from the parking environment image based on the parking space, so that the multiple frames of target environment images corresponding to each map parking space information can be obtained. For example: there is a parking space in the parking environment image, and all the image frames corresponding to the parking space in the parking environment image can be extracted as an image set, and the image set is the multiple frames of target environment images corresponding to the parking space. Usually, the multiple frames of target environment images corresponding to each new map parking space are continuous image frames. Of course, there may also be a situation where the image of a map parking space is collected multiple times, and then the multiple frames of target environment images may be discontinuous. In this way, each map parking space information corresponds to a set of multi-frame target environment images, and then the parking space number information is extracted from the multi-frame target environment images corresponding to each map parking space information, that is, the parking space number information in each frame of the multi-frame target environment images is extracted. In this way, each map parking space information can correspond to a set of parking space number information.
[0063] After obtaining the parking space number set corresponding to each map parking space information, the parking space number information in the parking space number set can be verified, such as comparing whether the various map parking space numbers in the same parking space number set are consistent, that is, whether the character strings of the parking space numbers are the same. If they are the same, then compare whether the positions of the various map parking space numbers in the parking space are consistent, such as: they are all at the same position in the lower left corner. If the character strings of the map parking space numbers in the same parking space number information set and the positions of the map parking space numbers in the parking space are the same, then it can be considered that the parking space number information extracted from the map parking space information is accurate, and any parking space number information in the parking space number information set corresponding to the map parking space information can be saved. If the character strings of the map parking space numbers in the same parking space number information set are inconsistent, and / or the positions of the map parking space numbers in the parking space are inconsistent, then it can be considered that the parking space number information extracted from the map parking space information may be wrong, and the parking space number information set corresponding to the map parking space information can be deleted, and the result of this parking space number information extraction can be abandoned.
[0064] Of course, according to actual use needs, if the character strings of the map parking space numbers in the same parking space number information set are inconsistent, and / or the positions of the map parking space numbers in the parking spaces are inconsistent, the parking space number information can be re-extracted from the multiple image frames corresponding to the map parking space information, and the parking space number information can be re-verified. Alternatively, if the parking space number information extracted from most of the image frames in the multiple frames of the target environment image corresponding to the same map parking space information is consistent, and only one or two image frames have parking space number information that is inconsistent with other image frames, then the inconsistent parking space number information can be deleted and the consistent parking space number information can be saved.
[0065] In the embodiments of the present specification, when constructing a parking lot map, the parking space number is extracted and verified from multiple frames of images of the same parking space to avoid the problem of incomplete or incorrect extraction of parking space characters caused by extracting only one frame of image, thereby ensuring the accuracy of the parking space number information in the constructed map information, and further improving the accuracy of subsequent vehicle positioning based on the parking space number.
[0066] After constructing the map information of the parking lot, the map information can be saved to the server or the cloud. When the target vehicle is detected to drive into the parking lot (such as: based on location information such as GPS (Global Positioning System) to detect that the target vehicle drives into the parking lot, or based on the vehicle identification device installed in the parking lot to detect that the target vehicle drives into the parking lot), the position of the target vehicle in the parking lot can be determined based on the constructed map information, so as to facilitate parking the target vehicle. Specifically, after detecting that the target vehicle drives into the parking lot, after extracting the observed parking space information in the vehicle environment image collected by the target vehicle, the observed parking space number in the observed parking space information can be matched with the constructed map information, that is, the observed parking space number is matched with the map parking space number in the map information, and the map parking space information corresponding to the map parking space number matching the observed parking space number in the map information is queried, which is the target parking space information.
[0067] Parking space numbers are generally strings. Compared with using lane lines, ground arrows, pillars, etc. to locate vehicles, the matching calculation of parking space numbers requires less calculation, which can improve the data processing speed of vehicle positioning. In addition, parking space numbers are generally identifiers that can uniquely identify a parking space in a parking lot. Using parking space numbers to match vehicle positioning can improve the accuracy of vehicle positioning. In addition, elements such as indicator lines and pillars on the ground are likely to be repeated in underground parking lots, and poor lighting conditions and frequent construction changes may cause false detections. In addition, other vehicles on the ground may park illegally and block the detection, which may lead to matching errors or matching failures.
[0068] S208: Match the position information of the observed parking space number in the parking space with the position information of the map parking space number in the parking space in the target parking space information. If the match is successful, determine the current position of the target vehicle in the parking lot based on the position of the target parking space information in the map information.
[0069] In the specific implementation process, after the matching target parking space information is queried from the pre-built map information based on the parking space number, the position information of the observed parking space number in the vehicle environment image collected by the target vehicle can be matched with the position information of the map parking space number in the target parking space information, and it is determined whether the position of the observed parking space number is consistent with the position of the map parking space number in the target parking space information. If consistent, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information. After matching based on the parking space number, matching is also performed in combination with the position of the parking space number in the parking space, which can avoid the problem of multiple parking spaces using the same parking space number or the problem of incorrect vehicle positioning due to incorrect parking space number recognition, and further ensure the accuracy of vehicle positioning.
[0070] For example: after the target vehicle A enters the parking lot P, the surrounding environment image is collected to obtain the vehicle environment image. A parking space information, namely the observed parking space information 1, is extracted from the vehicle environment image. The observed parking space number in the observed parking space information 1 is A0001, and the observed parking space number A0001 is extracted at the lower left corner of the parking space. The area where the observed parking space number A0001 is located can be framed out as the position of the observed parking space number A0001 in the parking space. The observed parking space number A0001 is matched with the pre-built map information of the parking lot P, and it is found that there is a parking space in the map information whose map parking space number is also A0001. The parking space in the map information is used as the target parking space information. Then, the position frame of the observed parking space number A0001 in the parking space is matched with the position frame of the map parking space number in the target parking space information in the map information. If the map parking space number in the target parking space information is also in the lower left corner of the parking space, and the two parking spaces with the position frames of the parking space numbers are matched, and it is found that the positions of the position frames of the two parking space numbers in the parking space are consistent, then it is considered that the observed parking space information matches the target parking space information successfully. The current position of the target vehicle A in the parking lot P can be determined based on the target parking space information.
[0071] Of course, if the observed parking space information in the vehicle environment image currently collected by the target vehicle does not match the target parking space information in the map information, the next frame collected by the target vehicle or the vehicle environment image collected after a specified time can be obtained, and then the observed parking space information can be matched until the target parking space information is matched.
[0072] The vehicle positioning method provided in the embodiment of this specification extracts the observed parking space information in the vehicle environment image around the vehicle, matches the observed parking space number in the observed parking space information with the map parking space number in the pre-established parking lot map information, and first determines the target parking space information in the match. Then, the position of the observed parking space number in the observed parking space information in the parking space is matched with the position of the map parking space number in the target parking space information in the parking space. If the match is found, the position of the vehicle in the parking lot is determined based on the position of the target parking space information in the map information. The parking space number is generally a string, and the matching calculation processing speed is fast. Using the parking space number as highly unique matching information reduces the amount of calculation in the vehicle positioning process. In addition, in general, the parking space number in a parking lot is the only identification that can identify the parking space in the parking lot, avoiding the use of unstable features on the ground for matching. The parking space number is selected for matching, and then combined with the position of the parking space number in the parking space, the accuracy of vehicle positioning can be improved. Moreover, the entire process does not require the use of other ground marking elements in the parking lot. Based on the positioning of the parking space number, after the vehicle enters the parking space, as long as the parking space is detected, the vehicle positioning can be completed within a short distance, which improves the speed of vehicle positioning.
[0073] In some embodiments of this specification, matching the observed parking space number with the pre-built map information to obtain the matched target parking space information includes:
[0074] According to the distance between the observed parking space information and the target vehicle, the observed parking space information is sorted in the order of the distance from the smallest to the largest;
[0075] Select the first ranked observed parking space information as the target observed parking space information;
[0076] The target observation parking space number in the target observation parking space information is matched with the map information. If the target observation parking space number has a unique matching map parking space number in the map information, the map parking space information corresponding to the matching map parking space number is used as the target parking space information.
[0077] In a specific implementation process, when matching the observed parking space number corresponding to the target vehicle with the pre-constructed map information, the observed parking space information can be sorted in order of distance from small to large based on the distance between the observed parking space information corresponding to the target vehicle and the target vehicle. For example: if 6 observed parking space information is extracted based on the vehicle environment image collected by the target vehicle, that is, there are currently 6 parking spaces around the target vehicle. Based on the distance between these 6 parking spaces and the target vehicle, the 6 observed parking space information are sorted in order of distance from small to large. Then, the observed parking space information ranked first, that is, the closest to the target vehicle, is selected as the target observed parking space information, and the target observed parking space number in the target observed parking space information is matched with the map parking space number in the map information. If the target observed parking space number has a unique matching map parking space number in the map information, the map parking space information corresponding to the matching map parking space number is used as the target parking space information of the target vehicle.
[0078] Of course, there may be a small number of repeated parking space numbers, that is, the target observation parking space number has at least two matching map parking space numbers in the map information. In this case, the target vehicle can continue to move forward and extract the observation parking space information of the next frame of the vehicle environment image, and determine the matching target parking space information based on the observation parking space information extracted from the next frame of the image.
[0079] Normally, when positioning in a parking lot, the image is generally collected in the form of an IPM (Inverse Perspective Mapping) image, which is a pseudo-ground image obtained by transforming the viewing angles of multiple cameras. Due to the arrangement of the cameras, the requirements for splicing, and the poor lighting conditions, the image is often not clear, and the field of view is very small. Only a few nearby parking spaces can be seen, making it more difficult to reposition the vehicle. Moreover, the farther the distance, the less clear the image. In the embodiments of this specification, when positioning the vehicle, the parking space number information of the parking space closest to the vehicle is selected for matching with the pre-constructed map information. The image corresponding to the target observed parking space information is relatively clear, and the extracted parking space number and the location information of the parking space number in the parking space are relatively more accurate, which can improve the accuracy and speed of vehicle positioning.
[0080] In some embodiments of the present specification, the position information of the observed parking space number in the parking space is matched with the position information of the map parking space number in the parking space in the target parking space information. If the match is successful, the current position of the target vehicle is determined based on the position of the target parking space information in the map information, including:
[0081] Match the position information of the target observed parking space number in the parking space with the position information of the map parking space number in the target parking space information. If the matching degree is greater than a preset threshold, select a preset number of observed parking space information sorted after the target observed parking space information as candidate observed parking space information;
[0082] The observed parking space number in the candidate observed parking space information and the position information of the observed parking space number in the map are matched with the map information. If the observed parking space number in the candidate observed parking space information and the position information corresponding to the observed parking space number are successfully matched, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
[0083] In the specific implementation process, when the target observation parking space number of the target observation parking space information closest to the target vehicle is selected and matched with the map information, and there is a unique matching map parking space number, the target parking space information is determined. The position information of the target observation parking space number in the parking space can also be matched with the position information of the map parking space number in the target parking space information. If the degree of matching is greater than the preset threshold, it means that the position information of the target observation parking space number in the parking space is consistent with the position information of the map parking space number in the target parking space information, and the target observation parking space information and the target parking space information are likely to belong to the same parking space. However, in order to ensure the accuracy of positioning, the embodiment of this specification also matches other parking spaces near the target observation parking space information. Specifically, a preset number of observation parking space information ranked after the target observation parking space information can be selected from the observation parking space information of the target vehicle as candidate observation parking space information, and the observation parking space number of the candidate observation parking space information and the position information of the observation parking space number in the map are matched with the map information in the parking lot. If the observed parking space numbers of all candidate observed parking space information and the position information of the observed parking space numbers in the map are matched successfully, that is, each observed parking space number of the candidate observed parking space information has a unique matching map parking space number in the map information, and the matching degree of the position information of the observed parking space number in the parking space and the position of the matching map parking space number in the parking space is greater than a preset threshold, it can be determined that the current vehicle is indeed at the position of the target parking space in the map information. Based on the position of the target parking space in the map information, the current position of the target vehicle in the parking lot can be determined.
[0084] For example, if six observation parking space information T1 to T6 are extracted based on the vehicle environment image collected by the target vehicle, that is, there are currently six parking spaces around the target vehicle. Based on the distance between these six parking spaces and the target vehicle, the six observation parking space information are sorted in order from small to large distance, and the sorting results obtained are T1, T3, T2, T4, T5, and T6. The first observation parking space information T1 is selected as the target observation parking space information, and the target observation parking space number of the target observation parking space information T1 is matched with the map parking space number in the map information. A map parking space number is matched, and the map parking space information P0 corresponding to the map parking space number is used as the target parking space information of the target vehicle. Then, the position information of the target observation parking space number in the parking space is matched with the position information of the map parking space number in the target parking space information P0 in the parking space. If it is found that both parking space numbers are in the lower left corner of the parking space, that is, the matching degree is greater than the preset threshold, then other observation parking space information near the target observation parking space information T1 can be matched. Specifically, the three observation parking space information T3, T2, and T4 after the target observation parking space information T1 can be selected as candidate observation parking space information, and the observation parking space numbers of the candidate observation parking space information T3, T2, and T4 and the position information of the observation parking space numbers in the parking space are matched with the map information. If the observation parking space numbers of the candidate observation parking space information T3, T2, and T4 all have unique matching map parking space numbers in the map information, and the degree of matching between the position information of the observation parking space numbers of the candidate observation parking space information T3, T2, and T4 in the parking space and the position information of the map parking space information corresponding to the matching map parking space number in the parking space is greater than a preset threshold, then it can be determined that the current position of the target vehicle is the position corresponding to the target parking space information P0. Based on the position of the target parking space information in the map information, the current position of the target vehicle in the parking lot can be quickly determined.
[0085] The vehicle positioning method provided in the embodiments of this specification, through cross-checking of multiple parking space information, avoids the problem caused by multiple numbers or number detection errors in rare cases, and improves the accuracy of vehicle positioning. In addition, the parking space information closest to the target vehicle is selected for matching and positioning, which reduces the impact of the small field of view of the IPM image on the repositioning effect, and can quickly and accurately complete the vehicle repositioning work in the case of poor lighting, sparse ground elements, repeated scenes, etc.
[0086] In some embodiments of this specification, the method further includes:
[0087] According to the determined current position of the target vehicle in the parking lot and the destination position of the target vehicle, the target vehicle is controlled to park from the current position to the destination position using the automatic parking function.
[0088] In the specific implementation process, the vehicle positioning in the embodiment of this specification can be applied to the vehicle automatic parking service scenario. After the current position of the target vehicle in the parking lot is determined based on the scheme recorded in the above embodiment, the target vehicle can be parked from the current position to the destination position using the automatic parking function based on the destination position set by the target vehicle. The destination position can generally be a designated parking space. For example, after the target vehicle enters the parking lot, the automatic parking function is turned on, and the parking space to be parked is input, such as: input parking space number C1005. After the current position of the target vehicle in the parking lot is determined based on the above embodiment, the target vehicle can be controlled to travel from the current position to the position of the parking space number C1005 based on the map information, and the target vehicle is parked in the parking space with parking space number C1005, realizing the automatic parking function of the vehicle. Moreover, after the vehicle enters the parking lot, the position of the vehicle can be quickly and accurately determined without driving a long distance, so that it can be parked quickly, thereby improving the speed and accuracy of automatic parking.
[0089] Figure 4 This is a schematic diagram of the principle flow of a vehicle positioning method in an embodiment of this specification. Figure 4 The process of vehicle positioning in the embodiment of this specification is specifically described as follows:
[0090] 1. At the front end of map construction, collect the parking environment image in the parking lot, crop the image of each parking space in the parking environment image, and use the detection-sequence recognition neural network to extract the position of each parking space number in the cropped image and the number string of the parking space number. Among them, the detection-sequence recognition neural network can use OCR technology for model training, and the embodiments of this specification do not limit the construction method and specific structure of the detection-sequence recognition neural network.
[0091] 2. For each parking space, check the extracted parking space number and the location of the parking space number by combining multiple frames of images. If the parking space number strings observed multiple times are inconsistent or the location difference is too large, the character detection result is abandoned.
[0092] 3. Construct parking lot map information, and store the parking space number corresponding to each parking space and the location information of the parking space number in the parking space in the map information.
[0093] 4. When locating the vehicle, the constructed map information is automatically loaded, and the parking space number is extracted using the cropped image of the parking space closest to the vehicle. The extracted parking space number is matched with the constructed map information to match all parking spaces with the same number that appear in the map (note: there is a very small probability that the parking space number will be repeated).
[0094] 5. If the parking space closest to the vehicle has a unique matching parking space number in the map, and the matching degree of the detection frame of the parking space number in the parking space relative to the parking space frame position and the detection frame of the parking space number in the parking space in the map information reaches the threshold, and the parking space numbers and the positions of the parking space numbers in the parking space of the N parking spaces near the vehicle can be matched successfully, it is directly considered to be a successful match. Based on the position of the parking space closest to the vehicle and the matching parking space in the map, the position of the vehicle in the parking lot is determined. Among them, N is selected according to the size of the actual scene and the mode.
[0095] The vehicle positioning method provided in the embodiments of this specification avoids the use of unstable features on the ground for matching, uses the parking space number as highly unique information, reduces the amount of calculation in the repositioning process, and greatly improves the accuracy and recall rate. The repositioning work can be completed quickly and accurately under conditions of poor lighting, sparse ground elements, repeated scenes, etc., and the small field of view of IPM has little effect on the repositioning effect. Compared with matching a large number of parking spaces, OCR has a smaller amount of calculation and takes less time. It can quickly reposition successfully within a moving distance of several meters, providing users with more reliable assisted driving and automatic parking services without having to drive a long distance to enable the automatic parking service.
[0096] Based on the vehicle positioning method described above, one or more embodiments of this specification also provide a client and a server for vehicle positioning processing. The client and the server may include a device (including a distributed system), software (application), module, component, server, client, etc. using the method described in the embodiment of this specification and a device combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided in the embodiment of this specification is as described in the following embodiments. Since the implementation scheme and method of the device to solve the problem are similar, the implementation of the specific device in the embodiment of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware for predetermined functions. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0097] It can be seen from the technical solutions provided in the above embodiments of this specification that the embodiments of this specification and this application also provide a vehicle positioning device, Figure 5 is a schematic diagram of the structure of a vehicle positioning device provided in an embodiment of the present application, such as Figure 5 As shown, the above device comprises:
[0098] The data receiving module 510 is used to receive the vehicle environment image collected by the target vehicle;
[0099] The parking space information extraction module 520 is used to extract the observed parking space information in the vehicle environment image, wherein the observed parking space information includes: the observed parking space number and the position information of the observed parking space number in the parking space;
[0100] The parking space number matching module 530 is used to match the observed parking space number with the pre-constructed map information to obtain the matched target parking space information; wherein the map information is the map information of the parking lot where the target vehicle is located, the map information includes the map parking space information, and the map parking space information is associated with the map parking space number and the position information of the map parking space number in the parking space;
[0101] The vehicle position determination module 540 is used to match the position information of the observed parking space number in the parking space with the position information of the map parking space number in the target parking space information. If the match is successful, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
[0102] In some embodiments of this specification, the parking space number matching module 530 is specifically used to:
[0103] According to the distance between the observed parking space information and the target vehicle, the observed parking space information is sorted in ascending order of distance;
[0104] Selecting the observed parking space information ranked first as the target observed parking space information;
[0105] The target observation parking space number in the target observation parking space information is matched with the map information. If the target observation parking space number has a unique matching map parking space number in the map information, the map parking space information corresponding to the matching map parking space number is used as the target parking space information.
[0106] In some embodiments of this specification, the vehicle position determination module 540 is specifically used to:
[0107] Matching the position information of the target observed parking space number in the parking space with the position information of the map parking space number in the target parking space information, and if the matching degree is greater than a preset threshold, selecting a preset number of observed parking space information sorted after the target observed parking space information as candidate observed parking space information;
[0108] The observed parking space number in the candidate observed parking space information and the position information of the observed parking space number in the map are matched with the map information. If the observed parking space number in the candidate observed parking space information and the position information corresponding to the observed parking space number are successfully matched, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
[0109] In some embodiments of this specification, the device further includes a map construction module, which is used to:
[0110] Before receiving the vehicle environment image captured by the target vehicle, receiving the parking environment image of the parking lot where the target vehicle is located captured by the image capture device;
[0111] Extracting map parking space information from the parking environment image;
[0112] Extracting parking space number information from the map parking space information, wherein the parking space number information includes the map parking space number in the map parking space information and the position information of the map parking space number in the parking space;
[0113] The map information is constructed based on the parking environment image, and the association relationship between the parking space number information and the corresponding map parking space information is stored in the map information.
[0114] In some embodiments of this specification, the map construction module is specifically used to:
[0115] Extracting the image frame corresponding to each of the map parking space information in the parking environment image to obtain multiple frames of target environment images corresponding to each of the map parking space information;
[0116] Extracting parking space number information from each image frame in the multiple frames of target environment images, and obtaining a parking space number information set corresponding to each of the map parking space information;
[0117] The parking space number information in the parking space number information set is verified. If the map parking space numbers in the same parking space number information set are consistent, and the position information of the map parking space numbers in each parking space number information set in the parking space is consistent, then one of the parking space number information in the parking space number information set is saved; otherwise, the parking space number information set is deleted.
[0118] In some embodiments of this specification, the parking space information extraction module 520 is specifically used to:
[0119] Optical character recognition is used to extract the observed parking space information in the vehicle environment image.
[0120] In some embodiments of this specification, the device further includes an automatic parking module for:
[0121] According to the determined current position of the target vehicle in the parking lot and the destination position of the target vehicle, the target vehicle is controlled to park from the current position to the destination position by using an automatic parking function.
[0122] Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated in detail here. The device in the above embodiment may also include other implementation methods according to the description of the method embodiment, and the specific implementation method can refer to the description of the relevant method embodiment, which will not be repeated here one by one.
[0123] Figure 6 is a block diagram of an electronic device for vehicle positioning provided by an embodiment of the present application. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a vehicle positioning method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0124] Figure 7 is a block diagram of another electronic device for vehicle positioning provided by an embodiment of the present application. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a vehicle positioning method is implemented.
[0125] Those skilled in the art will understand that Figure 6 or Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0126] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the vehicle positioning method as in the embodiment of the present disclosure.
[0127] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the vehicle positioning method in the embodiment of the present disclosure.
[0128] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the vehicle positioning method provided in the above-mentioned various optional implementations.
[0129] It is understandable that in the specific implementation of this application, user-related data is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0131] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0132] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A vehicle positioning method, characterized in that: The method comprises: Receiving a vehicle environment image collected by a target vehicle; Extracting observed parking space information in the vehicle environment image, the observed parking space information including: an observed parking space number and position information of the observed parking space number in the parking space; Matching the observed parking space number with pre-constructed map information to obtain matched target parking space information; wherein the map information is map information of the parking lot where the target vehicle is located, the map information includes map parking space information, and the map parking space information is associated with the map parking space number and the position information of the map parking space number in the parking space; The position information of the observed parking space number in the parking space is matched with the position information of the map parking space number in the target parking space information. If the match is successful, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
2. The method according to claim 1, characterized in that The step of matching the observed parking space number with pre-built map information to obtain matching target parking space information includes: According to the distance between the observed parking space information and the target vehicle, the observed parking space information is sorted in ascending order of distance; Selecting the observed parking space information ranked first as the target observed parking space information; The target observation parking space number in the target observation parking space information is matched with the map information. If the target observation parking space number has a unique matching map parking space number in the map information, the map parking space information corresponding to the matching map parking space number is used as the target parking space information.
3. The method according to claim 2, characterized in that The step of matching the position information of the observed parking space number in the parking space with the position information of the map parking space number in the target parking space information in the parking space, and if the match is successful, determining the current position of the target vehicle based on the position of the target parking space information in the map information, comprises: Matching the position information of the target observed parking space number in the parking space with the position information of the map parking space number in the target parking space information, and if the matching degree is greater than a preset threshold, selecting a preset number of observed parking space information sorted after the target observed parking space information as candidate observed parking space information; The observed parking space number in the candidate observed parking space information and the position information of the observed parking space number in the map are matched with the map information. If the observed parking space number in the candidate observed parking space information and the position information corresponding to the observed parking space number are successfully matched, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
4. The method according to claim 1, characterized in that Before receiving the vehicle environment image collected by the target vehicle, the method further includes: Receiving a parking environment image of the parking lot where the target vehicle is located captured by an image capture device; Extracting map parking space information from the parking environment image; Extracting parking space number information from the map parking space information, wherein the parking space number information includes the map parking space number in the map parking space information and the position information of the map parking space number in the parking space; The map information is constructed based on the parking environment image, and the association relationship between the parking space number information and the corresponding map parking space information is stored in the map information.
5. The method according to claim 4, characterized in that The extracting the parking space number information from the parking space information on the map includes: Extracting the image frame corresponding to each of the map parking space information in the parking environment image to obtain multiple frames of target environment images corresponding to each of the map parking space information; Extracting parking space number information from each image frame in the multiple frames of target environment images, and obtaining a parking space number information set corresponding to each of the map parking space information; The parking space number information in the parking space number information set is verified. If the map parking space numbers in the same parking space number information set are consistent, and the position information of the map parking space numbers in each parking space number information set in the parking space is consistent, then one of the parking space number information in the parking space number information set is saved; otherwise, the parking space number information set is deleted.
6. The method according to claim 1, characterized in that The extracting the observed parking space information in the vehicle environment image includes: Optical character recognition is used to extract the observed parking space information in the vehicle environment image.
7. The method according to claim 1, characterized in that The method further comprises: According to the determined current position of the target vehicle in the parking lot and the destination position of the target vehicle, the target vehicle is controlled to park from the current position to the destination position by using an automatic parking function.
8. A vehicle positioning device, characterized in that: The device comprises: A data receiving module, used for receiving the vehicle environment image collected by the target vehicle; A parking space information extraction module, used to extract the observed parking space information in the vehicle environment image, wherein the observed parking space information includes: the observed parking space number and the position information of the observed parking space number in the parking space; A parking space number matching module, used to match the observed parking space number with pre-constructed map information to obtain matching target parking space information; wherein the map information is map information of the parking lot where the target vehicle is located, the map information includes map parking space information, and the map parking space information is associated with the map parking space number and the position information of the map parking space number in the parking space; The vehicle position determination module is used to match the position information of the observed parking space number in the parking space with the position information of the map parking space number in the target parking space information. If the match is successful, the current position of the target vehicle in the parking lot is determined based on the position of the target parking space information in the map information.
9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the vehicle positioning method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the vehicle positioning method according to any one of claims 1 to 7.
