Method for Determining a Semantic Free Space
20220171975 · 2022-06-02
Inventors
Cpc classification
G06V10/457
PHYSICS
G06V20/647
PHYSICS
G06V20/58
PHYSICS
G06V20/56
PHYSICS
International classification
Abstract
A method for determining a semantic free space in an environment of a vehicle comprises capturing a two dimensional visual image from the environment of the vehicle via a camera and determining a limitation of a free space within the visual image. Via a sensor, distance data of objects are captured and assigned to the visual image, and the limitation of the free space is transferred to a bird's-eye view based on the assigned distance data. For objects identified in the visual image a respective bounding box and a respective classification are determined. Objects limiting the free space are selected, and their bounding box is assigned to the limitation of the free space in the bird's-eye view. Finally, segments of the limitation of the free space are classified according to the classification of each bounding box of the selected objects.
Claims
1. A method, comprising: capturing, via a camera of a vehicle in an environment, a two dimensional visual image of the environment; determining, with a processor of the vehicle, within the visual image, a limitation of a free space with respect to the vehicle; capturing, via a sensor of the vehicle, for objects in the environment, three dimensional distance data with respect to the vehicle; based on assigning the distance data to the visual image, transferring the limitation of the free space from the visual image to a bird's-eye view, with respect to the vehicle; determining, for each object identified in the visual image, a bounding box and a classification; selecting objects identified in the visual image that are limiting the free space; assigning the bounding box of each of the objects selected to the limitation of the free space transferred to the bird's-eye view; and according to the classification of each of the objects selected, classifying segments of the limitation of the free space transferred to the bird's-eye view, thereby determining a semantic free space in the environment of the vehicle.
2. The method according to claim 1, wherein determining the limitation of the free space comprises determining the limitation of the free space based on applying a first neural network to the visual image.
3. The method according to claim 1, wherein determining the limitation of the free space comprises determining the limitation of the free space based on executing a border following algorithm to determine the limitation of the free space as being a continuously extending contour of the free space.
4. The method according to claim 1, wherein assigning the distance data to the limitation of the free space comprises applying a projecting transformation of the three dimensional distance data to the two dimensional visual image.
5. The method according to claim 4, wherein transferring the limitation of the free space from the visual image to the bird's-eye view comprises applying an inverse transformation of the projecting transformation to the limitation of the free space.
6. The method according to claim 1, wherein the limitation of the free space comprises a plurality of limitation points represented in the visual image, and transferring the limitation of the free space from the visual image to the bird's-eye view comprises: selecting a predetermined number of closest points from distance data for each of the limitation points; and estimating a distance, with respect to the vehicle, for each of the limitation points as an average of distances, with respect to the vehicle, for each of the closest points.
7. The method according to claim 1, wherein determining the bounding box and the classification for each of the objects selected comprises applying a second neural network to the visual image.
8. The method according to claim 7, wherein determining the classification comprises estimating a class probability for the bounding box for each of the objects selected when applying the second neural network.
9. The method according to claim 8, further comprising: determining a certainty score for each segment of the limitation of the free space based on the class probability for the bounding box for each of the objects selected.
10. The method according to claim 1, further comprising: determining, with respect to the vehicle, based on the three dimensional distance data, a distance of a center for the bounding box for each of the objects selected; and assigning the distance of the center for the bounding box for each of the objects selected to the limitation of the free space in the bird's-eye view.
11. The method according to claim 10, wherein determining the distance of the center for the bounding box for each of the objects selected comprises determining the distance of the center for the bounding box for each of the objects selected based on a predetermined number of assigned distance data being closest to the center of that bounding box.
12. The method according to claim 11, wherein assigning the distance of the center for the bounding box for each of the objects selected to the limitation of the free space in the bird's-eye view comprises assigning the distance of the center for the bounding box for each of the objects selected only if the distance of the center of the bounding box to at least one of the assigned distance data being less than a predetermined distance.
13. The method according to claim 1, further comprising: dividing the segments of the limitation of the free space equally by a fixed and predetermined azimuth angle with respect to the vehicle.
14. A system, comprising: a processor for a vehicle, the processor configured to: capture, via a camera for the vehicle, a two dimensional visual image of an environment; determine, within the visual image, a limitation of a free space with respect to the vehicle; capture, via a sensor for the vehicle, for objects in the environment, three dimensional distance data with respect to the vehicle; based on assigning the distance data to the visual image, transfer the limitation of the free space from the visual image to a bird's-eye view, with respect to the vehicle; determine, for each object identified in the visual image, a bounding box and a classification; select objects identified in the visual image that are limiting the free space; assign the bounding box of each of the objects selected to the limitation of the free space transferred to the bird's-eye view; and classify segments of the limitation of the free space transferred to the bird's-eye view according to the classification of each of the objects selected to determine a semantic free space in the environment of the vehicle.
15. The system of claim 14, further comprising: the camera for the vehicle; and the sensor for the vehicle.
16. The system of claim 15, further comprising the vehicle, wherein the processor is configured as a free space module to output the semantic free space determined in the environment of the vehicle.
17. A non-transitory computer readable storage medium comprising instructions, that when executed, configure a processor for a vehicle to: capture, via a camera for the vehicle, a two dimensional visual image of an environment; determine, within the visual image, a limitation of a free space with respect to the vehicle; capture, via a sensor for the vehicle, for objects in the environment, three dimensional distance data with respect to the vehicle; based on assigning the distance data to the visual image, transfer the limitation of the free space from the visual image to a bird's-eye view, with respect to the vehicle; determine, for each object identified in the visual image, a bounding box and a classification; select objects identified in the visual image that are limiting the free space; assign the bounding box of each of the objects selected to the limitation of the free space transferred to the bird's-eye view; and classify segments of the limitation of the free space transferred to the bird's-eye view according to the classification of each of the objects selected to determine a semantic free space in the environment of the vehicle.
18. The computer readable storage medium according to claim 17, wherein the instructions, when executed, configure the processor to determine the limitation of the free space by determining the limitation of the free space based on applying a first neural network to the visual image.
19. The computer readable storage medium according to claim 17, wherein the instructions, when executed, configure the processor to determine the limitation of the free space based on executing a border following algorithm to determine the limitation of the free space as being a continuously extending contour of the free space.
20. The computer readable storage medium according to claim 17, wherein the instructions, when executed, configure the processor to assign the distance data to the limitation of the free space by applying a projecting transformation of the three dimensional distance data to the two dimensional visual image.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Exemplary embodiments and functions of the present disclosure are described herein in conjunction with the following drawings, showing schematically:
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
DETAILED DESCRIPTION
[0049]
[0050] The camera 13 is a monocular camera providing a two-dimensional visual image as shown e.g. as camera image 17 in
[0051]
[0052]
[0053]
[0054]
[0055] As may be recognized in
[0056]
[0057] For the assignment of the projected distance data 33 to the points of the limitation 29 or contour 30, a fixed number (e.g. one to five) of closest points from the projected distance data points 33 is determined for each point of the contour 30. The closest points from the distance data 33 with respect to the points of the contour 30 are those points which have the shortest distance within the representation of
[0058] In order to determine a distance or “depth” with respect to the host vehicle 11 for each point of the contour 30, an average over the measured distances of the closest distance data points 33 is estimated for each point of the contour 30. This average may be a weighted average wherein each weight depends on the respective distance to the point of the contour 30 under consideration.
[0059] The estimated distance or depth of the points of the contour 30 is used for transforming the contour 30 to a bird's-eye view coordinate system 35 as shown in
[0060] As shown in
[0061] In the area close to the host vehicle 11, the free space 25 is limited according to an angle 37 representing the instrumental field of view of the camera 13. In addition, the projection of the three-dimensional distance data 33 from the sensor 14 is shown within the bird's-eye view coordinate system 35. Since the respective distance of the points belonging to the contour 31 is determined based on the three-dimensional distance data 33 from the sensor 14, the projection of the distance data 33 is positioned at the contour 31 in the bird's-eye view coordinate system 35.
[0062] The free space 25 as shown in
[0063] In order to provide such semantic information, objects are identified within the visual image 17 provided by the camera 13, as shown in
[0064] In order to determine the position of each bounding box 41, i.e. its coordinate within the visual image 17, the classification 43 and the class probability 45, a second convolutional neural network is applied to the pixel data of the visual image 17. The determination of the bounding boxes 41 together with the classification 43 and the class probability 45 based on the visual image 17 using a convolutional neural network is also referred to as single shot multi-box detection (SSD) since no segmentation of the visual image 17 is previously performed. The second convolutional neural network is included in the classification module 16 (see
[0065] In order to relate the bounding boxes 41 as well as their classification 43 and class probability 45 to the free space 25 as shown in
[0066] The projection of the dimensional distance data points 33 to the visual image 17 is the same as shown in
[0067] However, only those centers of the bounding boxes 41 are selected for the further procedure, i.e. for a transform to the bird's-eye view coordinate system 35, for which the distance to the closest distance data point 33 within the visual image 17 is less than a predetermined distance. By this means, only those centers of the bounding boxes 41 are selected which are “reasonably” close to at least one of the distance data points 33.
[0068] For example, the bounding boxes 41 of the passenger cars 21 as shown in
[0069]
[0070] In addition,
[0071] In detail, the respective center of the bounding boxes 41 (see
[0072] Finally, the contour 31 of the free space 25 in front of the vehicle 11 is equally divided by a predetermined azimuth angle with respect to the vehicle 11, and each segment 55 of the contour 31 is classified by assigning the respective segment 55 to the respective classification of the center 53 of the bounding box 51 (see
[0073] In summary, the method according to the disclosure determines the limits or the contour 31 of the free space 25 in front of the vehicle in bird's-eye view via the first neural network, and in addition, the semantic of the segments of the contour 31 is determined via the second neural network such that it will be known which part of the free space 25 is limited by which kind of object. In case that no center of a bounding box can be assigned to a specific segment of the contour 31, a default classification may be assumed for these segments, e.g. a classification as boundary 20 of the road 18 (see
[0074] In addition, a certainty score is estimated for each classified segment 55 of the contour 31 based on the class probability 45 which is determined for each bounding box 41 via the second neural network. The certainty score and the semantic free space represented by the segments of the contour 31 (see