Course / Weeks / Week 9
Part 3: Video and Pose · Week 9 · Tue, Mar 2
Chapter 9: Gait and Cyclic Sports Is this runner overstriding, or is the camera angle making it look that way?
Ask Collect (this week) Check (this week) Interpret (this week) Coach Reassess Bring to class A phone and a tripod (or a fence post), a metronome app, a tape measure and floor tape or chalk; running shoes. Optional: a stationary bicycle and a ruler; a pool with a pace clock. Data you collect: Running at three cadences.
Apps: Running form , Cycling , Swim
No one has to exercise hard, buy a device, or share health data: every collection has a case-file path.
Measurement methods Initial contact is the first frame with visible ground contact. At midstance the body passes over the support foot. Toe-off is the last support instant before both feet clear the ground. The four phases are shown schematically and are equally spaced for comparison.
Lecture slides Classes Homework H18 · due Class 18, Thu, Mar 4 Core exercises on cycles and events. Film yourself or a partner at three metronome cadences; extract cadence, contact time and flight time with the Form app.
P19 · due Class 19, Tue, Mar 9 Model peak force or contact time from gait measures (biomechanics.txt and form metrics), with a split by athlete. Presentation 2: a two-slide project pitch — user, decision, data.
Tutorials From a raw file to something an athlete can act on. The case study is this week's worked example in class; the quick tutorials prepare you for it and for the homework. The data workflow · Your athlete record
Case study CS-12 · 60 min Estimate the peak force under each foot from contact and flight times alone, compare left with right, carry one frame of error through, and check the model against a force-measuring treadmill.
Case study CS-13 · 75 min Reproduce the course regression of peak left-foot force from gait measures, then find out why its R² of 0.94 does not hold for a new runner, and what physics adds.
Quick tutorials · 10–20 min each Build step B-9: An event detector Exercise board 26 exercises in 10 strands; 8 are CORE, the set homework draws on. Tick them off as you go; ticks stay in this browser.
CORE only Concept check Hand calculation App lab Python analysis Body science Science of the sport Field collection Build Communicate Check the AI
9.1 CORE Concept check, Foundation, 1 min Which of these running measures cannot be computed without a scale from pixels to meters (or a known speed)? Options: CadenceDuty factorStep lengthFlight time 9.2 CORE Concept check, Foundation, 2 min On a 30 fps clip, the median step time gives 164 steps/min but 43 steps counted over 15.23 s give 169 steps/min. Why do they differ? Options: Steps last a whole number… 9.3 Concept check, Core, 2 min A student's script reports a duty factor of 70% for a runner at an easy pace. What is the most likely explanation? Options: The runner is sprintingThe runner is… 9.4 Concept check, Core, 2 min Which statement about running cadence is best supported by the studies in Section 9.3? Options: About 180 steps/min is the optimal cadence for every runnerRaising step… 9.5 CORE Hand calculation, Foundation, 8 min A runner on a treadmill at 3.2 m/s is filmed at 60 fps. Contacts of alternate feet are 20 frames apart, each contact lasts 12 frames, and a stride is 40 frames. parts… 9.6 Hand calculation, Core, 10 min The frame budget. parts How many frames does a 0.18 s contact span at 30, 60 and 240 fps? 5.4, 10.8, 43.2. At 60 fps with a 0.70 s stride, how many duty-factor… 9.7 Hand calculation, Extension, 12 min Pedals and pools. parts A rider's bottom positions are 38 frames apart at 60 fps. Cadence? 94.7 rpm. From the rider's video, thigh $a=0.42 m$, shank $b=0.44 m$ and knee… 9.8 CORE App lab, Foundation, 20 min Analyze yourself running (the five-step pattern). steps Film yourself from the side, phone still on a tripod at hip height, whole body in frame, 15 to 30 seconds of… 9.9 App lab, Core, 25 min Walking speed against the ten-meter walk test. steps Tape a 14\,m straight path with marks at 2\,m and 12\,m; the middle 10 m is timed, the ends are for speeding up and… 9.10 App lab, Core, 20 min Hip drop from a waist band. steps Wear a bright band flat around the waist, in a color nothing else in the frame shares. Fix the phone level (use its level or a bubble… 9.11 CORE Python analysis, Foundation, 20 min Download form1_ankles.csv (this chapter's data) and run Listing 9.2 with an AI assistant's help. parts Before running, predict the stride period in frames from Figure… 9.12 Python analysis, Core, 25 min The autocorrelation gives the period in whole frames. Refine it: fit a parabola through the peak lag $k$ and its two neighbours and take its vertex, \[ k^ = k +… 9.13 Python analysis, Extension, 30 min Imitate a 30 fps camera by keeping every second sample of the synthetic 60 fps traces of Listing 9.8, and rerun the cadence and contact-time analysis (use a 2-sample… 9.14 Body science, Foundation, 5 min In two or three sentences each, for a reader with no physiology: (a) why does walking have double support and running a flight phase? (b) What does the stance leg do in… 9.15 Body science, Core, 6 min Which muscle group holds the pelvis level when you stand on one leg, and on which side is it? Why can a 17-keypoint pose model measure pelvic drop only roughly, even… 9.16 Science of the sport, Foundation, 6 min A swimmer's 25 m freestyle lengths, timed on the pace clock with cycles counted from the deck: easy, 16 cycles in 20.0 s; hard, 19 cycles in 17.0 s. Compute speed,… 9.17 Science of the sport, Core, 6 min A sprint coach runs the running app in its default Distance mode on a 10 m/s sprint and gets “Good” for contact time (95 ms) and duty factor (26%). Explain to the coach,… 9.18 CORE Field collection, Foundation, 60 min Three cadences and a taped 20\,m. Equipment: phone and tripod, metronome app, tape measure, floor tape or chalk, a flat path of about 40\,m. Consent: if you film a… 9.19 Field collection, Extension, 60 min The bicycle as a ruler: a 10\,mm saddle change. Equipment: stationary bicycle or a bicycle on a trainer, ruler, tape, phone and tripod, metronome. Consent and safety: if… 9.20 CORE Build, Core, 75 min Build step B-9: an event detector in your page. parts Add peaks.js (Listing 9.3) to your project. It finds local maxima at or above a level and at least minGap samples… 9.21 CORE Communicate, Core, 25 min Using the clip and results from the three-cadence field exercise (or the running example in this chapter), write a message of at most 120 words to the runner. Give one… 9.22 Check the AI, Core, 8 min An assistant wrote this function and said “tested, duty factor for your runner is 58%, which suggests too much time on the ground.” def duty_factor(contacts, toe_offs,… 9.23 Python analysis, Core, 60 min, case-file data Case file: can contact time be predicted from cadence for a runner the model has never seen? Fit a straight line and score it with a split by athlete. parts A known… 9.24 Communicate, Core, 30 min, case-file data Case file: turn the previous exercise into a two-slide pitch for the coach of one of your case-file athletes. Slide 1: the user (the coach), the decision the model would… 9.25 Hand calculation, Core, 15 min A runner filmed from the side at 60 fps has a contact of 0.20 s and a flight of 0.10 s on one foot (Section 9.2.4). parts Find the modeled peak force of that plant in… 9.26 Python analysis, Extension, 30 min Start from Listing 9.5 on the running example. parts Move every left toe-off one frame later (left contact one frame longer, the following flight one frame shorter) and… Data for this week book
The 3 example files that Chapter 9 of Data-Driven Athletics reads, under the same names the listings use.
3 files, 27.8 KB · CC BY 4.0 · main file
tutorial
Estimate the peak force under each foot from contact and flight times alone, compare left with right, carry one frame of error through, and check the model against a force-measuring treadmill.
4 files, 240.5 KB · CC BY 4.0 (tutorial); biomechanics.txt is redistributed from the Data-Driven Engineering course with credit · main file
tutorial
Reproduce the course regression of peak left-foot force from gait measures, then find out why its R² of 0.94 does not hold for a new runner, and what physics adds.
5 files, 1.4 MB · CC BY 4.0 (tutorial); the data files are redistributed from the Data-Driven Engineering course with credit · main file
tutorial
Find each foot contact in a treadmill runner's ankle trace, first the naive way, then with the running app's three guards.
2 files, 25.2 KB · CC BY 4.0 · main file
tutorial
Get a runner's cadence three ways from one ankle trace, and see why a median step at 30 frames per second can only give 164 or 180.
2 files, 25.2 KB · CC BY 4.0 · main file
tutorial
Compute a left–right asymmetry three ways, as the walking app does for three measures, and see that the frame grid can matter more than the formula.
2 files, 25.4 KB · CC BY 4.0 · main file
course
Running biomechanics tables and phone-sensor examples from the Data-Driven Engineering course.
At the source · As published on apmonitor.com
open
Marker and force data at 2.5, 3.5, 4.5 m/s, plus a subject metadata file.
At the source · CC BY 4.0
open
1,798 healthy and injured runners; two small metadata CSVs with gait variables (the 22.7 GB marker archive is not needed).
At the source · CC BY 4.0
Go further ← Week 8 Week 10 →