Vehicle lane direction detection
A roadway lane direction is identified based on vehicle sensor data of a traffic sign, a direction of a parked vehicle, and a marking on a surface of the roadway lane. A trajectory of a vehicle is determined to differ from the roadway lane direction, and a vehicle component is then actuated.
1. A system, comprising a computer including a processor and a memory, the memory including instructions executable by the processor to:
identify a roadway lane direction based on vehicle sensor data indicating a direction of a parked vehicle based on a combination of mapped polygonal shapes outlining an image of the parked vehicle; and
determine that a trajectory of a vehicle differs from the roadway lane direction and then actuate a vehicle component.
2. The system of claim 1 , wherein the instructions further include instructions to determine the direction of the parked vehicle based on at least one of a rear-facing feature and a front-facing feature of the parked vehicle.
3. The system of claim 1 , wherein the vehicle sensor data include a current image of a traffic sign and where the computer has a predetermined image of the traffic sign stored in the memory, wherein the instructions further include instructions to determine a direction of the traffic sign based on a comparison of the predetermined image of the traffic sign and the current image of the traffic sign.
4. The system of claim 1 , wherein the vehicle sensor data include a current image of a traffic sign and the instructions further include instructions to identify the roadway lane direction from a direction of the traffic sign.
5. The system of claim 1 , wherein the vehicle component is a hazard light.
6. The system of claim 1 , wherein the vehicle component is a transmitter and the instructions further include instructions to send a message to an owner of the vehicle indicating that the trajectory of the vehicle differs from the roadway lane direction.
7. The system of claim 1 , wherein the vehicle component is a brake or a gear selector.
8. The system of claim 1 , wherein the vehicle component is a transmitter and the instructions further include instructions to send a message indicating the lane direction to another vehicle.
9. The system of claim 1 , wherein the instructions further include instructions to return control of the vehicle component from the computer to a human operator upon determining that the trajectory of the vehicle differs from the roadway lane direction.
10. The system of claim 1 , wherein the instructions further include instructions to identify the roadway lane direction based on the vehicle sensor data indicating a traffic sign.
11. The system of claim 1 , wherein the instructions further include instructions to identify the roadway lane direction based on the vehicle sensor data indicating a marking on a surface of the roadway lane.
12. A method, comprising:
identifying a roadway lane direction based on vehicle sensor data indicating a direction of a parked vehicle based on a combination of mapped polygonal shapes outlining an image of the parked vehicle; and
determining that a trajectory of a vehicle differs from the roadway lane direction and then actuating a vehicle component.
13. The method of claim 12 , further comprising determining the direction of the parked vehicle based on at least one of a rear-facing feature and a front-facing feature of the parked vehicle.
14. The method of claim 12 , wherein the vehicle sensor data include a current image of a traffic sign and wherein a computer has a predetermined image of the traffic sign stored in a memory, the method further comprising determining the direction of the traffic sign based on a comparison of a predetermined image of the traffic sign and a current image of the traffic sign.
15. The method of claim 12 , further comprising determining the lane direction based on a direction of a traffic sign.
16. The method of claim 12 , wherein the vehicle component is a hazard light.
17. The method of claim 12 , wherein the vehicle component is a transmitter and the method further comprising sending a message to an owner of the vehicle indicating that the trajectory of the vehicle differs from the roadway lane direction.
18. The method of claim 12 , wherein the vehicle component is a brake or a gear selector.
19. The method of claim 12 , wherein the vehicle component is a transmitter and the method further comprises sending a message indicating the lane direction to another vehicle.
20. The method of claim 12 , further comprising returning control of the vehicle component from a computer to a human operator when the trajectory of the vehicle differs from the roadway lane direction.