Webcam motion tracking

I doubt the arduino is up to it alone, you're going to need a cam hooked up to a laptop and transfer commands to the arduino etc. Motion tracking isn't so hard to code if you know the rest like getting an image into your app for processing. Easy motion can be done by measuring each pixel for a few frames and calculating the current difference. Over a threshold and it's movement.