| CPC G06V 20/58 (2022.01) [G06T 7/70 (2017.01); G06V 10/764 (2022.01); G06T 2207/30252 (2013.01)] | 4 Claims |

|
1. An apparatus for estimating distance, comprising a processor configured to
input an outside image representing the situation around a vehicle and obtained from a camera mounted on the vehicle into a classifier to detect a vehicle region at least including a front-back area or a side area of a target vehicle, that is different from the vehicle, from the outside image and to classify the target vehicle represented in the detected vehicle region as one of preregistered types of vehicles, the front-back area representing a front or a back of the target vehicle, the side area representing neither the front nor the back, and
identify the position of a virtual object whose orientation forms an angle expressed as the ratio between the widths of the front-back area and the side area with the orientation of the camera, the widths of the front-back area and the side area being determined based on the type of the target vehicle represented in the detected vehicle region as classified, and estimate the distance from the vehicle to the virtual object as the distance from the vehicle to the target vehicle, based on the identified position of the virtual object, wherein of standard vehicle lengths and standard vehicle widths stored in a memory in association with the respective types of vehicles, the virtual object has a standard vehicle length and a standard vehicle width stored in association with the type of the target vehicle represented in the vehicle region.
|