| CPC G06T 7/248 (2017.01) [G06V 20/58 (2022.01); G06V 20/588 (2022.01); G06T 2207/30256 (2013.01); G06V 2201/08 (2022.01)] | 20 Claims |

|
1. An electronic device mountable in a vehicle, the electronic device comprising:
a plurality of cameras disposed toward different directions of the vehicle;
a memory; and
a processor;
wherein the processor is configured to:
obtain a plurality of frames obtained from the plurality of cameras which are synchronized with each other;
identify, from the plurality of frames, a type of a subject disposed in a space including the vehicle based on an exterior of the subject;
identify a first width of the subject corresponding to the type;
based on a difference between first pixel data in a bounding box with respect to the subject and second pixel data in the bounding box, identify a second width of the subject corresponding to at least a portion of a line segment on the bounding box;
based on a ratio between the first width and the second width, obtain location information indicating a relative distance between the vehicle and the subject; and
by using the location information, generate an image including a first visual object corresponding to the vehicle positioned in a reference location of the image, and a second visual object corresponding to the subject positioned with respect to the reference location in accordance with the relative distance.
|