Self-driving Car

Self-driving Car in Forza Horizon 4

For my Artificial Intelligence Project class, I made a self-driving car with two classmates. Because of the covid pandemic we decided to use the game Forza Horizon 4 instead of a physical RC car.

The goal of this project was to use the learned techniques from the class. We decided to use fast.ai and OpenCV. First, we analyzed the problem to get a better understanding how we were going to implementing this AI. To collect data that we could use to train we played the game and saved a screenshot of the screen and the input of the controller every second. Since our data existed of an image and the controller input, we chose to use regression. The AI predicted the controller input when given an input frame.

Clip of the final product

The code is on Github: Self-driving Car