Matlab/ML - Self-Driving Car

During our AI course we were tasked with building some type of project utilizing Matlab and AI/ML techologies. My partner Nick happened to have a Raspberry Pi car kit which we decided we could use for a small scale self-driving car project. It came equipped with a camera which we wanted to use to stream a live feed from the car to our laptop running Matlab. We decided we would attempt to have the car move around a track and stop if it found a boundary (in this case our boundry was just white sheets of paper).

Self Driving
Above is an image of the final product

We took a bunch of different images of the carpet in the lab we were working in as well as a bunch of images of paper on it. We made sure to take these pictures with the car camera because that would be the same view the car would have while driving. We used several dozen images to train our model and eventually had programmed the car to go and stop when it found a boundary. An image below shows what the car looked like. The box taped to the front of the car was used to mount the camera on because simply put we didn’t have a huge budget for the project. For more details please check out the video below.

For a link to the full video for this project please click here. All credit for the video goes to my partner, Nick Crawford.