Improving Safety During Driving And Human-Robot Collaboration Through Deep Learning And Reinforcement Learning.