Method for recognizing parking space for vehicle and parking assistance system using the method
11482015 · 2022-10-25
Assignee
Inventors
Cpc classification
G01S2015/935
PHYSICS
G06V20/70
PHYSICS
G08G1/168
PHYSICS
B62D15/0285
PERFORMING OPERATIONS; TRANSPORTING
G06V20/58
PHYSICS
B60W30/06
PERFORMING OPERATIONS; TRANSPORTING
G01S15/86
PHYSICS
B62D15/027
PERFORMING OPERATIONS; TRANSPORTING
International classification
G06V20/58
PHYSICS
B62D15/02
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A method for recognizing a parking space for a vehicle and a parking assistance system are disclosed. An obstacle is identified from successive image frames captured when the vehicle is moving and a first boundary for the obstacle is generated by a Convolutional Neural Network (CNN) algorithm based on a position of the obstacle shown in each of the successive image frames. Distances between the moving vehicle and the obstacle are detected by ultrasonic sensors. A second boundary for the obstacle is generated by a distance modification module based on the distances between the vehicle and the obstacle. A periphery of the obstacle is defined by a periphery definition module. In view of the periphery of the obstacle, a parking space is thus recognized by a parking space recognition module. The parking process can be changed to a self-drive mode, and remotely controlled by a mobile device.
Claims
1. A method for recognizing a parking space for a vehicle, comprising the steps of: capturing successive image frames containing an obstacle while the vehicle is moving; converting the successive image frames containing the obstacle into a birds-eye view image; identifying the obstacle from the birds-eye view image and generating obstacle edge points of the obstacle by a Convolutional Neural Network (CNN) algorithm based on a position of the obstacle shown in each of the successive image frames; generating a first boundary for the obstacle by merging and denoising the obstacle edge points generated by the CNN algorithm; detecting a plurality of distances between the moving vehicle and the obstacle by at least an ultrasonic sensor; generating a second boundary for the obstacle based on the plurality of distances between the moving vehicle and the obstacle detected by the ultrasonic sensor(s); defining a periphery of the obstacle by refining y-coordinate of each point of the first boundary P.sub.fs (x.sub.fs, y.sub.fs) based on the coordinates P.sub.sl (x.sub.sl, y.sub.sl) and P.sub.sr (x.sub.sr, y.sub.sr) of two adjacent corresponding points P.sub.sl and P.sub.sr of the second boundary according to the following equation:
2. A method for recognizing a parking space for a vehicle according to claim 1, wherein the obstacle is an adjacent vehicle.
3. A method for recognizing a parking space for a vehicle according to claim 1, further comprising a step of: generating a parking track for the vehicle.
4. A method for recognizing a parking space for a vehicle according to claim 3, further comprising a step of: steering the vehicle to the parking space with reference to the parking track.
5. A method for recognizing a parking space for a vehicle according to claim 1, wherein the parking space comprises an identifiable feature.
6. A method for recognizing a parking space for a vehicle according to claim 3, wherein the parking track comprises an outline of the parking space and a path from a current position of the vehicle to the parking space.
7. A method for recognizing a parking space for a vehicle according to claim 4, further comprising a step of: steering the vehicle from the parking space to a designated location along the parking track.
8. A method for recognizing a parking space for a vehicle according to claim 2, further comprising a step of: displaying a top view of the moving vehicle and/or a top view of the adjacent vehicle.
9. A parking assistance system for a vehicle, comprising: an image capture module for capturing successive image frames containing an obstacle when the vehicle is moving; an image conversion module for converting each of the successive image frames containing the obstacle into a birds-eye view image; an identification module for identifying the obstacle from the birds-eye view image and generating obstacle edge points of the obstacle by a Convolutional Neural Network (CNN) algorithm based on a position of the obstacle shown in each of the successive image frames and generating a first boundary for the obstacle by merging and denoising the obstacle edge points generated by the CNN algorithm; at least an ultrasonic sensor for detecting a plurality of distances between the moving vehicle and the obstacle; a distance modification module for generating a second boundary for the obstacle based on the plurality of distances between the moving vehicle and obstacle detected by the ultrasonic sensor(s); a periphery definition module for defining a periphery of the obstacle by refining y-coordinate of each point of the first boundary P.sub.fs (x.sub.fs, y.sub.fs) based on the coordinates P.sub.sl (x.sub.sl, y.sub.sl) and P.sub.sr (x.sub.sr, y.sub.sr) of two adjacent corresponding points P.sub.sl and P.sub.sr of the second boundary according to the following equation:
10. A parking assistance system according to claim 9, wherein the obstacle is an adjacent vehicle.
11. A parking assistance system according to claim 9, further comprising a parking track module for generating a parking track for the vehicle.
12. A parking assistance system according to claim 11, further comprising a parking control device for steering the vehicle to the parking space with reference to the parking track.
13. A parking assistance system according to claim 9, wherein the parking space comprises an identifiable feature.
14. A parking assistance system according to claim 11, wherein the parking track comprises an outline of the parking space and a path from a current position of the vehicle to the parking space.
15. A parking assistance system according to claim 12, wherein the parking control device is used for steering the vehicle from the parking space to a designated location along the parking track.
16. A parking assistance system according to claim 10, further comprising a display for displaying a top view of the moving vehicle and/or a top view of the adjacent vehicle.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects, features and advantages of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(17) The present invention will now be described more specifically with reference to the following embodiments.
(18) Referring to
(19) The CAN bus is a vehicle bus standard designed to allow microprocessors and devices to communicate with each other in applications without a host computer and it is a message-based protocol for use in automobiles. One key advantage of the CAN bus is that interconnection between different vehicle systems can allow a wide range of safety, economy and convenience features to be implemented using software alone. Otherwise, it would add cost and complexity if such features were “hard wired” using traditional automotive electrics. As a matter of fact all electronic control units (ECUs) in a vehicle can be connected through the two-wired CAN bus.
(20) In the present embodiment, in order to obtain panoramic survey of the environment around the subject vehicle SV, the image capture module 100 includes four cameras 101-104 provided at the right rearview mirror, at the left rearview mirror, above the rear license plate and above the front license plate of the subject vehicle SV, respectively, as shown in
(21) The image capture module 100 sends the image picture frames captured by the cameras 101-104 to the processing module 110. On the other hand, the detection signals sent from the parking control device 20 to the processing module 110 through the CAN bus may include a speed detection signal indicative of the detected vehicle speed, a yaw rate detection signal indicative of the detected yaw rate, and a steering detection signal indicative of the detected rotating angle. Then, the processing module 110 determines a moving or turning condition of the vehicle SV based on these detection signals.
(22) The processing module 110 includes an identification module 1100, an image conversion module 1120, a distance modification module 1130, a periphery definition module 1140, a parking space recognition module 1150, a parking track module 1160, and a memory 1170. The identification module 1110 in the processing module 110 identifies what the obstacle OB is, e.g., an adjacent vehicle, a lamppost, a wall, a curb, or even a parking space mark etc., and generates a first boundary B1 for the obstacle OB by a Semantic Segmentation Convolutional Neural Network (CNN) algorithm based on a position of the obstacle OB shown in each of the successive image picture frames. That is, the first boundary B1 for the obstacle OB is generated by Semantic Segmentation using the CNN, and then stored in the memory 1170, which stores any data to be accessed by the processing module 110.
(23) Semantic segmentation is a natural step in the progression from coarse to fine inference: The origin could be located at classification, which consists of making a prediction for a whole input. The next step is localization/detection, which provide not only the classes but also additional information regarding the spatial location of those classes. Finally, semantic segmentation achieves fine-grained inference by making dense predictions inferring labels for every pixel, so that each pixel is labeled with the class of its enclosing object core region.
(24)
(25) The display 130 is provided in the vehicle SV to present various images to a driver under the control of the processing module 110. The images shown on the display 130 may include the subject vehicle SV itself, obstacles, adjacent vehicles, parking spaces, and environment, either in fisheye view or birds-eye view.
(26)
(27) Hereinafter, procedures for generating the first boundary B1 are explained. First, referring to
(28)
(29) Firstly, each obstacle edge point from each picture frame will be moved and/or merged frame-by-frame on the basis of next obstacle edge point from next picture frame. In
(30)
where “s” represents a base score, “y” represents a length in the direction opposing to the camera 101 (vertical direction as shown), “k.sub.1” can be any natural number and “100” is used in this case.
(31) In
(32)
(33) where “Δs” represents the adjusting score, “Δx” represents the first distance, and “g” represents a distance factor.
(34) In
(35)
(36) Referring to
(37) After merging and denoising for the obstacle edge points in
(38) Meanwhile, the ultrasonic sensors 120-125 detect distances between the vehicle SV and the obstacle OB, and the distance modification module 1130 in the processing module 110 generates a second boundary B2 for the obstacle OB based on the distances between the vehicle SV and the obstacle OB. Then, the periphery definition module 1140 in the processing module 110 fuses the first boundary B1 and the second boundary B2 to form a smooth periphery for the obstacle OB.
(39) As shown in
(40) In
(41)
(42) The refined result is shown in
(43) In light of the above, an iterated linear regression directed to the refined obstacle edge points is firstly performed. The linear regression is repeated several times each without the most distant points from the regression line. The result is shown in
(44) Returning back to
(45) If NO at Step S4, the flow returns to step S2 to repeat the above processes to look for another potential parking space. Otherwise, the flow goes to Step S5. At step S5, the driver can select either manual parking or self parking if the driver is not skilled in parking or the parking space is just large enough to accommodate the subject vehicle SV but not large enough for the driver to open the driver side door.
(46) For manual parking, the parking track module 1160 in the processing module 110 generates a parking track for the subject vehicle SV and sends it to the display 130 for the driver. The parking track includes an outline of the parking space and a path from a current position of the vehicle SV to the parking space, and it is stored in the memory 1170 together with the panoramic environment around the subject vehicle SV, so that the driver can park the subject vehicle SV along the parking path to the parking space.
(47) Similarly, for the self parking case, the parking track module 1160 generates a parking track for the subject vehicle SV and sends it to the display 130 for the driver too. In contrast with the manual parking mentioned above, however, at this stage, the driver can activate the self parking via the display 130 or can optionally activate the self parking via the handheld device 30 in the subject vehicle SV or outside of the subject vehicle SV. Either the display 130 or handheld device 30 can control the parking control device 20 through the processing module 110 via the Controller Area Network (CAN) bus.
(48) Referring to
(49) On the other hand, when the driver is heading for another place, he can utilize the parking track and the panoramic environment around the subject vehicle SV stored in the memory 1170 to activate the parking control device 20 again and self-drive the subject vehicle SV to a designated location along the stored parking track via the display 130 or the handheld device 30, as shown in
(50) The above embodiment may be modified in various ways. For instance, a sound output module can be incorporated into the vehicle SV to generate various sound messages or warnings for the driver to invite the driver's caution, for example, when the vehicle SV is within a predetermined distance from the obstacle OB. Furthermore, the numbers and the arrangements of the cameras and the ultrasonic sensors may be changed, depending on the needs.
(51) While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims, which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.