Check out https://diyrobocars.com and http://donkeycar.com for similar projects. There are great communities around both, especially if you want to build your own.
You'll need to purchase a number of things more than the raspberry pi itself (camera, battery, car, servo controller board, wires, 3D print or purchase or build a mount for it all).