MotionBox
Revision as of 11:05, 1 June 2009 by Michael Murtaugh (talk | contribs)
Example of feeding data from Motion into a PyGame window to display the coordinates.
To run the program, you start motion, configured to output coordinate data, then pipe the results to python. NB: the use of the -u option to make python run "unbuffered".
motion -c motionbox.conf | python -u motionbox.py