Apparatus and method for assisting in driving vehicle
Provided is an apparatus for assisting in driving a vehicle, the apparatus including: a camera installed in the vehicle to have a front field of view and configured to acquire image data; and a controller configured to process the image data, wherein the controller is configured to: detect a vehicle parked in a direction opposite to a driving direction of the vehicle, based on the processed image data, and when the parked vehicle is detected, generate a control signal for providing a notification to a driver.
1. An apparatus for assisting in driving a host vehicle, the apparatus comprising:
a camera installed in the host vehicle to have a front field of view and configured to acquire image data; and
a controller configured to process the image data,
wherein the controller is configured to:
detect an other vehicle parked in a direction opposite to a driving direction of the host vehicle based on the processed image data, and
when the other vehicle parked in the direction opposite to the driving direction of the host vehicle is detected, generate a control signal for providing a notification for notifying a driver of a presence of the other vehicle parked in the direction opposite to the driving direction of the host vehicle.
2. The apparatus of claim 1 , wherein the controller is configured to recognize a color of a lamp of the other vehicle parked in the direction opposite to the driving direction of the host vehicle based on the processed image data, and determine a direction of the other vehicle parked in the direction opposite to the driving direction of the host vehicle based on the recognized color.
3. The apparatus of claim 2 , further comprising:
a sensor comprising at least one of a radar sensor or a lidar sensor and configured to generate sensing information about a front of the host vehicle,
wherein the controller is configured to:
process the sensing information; and
detect a movement of the other vehicle parked in the direction opposite to the driving direction of the host vehicle, further based on the processing of the sensing information.
4. The apparatus of claim 3 , wherein, when the movement of the other vehicle parked in the direction opposite to the driving direction of the host vehicle is detected, the controller is configured to calculate a predicted path of the other vehicle parked in the direction opposite to the driving direction of the host vehicle based on at least one of a driving direction, an angle or a speed of the other vehicle parked in the direction opposite to the driving direction of the host vehicle.
5. The apparatus of claim 4 , wherein the controller is configured to calculate a time to collision (TTC) between the host vehicle and the other vehicle, parked in the direction opposite to the driving direction of the host vehicle, based on the calculated predicted path of the other vehicle parked in the direction opposite to the driving direction of the host vehicle.
6. The apparatus of claim 5 , wherein, when the calculated TTC is less than a predetermined period of time, the controller is configured to provide the notification to the driver and generate a control signal for performing emergency braking of the host vehicle.
7. The apparatus of claim 5 , wherein, when the calculated TTC is greater than or equal to a predetermined period of time, the controller is configured to generate a control signal for performing an existing control.
8. The apparatus of claim 1 , wherein the controller is configured to detect a parked direction of each of one or more parked vehicles in the image data.
9. The apparatus of claim 1 , wherein the controller is configured to determine whether one or more parked vehicles in the image data are parked in the direction opposite to the driving direction of the host vehicle.
10. A method for assisting in driving a host vehicle, the method comprising:
acquiring image data by a camera installed in the host vehicle to have a front field of view;
detecting an other vehicle parked in a direction opposite to a driving direction of the host vehicle based on the image data; and
when the other vehicle parked in the direction opposite to the driving direction of the host vehicle is detected, controlling to provide a notification for notifying a driver of a presence of the other vehicle parked in the direction opposite to the driving direction of the host vehicle.
11. The method of claim 10 , further comprising:
recognizing a color of a lamp of the other vehicle parked in the direction opposite to the driving direction of the host vehicle based on the image data; and
determining a direction of the other vehicle parked in the direction opposite to the driving direction of the host vehicle based on the recognized color.
12. The method of claim 11 , further comprising:
generating, by at least one of a radar sensor or a lidar sensor, sensing information about a front of the host vehicle,
processing the sensing information; and
detecting a movement of the other vehicle parked in the direction opposite to the driving direction of the host vehicle, further based on the processing of the sensing information.
13. The method of claim 12 , further comprising:
when the movement of the other vehicle parked in the direction opposite to the driving direction of the host vehicle is detected, calculating a predicted path of the other vehicle, parked in the direction opposite to the driving direction of the host vehicle, based on at least one of a driving direction, an angle or a speed of the other vehicle parked in the direction opposite to the driving direction of the host vehicle.
14. The method of claim 13 , further comprising:
calculating a TTC between the host vehicle and the other vehicle, parked in the direction opposite to the driving direction of the host vehicle, based on the calculated predicted path of the other vehicle parked in the direction opposite to the driving direction of the host vehicle.
15. The method of claim 14 , further comprising:
when the calculated TTC is less than a predetermined period of time, providing the notification to the driver and controlling the host vehicle to perform emergency braking of the host vehicle.
16. The method of claim 14 , further comprising:
when the calculated TTC is greater than or equal to a predetermined period of time, controlling the host vehicle to perform an existing control.
17. The method of claim 10 , further comprising detecting a parked direction of each of one or more parked vehicles in the image data.
18. The method of claim 10 , further comprising determining whether one or more parked vehicles in the image data are parked in the direction opposite to the driving direction of the host vehicle.