Automatic parking method, device and equipment and storage medium
Through vehicle circumferential image recognition, the wheel gear ground point is determined and locked, which solves the problem of vehicle collision with wheel gear in the existing automatic parking method, improves the accuracy of identification of wheel gear ground point, and reduces the risk of collision.
Patent Information
- Application Number
- CN202410923270.3
- 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 method is prone to collision between the vehicle and the wheel gear, mainly because the ultrasonic radar has low detection accuracy for the wheel gear.
By obtaining vehicle surround view images, image recognition is performed to determine the wheel gear ground point, and plan the parking path according to the ground point, control the vehicle parking, and lock the wheel gear ground point during parking until it no longer changes, to update Parking path end point.
It improves the accuracy of identification of wheel gear ground points and reduces the possibility of a collision between the vehicle and wheel gear.
Smart Images

Figure CN118876952A_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 complete parking operations safely and conveniently.
[0003] The current automatic parking solution for vehicles usually adopts the method of planning a parking route to park in an empty parking space when an empty parking space is detected. However, the planned parking route mainly considers the location of the empty parking space and only detects the wheel chocks through ultrasonic radar. However, the detection accuracy of ultrasonic radar for small objects such as wheel chocks is low, which may cause the wheel chocks in the parking space to collide with the vehicle. That is, the existing parking method is prone to cause the vehicle to collide with the wheel chocks.
[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 easily causes the vehicle to collide with the wheel chock.
[0006] To achieve the above objectives, the present application proposes an automatic parking method, the method comprising:
[0007] Get the vehicle surround view image of the current vehicle;
[0008] Performing image recognition on the vehicle surround view image to obtain a wheel chock contact point in the vehicle surround view image, and planning a parking path according to the wheel chock contact point;
[0009] Controlling the current vehicle to park according to the parking path, and locking the wheel chock contact point;
[0010] The end point of the parking path is updated based on the locked wheel chock contact point, and the current vehicle is controlled to park according to the updated end point.
[0011] In one embodiment, the step of performing image recognition on the vehicle surround view image to obtain the wheel chock contact point in the vehicle surround view image comprises:
[0012] Performing parking space detection on the vehicle surround view image to obtain a target parking space image;
[0013] Inputting the target parking space image into a preset wheel chock detection model to obtain a target wheel chock in the target parking space image, wherein the preset wheel chock detection model is trained by wheel chock image samples and their wheel chock labels;
[0014] A wheel chock grounding point of the target wheel chock is selected from the coordinates of each corner point of the target wheel chock.
[0015] In one embodiment, before the step of inputting the target parking space image into a preset wheel chock detection model, the step includes:
[0016] Acquire a training image data set, wherein the training image data set includes wheel chock image samples and wheel chock labels thereof, and the wheel chock image samples include normal wheel chock images and inclined wheel chock images;
[0017] Based on the upright wheel chock image and the inclined wheel chock image, and the wheel chock labels of the wheel chock image samples, a preset initial model is trained until the preset initial model converges to obtain a preset wheel chock detection model.
[0018] In one embodiment, the step of selecting the wheel chock contact point of the target wheel chock from the coordinates of each corner point of the target wheel chock comprises:
[0019] According to the coordinates of each corner point, determining whether the target wheel chock is in a predetermined identification area;
[0020] If the target wheel chock is in a predetermined identification area, the coordinates of the corner point closest to the current vehicle are used as the wheel chock contact point.
[0021] In one embodiment, after the step of taking the coordinates of the corner point closest to the current vehicle as the wheel chock contact point if the target wheel chock is in the predetermined identification area, the method further comprises:
[0022] Get the touchdown point coordinates of each wheel block touchdown point in the world coordinate system within the latest preset time period;
[0023] The average value of the contact point coordinate values of each wheel chock contact point is calculated to obtain the integrated coordinates, and the integrated coordinates are used as the new wheel chock contact point.
[0024] In one embodiment, the step of judging whether the target wheel chock is in a predetermined identification area according to the coordinates of each corner point comprises:
[0025] According to the coordinates of each corner point, identifying the wheel chock corner point closest to the geometric center point of the current surround view image of the current vehicle;
[0026] Determine whether the coordinates of each corner point are simultaneously within the field of view of the rear view camera of the current vehicle, and whether the distance between the wheel block corner point and the image edge of the current surround view image is greater than a first preset distance threshold;
[0027] If the coordinates of each of the corner points are simultaneously within the field of view of the rearview camera of the current vehicle, and the distance between the wheel chock corner point and the image edge of the current surround image is greater than a first preset distance threshold, it is determined that the target wheel chock is in a predetermined identification area.
[0028] In one embodiment, the step of locking the wheel chock grounding point comprises:
[0029] Obtaining the real-time longitudinal coordinates of the current vehicle and the real-time coordinates of the wheel chock contact point;
[0030] Calculating the real-time angle between the real-time longitudinal direction of the vehicle body and the parking direction of the target parking space, and the real-time wheel block distance from the real-time coordinate to the rear edge of the vehicle body of the current vehicle;
[0031] When the real-time angle is smaller than a predetermined angle threshold and the real-time wheel block distance is smaller than a predetermined distance threshold, the real-time coordinates are used as the locked wheel block touchdown point.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes an automatic parking device, which includes:
[0033] An acquisition module is used to acquire a vehicle surround view image of the current vehicle;
[0034] A recognition module, used for performing image recognition on the vehicle surround view image, obtaining a wheel chock contact point in the vehicle surround view image, and planning a parking path according to the wheel chock contact point;
[0035] A locking module, used for controlling the current vehicle to park according to the parking path and locking the wheel chock contact point;
[0036] The updating module is used to update the end point of the parking path based on the locked wheel block contact point, and control the current vehicle to park according to the updated end point.
[0037] In one embodiment, the identification module is further used to:
[0038] Performing parking space detection on the vehicle surround view image to obtain a target parking space image;
[0039] Inputting the target parking space image into a preset wheel chock detection model to obtain a target wheel chock in the target parking space image, wherein the preset wheel chock detection model is trained by wheel chock image samples and their wheel chock labels;
[0040] A wheel chock grounding point of the target wheel chock is selected from the coordinates of each corner point of the target wheel chock.
[0041] In one embodiment, the automatic parking device further includes a model building module for:
[0042] Acquire a training image data set, wherein the training image data set includes wheel chock image samples and wheel chock labels thereof, and the wheel chock image samples include normal wheel chock images and inclined wheel chock images;
[0043] Based on the upright wheel chock image and the inclined wheel chock image, and the wheel chock labels of the wheel chock image samples, a preset initial model is trained until the preset initial model converges to obtain a preset wheel chock detection model.
[0044] In one embodiment, the identification module is further used to:
[0045] According to the coordinates of each corner point, determining whether the target wheel chock is in a predetermined identification area;
[0046] If the target wheel chock is in a predetermined identification area, the coordinates of the corner point closest to the current vehicle are used as the wheel chock contact point.
[0047] In one embodiment, the identification module is further used to:
[0048] Get the touchdown point coordinates of each wheel block touchdown point in the world coordinate system within the latest preset time period;
[0049] The average value of the contact point coordinate values of each wheel chock contact point is calculated to obtain the integrated coordinates, and the integrated coordinates are used as the new wheel chock contact point.
[0050] In one embodiment, the identification module is further used to:
[0051] According to the coordinates of each corner point, identifying the wheel chock corner point closest to the geometric center point of the current surround view image of the current vehicle;
[0052] Determine whether the coordinates of each corner point are simultaneously within the field of view of the rear view camera of the current vehicle, and whether the distance between the wheel block corner point and the image edge of the current surround view image is greater than a first preset distance threshold;
[0053] If the coordinates of each of the corner points are simultaneously within the field of view of the rearview camera of the current vehicle, and the distance between the wheel chock corner point and the image edge of the current surround image is greater than a first preset distance threshold, it is determined that the target wheel chock is in a predetermined identification area.
[0054] In one embodiment, the locking module is further used to:
[0055] Obtaining the real-time longitudinal coordinates of the current vehicle and the real-time coordinates of the wheel chock contact point;
[0056] Calculating the real-time angle between the real-time longitudinal direction of the vehicle body and the parking direction of the target parking space, and the real-time wheel block distance from the real-time coordinate to the rear edge of the vehicle body of the current vehicle;
[0057] When the real-time angle is smaller than a predetermined angle threshold and the real-time wheel block distance is smaller than a predetermined distance threshold, the real-time coordinates are used as the locked wheel block touchdown point.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] One or more technical solutions proposed in this application have at least the following technical effects:
[0062] The present application obtains the vehicle surround view image of the current vehicle; then performs image recognition on the vehicle surround view image to obtain the wheel block contact point in the vehicle surround view image, and plans the parking path according to the wheel block contact point. However, since the vehicle surround view image is affected by camera distortion, the wheel block contact point may be deviated. Therefore, in the process of controlling the current vehicle to park according to the parking path, the present application locks the wheel block contact point until the wheel block contact point no longer changes, which indicates that the wheel block contact point has a high accuracy. Then, the end point of the parking path can be updated based on the locked wheel block contact point, and the current vehicle can be controlled to park according to the updated end point. Therefore, the present application can effectively improve the recognition accuracy of the wheel block contact point during the automatic parking process, thereby reducing the possibility of collision between the vehicle and the wheel block. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] 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.
[0064] 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.
[0065] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the automatic parking method of the present application;
[0066] Figure 2 A schematic diagram of a flow chart provided for the second embodiment of the automatic parking method of the present application;
[0067] Figure 3 A schematic diagram of a parking scenario involved in an embodiment of the present application;
[0068] Figure 4 A flowchart of the third embodiment of the automatic parking method of the present application is provided;
[0069] Figure 5 Another schematic diagram of a parking scenario involved in an embodiment of the present application;
[0070] Figure 6 This is a schematic diagram of the module structure of the automatic parking device according to an embodiment of the present application;
[0071] Figure 7 Schematic diagram of the device structure of the hardware operating environment involved in the automatic parking method in the embodiment of the present application.
[0072] 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
[0073] 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.
[0074] 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.
[0075] The main solution of the embodiment of the present application is: obtaining a vehicle surround view image of the current vehicle; performing image recognition on the vehicle surround view image to obtain the wheel chock contact point, and planning a parking path according to the wheel chock contact point; controlling the current vehicle to park according to the parking path, and locking the wheel chock contact point; updating the end point of the parking path based on the locked wheel chock contact point, and controlling the current vehicle to park according to the updated end point.
[0076] In this embodiment, for the convenience of description, the vehicle controller is used as the execution subject for explanation below.
[0077] With the rapid development of intelligent driving technology, automatic parking, as one of the important functions of the intelligent driving system, helps novice drivers complete parking operations safely and conveniently.
[0078] The current automatic parking solution for vehicles usually adopts the method of planning a parking route to park in an empty parking space when an empty parking space is detected. However, the planned parking route mainly considers the location of the empty parking space and only detects the wheel chocks through ultrasonic radar. However, the detection accuracy of ultrasonic radar for small objects such as wheel chocks is low, which may cause the wheel chocks in the parking space to collide with the vehicle. That is, the existing parking method is prone to cause the vehicle to collide with the wheel chocks.
[0079] The present application provides a solution, which is to obtain the vehicle surround view image of the current vehicle; then perform image recognition on the vehicle surround view image to obtain the wheel block contact point in the vehicle surround view image, and plan the parking path according to the wheel block contact point. However, since the vehicle surround view image is affected by the camera distortion, the wheel block contact point may be deviated. Therefore, in the process of controlling the current vehicle to park according to the parking path, the present application locks the wheel block contact point until the wheel block contact point no longer changes, which indicates that the wheel block contact point has a high accuracy. Then, the end point of the parking path can be updated based on the locked wheel block contact point, and the current vehicle can be controlled to park according to the updated end point. Therefore, the present application can effectively improve the recognition accuracy of the wheel block contact point during the automatic parking process, thereby reducing the possibility of collision between the vehicle and the wheel block.
[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, obtaining a vehicle surround view image of the current vehicle;
[0084] It should be noted that the vehicle surround 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. The vehicle surround image may be obtained by stitching images captured by the front camera of the current vehicle for shooting the front of the vehicle, the left camera for shooting the left side of the vehicle, the right camera for shooting the right side of the vehicle and the rear camera for shooting the rear of the vehicle. Of course, it is understandable that in order to obtain a larger field of view, the front camera, the left camera, the right camera and the rear camera generally use fisheye cameras, so distortion correction may be performed before stitching to reduce image distortion. The distortion correction may 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.
[0085] This embodiment can obtain the perspective images captured by the front camera, left camera, right camera and rear camera of the current vehicle, and then distort each perspective image and stitch them according to the position to obtain the vehicle surround view image of the current vehicle.
[0086] Step S20, performing image recognition on the vehicle surround view image to obtain a wheel chock contact point in the vehicle surround view image, and planning a parking path according to the wheel chock contact point;
[0087] In this embodiment, the vehicle surround image can be image recognized by a preset wheel block detection algorithm to obtain the target wheel block in the target parking space image. Exemplarily, the preset wheel block detection algorithm can be a detection method based on features, a detection method based on machine learning (such as a classifier or a regressor), a detection method based on deep learning (such as a convolutional neural network, a YOLO (You Only Look Once) model, an SSD (Single Shot MultiBox Detector, single multi-scale target detection) model, etc.). In this embodiment, any corner point coordinate of the target wheel block in the target wheel block in the target parking space image can be selected as the wheel block grounding point. In this embodiment, the corner point coordinate of the wheel block in the target wheel block in the target parking space image that is closest to the rear of the current vehicle can also be selected as the wheel block grounding point. Then, a parking path is generated according to the wheel block grounding point, and the parking path is a path that is parked in the target parking space and does not collide with the target wheel block. Exemplarily, a parking path that satisfies the requirements is generated according to the wheel block grounding point, environmental information, vehicle information, and parking specifications. Exemplarily, the parking specifications are constraints pre-set for the parking path, which may include: complying with the laws of vehicle structural movement and not exceeding the physical requirements of vehicle dynamics or kinematics; not colliding or crossing the parking space during the parking process; the parking path is as simple as possible; the parking process is continuous, etc.
[0088] In a feasible implementation manner, the step of performing image recognition on the vehicle surround view image in step S20 to obtain the wheel chock contact point in the vehicle surround view image may include steps S21 to S23:
[0089] Step S21, performing parking space detection on the vehicle surround view image to obtain a target parking space image;
[0090] Step S22, inputting the target parking space image into a preset wheel chock detection model to obtain a target wheel chock in the target parking space image, wherein the preset wheel chock detection model is trained by wheel chock image samples and their wheel chock labels;
[0091] Step S23, selecting the wheel chock contact point of the target wheel chock from the coordinates of each corner point of the target wheel chock.
[0092] It should be noted that the preset wheel chock detection model is a neural network model pre-trained for detecting the target wheel chock, and the preset wheel chock detection model may be a convolutional neural network model, a YOLO model, an SSD model, etc. For example, since the target wheel chock may be rotated or tilted in the image, the conventional horizontal rectangular frame may not be able to tightly surround the target (i.e., the target wheel chock), thereby affecting the accuracy and precision of the detection. Therefore, the preset wheel chock 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] It should also be noted that the identified target wheel chock includes at least the coordinates of each corner point of the target wheel chock, and of course may also include the contour shape of the target wheel chock (such as a rotated rectangular frame), the height of the target wheel chock, and other target wheel chock related information. It should be noted that the corner point coordinates are the coordinates of the wheel chock corner point of the target wheel chock in the world coordinate system.
[0094] In this embodiment, the vehicle surround image can be subjected to parking space detection by a predetermined parking space detection algorithm to identify empty parking spaces in the surrounding environment of the current vehicle. Then, the target parking space can be selected from the empty parking spaces according to a predetermined selection rule (such as a parking space at a specified location, a parking space closest to the vehicle, a parking space used last time, etc.) or an instruction issued by a user, and the image area corresponding to the target parking space can be segmented from the vehicle surround image to obtain a target parking space image. Then, the target parking space image is input into a preset wheel block detection model to obtain a target wheel block in the target parking space image, wherein the preset wheel block detection model is trained by wheel block image samples and their wheel block labels. This avoids detecting and obtaining a target wheel block in a non-target parking space when there are multiple adjacent parking spaces, thereby improving the accuracy of target wheel block recognition. Then, the wheel block grounding point of the target wheel block is selected from the coordinates of each corner point of the target wheel block. For example, in this embodiment, the coordinates of the corner points of the target wheel chock that are closest to the current vehicle can be selected as the wheel chock contact point, or any corner point coordinates can be selected from the coordinates of the corner points of the target wheel chock as the wheel chock contact point. Alternatively, one corner point coordinate can be selected from the coordinates of the corner points of the target wheel chock as the wheel chock reference point, and then the wheel chock reference point is moved by a predetermined margin distance toward the exit direction of the target parking space as the wheel chock contact point of the target wheel chock, so as to further reduce the risk of collision between the wheel chock and the vehicle.
[0095] In a feasible implementation manner, steps A10 to A20 may be included before step S22:
[0096] Step A10, obtaining a training image data set, wherein the training image data set includes wheel chock image samples and wheel chock labels, and the wheel chock image samples include normal wheel chock images and inclined wheel chock images;
[0097] Step A20, based on the upright wheel chock image and the inclined wheel chock image, and the wheel chock labels of the wheel chock image samples, training a preset initial model until the preset initial model converges to obtain a preset wheel chock detection model.
[0098] It should be noted that the training image data set includes wheel chock image samples and their wheel chock labels, wherein the wheel chock image samples include an upright wheel chock image and an inclined wheel chock image, wherein the wheel chock image samples are surround images including wheel chocks, and the wheel chock labels are target wheel chocks marked in the wheel chock image samples. The upright wheel chock image is an image containing a wheel chock whose direction is parallel to the bottom edge of the parking space, and the inclined wheel chock image is an image containing a wheel chock whose direction is not parallel to the bottom edge of the parking space. 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.
[0099] In this embodiment, a training image data set can be obtained by collecting a predetermined number of surround view images (i.e., images from the perspective of the vehicle BEV) and marking the overall frame of the wheel block for each wheel block in the surround view image, labeled as a wheel block label. Then, the wheel block image sample is input into the preset initial model to obtain a training detection result. Then, the loss function value is calculated based on the training detection result and the wheel block label, 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 minimum), and the preset initial model at this time is used as the preset wheel block detection model. In this embodiment, a detection model that can accurately identify the target wheel block is obtained by training the wheel block image samples and their wheel block labels.
[0100] Step S30, controlling the current vehicle to park according to the parking path, and locking the wheel chock contact point;
[0101] It should be noted that the locking of the wheel chock contact point is to detect the situation that the real-time coordinates of the wheel chock contact point in the world coordinate system no longer change. If the position of the wheel chock contact point in the world coordinate system no longer changes, the real-time coordinates at this time are used as the locked wheel chock contact point.
[0102] As an example, after planning a parking path according to the wheel block contact point, this embodiment can control the current vehicle to park according to the parking path. It can be understood that since there is still a certain image distortion in the vehicle surround image at this time, the real-time coordinates of the wheel block contact point in the world coordinate system obtained by the mapping relationship between the vehicle surround image and the world coordinate system will also change continuously. Since the target parking space to be parked and the wheel block in the target parking space have small imaging distortion in the rear view camera of the current vehicle during the parking process. Therefore, this embodiment can obtain the real-time body longitudinal direction of the current vehicle and the real-time coordinates of the wheel block contact point; calculate the real-time angle between the real-time body longitudinal direction and the parking space direction of the target parking space, and the real-time wheel block distance from the real-time coordinate to the rear edge of the body of the current vehicle; after the real-time angle is less than the predetermined angle threshold, and the real-time wheel block distance is less than the predetermined distance threshold, the imaging distortion in the rear view camera under the current posture is the smallest, and the real-time coordinates can be used as the locked wheel block contact point.
[0103] As another example, in this embodiment, the deviation distance between the real-time coordinates of the wheel chock contact point in the world coordinate system can be obtained at each preset determination period (such as 0.1s, 0.2s, 0.5s, etc.). After the deviation distance is less than a preset locking distance threshold (such as 3cm, 5cm, etc.), the wheel chock contact point is locked, and the real-time coordinates of the wheel chock contact point in the world coordinate system at the current moment are used as the locked wheel chock contact point.
[0104] It can be understood that this embodiment only executes any one of the above two examples, and can also execute the first example first and then the second example. That is, this embodiment can obtain the real-time body longitudinal direction of the current vehicle and the real-time coordinates of the wheel block contact point; calculate the real-time angle between the real-time body longitudinal direction and the parking direction of the target parking space, and the real-time wheel block distance from the real-time coordinate to the body rear edge of the current vehicle; after the real-time angle is less than the predetermined angle threshold, and the real-time wheel block distance is less than the predetermined distance threshold, obtain the deviation distance between the real-time coordinates of the wheel block contact point in the world coordinate system in each preset judgment cycle. After the deviation distance is less than the preset locking distance threshold, the wheel block contact point is locked, and the real-time coordinates of the wheel block contact point in the world coordinate system at the current moment are the locked wheel block contact point.
[0105] Step S40, updating the end point of the parking path based on the locked wheel chock contact point, and controlling the current vehicle to park according to the updated end point.
[0106] The parking path of this embodiment controls the current vehicle to park and locks the wheel block contact point. Thus, by locking the identified wheel block contact point during the parking process, the accuracy of the wheel block contact point after locking is effectively guaranteed. Then, the end point of the parking path is updated based on the locked wheel block contact point, and the current vehicle is controlled to park according to the updated end point. Thus, the end point of the parking path can be corrected by the more accurate wheel block contact point after locking, so as to avoid collision, scratching, etc. of the current vehicle with the wheel block during the parking process.
[0107] The first embodiment of the present application provides an automatic parking method, which obtains the vehicle surround view image of the current vehicle; then performs image recognition on the vehicle surround view image to obtain the wheel block grounding point in the vehicle surround view image, and plans the parking path according to the wheel block grounding point. However, since the vehicle surround view image is affected by the camera distortion, the wheel block grounding point may be deviated. Therefore, in the process of controlling the current vehicle to park according to the parking path, the present embodiment locks the wheel block grounding point until the wheel block grounding point no longer changes, which indicates that the wheel block grounding point has a high accuracy. Then, the end point of the parking path can be updated based on the locked wheel block grounding point, and the current vehicle can be controlled to park according to the updated end point. Therefore, the present embodiment can effectively improve the recognition accuracy of the wheel block grounding point during the automatic parking process, thereby reducing the possibility of collision between the vehicle and the wheel block.
[0108] 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 2 , step S23 includes steps B10 to B20:
[0109] Step B10, judging whether the target wheel chock is in a predetermined identification area according to the coordinates of each corner point;
[0110] Step B20: If the target wheel chock is in a predetermined identification area, the coordinates of the corner point closest to the current vehicle are used as the wheel chock grounding point.
[0111] It should be noted that the predetermined identification area is a pre-set area in the vehicle surround view image where the degree of image distortion meets the expectation.
[0112] In this embodiment, in order to avoid the situation where the wheel chock contact point obtained by the previous identification deviates too much from the actual position due to image distortion. After obtaining the target wheel chock in the target parking space image, this embodiment determines whether the target wheel chock is in the predetermined identification area according to the coordinates of each corner point, so as to determine whether the target wheel chock in the target parking space image is credible. If the target wheel chock is in the predetermined identification area, the coordinates of the corner point closest to the current vehicle can be used as the wheel chock contact point. If the target wheel chock is not in the predetermined identification area, a parking path is planned based on the target parking space, and the current vehicle is controlled to park according to the parking path and step S10 is executed until the target wheel chock is in the predetermined identification area.
[0113] In some embodiments, step B20 includes steps C10 to C20:
[0114] Step C10, obtaining the touchdown point coordinate values of each wheel block touchdown point in the world coordinate system within the latest preset time period;
[0115] Step C20, calculating the average value of the contact point coordinate values of each wheel chock contact point to obtain the integrated coordinates, and using the integrated coordinates as the new wheel chock contact point.
[0116] It should be noted that the most recent preset duration is a time period that is preset from the current time as the starting point to a preset duration ago.
[0117] Since the detected wheel block contact point may jitter, the position of the wheel block contact point may deviate. Therefore, in this embodiment, the contact point coordinate values of each wheel block contact point in the world coordinate system within the most recent preset time length (such as the most recent 0.2s, the most recent 0.3s, the most recent 0.5s, etc.) are obtained; then the average value of the contact point coordinate values of each wheel block contact point is calculated to obtain the integrated coordinates, and the integrated coordinates are used as the new wheel block contact point. In this embodiment, the wheel block contact points within the most recent preset time length are integrated as the new wheel block contact point, thereby effectively reducing the deviation caused by the jitter of the detection result.
[0118] In some embodiments, step B10 includes steps D10 to D30:
[0119] Step D10, identifying the wheel chock corner point closest to the geometric center point of the current surround view image of the current vehicle according to the coordinates of each corner point;
[0120] Step D20, determining whether the coordinates of each corner point are simultaneously within the field of view of the rear view camera of the current vehicle, and whether the distance between the wheel block corner point and the image edge of the current surround view image is greater than a first preset distance threshold;
[0121] Step D30, if the coordinates of each of the corner points are simultaneously within the field of view of the rearview camera of the current vehicle, and the distance between the wheel chock corner point and the image edge of the current surround image is greater than a first preset distance threshold, it is determined that the target wheel chock is in a predetermined identification area.
[0122] See also Figure 3 , Figure 3 A schematic diagram of a parking scenario involved in an embodiment of the present application. Figure 3 The area within the middle dashed line is the predetermined identification area. In the parking scenario, the target parking space and the target wheel block in the target parking space are least distorted in the rearview camera, and the image distortion of the vehicle surround view image is most serious at the edge. Therefore, in this embodiment, the wheel block corner point closest to the geometric center point of the current surround view image of the current vehicle (i.e. Figure 3 The method further comprises the following steps: determining whether the coordinates of each of the corner points are simultaneously in the field of view of the rear view camera of the current vehicle, and whether the distance between the corner point of the wheel block and the image edge of the current surround view image is greater than a first preset distance threshold (such as 0.8m, 1m, 1.2m, etc.). If the coordinates of each of the corner points are simultaneously in the field of view of the rear view camera of the current vehicle, and the distance between the corner point of the wheel block and the image edge of the current surround view image is greater than the first preset distance threshold, then it is determined that the target wheel block is in the predetermined recognition area, and the target wheel block detected at this time is relatively accurate.
[0123] The second embodiment of the present application provides an automatic parking method. In this embodiment, a predetermined identification area with a relatively light degree of distortion is pre-set, and then according to the coordinates of each corner point, whether the target wheel chock is in the predetermined identification area is determined; if the target wheel chock is in the predetermined identification area, it means that the target wheel chock identified at this time is relatively accurate. Then, the coordinates of the corner point closest to the current vehicle can be used as the wheel chock grounding point. Thereby, the probability of the vehicle hitting the target wheel chock can be further reduced.
[0124] 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 4 The step of locking the wheel block grounding point in step S30 includes steps S31 to S33:
[0125] Step S31, obtaining the real-time longitudinal coordinates of the current vehicle and the real-time coordinates of the wheel chock contact point;
[0126] Step S32, calculating the real-time angle between the real-time longitudinal direction of the vehicle body and the parking direction of the target parking space, and the real-time wheel block distance from the real-time coordinate to the rear edge of the vehicle body of the current vehicle;
[0127] Step S33, after the real-time angle is smaller than a predetermined angle threshold, and the real-time wheel block distance is smaller than a predetermined distance threshold, the real-time coordinates are used as the locked wheel block touchdown point.
[0128] It should be noted that the real-time longitudinal direction of the vehicle body is the real-time direction extending from the front to the rear of the vehicle body, that is, the real-time direction of the longitudinal axis of the vehicle body. It is understandable that the real-time longitudinal direction of the vehicle body is parallel to the long side of the vehicle body of the current vehicle, or parallel to the driving direction of the vehicle (forward direction or reverse direction).
[0129] See also Figure 5 , Figure 5 Schematic diagram of another parking scene involved in the embodiment of the present application. In this embodiment, by obtaining the real-time longitudinal direction of the current vehicle and the grounding point of the wheel block (i.e. Figure 5 Then, the real-time coordinates of the longitudinal direction of the vehicle body and the parking direction of the target parking space (i.e., the direction of the long side parking space line of the target parking space) are obtained by calculation, such as Figure 5 The real-time angle between the real-time coordinate and the rear edge of the vehicle body (i.e. the real-time wheel block distance from the real-time coordinate to the rear edge of the vehicle body) is Figure 5 When the real-time angle is less than a predetermined angle threshold (such as 15°, 18°, 20°, etc.), and the real-time wheel block distance is less than a predetermined distance threshold (such as 0.3m, 0.5m, 0.6m, etc.), the current vehicle posture is nearly parallel to the target parking space and is close to the target wheel block, and the distortion of the rear-view camera in the current posture is extremely small, and the real-time coordinates can be directly used as the locked wheel block grounding point.
[0130] The third embodiment of the present application provides an automatic parking method, which obtains the real-time coordinates of the longitudinal direction of the real-time vehicle body and the wheel chock contact point of the current vehicle; calculates the real-time angle between the real-time longitudinal direction of the vehicle body and the parking direction of the target parking space, and the real-time wheel chock distance from the real-time coordinates to the rear edge of the vehicle body of the current vehicle; after the real-time angle is less than a predetermined angle threshold, and the real-time wheel chock distance is less than a predetermined distance threshold, the real-time coordinates are used as the locked wheel chock contact point. Therefore, this embodiment selects the real-time coordinates of the wheel chock contact point when the rear-view camera distortion is small as the locked wheel chock contact point based on the positional relationship between the current vehicle, the target parking space and the target wheel chock. On the premise of ensuring the accuracy of the locked wheel chock contact point, the locking efficiency of the wheel chock contact point is also improved.
[0131] 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.
[0132] This application also provides an automatic parking device, please refer to Figure 6 , the automatic parking device comprises:
[0133] An acquisition module 10 is used to acquire a vehicle surround view image of the current vehicle;
[0134] The recognition module 20 is used to perform image recognition on the vehicle surround view image, obtain the wheel chock contact point in the vehicle surround view image, and plan a parking path according to the wheel chock contact point;
[0135] A locking module 30, used for controlling the current vehicle to park according to the parking path and locking the wheel chock contact point;
[0136] The updating module 40 is used to update the end point of the parking path based on the locked wheel block contact point, and control the current vehicle to park according to the updated end point.
[0137] In one embodiment, the identification module 20 is further configured to:
[0138] Performing parking space detection on the vehicle surround view image to obtain a target parking space image;
[0139] Inputting the target parking space image into a preset wheel chock detection model to obtain a target wheel chock in the target parking space image, wherein the preset wheel chock detection model is trained by wheel chock image samples and their wheel chock labels;
[0140] A wheel chock grounding point of the target wheel chock is selected from the coordinates of each corner point of the target wheel chock.
[0141] In one embodiment, the automatic parking device further includes a model building module for:
[0142] Acquire a training image data set, wherein the training image data set includes wheel chock image samples and wheel chock labels thereof, and the wheel chock image samples include normal wheel chock images and inclined wheel chock images;
[0143] Based on the upright wheel chock image and the inclined wheel chock image, and the wheel chock labels of the wheel chock image samples, a preset initial model is trained until the preset initial model converges to obtain a preset wheel chock detection model.
[0144] In one embodiment, the identification module 20 is further configured to:
[0145] According to the coordinates of each corner point, determining whether the target wheel chock is in a predetermined identification area;
[0146] If the target wheel chock is in a predetermined identification area, the coordinates of the corner point closest to the current vehicle are used as the wheel chock contact point.
[0147] In one embodiment, the identification module 20 is further configured to:
[0148] Get the touchdown point coordinates of each wheel block touchdown point in the world coordinate system within the latest preset time period;
[0149] The average value of the contact point coordinate values of each wheel chock contact point is calculated to obtain the integrated coordinates, and the integrated coordinates are used as the new wheel chock contact point.
[0150] In one embodiment, the identification module 20 is further configured to:
[0151] According to the coordinates of each corner point, identifying the wheel chock corner point closest to the geometric center point of the current surround view image of the current vehicle;
[0152] Determine whether the coordinates of each corner point are simultaneously within the field of view of the rear view camera of the current vehicle, and whether the distance between the wheel block corner point and the image edge of the current surround view image is greater than a first preset distance threshold;
[0153] If the coordinates of each of the corner points are simultaneously within the field of view of the rearview camera of the current vehicle, and the distance between the wheel chock corner point and the image edge of the current surround image is greater than a first preset distance threshold, it is determined that the target wheel chock is in a predetermined identification area.
[0154] In one embodiment, the locking module 30 is further used for:
[0155] Obtaining the real-time longitudinal coordinates of the current vehicle and the real-time coordinates of the wheel chock contact point;
[0156] Calculating the real-time angle between the real-time longitudinal direction of the vehicle body and the parking direction of the target parking space, and the real-time wheel block distance from the real-time coordinate to the rear edge of the vehicle body of the current vehicle;
[0157] When the real-time angle is smaller than a predetermined angle threshold and the real-time wheel block distance is smaller than a predetermined distance threshold, the real-time coordinates are used as the locked wheel block touchdown point.
[0158] 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 easily causes the vehicle to collide with the wheel block. 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 the other technical features of the automatic parking device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0159] 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.
[0160] 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.
[0161] like Figure 7As 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 provided instead.
[0162] 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.
[0163] 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 easily causes the vehicle to collide with the wheel block. 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 the other technical features of the automatic parking device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0164] 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.
[0165] 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.
[0166] 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.
[0167] 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.
[0168] 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.
[0169] 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: obtains a vehicle surround view image of the current vehicle; performs image recognition on the vehicle surround view image to obtain a wheel chock contact point, and plans a parking path according to the wheel chock contact point; controls the current vehicle to park according to the parking path, and locks the wheel chock contact point; updates the end point of the parking path based on the locked wheel chock contact point, and controls the current vehicle to park according to the updated end point.
[0170] 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).
[0171] 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.
[0172] 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.
[0173] 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 easily causes the vehicle to collide with the wheel chock. 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.
[0174] 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.
[0175] The computer program product provided by the present application can solve the technical problem that the existing parking method easily causes the vehicle to collide with the wheel chock. 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.
[0176] 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, characterized in that: The method includes: Get the vehicle surround view image of the current vehicle; Performing image recognition on the vehicle surround view image to obtain a wheel chock contact point in the vehicle surround view image, and planning a parking path according to the wheel chock contact point; Controlling the current vehicle to park according to the parking path, and locking the wheel chock contact point; The end point of the parking path is updated based on the locked wheel chock contact point, and the current vehicle is controlled to park according to the updated end point.
2. The method according to claim 1, characterized in that The step of performing image recognition on the vehicle surround view image to obtain the wheel chock contact point in the vehicle surround view image comprises: Performing parking space detection on the vehicle surround view image to obtain a target parking space image; Inputting the target parking space image into a preset wheel chock detection model to obtain a target wheel chock in the target parking space image, wherein the preset wheel chock detection model is trained by wheel chock image samples and their wheel chock labels; A wheel chock grounding point of the target wheel chock is selected from the coordinates of each corner point of the target wheel chock.
3. The method according to claim 2, characterized in that Before the step of inputting the target parking space image into a preset wheel chock detection model, the method includes: Acquire a training image data set, wherein the training image data set includes wheel chock image samples and wheel chock labels thereof, and the wheel chock image samples include normal wheel chock images and inclined wheel chock images; Based on the upright wheel chock image and the inclined wheel chock image, and the wheel chock labels of the wheel chock image samples, a preset initial model is trained until the preset initial model converges to obtain a preset wheel chock detection model.
4. The method according to claim 2, characterized in that The step of selecting the wheel chock contact point of the target wheel chock from the coordinates of each corner point of the target wheel chock comprises: According to the coordinates of each corner point, determining whether the target wheel chock is in a predetermined identification area; If the target wheel chock is in a predetermined identification area, the coordinates of the corner point closest to the current vehicle are used as the wheel chock contact point.
5. The method according to claim 4, characterized in that After the step of taking the coordinates of the corner point closest to the current vehicle as the wheel chock contact point if the target wheel chock is in the predetermined identification area, the method includes: Get the touchdown point coordinates of each wheel block touchdown point in the world coordinate system within the latest preset time period; The average value of the contact point coordinate values of each wheel chock contact point is calculated to obtain the integrated coordinates, and the integrated coordinates are used as the new wheel chock contact point.
6. The method according to claim 4, characterized in that The step of judging whether the target wheel chock is in a predetermined identification area according to the coordinates of each corner point comprises: According to the coordinates of each corner point, identifying the wheel chock corner point closest to the geometric center point of the current surround view image of the current vehicle; Determine whether the coordinates of each corner point are simultaneously within the field of view of the rear view camera of the current vehicle, and whether the distance between the wheel block corner point and the image edge of the current surround view image is greater than a first preset distance threshold; If the coordinates of each of the corner points are simultaneously within the field of view of the rearview camera of the current vehicle, and the distance between the wheel chock corner point and the image edge of the current surround image is greater than a first preset distance threshold, it is determined that the target wheel chock is in a predetermined identification area.
7. The method according to any one of claims 1 to 6, characterized in that The step of locking the wheel chock grounding point comprises: Obtaining the real-time longitudinal coordinates of the current vehicle and the real-time coordinates of the wheel chock contact point; Calculating the real-time angle between the real-time longitudinal direction of the vehicle body and the parking direction of the target parking space, and the real-time wheel block distance from the real-time coordinate to the rear edge of the vehicle body of the current vehicle; When the real-time angle is smaller than a predetermined angle threshold and the real-time wheel block distance is smaller than a predetermined distance threshold, the real-time coordinates are used as the locked wheel block touchdown point.
8. An automatic parking device, characterized in that: The automatic parking device comprises: An acquisition module is used to acquire a vehicle surround view image of the current vehicle; A recognition module, used for performing image recognition on the vehicle surround view image, obtaining a wheel chock contact point in the vehicle surround view image, and planning a parking path according to the wheel chock contact point; A locking module, used for controlling the current vehicle to park according to the parking path and locking the wheel chock contact point; The updating module is used to update the end point of the parking path based on the locked wheel block contact point, and control the current vehicle to park according to the updated end point.
9. An automatic parking device, 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, 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.
