A method for collecting difficult parking space datasets

By introducing a custom parking space module into the automatic parking system, the data of difficult parking spaces is automatically collected, which solves the problems of low recognition accuracy and high human resource consumption in the existing technology, and achieves high accuracy and widely applicable parking scenarios. bit identification.

CN114694118BActive Publication Date: 2024-09-20DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210330602.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2024-09-20
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively collect and label difficult parking space data sets, resulting in low recognition accuracy of automatic parking systems in unrecognized parking space scenes, and requires a large amount of human resources to collect and label surround images in different scenarios.

Method used

Add a custom parking space module to the automatic parking system and obtain the surround image through the on-board fisheye camera. If the system fails to recognize or the recognition is inaccurate, the driver adjusts the custom parking space and tries to park. After successfully parking, the surround image will be displayed. and annotations are uploaded to the cloud server to realize the function of automatically collecting data sets of difficult parking spaces.

Benefits of technology

It realizes the automatic collection of parking space difficult case data, saves human resources, improves the recognition accuracy and the breadth of applicable scenarios, and overcomes the need to explicitly exhaust all scenarios and the difficulty of manual annotation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114694118B
    Figure CN114694118B
Patent Text Reader

Abstract

The present invention provides a method for collecting a data set of difficult parking space examples, which takes an image as input, and recognizes the marked parking spaces in the image by utilizing the recognition process of the custom parking spaces in each automatic parking, thereby realizing the function of automatically collecting difficult parking space example data. The present invention does not need to collect surround images in all scenarios, and does not need to manually mark the features of the parking spaces, thus saving a large amount of human resources. The present invention does not need to explicitly enumerate all parking space scenarios, nor does it need to accurately identify difficult example scenarios, thus overcoming the difficulty of only collecting the parking space scene as a difficult parking space example when encountering a parking space scene that cannot be accurately recognized by the trained parking space detection model. The present invention has high recognition accuracy and is applicable to a wide range of scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automotive electronic software, and in particular relates to a method for collecting a parking space difficult example data set. Background Art

[0002] At present, more and more smart cars are equipped with automatic parking technology, which uses on-board sensors to identify parking spaces around the vehicle and then control the vehicle to automatically park in the parking space.

[0003] Deep convolutional neural network technology is one of the main methods for identifying parking spaces. It is also one of the methods with the highest recognition accuracy and the widest range of applicable scenarios. Deep convolutional neural networks require hundreds of thousands of labeled sample data as training sets for network models. After sufficient rounds of training, model weights that can be used to detect target features can be obtained.

[0004] The parking space recognition based on deep convolutional neural network takes an image as input and identifies the marked parking space in the image. The input image is a fisheye image obtained by four on-board fisheye cameras installed in front of the vehicle, behind the vehicle, and in the left and right rearview mirrors, and a surround view stitching image is obtained after the surround view stitching technology.

[0005] In order to train the model weights for detecting parking spaces, a large number of parking space surround view images in different scenarios need to be collected, such as outdoor scenes in sunny, rainy, and snowy days; parking lot ground materials include asphalt, cement, and grass; parking space line colors include white, green, and yellow; parking space line types include straight lines, dashed lines, and dotted lines; parking space types include vertical parking spaces, horizontal parking spaces, and diagonal parking spaces, etc. During the model training phase, it is necessary to collect enough parking space surround view image data as training set data, but it is impossible for developers to collect surround view images in all scenarios. The collected parking space data set must also be manually labeled to mark the features of the parking spaces, which requires huge human resources.

[0006] At present, the recognition accuracy of parking space recognition based on deep convolutional neural networks can reach more than 90%. To further improve the recognition accuracy, it is necessary to collect parking space scenes that are not covered in the training set, which are called difficult examples. Difficult examples are real but uncommon scenes. When collecting data sets during the model training phase, developers cannot clearly enumerate all parking space scenes, nor can they accurately identify difficult example scenes. Only when encountering a parking space scene that cannot be accurately recognized by the trained parking space detection model, can the parking space scene be collected as a difficult parking space example. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide a method for collecting a data set of difficult parking space examples, so as to realize the function of automatically collecting data of difficult parking space examples.

[0008] The technical solution adopted by the present invention to solve the above technical problems is: a method for collecting a parking space difficult example data set, comprising the following steps:

[0009] S0: Add a custom parking space module to the automatic parking system; obtain fisheye images through four on-board fisheye cameras installed in front of the vehicle, behind the vehicle, and on the left and right rearview mirrors, and obtain surround view images through surround view stitching;

[0010] S1: The automatic parking system is turned on and the car screen displays the surround view image;

[0011] S2: If the automatic parking system successfully identifies a parking space in the surround view image, the function of automatically collecting the parking space difficult example dataset ends; if the automatic parking system does not identify a parking space in the surround view image or the identification of the parking space is inaccurate, the custom parking space module is started;

[0012] S3: The driver can adjust the size, angle and position of the custom parking space by touch;

[0013] S4: The driver sends an automatic parking request, and the automatic parking controller controls the vehicle to automatically park in the custom parking space. If the vehicle fails to park in the custom parking space, the function of automatically collecting the parking space difficult example dataset ends; if the vehicle successfully parks in the custom parking space, the surround image at this time is saved as a difficult example image in the automatic parking controller, and the coordinates of the four vertices of the custom parking space are saved as annotations of the difficult example image in the automatic parking controller;

[0014] S5: The automatic parking controller sends the difficult image and annotation to the on-board V2X module;

[0015] S6: The onboard V2X module uploads the received difficult image and annotation to the cloud server;

[0016] S7: Delete the difficult example images and annotation files stored in the automatic parking controller.

[0017] According to the above solution, in step S2, the criterion for determining whether the parking space is inaccurately identified is that the probability of identification is less than 60%.

[0018] According to the above scheme, in step S3, the custom parking space is a rectangle including four vertices; the pixel distances of the length and width of the rectangular frame correspond to the actual distances of 5 meters and 2.5 meters respectively, which are the sizes of standard parking spaces.

[0019] According to the above scheme, in step S3, the specific steps are:

[0020] S31: The driver starts to adjust the custom parking space, and a rectangular frame appears on the vehicle center console display screen;

[0021] S32: The driver moves the rectangular frame in parallel or rotates it to a specified position by touch, or adjusts the size of the rectangular frame to be consistent with the size of the parking space in the actual scene.

[0022] According to the above scheme, in step S4, the difficult example image is saved in jpg format; the annotation of the difficult example image is saved in txt format.

[0023] A computer storage medium stores a computer program executable by a computer processor, wherein the computer program executes a method for collecting a parking space hard-example data set.

[0024] The beneficial effects of the present invention are:

[0025] 1. A method for collecting a parking space hard-to-use data set of the present invention takes an image as input, and recognizes the marked parking spaces in the image by utilizing the recognition process of the custom parking spaces in each automatic parking operation, thereby realizing the function of automatically collecting parking space hard-to-use data.

[0026] 2. The present invention does not need to collect surround view images in all scenarios, and does not need to manually mark the features of parking spaces, thus saving a lot of human resources.

[0027] 3. The present invention does not need to explicitly enumerate all parking space scenarios, nor does it need to accurately identify difficult examples. It overcomes the difficulty of collecting parking space scenes as difficult parking examples only when encountering parking space scenes that cannot be accurately identified by the trained parking space detection model.

[0028] 4. The present invention has high recognition accuracy and is applicable to a wide range of scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a flow chart of an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0031] See also Figure 1 , a method for collecting a parking space difficult example dataset according to an embodiment of the present invention comprises the following steps:

[0032] A custom parking space function is added to the automatic parking system. The custom parking space function is a method for the driver to manually set a parking space when the automatic parking system fails to recognize a parking space or the recognized parking space is inaccurate (the probability of recognition is less than 60%).

[0033] A custom parking space is a rectangle consisting of four vertices. When the driver uses a custom parking space, a rectangular frame appears on the vehicle's center console display screen. The driver can move or rotate the rectangular frame to the specified position by touch. The pixel distance of the length and width of the rectangular frame corresponds to the actual distance of 5 meters and 2.5 meters respectively, which is the size of a standard parking space. The driver can also adjust the size of the rectangular frame to keep it consistent with the size of the parking space in the actual scene.

[0034] After the driver sets the size, direction and position of the custom parking space, the automatic parking controller controls the vehicle to automatically park in the set parking space. If the vehicle successfully parks in the custom parking space, the automatic parking system determines that a difficult parking space scenario has occurred.

[0035] When a difficult scene appears, the surround view image at that time is automatically used as the difficult data image and saved in the automatic parking controller in jpg format; the four vertex coordinates of the custom parking space are used as the annotations of the difficult data and saved as a file with the same name as the difficult image in txt format.

[0036] Then the automatic parking controller sends the image file and the annotation file to the on-board V2X module, which uploads the image file and the annotation file to the cloud server. Finally, the difficult images and image annotations saved in the automatic parking controller are deleted.

[0037] For all vehicles equipped with automatic parking systems, when a parking space is not recognized or the probability of recognizing a parking space is less than 60%, when the driver uses the custom parking space function and can successfully park in a custom parking space, the vehicle automatically collects difficult parking space images and image annotations, and continuously, for a long time, and with multiple vehicles collects difficult parking space datasets.

[0038] The above embodiments are only used to illustrate the design ideas and features of the present invention, and their purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly. The protection scope of the present invention is not limited to the above embodiments. Therefore, any equivalent changes or modifications made based on the principles and design ideas disclosed by the present invention are within the protection scope of the present invention.

Claims

1. A method for collecting a parking space hard example dataset, characterized by: The following steps are involved: S0: Add a custom parking space module to the automatic parking system; obtain fisheye images through four on-board fisheye cameras installed in front of the vehicle, behind the vehicle, and on the left and right rearview mirrors, and obtain surround view images through surround view stitching; S1: The automatic parking system is turned on and the car screen displays the surround view image; S2: If the automatic parking system successfully identifies a parking space in the surround view image, the function of automatically collecting the parking space difficult example data set ends; if the automatic parking system does not identify a parking space in the surround view image or the identification of the parking space is inaccurate, the custom parking space module is started; S3: The driver can adjust the size, angle and position of the custom parking space by touch; S4: The driver sends an automatic parking request, and the automatic parking controller controls the vehicle to automatically park in the custom parking space. If the vehicle fails to park in the custom parking space, the function of automatically collecting the parking space difficult example dataset ends; if the vehicle successfully parks in the custom parking space, the surround image at this time is saved as a difficult example image in the automatic parking controller, and the coordinates of the four vertices of the custom parking space are saved as annotations of the difficult example image in the automatic parking controller; S5: The automatic parking controller sends the difficult image and annotation to the on-board V2X module; S6: The onboard V2X module uploads the received difficult image and annotation to the cloud server; S7: Delete the difficult example images and annotation files stored in the automatic parking controller.

2. The method for collecting a parking space hard example dataset according to claim 1, characterized in that: In step S2, the criterion for determining whether the parking space is inaccurately identified is that the probability of identification is less than 60%.

3. The method for collecting a parking space hard example dataset according to claim 1, characterized in that: In step S3, the custom parking space is a rectangle including four vertices; the pixel distances of the length and width of the rectangular frame correspond to the actual distances of 5 meters and 2.5 meters respectively, which are the sizes of standard parking spaces.

4. The method for collecting a parking space hard example dataset according to claim 1, characterized in that: In the step S3, the specific steps are: S31: The driver starts to adjust the custom parking space, and a rectangular frame appears on the vehicle center console display screen; S32: The driver moves the rectangular frame in parallel or rotates it to a specified position by touch, or adjusts the size of the rectangular frame to be consistent with the size of the parking space in the actual scene.

5. The method for collecting a parking space hard example dataset according to claim 1, characterized in that: In the step S4, the difficult example images are saved in jpg format; the annotations of the difficult example images are saved in txt format.

6. A computer storage medium, characterized in that: A computer program executable by a computer processor is stored therein, and the computer program executes a method for collecting a parking space difficult example data set as described in any one of claims 1 to 5.