[Detecting Thrown Ball] Which camera to use and which arduino board to use?

I understand roughly what the solution is intended to do, but I don't understand what part the Arduino plays in this solution.