Machine Learning for Vision-Based Motion Analysis