| CPC G06T 7/70 (2017.01) [G06T 7/593 (2017.01); G06V 20/58 (2022.01); G06T 2207/10021 (2013.01); G06T 2207/30252 (2013.01)] | 12 Claims |

|
1. An object detection device comprising:
a processor configured to search for a coordinate associated with a target disparity satisfying a predetermined condition in a second direction of a disparity map, update a first coordinate to a found coordinate, and calculate a height of an object corresponding to the target disparity based on the first coordinate, wherein the disparity map associates a disparity acquired from a captured image generated by a stereo camera capturing an image of a road surface with a two-dimensional coordinate formed by the second direction and a first direction corresponding to a horizontal direction of the captured image, the second direction intersecting the first direction, wherein
the processor is configured to,
when a candidate coordinate associated with a disparity approximately equal to the target disparity is present beyond a predetermined interval along the second direction of the disparity map from the first coordinate, calculate a first candidate height of the object based on the first coordinate, and calculate a second candidate height of the object based on the candidate coordinate, and
determine which of the first candidate height and the second candidate height is to be acquired as the height of the object based on whether two first coordinates between which the candidate coordinate is located are present in the first direction of the disparity map, such that
in response to determining that the two first coordinates between which the candidate coordinates is located are present in the first direction of the disparity map, determine that the second candidate height among the first candidate height and the second candidate height is to be acquired as the height of the object, and
in response to determining that the two first coordinates between which the candidate coordinates is located are not present in the first direction of the disparity map, determine that the first candidate height among the first candidate height and the second candidate height is to be acquired as the height of the object.
|