Patent attributes
Provided is an Artificial Intelligence (AI) system for simulating a human brain's functions, such as recognition, decision, etc., by using a machine learning algorithm such as deep learning, etc. and applications of the AI system. Provided is an electronic device including: a camera configured to capture an outside image of a vehicle, and a processor configured to execute one or more instructions stored in a memory, wherein the processor executes the one or more instructions to: determine, from the captured image, at least one object for estimating lane information; estimate, from the image, lane information of a road on which the vehicle is traveling, based on a distance between the determined at least one object and the vehicle and a vanishing point of the image; and output guide information for guiding driving of the vehicle based on the estimated lane information.