Using webcam and arduino

because the webcam is surely USB based

yes you would have to hack the webcam apart but you should be able to get to the right sort of signals.