Automatic parking method, device and equipment and storage medium
By acquiring and updating the location information in the vehicle's surrounding viewing image and performing secondary planning of parking paths, the problem of parking deviation in the existing automatic parking method is solved, and the accuracy of parking space positioning and the reliability of parking paths are improved.
Patent Information
- Application Number
- CN202410923272.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-01
AI Technical Summary
The existing automatic parking methods are prone to parking problems, which are mainly due to the distortion of the surrounding viewing image, which makes it impossible for the vehicle to accurately locate the parking space during parking.
By obtaining the vehicle's surrounding image, image recognition is performed to obtain the location information of the target parking space, plan the parking path, and update the location information after the location information meets the preset accurate conditions, and perform secondary planning to improve the accuracy of the parking path sex.
It effectively reduces the possibility of parking deviation during parking, improves the accuracy of parking space positioning and the reliability of parking paths.
Smart Images

Figure CN118876953A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, and in particular to an automatic parking method, device, equipment and storage medium. Background Art
[0002] With the rapid development of intelligent driving technology, automatic parking, as one of the important functions of the intelligent driving system, helps novice drivers to complete parking operations safely and conveniently.
[0003] The current automatic parking solution for vehicles uses surround view images for parking path planning. However, since the surround view images are obtained by stitching together images collected by multiple fisheye cameras after distortion, although they have been distorted, there is still a significant deviation between the points on the surround view images and the points in the actual world coordinate system, which may cause the vehicle to park off-center during the automatic parking process.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present application is to provide an automatic parking method, device, equipment and storage medium, aiming to solve the technical problem that the existing parking method is prone to parking deviation.
[0006] To achieve the above objectives, the present application proposes an automatic parking method, the method comprising:
[0007] Acquire a surround view image of the current vehicle, and perform image recognition on the surround view image to obtain parking space information of the target parking space;
[0008] Planning a parking path according to the parking location information, and controlling the current vehicle to park according to the parking path;
[0009] After the storage location information meets a preset accuracy condition, updating the storage location information, wherein the preset accuracy condition is a condition that the accuracy of the storage location information meets an expected condition;
[0010] The parking path is re-planned according to the updated parking location information, and the current vehicle is controlled to park according to the re-planned parking path.
[0011] In one embodiment, the step of acquiring a surround view image of the current vehicle and performing image recognition on the surround view image to obtain parking space information of a target parking space includes:
[0012] Obtain the surrounding environment image collected by the surround view camera of the current vehicle;
[0013] splicing the surrounding environment images to obtain a vehicle surround view image;
[0014] The vehicle surround view image is input into a preset parking space detection model to obtain parking space information of the target parking space.
[0015] In one embodiment, before the step of inputting the vehicle surround view image into a preset parking space detection model to obtain the parking space information of the target parking space, the step includes:
[0016] Acquire a training image data set, wherein the training image data set includes parking space image samples and image labels corresponding to the parking space image samples, and the image labels include parking space corner point labels and parking space separation line labels;
[0017] Based on the parking space image samples, the parking space corner point labels and the parking space dividing line labels, a preset initial model is trained until the preset initial model converges to obtain a preset parking space detection model.
[0018] In one embodiment, the parking space information includes a first entrance corner point, a second entrance corner point, and a parking space separation line identification frame of the target parking space, and the step of updating the parking space information includes:
[0019] Acquire the parking space length of the target parking space, the first entrance coordinates of the first entrance corner point and the second entrance coordinates of the second entrance corner point, and use the direction of the parking space separation line identification frame as the parking space direction;
[0020] Calculate the first bottom coordinate of the first bottom corner point according to the first entrance coordinate, the parking space length and the parking space direction;
[0021] Calculate the second bottom coordinates of the second bottom corner point according to the second entrance coordinates, the parking space length and the parking space direction;
[0022] The storage location information is updated based on the first bottom coordinate and the second bottom coordinate.
[0023] In one embodiment, the step of obtaining the parking space length of the target parking space includes:
[0024] Obtaining the parking space type of the target parking space;
[0025] According to the parking space type, a preset parking space length mapping table is queried to obtain the parking space length of the target parking space.
[0026] In one embodiment, before the step of the storage location information meeting the preset accuracy condition, the process includes:
[0027] Determine whether the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, whether the length of the long side of the parking space separation line identification frame is greater than a preset length threshold, and whether the angle between the long sides of the parking space separation line identification frame is less than a preset angle threshold;
[0028] If the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, and the long side length of the parking space separation line identification frame is greater than the preset length threshold, and the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold, then it is determined that the storage location information meets the preset accuracy conditions.
[0029] In one embodiment, before the step of performing secondary planning on the parking path according to the updated parking location information and controlling the current vehicle to park according to the secondary planned parking path, the method includes:
[0030] Obtaining the storage location direction angle difference before and after the storage location information is updated;
[0031] After the angle difference in the storage location direction is greater than a preset angle difference threshold, the steps of: performing secondary planning on the parking path according to the updated storage location information, and controlling the current vehicle to park according to the secondary planned parking path;
[0032] After the angle difference in the storage direction is not greater than a preset angle difference threshold, the current vehicle is controlled to park according to the original parking path.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an automatic parking device, which includes:
[0034] A parking space recognition module is used to obtain a surround view image of the current vehicle and perform image recognition on the surround view image to obtain parking space information of the target parking space;
[0035] A primary planning module, used to plan a parking path according to the storage location information, and control the current vehicle to park according to the parking path;
[0036] A storage location update module, used for updating the storage location information after the storage location information meets a preset accuracy condition, wherein the preset accuracy condition is a condition that the accuracy of the storage location information meets an expected condition;
[0037] The secondary planning module is used to perform secondary planning on the parking path according to the updated storage location information, and control the current vehicle to park according to the secondary planned parking path.
[0038] In one embodiment, the storage location identification module is further used to:
[0039] Obtain the surrounding environment image collected by the surround view camera of the current vehicle;
[0040] splicing the surrounding environment images to obtain a vehicle surround view image;
[0041] The vehicle surround view image is input into a preset parking space detection model to obtain parking space information of the target parking space.
[0042] In one embodiment, the automatic parking device further includes a model building module for:
[0043] Acquire a training image data set, wherein the training image data set includes parking space image samples and image labels corresponding to the parking space image samples, and the image labels include parking space corner point labels and parking space separation line labels;
[0044] Based on the parking space image samples, the parking space corner point labels and the parking space dividing line labels, a preset initial model is trained until the preset initial model converges to obtain a preset parking space detection model.
[0045] In one embodiment, the parking space information includes a first entrance corner point, a second entrance corner point and a parking space separation line identification frame of the target parking space, and the parking space updating module is further used to:
[0046] Acquire the parking space length of the target parking space, the first entrance coordinates of the first entrance corner point and the second entrance coordinates of the second entrance corner point, and use the direction of the parking space separation line identification frame as the parking space direction;
[0047] Calculate the first bottom coordinate of the first bottom corner point according to the first entrance coordinate, the parking space length and the parking space direction;
[0048] Calculate the second bottom coordinates of the second bottom corner point according to the second entrance coordinates, the parking space length and the parking space direction;
[0049] The storage location information is updated based on the first bottom coordinate and the second bottom coordinate.
[0050] In one embodiment, the storage location update module is further used to:
[0051] Obtaining the parking space type of the target parking space;
[0052] According to the parking space type, a preset parking space length mapping table is queried to obtain the parking space length of the target parking space.
[0053] In one embodiment, the storage location update module is further used to:
[0054] Determine whether the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, whether the length of the long side of the parking space separation line identification frame is greater than a preset length threshold, and whether the angle between the long sides of the parking space separation line identification frame is less than a preset angle threshold;
[0055] If the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, and the long side length of the parking space separation line identification frame is greater than the preset length threshold, and the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold, then it is determined that the storage location information meets the preset accuracy conditions.
[0056] In one embodiment, the quadratic programming module is further used to:
[0057] Obtaining the storage location direction angle difference before and after the storage location information is updated;
[0058] After the angle difference in the storage location direction is greater than a preset angle difference threshold, the steps of: performing secondary planning on the parking path according to the updated storage location information, and controlling the current vehicle to park according to the secondary planned parking path;
[0059] After the angle difference in the storage direction is not greater than a preset angle difference threshold, the current vehicle is controlled to park according to the original parking path.
[0060] In addition, to achieve the above objectives, the present application also proposes an automatic parking device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the automatic parking method described above.
[0061] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the automatic parking method described above are implemented.
[0062] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the automatic parking method described above are implemented.
[0063] One or more technical solutions proposed in this application have at least the following technical effects:
[0064] The present application obtains the vehicle surround view image of the current vehicle and performs image recognition on the vehicle surround view image to obtain the parking space information of the target parking space; plans a parking path according to the parking space information, and controls the current vehicle to park according to the parking path. As the vehicle gets closer to the target parking space during the parking process, the distortion of the target parking space in the vehicle surround view image becomes lighter, and the parking space information becomes more accurate. Therefore, the present application updates the parking space information after the parking space information meets the preset accuracy conditions, wherein the preset accuracy conditions are pre-set conditions that the accuracy of the parking space information meets the expected conditions, thereby obtaining more accurate parking space information. Then, the parking path is re-planned according to the updated parking space information, and the current vehicle is controlled to park according to the parking path after the re-planning. Therefore, the present application effectively reduces the possibility of parking deviation during parking by performing re-planning of the parking path based on the updated more accurate parking space information after the preset accuracy conditions are met. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0066] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0067] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the automatic parking method of the present application;
[0068] Figure 2 A schematic diagram of a target parking space involved in an embodiment of the present application;
[0069] Figure 3 A schematic diagram of a flow chart provided for the second embodiment of the automatic parking method of the present application;
[0070] Figure 4 A schematic diagram of a parking scenario involved in an embodiment of the present application;
[0071] Figure 5 A flowchart of the third embodiment of the automatic parking method of the present application is provided;
[0072] Figure 6 This is a schematic diagram of the module structure of the automatic parking device according to an embodiment of the present application;
[0073] Figure 7Schematic diagram of the device structure of the hardware operating environment involved in the automatic parking method in the embodiment of the present application.
[0074] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0075] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0076] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0077] The main solution of the embodiment of the present application is: obtaining a vehicle surround view image of the current vehicle, and performing image recognition on the vehicle surround view image to obtain the parking space information of the target parking space; planning a parking path according to the parking space information, and controlling the current vehicle to park according to the parking path; updating the parking space information after the parking space information meets a preset accuracy condition, wherein the preset accuracy condition is a condition that the accuracy of the parking space information is pre-set to meet the expected condition; re-planning the parking path according to the updated parking space information, and controlling the current vehicle to park according to the parking path after the re-planning.
[0078] In this embodiment, for the convenience of description, the vehicle controller is used as the execution subject for explanation below.
[0079] The present application provides a solution. As the vehicle gets closer to the target parking space during the parking process, the distortion of the target parking space in the vehicle's surround view image becomes less severe, and the parking space information becomes more accurate. Therefore, the present application updates the parking space information after the parking space information meets a preset accuracy condition, wherein the preset accuracy condition is a condition in which the accuracy of the parking space information is pre-set to meet the desired condition, and then performs secondary planning of the parking path according to the updated parking space information, and controls the current vehicle to park according to the secondary planned parking path. Therefore, the present application effectively reduces the possibility of parking deviation during the parking process by performing secondary planning of the parking path based on the updated more accurate parking space information after the preset accuracy condition is met.
[0080] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle controller, a driving computer, etc. The following takes the vehicle controller as an example to illustrate this embodiment and the following embodiments.
[0081] Based on this, the present application embodiment provides an automatic parking method, referring to Figure 1 , Figure 1 This is a flowchart diagram of the first embodiment of the automatic parking method of the present application.
[0082] In this embodiment, the automatic parking method includes steps S10 to S40:
[0083] Step S10, acquiring a surround view image of the current vehicle, and performing image recognition on the surround view image to obtain parking space information of a target parking space;
[0084] It should be noted that the vehicle surround view image may be a BEV (Bird's Eye View) image, which may provide a complete view of the surrounding environment of the current vehicle, including the front, rear, sides and top of the vehicle.
[0085] In addition, it should be noted that see Figure 2 , Figure 2 Schematic diagram of the target parking space involved in the embodiment of the present application. The parking space information may include four parking space corner points of the target parking space (i.e. Figure 2 Points 1, 2, 3, 4) and two parking space separation lines.
[0086] This embodiment can obtain the surrounding environment images captured by the front camera, left camera, right camera and rear camera of the current vehicle, and then splice the surrounding environment images according to the position to obtain the vehicle surround image of the current vehicle. Then, the vehicle surround image is subjected to image recognition through a predetermined parking space detection algorithm to obtain the parking space information of the target parking space. Exemplarily, the parking space detection algorithm can be a feature-based detection method, a machine learning-based (such as a classifier or a regressor) detection method, a deep learning-based (such as a convolutional neural network, a YOLO (You Only Look Once) model, an SSD (Single Shot MultiBox Detector) model, etc.) detection method.
[0087] In a feasible implementation, step S10 may include steps S11 to S13:
[0088] Step S11, obtaining the surrounding environment image collected by the surround view camera of the current vehicle;
[0089] Step S12, stitching the surrounding environment images to obtain a vehicle surround view image;
[0090] Step S13: input the vehicle surround view image into a preset parking space detection model to obtain parking space information of the target parking space.
[0091] It should be noted that the surround view camera may include a front view camera for photographing the front of the vehicle, a left view camera for photographing the left side of the vehicle, a right view camera for photographing the right side of the vehicle, and a rear view camera for photographing the rear of the vehicle. Of course, it is understandable that in order to obtain a larger field of view, the front view camera, the left view camera, the right view camera, and the rear view camera generally use fisheye cameras.
[0092] It should also be noted that the preset parking space detection model is a neural network model that is pre-trained for detecting parking spaces. The preset parking space detection model may be a convolutional neural network model, a YOLO model, an SSD model, etc. For example, since the parking space isolation line in the parking space may appear rotated or tilted in the image, the conventional horizontal rectangular frame may not be able to tightly surround the target (i.e., the parking space isolation line), thereby affecting the accuracy and precision of the detection. Therefore, the preset parking space detection model may adopt the YOLOv5_OBB (Oriented Bounding Box) model, which can be adjusted according to the rotation angle of the target, so as to more tightly surround the target and improve the detection accuracy and precision.
[0093] This embodiment can obtain the surrounding environment images captured by the front camera, left camera, right camera and rear camera of the current vehicle. Then, each surrounding environment image is spliced according to the position to obtain the vehicle surround view image of the current vehicle. Furthermore, since the fisheye camera has obvious image distortion, distortion correction processing can be performed before splicing to reduce the image distortion of the vehicle surround view image and improve the accuracy of the identified storage location information. The distortion correction processing can be a method of filtering based on local features of the image, a method of correction based on convolution kernels, a method of correction based on predetermined distortion parameters, and other processing methods, which are not limited in this embodiment. The vehicle surround view image can then be input into a preset parking space detection model to obtain the storage location information of the target parking space.
[0094] In a feasible implementation manner, steps A10 to A20 may be included before step S13:
[0095] Step A10, obtaining a training image data set, wherein the training image data set includes parking space image samples and image labels corresponding to the parking space image samples, and the image labels include parking space corner point labels and parking space separation line labels;
[0096] Step A20: Based on the parking space image samples, the parking space corner point labels and the parking space dividing line labels, a preset initial model is trained until the preset initial model converges to obtain a preset parking space detection model.
[0097] It should be noted that the training image data set includes parking space image samples and image labels corresponding to the parking space image samples, the image labels include parking space corner point labels and parking space dividing line labels, the parking space image samples are surround images including parking spaces, the parking space corner point labels are the parking space corner points marked in the parking space image samples, and the parking space dividing line labels are the parking space dividing line identification boxes marked in the parking space image samples. The preset initial model is a neural network model that is preset and initialized, such as a convolutional neural network, a YOLO model, an SSD model, etc.
[0098] In this embodiment, a training image data set can be obtained by collecting a predetermined number of surround images (i.e., images from the perspective of the vehicle BEV) and marking the corner points and parking space separation lines of the parking spaces in the surround images, with the corner points being points and the parking space separation lines being overall frames, thereby generating corner point labels and parking space separation line labels. Then, the parking space image samples are input into the preset initial model to obtain training detection results. Then, the loss function value is calculated based on the training detection results and the corner point labels and parking space separation line labels, and the model parameters of the preset initial model are updated and iterated based on the loss function value until the preset initial model converges (i.e., the number of iterations reaches the preset maximum value, or the loss function value is the minimum), and the preset initial model at this time is used as the preset parking space detection model. In this embodiment, a detection model that can accurately identify the corner points and parking space separation line identification frames in the parking space is obtained by training the parking space image samples and their corresponding corner point labels and parking space separation line labels.
[0099] Step S20, planning a parking path according to the storage location information, and controlling the current vehicle to park according to the parking path;
[0100] In this embodiment, a parking path can be planned according to the storage location information. For example, a parking path that meets the storage location information is generated according to the storage location information, environmental information, vehicle information and parking specifications. For example, the parking specifications are constraints set in advance for the parking path, which may include: complying with the law of vehicle structure movement and not exceeding the physical requirements of vehicle dynamics or kinematics; not colliding or crossing the parking space during parking; the parking path is as simple as possible; the parking process is continuous, etc. After the parking path is generated, the current vehicle can be controlled to park according to the parking path.
[0101] Step S30, after the storage location information meets a preset accuracy condition, updating the storage location information, wherein the preset accuracy condition is a condition that the accuracy of the storage location information meets an expected condition;
[0102] It should be noted that the preset accuracy condition is to pre-set the accuracy of the parking space information to meet the expected condition. When the parking space information meets the preset accuracy condition, the current vehicle is in a specified posture and a specified position relative to the target parking space, so that the parking space information obtained by the current vehicle under the specified posture and the specified position meets the accuracy requirements for the parking space information. For example, the specified posture and the specified position may be that the angle between the parking space direction of the target parking space and the longitudinal axis direction of the vehicle body is less than a predetermined angle threshold (such as 5°, 10°, 15°, etc.), and the distance between the entrance end of the target parking space (the corner point or edge on one side of the entrance) and the current vehicle is within a predetermined distance range (such as 0.3 to 0.8 m). Exemplarily, in order to further improve the accuracy of the identified parking space information, the preset accuracy condition may be that the first entrance corner point and the second entrance corner point of the target parking space are both within the field of view of the rearview camera of the current vehicle; the long side length of the parking space separation line identification frame of the target parking space is greater than a preset length threshold; the angle between the long sides of the parking space separation line identification frame is less than a preset angle threshold; the distance between the rear edge line of the current vehicle and the line connecting the first entrance corner point and the second entrance corner point is less than a preset distance threshold, etc.
[0103] In this embodiment, it can be determined whether the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, whether the length of the long side of the parking space separation line identification frame is greater than the preset length threshold, and whether the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold. If the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, and the length of the long side of the parking space separation line identification frame is greater than the preset length threshold, and the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold, it is determined that the storage location information meets the preset accuracy condition. After the storage location information meets the preset accuracy condition, the storage location information is updated. The storage location information can be updated in a manner that the four storage location corner points and two parking space separation lines of the target parking space after the preset accuracy condition are used as new storage location information. It is also possible to further calculate the first bottom coordinate of the first bottom corner point according to the first entrance coordinate, the parking space length and the storage location direction; and calculate the second bottom coordinate of the second bottom corner point according to the second entrance coordinate, the parking space length and the storage location direction. The first bottom coordinate and the second bottom coordinate calculated in this way have higher accuracy, and the storage location information is updated based on the first bottom coordinate and the second bottom coordinate.
[0104] Step S40: re-planning the parking path according to the updated parking location information, and controlling the current vehicle to park according to the re-planned parking path.
[0105] This embodiment can perform secondary planning on the parking path according to the updated storage location information. For example, a parking path that meets the updated storage location information is generated according to the updated storage location information, environmental information, vehicle information and parking specifications. Then, the current vehicle is controlled to park according to the secondary planned parking path.
[0106] The first embodiment of the present application provides an automatic parking method, which obtains the parking space information of the target parking space by acquiring the vehicle surround image of the current vehicle and performing image recognition on the vehicle surround image; plans a parking path according to the parking space information, and controls the current vehicle to park according to the parking path. As the vehicle gets closer to the target parking space during the parking process, the distortion degree of the target parking space in the vehicle surround image becomes lighter, and the parking space information becomes more accurate. Therefore, after the parking space information meets the preset accuracy condition, the present embodiment updates the parking space information, wherein the preset accuracy condition is to pre-set the accuracy of the parking space information to meet the expected condition to obtain more accurate parking space information. Then, the parking path is re-planned according to the updated parking space information, and the current vehicle is controlled to park according to the parking path after the re-planning. Therefore, the present embodiment effectively reduces the possibility of parking deviation during parking by performing re-planning of the parking path based on the updated more accurate parking space information after the preset accuracy condition is met.
[0107] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , the parking space information includes the first entrance corner point, the second entrance corner point and the parking space separation line identification frame of the target parking space, and the step of updating the parking space information in step S30 includes steps S31 to S34:
[0108] Step S31, obtaining the parking space length of the target parking space, the first entrance coordinates of the first entrance corner point and the second entrance coordinates of the second entrance corner point, and taking the direction of the parking space separation line identification frame as the parking space direction;
[0109] Step S32, calculating the first bottom coordinates of the first bottom corner point according to the first entrance coordinates, the parking space length and the parking space direction;
[0110] Step S33, calculating the second bottom coordinates of the second bottom corner point according to the second entrance coordinates, the parking space length and the parking space direction;
[0111] Step S34: updating the storage location information based on the first bottom coordinate and the second bottom coordinate.
[0112] It should be noted that the parking space length is the length extending from the first entrance corner point or the second entrance corner point into the parking space to the bottom of the parking space. Since the design of the parking space has corresponding requirements, the parking space length can be a preset length value. The first entrance corner point is a parking space corner point at one end of the vehicle entering the target parking space, and the second entrance corner point is another parking space corner point at one end of the vehicle entering the target parking space. The parking space direction is the direction of the parking space separation line identification frame in the coordinate system corresponding to the first entrance coordinate and the second entrance coordinate (generally the world coordinate system).
[0113] See also Figure 4 , Figure 4 Schematic diagram of a parking scene involved in an embodiment of the present application. In this embodiment, the length of the target parking space and the first entrance corner point (i.e. Figure 4 The first entrance coordinates of the storage location corner point 1) and the second entrance corner point (i.e. Figure 4 The second entrance coordinates of the parking space corner point 2) are calculated, and the direction of the parking space separation line identification frame (i.e. the long side of the parking space separation line identification frame or the direction of the corresponding parking space separation line) is used as the storage space direction. Then, the first bottom corner point (i.e. Figure 4 The first bottom coordinate of the middle storage position corner point 4) is calculated according to the second entrance coordinate, the parking space length and the storage position direction to obtain the second bottom corner point (i.e. Figure 4 The second bottom coordinate of the corner point 3 in the storage location. For example, the first entrance coordinate of the first entrance corner point is (x1, y1), the second entrance coordinate of the second entrance corner point is (x2, y2), the first bottom coordinate of the first bottom corner point is (x3, y3), and the second bottom coordinate of the second bottom corner point is (x4, y4). The calculation method of the first bottom coordinate and the second bottom coordinate is as follows:
[0114] x3=x2+Lcos(θ);
[0115] y3=y2+Lsin(θ);
[0116] x4=x1+Lcos(θ);
[0117] y4=y1+Lsin(θ).
[0118] Wherein, L is the length of the parking space, and θ is the angle of the parking space direction in the coordinate system (generally the world coordinate system) corresponding to the first entrance coordinate and the second entrance coordinate.
[0119] Since the first entrance corner point and the second entrance corner point are closer to the rear view camera of the current vehicle, the image distortion is smaller, and the accuracy of the first entrance coordinates and the second entrance coordinates obtained thereby is higher. Therefore, the first bottom coordinates and the second bottom coordinates directly calculated by the first entrance coordinates and the second entrance coordinates, as well as the parking space length and the storage location direction, are more accurate than the coordinates of the first bottom corner point and the second bottom corner point obtained by image mapping. Furthermore, based on the first bottom coordinates and the second bottom coordinates, the storage location information is updated, that is, the first bottom coordinates and the second bottom coordinates replace the coordinates of the first bottom corner point and the second bottom corner point in the storage location information. It can be understood that the storage location information is updated according to changes in the vehicle's surround view image.
[0120] In a feasible implementation manner, step S31 includes steps B10 to B20:
[0121] Step B10, obtaining the parking space type of the target parking space;
[0122] Step B20: According to the parking space type, query a preset parking space length mapping table to obtain the parking space length of the target parking space.
[0123] It should be noted that the parking space types may include parallel parking spaces (the storage space direction is parallel to the road direction), vertical parking spaces (the storage space direction is perpendicular to the road direction), and inclined parking spaces (the storage space direction is at a certain angle to the road direction). The preset parking space length mapping table is used to describe the mapping relationship between parking space types and parking space lengths. Exemplarily, the parking space lengths corresponding to vertical parking spaces and inclined parking spaces are between 5 meters and 6 meters (such as 5.5 meters), and since parallel parking spaces are entered from the long side of the parking space, the parking space lengths corresponding to parallel parking spaces are between 2.2 meters and 2.5 meters (such as 2.5 meters).
[0124] In this embodiment, the parking space type of the target parking space can be obtained; according to the parking space type, a preset parking space length mapping table can be queried to obtain the parking space length of the target parking space. Then, according to the first entrance coordinate, the second entrance coordinate, the parking space length and the parking space direction, the first bottom coordinate of the first bottom corner point and the second bottom coordinate of the second bottom corner point can be calculated respectively. In this embodiment, the deviation in the coordinate calculation of the first bottom corner point and the second bottom corner point caused by the different parking space types can be avoided, resulting in parking deviation.
[0125] In a feasible implementation manner, before step S30, steps C10 to C20 are included:
[0126] Step C10, determining whether the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, whether the length of the long side of the parking space separation line identification frame is greater than a preset length threshold, and whether the angle between the long sides of the parking space separation line identification frame is less than a preset angle threshold;
[0127] Step C20, if the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, and the long side length of the parking space separation line identification frame is greater than the preset length threshold, and the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold, then it is determined that the storage location information meets the preset accuracy conditions.
[0128] This embodiment ensures the accuracy of the coordinates of the first entrance corner point and the second entrance corner point in the identified storage location information and the storage location direction through the preset accurate conditions, so as to calculate more accurate coordinates of the first bottom corner point and the second bottom corner point.
[0129] Since the target parking space has the smallest distortion within the field of view of the rearview camera, this embodiment determines whether the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle; and determines whether the long side length of the parking space separation line identification frame (i.e., the length of the longest side in the parking space separation line identification frame) is greater than a preset length threshold (such as 0.5m, 0.6m, 0.8m, etc.) to avoid recognition deviation in the direction of the parking space separation line identification frame (i.e., the direction of the parking space) under shorter long side lengths; since the long sides of the parking space separation line identification frame are parallel in the actual scene, it is also determined whether the angle between the long sides of the parking space separation line identification frame is less than a preset angle threshold (such as 2°, 3°, etc.) to determine whether the long sides of the parking space separation line identification frame are parallel, so as to know whether the parking space separation line identification frame has obvious distortion. If both the first entrance corner point and the second entrance corner point are within the field of view of the rearview camera of the current vehicle, it indicates that the coordinate accuracy of the first entrance corner point and the second entrance corner point is relatively high; if the length of the long side of the parking space separation line identification frame is greater than the preset length threshold, the identification deviation of the direction of the parking space separation line identification frame (i.e., the storage location direction) under the condition of shorter long side length can be avoided; if the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold, it indicates that there is no obvious distortion of the parking space separation line identification frame, and thus it can be determined that the storage location information meets the preset accuracy condition. If both the first entrance corner point and the second entrance corner point are not within the field of view of the rearview camera of the current vehicle, and / or the length of the long side of the parking space separation line identification frame is not greater than the preset length threshold, and / or the angle between the long sides of the parking space separation line identification frame is not less than the preset angle threshold, it is determined that the storage location information does not meet the preset accuracy condition, and the current vehicle is controlled to park according to the original parking path.
[0130] The second embodiment of the present application provides an automatic parking method. In this embodiment, after the storage location information meets the preset accuracy conditions, the parking space length of the target parking space, the first entrance coordinates of the first entrance corner point and the second entrance coordinates of the second entrance corner point are obtained, and the direction of the parking space separation line identification frame is used as the storage location direction; the first bottom coordinates of the first bottom corner point are calculated according to the first entrance coordinates, the parking space length and the storage location direction; the second bottom coordinates of the second bottom corner point are calculated according to the second entrance coordinates, the parking space length and the storage location direction; and the storage location information is updated based on the first bottom coordinates and the second bottom coordinates. Therefore, after obtaining the first entrance corner point, the second entrance corner point and the storage location angle whose accuracy meets the requirements, the first bottom corner point and the second bottom corner point are directly calculated through the first entrance corner point, the second entrance corner point, the parking space length and the storage location direction, which is more accurate than the coordinates of the first bottom corner point and the second bottom corner point obtained through image mapping. Furthermore, based on the first bottom coordinates and the second bottom coordinates, the storage location information is updated, so that the new storage location information is more accurate than the previous storage location information.
[0131] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 5 , before step S40, steps D10 to D30 are included:
[0132] Step D10, obtaining the storage location direction angle difference before and after the storage location information is updated;
[0133] Step D20, after the angle difference in the storage location direction is greater than a preset angle difference threshold, executing the steps of: performing secondary planning on the parking path according to the updated storage location information, and controlling the current vehicle to park according to the secondary planned parking path;
[0134] Step D30, after the angle difference in the storage direction is not greater than a preset angle difference threshold, the current vehicle is controlled to park according to the original parking path.
[0135] It should be noted that the storage location direction angle difference is the angle difference between the storage location direction in the storage location information for planning the parking path and the storage location direction in the updated storage location information.
[0136] This embodiment takes into account the problem of too many warehouse rubbing times caused by secondary planning of the parking path. By calculating the angle difference of the warehouse direction before and after the warehouse information is updated according to the warehouse direction in the warehouse information of the planned parking path and the warehouse direction in the updated warehouse information. Then, it is determined whether the warehouse direction angle difference is greater than a preset angle difference threshold (such as 0.3, 0.5, 0.8, etc.). After the warehouse direction angle difference is greater than the preset angle difference threshold, it means that the warehouse direction deviation before and after the warehouse information is updated is large, and then the steps can be executed: the parking path is secondary planned according to the updated warehouse information, and the current vehicle is controlled to park according to the parking path after secondary planning. After the warehouse direction angle difference is not greater than the preset angle difference threshold, it means that the warehouse direction deviation before and after the warehouse information is updated is small, and then the current vehicle can be controlled to park according to the original parking path.
[0137] The third embodiment of the present application provides an automatic parking method, which obtains the position direction angle difference before and after the position information is updated; after the position direction angle difference is greater than the preset angle difference threshold, executes the steps of: performing secondary planning on the parking path according to the updated position information, and controlling the current vehicle to park according to the secondary planned parking path; after the position direction angle difference is not greater than the preset angle difference threshold, controlling the current vehicle to park according to the original parking path. Therefore, in the case where the position direction deviation before and after the position information is updated is small, this embodiment still controls the current vehicle to park according to the original parking path, which reduces the number of unnecessary parking times and effectively improves parking efficiency.
[0138] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the automatic parking method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0139] This application also provides an automatic parking device, please refer to Figure 6 , the automatic parking device comprises:
[0140] The parking space recognition module 10 is used to obtain the vehicle surround image of the current vehicle and perform image recognition on the vehicle surround image to obtain the parking space information of the target parking space;
[0141] A primary planning module 20, for planning a parking path according to the storage location information, and controlling the current vehicle to park according to the parking path;
[0142] The storage location update module 30 is used to update the storage location information after the storage location information meets a preset accuracy condition, wherein the preset accuracy condition is a condition that the accuracy of the storage location information meets an expected condition;
[0143] The secondary planning module 40 is used to perform secondary planning on the parking path according to the updated storage location information, and control the current vehicle to park according to the secondary planned parking path.
[0144] In one embodiment, the storage location identification module 10 is further used for:
[0145] Obtain the surrounding environment image collected by the surround view camera of the current vehicle;
[0146] splicing the surrounding environment images to obtain a vehicle surround view image;
[0147] The vehicle surround view image is input into a preset parking space detection model to obtain parking space information of the target parking space.
[0148] In one embodiment, the automatic parking device further includes a model building module for:
[0149] Acquire a training image data set, wherein the training image data set includes parking space image samples and image labels corresponding to the parking space image samples, and the image labels include parking space corner point labels and parking space separation line labels;
[0150] Based on the parking space image samples, the parking space corner point labels and the parking space dividing line labels, a preset initial model is trained until the preset initial model converges to obtain a preset parking space detection model.
[0151] In one embodiment, the parking space information includes a first entrance corner point, a second entrance corner point, and a parking space separation line identification frame of the target parking space, and the parking space updating module 30 is further used to:
[0152] Acquire the parking space length of the target parking space, the first entrance coordinates of the first entrance corner point and the second entrance coordinates of the second entrance corner point, and use the direction of the parking space separation line identification frame as the parking space direction;
[0153] Calculate the first bottom coordinate of the first bottom corner point according to the first entrance coordinate, the parking space length and the parking space direction;
[0154] Calculate the second bottom coordinates of the second bottom corner point according to the second entrance coordinates, the parking space length and the parking space direction;
[0155] The storage location information is updated based on the first bottom coordinate and the second bottom coordinate.
[0156] In one embodiment, the storage location updating module 30 is further used for:
[0157] Obtaining the parking space type of the target parking space;
[0158] According to the parking space type, a preset parking space length mapping table is queried to obtain the parking space length of the target parking space.
[0159] In one embodiment, the storage location updating module 30 is further used for:
[0160] Determine whether the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, whether the length of the long side of the parking space separation line identification frame is greater than a preset length threshold, and whether the angle between the long sides of the parking space separation line identification frame is less than a preset angle threshold;
[0161] If the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, and the long side length of the parking space separation line identification frame is greater than the preset length threshold, and the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold, then it is determined that the storage location information meets the preset accuracy conditions.
[0162] In one embodiment, the secondary planning module 40 is further configured to:
[0163] Obtaining the storage location direction angle difference before and after the storage location information is updated;
[0164] After the angle difference in the storage location direction is greater than a preset angle difference threshold, the steps of: performing secondary planning on the parking path according to the updated storage location information, and controlling the current vehicle to park according to the secondary planned parking path;
[0165] After the angle difference in the storage direction is not greater than a preset angle difference threshold, the current vehicle is controlled to park according to the original parking path.
[0166] The device provided by the present application adopts the automatic parking method in the above embodiment, which can solve the technical problem that the existing parking method is prone to parking deviation. Compared with the prior art, the beneficial effects of the device provided by the present application are the same as the beneficial effects of the automatic parking method provided by the above embodiment, and other technical features in the automatic parking device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0167] The present application provides an automatic parking device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the automatic parking method in the above-mentioned embodiment 1.
[0168] Reference below Figure 7, which shows a schematic diagram of the structure of an automatic parking device suitable for implementing the embodiment of the present application. The automatic parking device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The automatic parking device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0169] like Figure 7 As shown, the automatic parking device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the automatic parking device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the automatic parking device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an automatic parking device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0170] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0171] The automatic parking device provided by the present application adopts the automatic parking method in the above embodiment, which can solve the technical problem that the existing parking method is prone to parking deviation. Compared with the prior art, the beneficial effects of the automatic parking device provided by the present application are the same as the beneficial effects of the automatic parking method provided by the above embodiment, and other technical features in the automatic parking device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0172] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0173] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0174] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the automatic parking method in the above-mentioned embodiment.
[0175] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or component. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0176] The computer-readable storage medium may be included in the automatic parking device; or may exist independently without being assembled into the automatic parking device.
[0177] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the automatic parking device, the automatic parking device is enabled to: a parking space recognition module, which is used to obtain a vehicle surround image of the current vehicle, and perform image recognition on the vehicle surround image to obtain the parking space information of the target parking space; a primary planning module, which is used to plan a parking path according to the parking space information, and control the current vehicle to park according to the parking path; a parking space update module, which is used to update the parking space information after the parking space information meets a preset accuracy condition, wherein the preset accuracy condition is a condition that the accuracy of the parking space information is pre-set to meet an expected condition; a secondary planning module, which is used to perform secondary planning on the parking path according to the updated parking space information, and control the current vehicle to park according to the secondary planned parking path.
[0178] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0179] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0180] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0181] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned automatic parking method, and can solve the technical problem that the existing parking method is prone to parking deviation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the automatic parking method provided in the above-mentioned embodiment, and will not be repeated here.
[0182] The present application also provides a computer program product, including a computer program, which implements the steps of the automatic parking method as described above when executed by a processor.
[0183] The computer program product provided by the present application can solve the technical problem that the existing parking method is prone to parking deviation. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the automatic parking method provided by the above embodiment, which will not be repeated here.
[0184] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. An automatic parking method, It is characterized in that The method includes: Acquire a surround view image of the current vehicle, and perform image recognition on the surround view image to obtain parking space information of the target parking space; Planning a parking path according to the parking location information, and controlling the current vehicle to park according to the parking path; After the storage location information meets a preset accuracy condition, updating the storage location information, wherein the preset accuracy condition is a condition that the accuracy of the storage location information meets an expected condition; The parking path is re-planned according to the updated parking location information, and the current vehicle is controlled to park according to the re-planned parking path.
2. The method according to claim 1, It is characterized in that The step of acquiring the vehicle surround view image of the current vehicle and performing image recognition on the vehicle surround view image to obtain the parking space information of the target parking space includes: Obtain the surrounding environment image collected by the surround view camera of the current vehicle; splicing the surrounding environment images to obtain a vehicle surround view image; The vehicle surround view image is input into a preset parking space detection model to obtain parking space information of the target parking space.
3. The method according to claim 2, It is characterized in that Before the step of inputting the vehicle surround view image into a preset parking space detection model to obtain the parking space information of the target parking space, the method includes: Acquire a training image data set, wherein the training image data set includes parking space image samples and image labels corresponding to the parking space image samples, and the image labels include parking space corner point labels and parking space separation line labels; Based on the parking space image samples, the parking space corner point labels and the parking space dividing line labels, a preset initial model is trained until the preset initial model converges to obtain a preset parking space detection model.
4. The method according to claim 1, It is characterized in that The parking space information includes a first entrance corner point, a second entrance corner point and a parking space separation line identification frame of the target parking space, and the step of updating the parking space information includes: Acquire the parking space length of the target parking space, the first entrance coordinates of the first entrance corner point and the second entrance coordinates of the second entrance corner point, and use the direction of the parking space separation line identification frame as the parking space direction; Calculate the first bottom coordinate of the first bottom corner point according to the first entrance coordinate, the parking space length and the parking space direction; Calculate the second bottom coordinates of the second bottom corner point according to the second entrance coordinates, the parking space length and the parking space direction; The storage location information is updated based on the first bottom coordinate and the second bottom coordinate.
5. The method according to claim 4, It is characterized in that The step of obtaining the parking space length of the target parking space comprises: Obtaining the parking space type of the target parking space; According to the parking space type, a preset parking space length mapping table is queried to obtain the parking space length of the target parking space.
6. The method according to claim 4, It is characterized in that Before the step of the storage location information meeting the preset accuracy condition, the method includes: Determine whether the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, whether the length of the long side of the parking space separation line identification frame is greater than a preset length threshold, and whether the angle between the long sides of the parking space separation line identification frame is less than a preset angle threshold; If the first entrance corner point and the second entrance corner point are both within the field of view of the rearview camera of the current vehicle, and the long side length of the parking space separation line identification frame is greater than the preset length threshold, and the angle between the long sides of the parking space separation line identification frame is less than the preset angle threshold, then it is determined that the storage location information meets the preset accuracy conditions.
7. The method according to any one of claims 1 to 6, It is characterized in that Before the step of performing secondary planning on the parking path according to the updated parking location information and controlling the current vehicle to park according to the secondary planned parking path, the method includes: Obtaining the storage location direction angle difference before and after the storage location information is updated; After the angle difference in the storage location direction is greater than a preset angle difference threshold, the steps of: performing secondary planning on the parking path according to the updated storage location information, and controlling the current vehicle to park according to the secondary planned parking path; After the angle difference in the storage direction is not greater than a preset angle difference threshold, the current vehicle is controlled to park according to the original parking path.
8. An automatic parking device, It is characterized in that The automatic parking device comprises: A parking space recognition module is used to obtain a surround view image of the current vehicle and perform image recognition on the surround view image to obtain parking space information of the target parking space; A primary planning module, used to plan a parking path according to the storage location information, and control the current vehicle to park according to the parking path; A storage location update module, used for updating the storage location information after the storage location information meets a preset accuracy condition, wherein the preset accuracy condition is a condition that the accuracy of the storage location information meets an expected condition; The secondary planning module is used to perform secondary planning on the parking path according to the updated storage location information, and control the current vehicle to park according to the secondary planned parking path.
9. An automatic parking device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the automatic parking method according to any one of claims 1 to 7.
10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the automatic parking method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Automatic parking method, apparatus and device, and storage medium
WO2026012211A1
Parking space determination method and apparatus, device, and vehicle
WO2026124194A1
