Real-time analysis of high-speed video