apopt.com

Data / tutorials / q25-foot-contacts

Tutorial Q-25: Find foot contacts in an ankle trace

Tutorial

Find each foot contact in a treadmill runner's ankle trace, first the naive way, then with the running app's three guards.

Files for the tutorial Find foot contacts in an ankle trace (https://apopt.com/course/tutorials/q25-foot-contacts/). raw/ holds the inputs as the device or app wrote them; clean/ holds the cleaned copies the tutorial writes; expected/ holds what a correct run prints and saves, so you can check your own run.

Files

FileSizeRowsWhat it is
expected/printed-output.txt270 BEverything the tutorial prints, cell by cell
raw/form1_ankles.csv24.9 KB464 rowsboth ankles' image position and confidence in every frame of a treadmill run filmed from behind at 30 frames per second (464 rows)

Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.

Preview of raw/form1_ankles.csv

frametl_ankle_xl_ankle_yl_ankle_cr_ankle_xr_ankle_yr_ankle_c
00.0424.5261271.5090.932599.551563.6210.965
10.033387.0951353.9160.859586.6341597.6440.894
20.067405.8291339.5940.986577.7031619.7440.981
30.1405.8271340.7640.986577.8051618.8640.981
40.133401.8761392.5920.983594.4881641.2960.988
50.167432.0881390.2360.993604.8521541.2840.993
60.2442.6931502.3720.997625.7721475.0740.996
70.233447.5121524.9810.997628.4761389.2580.997

First 8 of 464 rows.

Where it came from

  • Source: Data-Driven Athletics tutorials (IRSRI, 2027)
  • Removed: nothing; inputs are synthetic, published course data, or the instructor's own
  • Permission: Published with the course under CC BY 4.0
  • Prepared with: dda/tutorials/build.py

Load it

import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q25-foot-contacts/raw/form1_ankles.csv")
const text = await (await fetch("https://apopt.com/data/tutorials/q25-foot-contacts/raw/form1_ankles.csv")).text();

Or download load.py / load.js.

How to cite

Tutorial Q-25: Find foot contacts in an ankle trace. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q25-foot-contacts/