TrackXY
Track & log x & y displacement, in realtime, of object in webcam
...I released TrackXY to reduce barriers to entry to science.
Planned features include versions for each platform, a GUI, comprehensive data management, and data analysis tools.
To analyze motion in /recorded/ video (not real-time), you may prefer something like PhysMo, also a SourceForge project.