Webcam motion tracking

I am engaged with an arduino study project

You can't do it on an arduino you need a PC and processing.