Parking space positioning method and device and vehicle equipment

By obtaining and detecting the reference position and image of the target parking space, combined with odometer data, the parking space points and lines are determined, solving the problem of low parking space positioning accuracy and achieving more accurate vehicle parking operations.

CN118658138APending Publication Date: 2024-09-17RUILIAN XINGCHEN (BEIJING) TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310240641.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the vehicle parking scenario, the existing technology has poor parking space positioning accuracy, making it difficult to control the vehicle to accurately park at the target parking space.

Method used

By obtaining the parking space reference position of the target parking space, combined with the target parking space image for detection, the detection points and detection lines are obtained, and based on the parking space points and parking space lines in the odometer coordinate system, the location of the target parking space is determined to improve the accuracy of parking space positioning.

Benefits of technology

It improves the applicable scope and accuracy of parking space positioning, reduces errors in the parking space search stage, and updates the navigation route in real time during the parking process to ensure that the vehicle accurately parks at the target parking space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658138A
    Figure CN118658138A
Patent Text Reader

Abstract

The invention belongs to the technical field of vehicle control, and discloses a parking space positioning method and device and vehicle equipment, and the method comprises the steps: obtaining a parking space reference position of a selected target parking space; detecting the target parking space image to obtain a detection point and a detection line; determining a parking space point odometer coordinate of a parking space point of the target parking space in an odometer coordinate system according to the detection point and the parking space reference position; determining a parking space line odometer equation of the parking space line of the target parking space in an odometer coordinate system according to the detection line and the parking space reference position; and according to the parking stall point speedometer coordinates and the parking stall line speedometer equation, obtaining the parking stall speedometer position of the target parking stall in the speedometer coordinate system. In this way, parking space point detection, parking space line detection, odometer data and the parking space reference position are combined for parking space positioning, the application range of parking space positioning is widened, and the accuracy of parking space positioning is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a method and device for parking space positioning and vehicle equipment. Background Art

[0002] In a vehicle parking scenario, a parking space detection is usually performed on a target parking space image around the vehicle, and a parking space positioning is performed based on the parking space detection result. Then, based on the parking space positioning result, the vehicle is controlled to park at the target parking space.

[0003] However, with this method, the accuracy of parking space positioning is poor, which makes it difficult to control the vehicle to park accurately in the target parking space. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, an apparatus and a vehicle equipment for locating a parking space, so as to improve the accuracy of parking space positioning.

[0005] On the one hand, a method for locating a parking space is provided, comprising:

[0006] Obtain the parking space reference position of the selected target parking space; detect the target parking space image to obtain detection points and detection lines; determine the parking space odometer coordinates of the target parking space in the odometer coordinate system based on the detection points and the parking space reference position; the odometer coordinate system is established based on the odometer data of the target vehicle; determine the parking space line odometer equation of the target parking space in the odometer coordinate system based on the detection lines and the parking space reference position; obtain the parking space odometer position of the target parking space in the odometer coordinate system based on the parking space odometer coordinates and the parking space line odometer equation.

[0007] On the one hand, a parking space positioning device is provided, comprising:

[0008] An acquisition unit is used to acquire a parking space reference position of a selected target parking space; a detection unit is used to detect a target parking space image to obtain detection points and detection lines; a first determination unit is used to determine the parking space odometer coordinates of the target parking space in the odometer coordinate system according to the detection points and the parking space reference position; the odometer coordinate system is established according to the odometer data of the target vehicle; a second determination unit is used to determine the parking space line odometer equation of the target parking space in the odometer coordinate system according to the detection line and the parking space reference position; an acquisition unit is used to obtain the parking space odometer position of the target parking space in the odometer coordinate system according to the parking space odometer coordinates and the parking space line odometer equation.

[0009] On the one hand, a vehicle device is provided, including a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps of the method provided in any of the various optional implementations of parking space positioning described above are executed.

[0010] On the one hand, an electronic device is provided, including a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps of the method provided in any of the various optional implementations of parking space positioning described above are executed.

[0011] On the one hand, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method provided in any of the various optional implementations of parking space positioning described above are executed.

[0012] On the one hand, a computer program product is provided. When the computer program product is run on a computer, the computer executes the steps of the method provided in any of the various optional implementations of parking space positioning described above.

[0013] In a parking space positioning method, device and vehicle equipment provided by the embodiment of the present application, the parking space reference position of the selected target parking space is obtained; the target parking space image is detected to obtain detection points and detection lines; the parking space odometer coordinates of the parking space of the target parking space in the odometer coordinate system are determined according to the detection points and the parking space reference position; the odometer coordinate system is established according to the odometer data of the target vehicle; the parking space line odometer equation of the parking space line of the target parking space in the odometer coordinate system is determined according to the detection line and the parking space reference position; the parking space odometer position of the target parking space in the odometer coordinate system is obtained according to the parking space odometer coordinates and the parking space line odometer equation. In this way, the parking space positioning is performed by combining the parking space detection, the parking space line detection, the odometer data and the parking space reference position, thereby improving the application scope and accuracy of the parking space positioning.

[0014] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 A flowchart of a method for locating a parking space provided in an embodiment of the present application;

[0017] Figure 2 A flowchart of an implementation method of an image detection method provided in an embodiment of the present application;

[0018] Figure 3 A flowchart of a method for image straight line detection provided in an embodiment of the present application;

[0019] Figure 4 A flowchart of a method for determining odometer coordinates of a parking spot provided in an embodiment of the present application;

[0020] Figure 5 A flowchart of a method for determining the order of detection points provided in an embodiment of the present application;

[0021] Figure 6 A flowchart of a method for adjusting the odometer coordinates of a parking spot provided in an embodiment of the present application;

[0022] Figure 7 A schematic diagram of a vehicle parking scenario provided in an embodiment of the present application;

[0023] Figure 8 A flowchart of a method for correcting a parking space line odometer equation provided in an embodiment of the present application;

[0024] Fig. 9 A flowchart of a method for determining a parking odometer position provided in an embodiment of the present application;

[0025] Fig.10 A schematic diagram of the architecture of a parking space positioning system provided in an embodiment of the present application;

[0026] Fig.11 A structural block diagram of a parking space positioning device provided in an embodiment of the present application;

[0027] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0029] First, some terms involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0030] Terminal device: can be a mobile terminal, a fixed terminal or a portable terminal, such as a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system device, a personal navigation device, a personal digital assistant, an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. It is also foreseeable that the terminal device can support any type of interface for the user (such as a wearable device), etc.

[0031] Server: It can be an independent physical server, 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, and big data and artificial intelligence platforms.

[0032] The technical concept of the present application is described below.

[0033] In a vehicle parking scenario, it is usually necessary to locate the target parking space to be parked, obtain the parking space position of the target parking space, and perform route planning based on the current vehicle position of the target vehicle and the parking space position of the target parking space, so as to control the vehicle to park at the target parking space according to the planned route.

[0034] Under traditional technology, parking space detection is usually performed based on the target parking space image around the vehicle, and the parking space is located according to the parking space detection result, and then parking is performed according to the parking space positioning result.

[0035] However, since the parking space may be invisible in the target parking space image, there may be a problem of few observed parking spaces during the reverse parking process, and there may be a problem that the parking space is located in the distorted area of ​​the target parking space image, the parking space detection result may have a large error, and the accuracy of the parking space positioning result obtained based on the parking space detection result may be poor, and new positioning errors (such as errors in odometer data) may be caused during the operation of the target vehicle. Therefore, it is difficult to control the vehicle to park accurately at the target parking space.

[0036] Taking into account that a target parking space to be parked can be pre-selected, and key point detection and line segment detection can be performed on the target parking space image respectively, as well as the parking space reference position of the target parking space, image point detection results, image line detection results, and odometer data of the target vehicle to perform parking space positioning, so as to reduce the parking space positioning error and improve the scope of application of parking space positioning, the embodiments of the present application provide a parking space positioning method, device and vehicle equipment.

[0037] In the embodiments of the present application, it can be applied to electronic devices, and the electronic devices may be servers or terminal devices such as vehicle devices.

[0038] In one application scenario, a vehicle control terminal in a target vehicle (i.e., a vehicle device) obtains a selected target parking space and a target parking space image (i.e., an image captured for the target parking space, which may be an image containing part or all of the target parking space), and locates the parking space based on a parking space reference position of the target parking space and the target parking space image, obtains a positioning result of the target parking space in an odometer coordinate system, and performs route planning based on the positioning result and the current vehicle position of the vehicle in the odometer coordinate system, thereby controlling the target vehicle to park at the target parking space according to the planned route.

[0039] In one application scenario, the server end in the server obtains the target parking space selected by the target vehicle and the corresponding target parking space image, and locates the parking space according to the parking space reference position of the target parking space and the target parking space image, obtains the positioning result of the target parking space in the odometer coordinate system, and plans the route according to the positioning result and the current vehicle position of the vehicle in the odometer coordinate system, and sends the planned route to the vehicle control end of the target vehicle. The vehicle control end controls the target vehicle to park at the target parking space according to the planned route.

[0040] Combine the following Figure 1 The method of locating parking spaces is described in detail. Figure 1 FIG. 1 is a flow chart of a method for locating a parking space provided in an embodiment of the present application. The specific implementation process of the method is as follows:

[0041] Step 100: Obtain the parking space reference position of the selected target parking space. Step 101: Detect the target parking space image to obtain detection points and detection lines; Step 102: Determine the parking space odometer coordinates of the target parking space in the odometer coordinate system according to the detection points and the parking space reference position; the odometer coordinate system is established according to the odometer data of the target vehicle; Step 103: Determine the parking space line odometer equation of the target parking space in the odometer coordinate system according to the detection lines and the parking space reference position; Step 104: Obtain the parking space odometer position of the target parking space in the odometer coordinate system according to the parking space odometer coordinates and the parking space line odometer equation.

[0042] In order to locate the parking space and the parking space line based on the parking space reference position in subsequent steps, in the implementation process of step 100, the target parking space can be selected by the user from the search parking space list, or randomly selected from the search parking space list, or selected from the search parking space list based on at least one parameter of the predicted parking distance, predicted parking time, and parking status of the parking space.

[0043] As an example, in response to a user's parking space selection operation on a parking space search list in a parking space display interface, a target parking space selected by the user is obtained, and in response to a parking instruction submitted by the user, a parking space reference position of the target parking space is obtained.

[0044] Optionally, the search parking space list may be provided by a parking space service (eg, the target vehicle may download a search parking space list containing multiple parking spaces from a service website of the parking lot), or may be generated based on historical parking data.

[0045] The predicted parking distance refers to the predicted route distance between the target vehicle and a certain parking space. The predicted parking time refers to the predicted time it takes for the target vehicle to park in a certain parking space. The parking status of a parking space includes free and non-free.

[0046] Optionally, the parking space reference position is the reference position of the target parking space in the odometer coordinate system, which may include the parking space reference coordinates of each parking space of the target parking space in the odometer coordinate system, and may also include the parking space line reference equation of each parking space line in the odometer coordinate system. The parking space line is obtained by connecting adjacent parking spaces.

[0047] The parking space reference position is used to screen the points and / or lines in the target parking space image in the subsequent steps to select the detection points and detection lines that can be used to accurately locate the target parking space. The parking space reference position can be determined based on the geographic reference position of the target parking space (i.e., the actual geographic coordinates of the target parking space) or based on historical parking space positioning results, which is not limited here.

[0048] Among them, the odometer coordinate system is established based on the odometer data of the target vehicle. For example, the initial position of the target vehicle can be used as the origin to establish a coordinate system to obtain the odometer coordinate system corresponding to the target vehicle. The odometer data can be generated by a corresponding upstream module (such as an odometer module) of the vehicle control terminal of the target vehicle. Odometer is a method that uses data obtained from a mobile sensor to estimate the change in the position of an object over time. This method is usually used to determine the distance a device has moved relative to a certain initial position.

[0049] In one implementation, when determining the reference position of the parking space, any of the following methods may be used:

[0050] Method 1: Obtain the geographic reference position of the target parking space, and convert the geographic reference position into a coordinate system to obtain the parking space reference position of the target parking space in the odometer coordinate system;

[0051] Method 2: Determine the historical parking space odometer position as the parking space reference position.

[0052] Method three: If it is determined that there is no historical parking odometer position of the target parking space, the geographic reference position of the target parking space is obtained, and the geographic reference position is converted into a coordinate system to obtain the parking space reference position of the target parking space in the odometer coordinate system; if it is determined that there is a historical parking odometer position of the target parking space, the historical parking odometer position is determined as the parking space reference position.

[0053] In this way, the initial parking space reference position of the target parking space can be determined according to the geographic reference position of the target parking space, and in the subsequent real-time parking space positioning process, the parking space reference position can be updated according to the historical parking space odometer position determined in real time.

[0054] Combine the following Figure 2 The method of image detection in step 101 is described by way of example. Figure 2 As shown, it is a flowchart of an implementation method of image detection, and the specific process of the method is as follows:

[0055] Sub-step 200: Acquire a target parking space image.

[0056] Optionally, the target parking space image may be acquired through a corresponding upstream module (eg, an image acquisition device) of a vehicle control terminal of the target vehicle, or may be received from other devices.

[0057] In one implementation, a camera device on the target vehicle is used to collect images, and each collected image is spliced ​​to obtain a target parking space image. As an example, the target parking space image can be an Around View Monitor (AVM) image. In this way, the target parking space image of the parking space around the target vehicle can be obtained through the image of the surrounding environment of the target vehicle (i.e., the AVM image).

[0058] Sub-step 201: perform key point detection on the target parking space image to obtain the detection point image coordinates of at least one detection point. Specifically, the detection point image coordinates are the coordinates of the detection point in the image coordinate system. The image coordinate system is a coordinate system established for the target parking space image. Optionally, it can be a coordinate system established with the current vehicle position as the origin. In one embodiment, visual key point detection technology is used to perform key point detection on the target parking space image to obtain multiple key points, and the detection point image coordinates of at least one detection point that meets the parking space detection conditions are filtered out from each key point. For example, the parking space detection condition can be to filter out the detection points located in the parking area. In actual applications, the parking space detection conditions can be set according to the actual application scenario, which is not limited here.

[0059] Sub-step 202: Convert the image coordinates of at least one detection point to a coordinate system to obtain the corresponding odometer coordinates of the detection point. In one embodiment, the odometer information of the current target parking space image is obtained through the system time synchronization module of the target vehicle, and the image coordinates of the detection point are converted to a coordinate system according to the image coordinate system and the odometer information to obtain the odometer coordinates of the detection point. Optionally, the odometer information may include the current vehicle odometer position of the target vehicle (i.e., the vehicle odometer coordinates of the target vehicle in the odometer coordinate system).

[0060] Sub-step 203: Perform straight line detection on the target parking space image to obtain a detection line image equation of at least one detection line. Specifically, visual semantic segmentation technology is used to perform straight line detection on the target parking space image to obtain a detection line image equation of at least one detection line.

[0061] Sub-step 204: Convert the coordinate system of at least one detection line image equation to obtain the corresponding detection line odometer equation. Specifically, the detection line odometer equation is obtained based on a principle similar to that of obtaining the odometer coordinates of the detection point, which will not be described in detail here.

[0062] In one implementation, the implementation process of the above sub-step 203 may adopt the following steps:

[0063] Sub-step 203-1: binarize the target parking space image to obtain a binary image. As an example, the visual segmentation module binarizes the target parking space image to obtain a binary image.

[0064] Sub-step 203-2: Perform straight line detection on the binary image to obtain at least one detected detection line. Optionally, the detection line can be obtained by detecting the traffic line in the binary image. The straight line detection method can be the classic Hough Transform. Furthermore, the detection line can also be processed by at least one of the following methods: filtering and line fine-tuning. Among them, line fine-tuning can include at least one of the following: angle rotation and translation processing. Optionally, the filtering process can use non-maximum suppression (NMS). As an example, the fusion module receives the binary image sent by the visual segmentation module, and performs a classic Hough transform on the binary image to obtain one or more detection lines, and performs NMS processing, angle rotation and translation processing on each detection line in turn.

[0065] Sub-step 203-3: Obtain the detection line image equation corresponding to the at least one detection line. Specifically, the detection line image equation is obtained based on a principle similar to that of obtaining the detection point image coordinates, which will not be described in detail here.

[0066] Combine the following Figure 3 The method of image straight line detection in the above sub-step 203-2 is described by way of example. Figure 3 As shown, it is a flow chart of a method for image straight line detection. The specific steps of the method are as follows: Sub-step 301: binarize the target parking space image to obtain a binarized image. Sub-step 302: perform classical Hough transform on the binarized image to obtain a detection line. Sub-step 303: perform NMS processing on the detection line to obtain a filtered detection line. Sub-step 304: perform linear fine-tuning on the filtered detection line.

[0067] Combine the following Figure 4 The method for determining the odometer coordinates of the parking spot in the above step 202 is described below. Figure 4 The figure is a flow chart of a method for determining the odometer coordinates of a parking spot. In order to accurately locate the current odometer coordinates of a parking spot, the specific process of the method may include:

[0068] Sub-step 401: Generate at least one sensed parking space according to at least one detection point. Specifically, if there are multiple detection points, a sensed parking space may be generated according to adjacent detection points.

[0069] Sub-step 402: Match at least one perceived parking space with the parking space reference position to obtain a target perceived parking space that matches the target parking space. Specifically, the parking space distances between each detection point in each perceived parking space and the corresponding parking space in the parking space reference position are determined according to the odometer coordinates of each detection point and the corresponding parking space reference coordinates, and the perceived parking space matching degree between each perceived parking space and the parking space reference position is obtained according to each parking space distance. Furthermore, according to each perceived parking space matching degree, the target perceived parking space that matches the target parking space is selected from each perceived parking space.

[0070] Sub-step 403: Determine the parking spot odometer coordinates of the target parking space according to the detection point odometer coordinates of each detection point in the target sensing parking space. In one embodiment, the detection point odometer coordinates of each detection point in the target sensing parking space are determined as the parking spot odometer coordinates of each parking spot in the target parking space.

[0071] Furthermore, the order of the detection points can be determined according to the entrance line of the target parking space. Figure 5 Describes the method for determining the order of test points. Figure 5 FIG. 1 is a flow chart of a method for determining the sequence of detection points. The specific flow of the method is as follows:

[0072] Sub-step 501: Obtain the parking spot reference coordinates of the two parking spots corresponding to the entrance line of the target parking spot. Sub-step 502: Generate multiple virtual perception parking spots with different starting orders of the detection points according to the detection points in the target perception parking spot. Sub-step 503: Match the entrance line of the target parking spot with the entrance lines of each target virtual perception parking spot according to the odometer coordinates of the two detection points corresponding to the entrance line in the virtual perception parking spot and the parking spot reference coordinates of the two parking spots corresponding to the entrance line of the target parking spot. Sub-step 504: Filter out the target virtual perception parking spot that matches the target parking spot from each virtual perception parking spot according to the entrance line matching degree.

[0073] Among them, the detection points contained in each virtual perception parking space corresponding to the same target perception parking space are all the same, that is, they are all the detection points in the target perception parking space. However, the starting points of the sorting of the detection points in different virtual perception parking spaces are different, and according to the sorting, the line connecting the two detection points (such as the first two detection points) at the designated position of the virtual perception parking space is used as the entrance line. For example, the detection points in a certain virtual perception parking space are P0, P1, P2 and P3, and the sorting of the detection points is P0P1P2P3 in sequence. Then, by adjusting the starting point of the sorting, multiple virtual perception parking spaces can be obtained, namely P0P1P2P3, P1P2P3P0, P2P3P0P1 and P3P0P1P2. In this way, by adjusting the starting point of the sorting of the detection points, the entrance line can be changed, and then multiple virtual perception parking spaces with different entrance lines can be obtained.

[0074] In one embodiment, the implementation process of the above sub-step 502 may include: determining the entrance line direction matching degree, entrance line angle and entrance line distance between the entrance line in the virtual perception parking space and the entrance line of the target parking space, and determining the entrance line matching degree between the two. The closer the entrance line directions of the two are to being the same, the closer the entrance lines are to being parallel, and the smaller the entrance line distance is, the higher the entrance line matching degree is, and vice versa, the lower the entrance line matching degree is. In this way, the target virtual perception parking space that is consistent with the entrance of the target parking space can be screened out through the entrance line matching degree.

[0075] Furthermore, since the target parking space image is generated in real time or periodically, the historical parking space odometer position of the target parking space obtained based on the historical target parking space image (e.g., the previous frame of the target parking space image) can also be obtained, and the parking space odometer coordinates of the target parking space can be adjusted based on the historical parking space odometer position using the parking space tracking method. Figure 6 For instructions on how to adjust the odometer coordinates at the parking spot, see Figure 6 FIG. 1 is a flowchart of a method for adjusting the odometer coordinates of a parking spot. The specific process of the method includes:

[0076] Sub-step 601: Obtain the historical vehicle odometer track and the current vehicle odometer position of the target vehicle. Specifically, the historical vehicle odometer track and the current vehicle odometer position are determined based on the odometer data.

[0077] Sub-step 602: Determine the change in vehicle position based on the historical vehicle odometer trajectory and the current vehicle odometer position. In one embodiment, the historical vehicle odometer trajectory and the current vehicle odometer position are input into a motion model to obtain a predicted vehicle position, and the change in vehicle position is determined based on the difference between the predicted vehicle position and the current vehicle odometer position. In this way, the change in vehicle position can be determined based on the motion model.

[0078] Sub-step 603: adjusting the parking space odometer coordinates according to the vehicle position change and the historical parking space odometer position of the target parking space to obtain the adjusted historical parking space odometer position.

[0079] In one implementation, the parking spot odometer coordinates, the vehicle position change, and the historical parking spot odometer position of the target parking spot are input into the parking spot observation model to obtain the adjusted historical parking spot odometer position output by the parking spot observation model. In this way, the parking spot odometer coordinates can be observed using the parking spot observation model to obtain the adjusted historical parking spot odometer position. Optionally, the parking spot observation model can be established based on a nonlinear extended Kalman filter (Extended Kalman Filter, EKF).

[0080] Combine the following Figure 7 , which illustrates the change in vehicle position. Figure 7 The figure shows a schematic diagram of a vehicle parking scene. Figure 7 In it, there are target vehicles and multiple parking spaces in the odometer coordinate system. P is the target parking space. The target vehicle was at position a at the previous moment (e.g., moment Tk, where k is a natural number) and moved to position b at the current moment (e.g., moment TK+1). During the parking process, the actual position of the target parking space remains unchanged, but its current vehicle odometer position relative to the target vehicle is moving and changing, and can be observed. In addition, due to the possibility of precision loss in each link of image acquisition, image stitching, odometer data acquisition, vehicle jitter, and time synchronization, the parking space odometer coordinates can be continuously corrected based on multi-frame image tracking fusion, which reduces precision loss, consumes less resources, and is faster.

[0081] In order to accurately locate the parking line odometer equation, the implementation process of step 103 may include the following steps: S103-1: According to at least one detection line odometer equation and a parking space reference position, at least one target detection line matching the target parking space is screened out from at least one detection line. Specifically, according to the parking space reference position, the parking line reference equation of each parking line (such as P0P1, P1P2 and P0P3) of the target parking space is obtained, and according to the detection line odometer equation of each detection line and the parking line reference equation, the straight line matching degree of each detection line and each parking line is determined, and according to the straight line matching degree, the target detection line matching each parking line is screened out from each detection line. In one embodiment, a queue pool can also be established for each parking line, and the detection line matched by it is placed in the corresponding queue pool. S103-2: According to the detection line odometer equation of at least one target detection line, the parking line odometer equation corresponding to each parking line of the target parking space is determined. In one implementation, the detection line odometer equation of the target detection line is determined as the parking line odometer equation corresponding to the corresponding parking line. Further, the parking line odometer equation corresponding to each parking line can be corrected in any of the following ways.

[0082] Method 1: Use mean filtering to correct the parking line odometer equation corresponding to each parking line.

[0083] In one implementation, for a target parking line among each parking line, at least one historical parking line odometer equation of the target parking line is obtained; the target parking line is any parking line among each parking line; and the parking line odometer equation of the target parking line is adjusted based on at least one historical parking line odometer equation by using a mean filtering method to obtain an adjusted parking line odometer equation. As an example, at least one historical parking line odometer equation of the target parking line is: a historical parking line odometer equation determined based on the most recent (most recent in time) N historical target parking space images. N is a natural number. In this way, the current parking line odometer equation can be corrected by the historical parking line odometer equation.

[0084] Method 2: Use the parking line observation model to correct the parking line odometer equation corresponding to each parking line. In one implementation, the historical vehicle odometer trajectory and the current vehicle odometer position of the target vehicle are obtained; the vehicle position change is determined based on the historical vehicle odometer trajectory and the current vehicle odometer position; for the target parking line in each parking line, the historical parking line odometer equation of the target parking line is obtained; the target parking line is any parking line in each parking line; according to the historical parking line odometer equation and the vehicle position change, the parking line odometer equation of the target parking line is adjusted to obtain the adjusted parking line odometer equation. Specifically, the parking line odometer equation can be corrected based on the principle of similarity of the corrected parking point odometer coordinates, and can also be corrected based on the parking line observation model. In one implementation, the parking line odometer equation, the historical parking line odometer equation and the vehicle position change can be input into the parking line observation model to obtain the adjusted parking line odometer equation. Optionally, the parking line observation model can be constructed based on the EKF algorithm.

[0085] Combine the following Figure 8 , for an explanation of the method for modifying the parking space line odometer equation, see Figure 8 The figure shows a flow chart for implementing a method for correcting the parking line odometer equation. The specific process of the method includes: Step 801: Convert the coordinate system of at least one detection line image equation respectively to obtain the corresponding detection line odometer equation. Step 802: According to at least one detection line odometer equation and the parking space reference position, at least one target detection line matching the target parking space is screened out from at least one detection line. Step 803: Use mean filtering or parking line observation model to correct the parking line odometer equation corresponding to each parking line. Step 804: Obtain the adjusted parking line odometer equation. In this way, the tracking of the parking line can be achieved.

[0086] Combine the following Fig. 9 , the method for determining the parking space odometer position in the above step 104 is described, see Fig. 9As shown in FIG. 1 , it is a flow chart of a method for determining the position of a parking space odometer. To improve the accuracy of parking space positioning, the specific process of the method includes:

[0087] Sub-step 901: for the target parking line in each parking line, according to the parking line odometer coordinates, obtain the parking line corresponding to the target parking line and its corresponding line odometer equation; the target parking line is any parking line in each parking line. Among them, the parking line is the line connecting the points corresponding to the odometer coordinates of the adjacent parking lines. Its corresponding line odometer equation is determined by the parking line odometer coordinates of the above two adjacent parking lines. Sub-step 902: determine the first matching degree between the line odometer equation and the historical parking line odometer equation. Sub-step 903: determine the second matching degree between the parking line odometer equation and the historical parking line odometer equation. Optionally, the first matching degree and the second matching degree are negatively correlated with the distance between different straight lines. Sub-step 904: update the parking line odometer equation according to the first matching degree and the second matching degree. Sub-step 905: obtain the parking line odometer position according to the updated parking line odometer equation. In one implementation, the updated parking space odometer coordinates of the target parking space are determined according to the updated parking space line odometer equation, and the parking space odometer position including the odometer coordinates of each parking space is obtained.

[0088] In one implementation, the implementation process of sub-step 904 may be implemented in any of the following ways:

[0089] Method 1: If both the first matching degree and the second matching degree are lower than the matching threshold, the line odometer equation and the parking line odometer equation are weighted summed to obtain an updated parking line odometer equation. Specifically, the line odometer equation and the parking line odometer equation are weighted summed according to the weights W1 and W2 corresponding to the line odometer equation and the parking line odometer equation, respectively.

[0090] In practical applications, the matching threshold and weight can be set according to the actual application scenario. The value range of the matching threshold and the weight can both be (0, 1). For example, the matching threshold and the weight can both be 0.5.

[0091] In an application scenario, at a certain stage of parking in a target parking space, both the parking spot and the parking space line may be detected, but there are problems such as fewer parking spots and parking space lines, resulting in low first matching degrees and second matching degrees. As a result, both the line odometer equation and the parking space line odometer equation cannot meet the requirements for precise parking space positioning. In this case, the weighted summation method can be used to correct the parking space line odometer equation to improve the accuracy of parking space positioning.

[0092] Method 2: If the first matching degree is greater than the second matching degree, and the first matching degree is not lower than the matching threshold, the connection line odometer equation is determined as the updated parking space line odometer equation.

[0093] In one application scenario, at a certain stage of parking in a target parking space, the parking space may only be visible through the target parking space image, resulting in a higher first matching degree, and a lower second matching degree due to reasons such as failure to detect the parking space line. Therefore, the updated parking space line odometer equation can be determined based only on the parking space detection result.

[0094] Method 3: If the second matching degree is greater than the first matching degree and the second matching degree is not lower than the matching threshold, the parking space line odometer equation is not updated.

[0095] In one application scenario, at a certain stage of parking in a target parking space, the parking space line may only be visible through the target parking space image, resulting in a higher second matching degree. Alternatively, the first matching degree may be lower due to reasons such as failure to detect the parking space. Therefore, the updated parking space line odometer equation may be determined based solely on the parking space line detection result.

[0096] In an application scenario, at a certain stage of parking in a target parking space, if the parking spot and the parking line can be clearly detected and there is a matching degree not less than a matching threshold, the straight line equation with the maximum matching degree can be determined as the updated parking line odometer equation.

[0097] In this way, at a certain stage of parking in the target parking space, if only the parking spot can be detected, the updated parking line odometer equation is determined based only on the parking spot detection result; if only the parking line can be detected, the updated parking line odometer equation is determined based only on the parking line detection result. Also, if both the parking spot and the parking line can be clearly detected, the most matching straight line equation can be selected. If both the parking spot and the parking line are difficult to detect clearly, a weighted summation method can be used for correction. Thus, the parking space positioning problem in different scenarios can be solved.

[0098] Furthermore, the parking space odometer position and the current vehicle odometer position can be sent to the Planning and Control (PNC) module, and the navigation route for parking to the target parking space can be updated by the PNC module according to the parking space odometer position and the current vehicle odometer position, and the target vehicle can be controlled to run according to the navigation route. Since the target vehicle will introduce new errors (such as odometer errors) during operation, the target parking space image can be acquired in real time or periodically, and steps 100 to 104 can be executed based on the target parking space image to continuously update the parking space odometer position and the current vehicle odometer position, and then continuously update the navigation route, so that the target vehicle can accurately park in the target parking space.

[0099] Combine the following Fig.10The above parking space positioning method is further explained. Fig.10 The following is a schematic diagram of the parking space positioning system. Fig.10 The various modules of the parking space positioning system implement the parking space positioning method in the above embodiment. The parking space positioning system includes: a parking space positioning trigger module 1001, an odometer data acquisition module 1002, a target parking space selection module 1003, a parking space image acquisition module 1004, a parking point detection module 1005, a parking space line detection module 1006, a point-line fusion module 1007, and a positioning result output module 1008.

[0100] Parking space positioning trigger module 1001: used to trigger the parking space positioning process. As an example, when the parking space positioning trigger module 1001 determines that the target vehicle enters the automatic parking phase, the parking space positioning process is triggered.

[0101] The odometer data acquisition module 1002 is used to acquire the odometer data of the target vehicle.

[0102] The target parking space selection module 1003 is used to determine the target parking space to be parked. As an example, according to the user's parking space selection operation, the target parking space selected by the user is obtained.

[0103] The parking space image acquisition module 1004 is used to acquire a target parking space image. In one implementation, the target parking space image is obtained by splicing a plurality of collected images.

[0104] The parking space detection module 1005 is used to determine the parking space odometer coordinates of the target parking space in the odometer coordinate system based on the parking space reference position of the target parking space and the target parking space image.

[0105] The parking space line detection module 1006 is used to determine the parking space line odometer equation of the target parking space in the odometer coordinate system based on the parking space reference position of the target parking space and the target parking space image.

[0106] Point-line fusion module 1007: used to obtain the parking space odometer position of the target parking space in the odometer coordinate system according to the parking space odometer coordinates and the parking space line odometer equation.

[0107] Positioning result output module 1008: used to output the parking space odometer position of the target parking space in the odometer coordinate system.

[0108] Specifically, the specific execution steps of each module in the parking space positioning system refer to the above steps 100 to 104, which will not be repeated here.

[0109] In the embodiment of the present application, based on the parking space reference position of the target parking space and the target parking space image, the parking space and the parking space line are detected and located respectively, and combined with the odometer data, the odometer coordinate system is converted, and the parking space location positioning result and the parking space line positioning result are fused to achieve parking space positioning, which can effectively correct the accuracy loss caused by odometer movement, visual perception, physical hardware, and time synchronization. It can also solve the problem of multi-frame fusion of parking space tracking in different scenarios, especially when there are fewer parking spaces, poor accuracy or invisibility, thereby improving the scope of application and reducing the error in the parking space search stage and the odometer error during the vehicle movement in the parking stage.

[0110] It should be noted that, in this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0111] Based on the same inventive concept, a device for locating a parking space is also provided in an embodiment of the present application. Since the principle of solving the problem by the above-mentioned device and equipment is similar to that of a method for locating a parking space, the implementation of the above-mentioned device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0112] like Fig.11 As shown, it is a structural schematic diagram of a parking space positioning device provided in an embodiment of the present application, including: an acquisition unit 1101, used to acquire a parking space reference position of a selected target parking space; a detection unit 1102, used to detect the target parking space image and obtain detection points and detection lines; a first determination unit 1103, used to determine the parking space odometer coordinates of the parking space of the target parking space in the odometer coordinate system according to the detection points and the parking space reference position; the odometer coordinate system is established according to the odometer data of the target vehicle; a second determination unit 1104, used to determine the parking space line odometer equation of the parking space line of the target parking space in the odometer coordinate system according to the detection line and the parking space reference position; an acquisition unit 1105, used to obtain the parking space odometer position of the target parking space in the odometer coordinate system according to the parking space odometer coordinates and the parking space line odometer equation.

[0113] In one embodiment, the acquisition unit 1101 is used to: acquire the geographic reference position of the target parking space, and perform coordinate system conversion on the geographic reference position to obtain the parking space reference position of the target parking space in the odometer coordinate system; or, determine the historical parking space odometer position as the parking space reference position; or, if it is determined that there is no historical parking space odometer position of the target parking space, then based on the geographic reference position of the target parking space, obtain the parking space reference position of the target parking space in the odometer coordinate system; if it is determined that there is a historical parking space odometer position of the target parking space, then determine the historical parking space odometer position as the parking space reference position.

[0114] In one embodiment, the detection unit 1102 is used to: perform key point detection on the target parking space image to obtain the detection point image coordinates of at least one detection point; perform coordinate system conversion on the at least one detection point image coordinates to obtain the corresponding detection point odometer coordinates; perform straight line detection on the target parking space image to obtain the detection line image equation of at least one detection line; perform coordinate system conversion on the at least one detection line image equation to obtain the corresponding detection line odometer equation.

[0115] In one embodiment, the first determination unit 1103 is used to: generate at least one perceived parking space based on the at least one detection point; match the at least one perceived parking space with the parking space reference position respectively to obtain a target perceived parking space that matches the target parking space; and determine the parking space odometer coordinates of the target parking space based on the detection point odometer coordinates of each detection point in the target perceived parking space.

[0116] In one embodiment, the first determination unit 1103 is also used to: obtain the historical vehicle odometer trajectory and the current vehicle odometer position of the target vehicle; determine the vehicle position change based on the historical vehicle odometer trajectory and the current vehicle odometer position; adjust the parking space odometer coordinates based on the vehicle position change and the historical parking space odometer position of the target parking space to obtain the adjusted historical parking space odometer position.

[0117] In one embodiment, the second determination unit 1104 is used to: screen out at least one target detection line matching the target parking space from the at least one detection line based on at least one detection line odometer equation and the parking space reference position; and determine the parking line odometer equations corresponding to each parking line of the target parking space based on the detection line odometer equation of the at least one target detection line.

[0118] In one embodiment, the second determination unit 1104 is also used to: for a target parking line among each parking line, obtain at least one historical parking line odometer equation of the target parking line; the target parking line is any parking line among the parking lines; and adopt a mean filtering method to adjust the parking line odometer equation of the target parking line based on the at least one historical parking line odometer equation to obtain an adjusted parking line odometer equation.

[0119] In one embodiment, the second determination unit 1104 is also used to: obtain the historical vehicle odometer trajectory and the current vehicle odometer position of the target vehicle; determine the vehicle position change based on the historical vehicle odometer trajectory and the current vehicle odometer position; for the target parking line in each parking line, obtain the historical parking line odometer equation of the target parking line; the target parking line is any parking line in each parking line; according to the historical parking line odometer equation and the vehicle position change, adjust the parking line odometer equation of the target parking line to obtain the adjusted parking line odometer equation.

[0120] In one implementation, the obtaining unit 1105 is used to:

[0121] For the target parking line among each parking line, according to the parking spot odometer coordinates, obtain the parking spot line corresponding to the target parking line and its corresponding line odometer equation; the target parking line is any parking line among the parking lines; the parking spot line is the line connecting the points corresponding to the odometer coordinates of adjacent parking spots; determine the first matching degree between the line odometer equation and the historical parking line odometer equation; determine the second matching degree between the parking line odometer equation and the historical parking line odometer equation; according to the first matching degree and the second matching degree, update the parking line odometer equation; according to the updated parking line odometer equation, obtain the parking space odometer position.

[0122] In one embodiment, the obtaining unit 1105 is used to: if the first matching degree and the second matching degree are both lower than the matching threshold, then perform weighted summation on the line odometer equation and the parking line odometer equation to obtain the updated parking line odometer equation; if the first matching degree is greater than the second matching degree, and the first matching degree is not lower than the matching threshold, then determine the line odometer equation as the updated parking line odometer equation; if the second matching degree is greater than the first matching degree, and the second matching degree is not lower than the matching threshold, then do not update the parking line odometer equation.

[0123] In a parking space positioning method, device and vehicle equipment provided by the embodiment of the present application, the parking space reference position of the selected target parking space is obtained; the target parking space image is detected to obtain detection points and detection lines; the parking space odometer coordinates of the parking space of the target parking space in the odometer coordinate system are determined according to the detection points and the parking space reference position; the odometer coordinate system is established according to the odometer data of the target vehicle; the parking space line odometer equation of the parking space line of the target parking space in the odometer coordinate system is determined according to the detection line and the parking space reference position; the parking space odometer position of the target parking space in the odometer coordinate system is obtained according to the parking space odometer coordinates and the parking space line odometer equation. In this way, the parking space positioning is performed by combining the parking space detection, the parking space line detection, the odometer data and the parking space reference position, thereby improving the application scope and accuracy of the parking space positioning.

[0124] Fig.12 FIG. 1 is a schematic diagram showing the structure of an electronic device 1200. Fig.12 As shown, the electronic device 1200 includes: a processor 1210 and a memory 1220 , and optionally, may also include a power supply 1230 , a display unit 1240 , and an input unit 1250 .

[0125] The processor 1210 is the control center of the electronic device 1200. It connects various components using various interfaces and lines, and performs various functions of the electronic device 1200 by running or executing software programs and / or data stored in the memory 1220, thereby monitoring the electronic device 1200 as a whole.

[0126] In the embodiment of the present application, the processor 1210 executes the various steps in the above embodiment when calling the computer program stored in the memory 1220.

[0127] Optionally, the processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1210. In some embodiments, the processor and the memory may be implemented on a single chip, and in some embodiments, they may also be implemented separately on separate chips.

[0128] The memory 1220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, various applications, etc.; the data storage area may store data created according to the use of the electronic device 1200, etc. In addition, the memory 1220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices, etc.

[0129] The electronic device 1200 also includes a power source 1230 (such as a battery) for supplying power to various components. The power source can be logically connected to the processor 1210 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.

[0130] The display unit 1240 may be used to display information input by the user or information provided to the user and various menus of the electronic device 1200, and in the embodiment of the present invention, is mainly used to display the display interface of each application in the electronic device 1200 and objects such as text and pictures displayed in the display interface. The display unit 1240 may include a display panel 1241. The display panel 1241 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0131] The input unit 1250 may be used to receive information such as numbers or characters input by the user. The input unit 1250 may include a touch panel 1251 and other input devices 1252. The touch panel 1251, also known as a touch screen, may collect user touch operations on or near it (such as operations performed by the user using a finger, a stylus, or any other suitable object or accessory on or near the touch panel 1251).

[0132] Specifically, the touch panel 1251 can detect the user's touch operation, detect the signal brought by the touch operation, convert these signals into touch point coordinates, send them to the processor 1210, and receive and execute the command sent by the processor 1210. In addition, the touch panel 1251 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. Other input devices 1252 can include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc.

[0133] Of course, the touch panel 1251 can cover the display panel 1241. When the touch panel 1251 detects a touch operation on or near it, it is transmitted to the processor 1210 to determine the type of touch event, and then the processor 1210 provides corresponding visual output on the display panel 1241 according to the type of touch event. Fig.12 In the embodiment, the touch panel 1251 and the display panel 1241 are two independent components to realize the input and output functions of the electronic device 1200, but in some embodiments, the touch panel 1251 and the display panel 1241 can be integrated to realize the input and output functions of the electronic device 1200.

[0134] The electronic device 1200 may also include one or more sensors, such as a pressure sensor, a gravity acceleration sensor, a proximity light sensor, etc. Of course, according to the needs of specific applications, the electronic device 1200 may also include other components such as a camera. Since these components are not the key components used in the embodiments of the present application, Fig.12 It is not shown and will not be described in detail.

[0135] Those skilled in the art will understand that Fig.12 The electronic device is merely an example and does not limit the electronic device, and may include more or less components than those shown in the figure, or may combine certain components, or may include different components.

[0136] In an embodiment of the present application, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a communication device can perform each step in the above embodiment.

[0137] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0139] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for locating a parking space, characterized in that: include: Get the parking space reference position of the selected target parking space; Detect the target parking space image and obtain detection points and detection lines; Determine the parking spot odometer coordinates of the target parking spot in the odometer coordinate system according to the detection point and the parking spot reference position; The odometer coordinate system is established based on the odometer data of the target vehicle; Determine a parking space line odometer equation of the target parking space in the odometer coordinate system according to the detection line and the parking space reference position; According to the parking spot odometer coordinates and the parking space line odometer equation, the parking space odometer position of the target parking space in the odometer coordinate system is obtained.

2. The method according to claim 1, characterized in that The step of obtaining the parking space reference position of the selected target parking space includes: Acquire the geographic reference position of the target parking space, and perform coordinate system conversion on the geographic reference position to obtain the parking space reference position of the target parking space in the odometer coordinate system; Alternatively, a historical parking space odometer position is determined as the parking space reference position; Alternatively, if it is determined that there is no historical parking odometer position of the target parking space, the parking space reference position of the target parking space in the odometer coordinate system is obtained based on the geographic reference position of the target parking space; if it is determined that there is a historical parking odometer position of the target parking space, the historical parking space odometer position is determined as the parking space reference position.

3. The method according to claim 1, characterized in that The detecting of the target parking space image to obtain the detection points and detection lines includes: Performing key point detection on the target parking space image to obtain detection point image coordinates of at least one detection point; Convert the image coordinates of at least one detection point into a coordinate system to obtain the corresponding odometer coordinates of the detection point; Performing straight line detection on the target parking space image to obtain a detection line image equation of at least one detection line; The coordinate system of at least one detection line image equation is respectively transformed to obtain a corresponding detection line odometry equation.

4. The method according to claim 3, characterized in that The step of determining the parking space odometer coordinates of the target parking space in the odometer coordinate system according to the detection point and the parking space reference position includes: generating at least one sensed parking space according to the at least one detection point; Matching the at least one sensed parking space with the parking space reference position respectively to obtain a target sensed parking space matched with the target parking space; The parking spot odometer coordinates of the target parking space are determined according to the detection point odometer coordinates of each detection point in the target sensing parking space.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Obtaining the historical vehicle odometer trajectory and the current vehicle odometer position of the target vehicle; Determining a vehicle position change amount based on the historical vehicle odometer trajectory and the current vehicle odometer position; According to the vehicle position change and the historical parking space odometer position of the target parking space, the parking space odometer coordinates are adjusted to obtain the adjusted historical parking space odometer position.

6. The method according to claim 3, characterized in that The step of determining the parking space line odometer equation of the target parking space in the odometer coordinate system according to the detection line and the parking space reference position includes: According to at least one detection line odometer equation and the parking space reference position, screening out at least one target detection line matching the target parking space from the at least one detection line; The parking space line odometer equations respectively corresponding to the parking space lines of the target parking space are determined according to the detection line odometer equation of the at least one target detection line.

7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: For a target parking space line among the parking space lines, obtaining at least one historical parking space line odometer equation of the target parking space line; the target parking space line is any parking space line among the parking space lines; The parking space line odometer equation of the target parking space line is adjusted based on the at least one historical parking space line odometer equation by using a mean filtering method to obtain an adjusted parking space line odometer equation.

8. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Obtaining the historical vehicle odometer trajectory and the current vehicle odometer position of the target vehicle; Determining a vehicle position change amount based on the historical vehicle odometer trajectory and the current vehicle odometer position; For a target parking space line among the parking space lines, a historical parking space line odometer equation of the target parking space line is obtained; the target parking space line is any parking space line among the parking space lines; The parking space line odometer equation of the target parking space line is adjusted according to the historical parking space line odometer equation and the vehicle position change to obtain an adjusted parking space line odometer equation.

9. The method according to any one of claims 1 to 4, characterized in that: The step of obtaining the parking space odometer position of the target parking space in the odometer coordinate system according to the parking space odometer coordinates and the parking space line odometer equation includes: For a target parking space line among the parking space lines, a parking space connection line corresponding to the target parking space line and its corresponding connection line odometer equation are obtained according to the parking space odometer coordinates; the target parking space line is any parking space line among the parking space lines; the parking space connection line is a connection line of points corresponding to the odometer coordinates of adjacent parking spaces; Determining a first matching degree between the connection line odometer equation and the historical parking space line odometer equation; Determining a second degree of matching between the parking space line odometer equation and the historical parking space line odometer equation; updating the parking space line odometer equation according to the first matching degree and the second matching degree; The parking space odometer position is obtained according to the updated parking space line odometer equation.

10. The method according to claim 9, characterized in that The updating of the parking space line odometer equation according to the first matching degree and the second matching degree includes: If both the first matching degree and the second matching degree are lower than the matching threshold, weighted summing the connection line odometer equation and the parking space line odometer equation is performed to obtain the updated parking space line odometer equation; If the first matching degree is greater than the second matching degree, and the first matching degree is not lower than the matching threshold, determining the line odometer equation as the updated parking space line odometer equation; If the second matching degree is greater than the first matching degree and the second matching degree is not lower than the matching threshold, the parking space line odometer equation is not updated.

11. A parking space positioning device, characterized in that: include: An acquisition unit, used for acquiring a parking space reference position of a selected target parking space; A detection unit, used to detect the target parking space image and obtain detection points and detection lines; A first determining unit, configured to determine the parking spot odometer coordinates of the target parking spot in the odometer coordinate system according to the detection point and the parking space reference position; The odometer coordinate system is established based on the odometer data of the target vehicle; A second determining unit is used to determine a parking space line odometer equation of the parking space line of the target parking space in the odometer coordinate system according to the detection line and the parking space reference position; The obtaining unit is used to obtain the parking space odometer position of the target parking space in the odometer coordinate system according to the parking space odometer coordinates and the parking space line odometer equation.

12. A vehicle device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 10 is executed.

Citation Information

Patent Citations

  • Positioning method and device

    CN108571967A

  • Parking space position determining method and device and computer readable storage medium

    CN109859260A

  • Automatic parking assisting method and device

    CN111291650A

  • Parking space detection method and device, computer equipment and storage medium

    CN111753649A

  • Parking space detection method and system, terminal and storage medium

    CN115206130A